This page lists common failures and what they usually mean.
Run:
python3 tools/light_pipeline.py doctor
python3 tools/detect_env_paths.py --activate-shellConfirm IDF_PATH points to real ESP-IDF tree containing:
export.shtools/idf.py
Expected if your IDs are outside allowed example range.
example mode only supports:
- VID
0xFFF1to0xFFF3 - PID
0x8000to0x801F
Switch to factory mode:
python3 tools/light_pipeline.py run \
--count 1 \
--dac-provider factory \
--vendor-id 0x1234 \
--product-id 0x5678That means CHIP test bundle does not contain exact PAI/DAC assets for requested VID/PID pair.
Options:
- choose supported test pair
- stop using
--use-test-attestation - provide explicit
dac_cert,dac_key,pai_cert, andcdin manifest
generate_factory_data.py may need extra CHIP setup-payload Python dependencies.
Default behavior:
- auto-install missing deps into active tool Python env
Fail-fast behavior:
python3 tools/generate_factory_data.py --no-auto-install-depsIf you run light_pipeline.py run without --count and no manifest exists, pipeline exits.
Fix:
- pass
--countto generate manifest - or create
tools/device_manifest.csvyourself
Run:
python3 tools/light_pipeline.py listRun:
python3 tools/generate_flash_command.py --help
python3 tools/generate_flash_command.py --port /dev/ttyUSB0 --serial-index 1Use --dry-run first when you want to inspect commands before:
- erase
- flash
- monitor
- CLI options:
cli.md - identity and attestation:
identity-and-attestation.md