SWD Debug Probe for RP2350 RISC-V Cores Using Raspberry Pi Pico 2
By
jackdoe
The bagel they save for the regulars. Don't skim, savour.
Summary
This article describes a SWD (Serial Wire Debug) debug probe implementation for RP2350 RISC-V (Hazard3) cores using Raspberry Pi Pico 2 hardware. The project enables one Pico 2 microcontroller to debug another via just two GPIO wires. The author notes that about 80% of the code was 'vibe coded' (likely AI-assisted), with the readme mostly generated, but emphasizes that the core functionality was developed through hands-on work with oscilloscopes and documentation. The project includes a comprehensive test suite and is used in the author's own projects, though it comes with warnings about potential issues.
Key quotes
· 4 pulledSWD debug probe for RP2350 RISC-V (Hazard3) cores. One Pico2 debugs another via two GPIO wires.
About 80% of the code is vibe coded; The readme is almost completely generated (except the whole vibe-code-warning section).
I spent many nights with the oscilloscope and the docs and made a working prototype that was able to do sba/read/write regs and do abstract commands and progbuf, the rest was done with claude code.
The tests are quite comprehensive test suite and I use the core of the library in my own projects, but, as they say, 'hic sunt dracones'.
You might also wanna read
MuseLab nanoCH32H417: $17 RISC-V MCU Board with USB 3.0 and Fast Ethernet
MuseLab has released the nanoCH32H417, a third-party development board for the WCH CH32H417 dual-core RISC-V MCU. Priced at $17, the board f
cnx-software.com·4d agoAngstromIO: Ultra-Compact Attiny1616 Devboard and CH32V003 Experimentation Platform
The article describes three hardware development boards created by the author: 1) AngstromIO, an extremely compact development board based o
f32: Ultra-Compact ESP32 Development Board for USB-C Mounting
The f32 is an ultra-compact ESP32 development board designed to mount directly behind a USB-C receptacle, measuring just 9.85 mm x 8.45 mm.
Implementing USB Keyboard LED Control for BoxLambda Project
The article details the technical implementation of USB HID (Human Interface Device) support for a project called BoxLambda, specifically fo
wolfCOSE: A Lightweight COSE + CBOR Library for Embedded Systems with PQC and FIPS 140-3 Support
wolfCOSE is a lightweight C library implementing CBOR (RFC 8949) and COSE (RFC 9052/9053) for embedded systems, using wolfSSL as the crypto
Running Rust and Slint on a Jailbroken Kindle Paperwhite
A developer jailbreaks their 7th generation Kindle Paperwhite to use it as a nightstand clock, then explores running Rust (and Slint) on the
