Repository navigation
Description
Context
Bring up an attached, as-received Raspberry Pi Pico 1 (RP2040) through the productized AutoResearch path. The current scope is USB deployment, serial transport, JSON-RPC confirmation, and varied pin-free runtime tests. GPIO, PIO, and LED pin validation are deferred because the headers are not soldered.
Attached-board evidence
The Amazon-purchased board currently enumerates on Windows as:
USB VID:PID: 2E8A:0003
Volume: RPI-RP2 (FAT, healthy)
INFO_UF2.TXT: UF2 Bootloader v3.0
Model: Raspberry Pi RP2
Board-ID: RPI-RP2
fbuild port scan does not list it because it has no COM port in ROM USB boot; the scan currently reports the other attached serial devices only.
A safe compile probe deliberately used nonexistent COM99, so it could not modify the attached Pico:
bash autoresearch rp2040 --simd --upload-port COM99 --timeout 20s --skip-lint --quietThe firmware compiled, then fbuild 2.4.0 failed at deployment:
deploy failed: deployer for RaspberryPi not yet implemented
Current fbuild main has the same dispatch gap: RP2040 build support exists, but Platform::RaspberryPi has no deployer and the build emits BIN/ELF rather than UF2.
Correct stock-board boot premise
This board was not assumed to have been manually placed into a special, non-default state. RP2040 boot ROM validates the flash second stage and, when no valid image is found, automatically enters USB device boot after about 0.5 seconds. A factory-blank or invalid-flash Pico can therefore appear as RPI-RP2 without pressing BOOTSEL. See the RP2040 datasheet section 2.8.1, page 130:
The same document is mirrored in FastLED/datasheets at raspberrypi/mcu/RP2040/datasheet.pdf.
Current hardware status (2026-07-15)
The attached Pico automatically enters ROM USB without a physical BOOTSEL press. A merged fbuild RAM-only UF2 diagnostic (#1072) succeeds repeatedly through the same cable, motherboard port, Windows MSC path, ROM UF2 parser, and reboot path, while every flash-target UF2 stalls only when the ROM begins external-QSPI erase/program. This isolates a board-level QSPI fault on serial E0C9125B0D9B, not a BOOTSEL, hub, PlatformIO/Arduino parity, or host-deployer gap.
A known-good replacement Pico 1 now enumerates as runtime CDC COM12 (2E8A:000A, serial 5303284720C4641C). Touchless fbuild reset/deploy, JSON-RPC smoke, SIMD, IEEE-754, watchdog recovery, and ten consecutive deploy-to-RPC cycles pass. The original as-received board (E0C9125B0D9B) remains isolated as an external-QSPI hardware failure. The no-preexisting-COM first-deploy phase remains open because the user-requested PlatformIO A/B flashed the replacement before its first fbuild run. Phase 6 (#3631) remains the separately deferred soldered-header follow-up.
Proposal
Complete the bring-up in ordered phases. Every phase is tracked by a sub-issue and must preserve the canonical ownership boundary: FastLED calls fbuild deploy; FastLED does not invoke picotool, copy UF2 files, or use raw pyserial itself.
-
Zero-touch stock-board deployment in fbuild
- Reuse the established Arduino-Pico and
maxgerhardt/platform-raspberrypideployment behavior. - Deploy to an as-received
RPI-RP2device without a COM port, BOOTSEL interaction, driver installation, or manual UF2 copy. - Support automatic later reflashes through the framework-standard 1200-bps CDC reset.
- Reuse the established Arduino-Pico and
-
AutoResearch first-deploy orchestration
- Allow
bash autoresearch rp2040to begin without a pre-existing serial port. - Consume fbuild's post-deploy port instead of retaining a stale port identity.
- Allow
-
Reusable pin-free JSON-RPC smoke mode
- Add
--rpc-smoke(or an equally idiomatic name) that skips GPIO discovery and validates discovery, request/response correlation, payloads, and basic runtime RPCs.
- Add
-
Varied pin-free runtime coverage
- Validate SIMD and IEEE-754 suites on the attached Pico through existing AutoResearch modes. Coroutine support is not a board-bring-up prerequisite; LPC845 compiled those bindings out and RP2040 currently uses the generic Arduino null backend.
-
Watchdog recovery and deployment soak
- Prove deliberate hang ? watchdog reset ? serial reacquisition ? RPC recovery.
- Complete ten consecutive deployment-to-RPC cycles without stale-port or wrong-device failures.
-
- After headers are soldered, validate GPIO discovery, loopback, PIO timing, and the public FastLED LED API.
Acceptance criteria
-
Phases 1-5 are attached as sub-issues and completed in dependency order for the current pin-free bring-up. Phase 6 (test(rp2040): GPIO, PIO, and LED loopback bring-up after headers are soldered #3631) remains attached as the explicitly deferred soldered-header follow-up.
-
The first decisive deployment test uses the as-received Pico connected normally over USB, with no BOOTSEL press, manual replug, selected COM port, vendor-driver installation, or manual file copy.
-
The canonical command succeeds from that state:
bash autoresearch rp2040 --rpc-smoke --timeout 120s
-
rp2040remains the idiomatic FastLED alias for therpipicoboard/framework target. -
Phases 1-5 require no soldered headers or GPIO wiring.
-
Each hardware closeout records the exact command, VID:PID/board identity, old and new port state, and decisive deploy/RPC output.
-
Compilation alone is not accepted as deployment or runtime validation.
-
No raw flash or serial workaround is added under FastLED.
Related issues
- META: LPC845-BRK AutoResearch bring-up and validation #3348 ? LPC845 AutoResearch bring-up meta and phased sub-issue precedent.
- track(platform): validate RP2040 / Pico FastLED build support fbuild#387 ? RP2040 build-only validation; did not validate deployment.
- fbuild-serial: USB-level bootloader re-enumeration detection (complement to #688 serial-line classifier) fbuild#693 ? intended USB-level bootloader watcher; current production source still relies on
serialport::available_ports(), which does not observe the attached Windows MSC-only Pico.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Jul 14, 2026
Milestones completed: fbuild stock RP2040 deploy merged (#1041/#1042/#1043/#1044), FastLED no-port/RPC smoke/structured-help/negative-probe fixes merged (#3633/#3634/#3635/#3636/#3637), and pin-free runtime suites plus 10-cycle deploy soak pass on the attached Pico. Watchdog recovery remains hardware-blocked; GPIO/PIO/LED bring-up stays deferred until headers are soldered.
zackees commentedon Jul 14, 2026
CORRECTION: earlier claimed Pico runtime and soak evidence was invalid because COM11 was a CP210x 10C4:EA60 device, not RP2040 CDC. Strict 2E8A:000A matching is now implemented; all hardware acceptance remains open until genuine Pico evidence is captured.
zackees commentedon Jul 15, 2026
Merged-main verification after FastLED #3646 and fbuild #1073:
UV_NO_SYNC=1 bash autoresearch rp2040 --rpc-smoke --timeout 120s --skip-lintThe command supplied no
--upload-port; AutoResearch invoked fbuild with no-p, fbuild touchlessly reset/deployed the genuine Pico, wroteG:\NEW.UF2, returned COM12, and the full smoke set passed with correct structured-32601handling. Runtime identity remains2E8A:000A, serial5303284720C4641C.Completed/closed current pin-free phases:
Still open, without overstating evidence:
No fbuild release was minted because the explicit first-deploy gate remains open.
[-]meta(rp2040): Pico 1 AutoResearch bring-up — stock deploy, pin-free RPC, and runtime validation[/-][+]meta(rp2040): Pico 1 AutoResearch bring-up (superseded by #3648)[/+]zackees commentedon Jul 15, 2026
Superseded by #3648. Its former transport and runtime sub-issues now belong to #3648: FastLED/fbuild#1040, #3627, #3628, #3629, #3630, and #3631. Continue remaining RP2040 work and postmortem closeout in #3648.