Cheapest ARM Debugger is RISC-V
a day ago
- #ARM Debugging
- #Embedded Systems
- #RISC-V
- The author discusses using a RISC-V microcontroller (ch32v003) as a cheap debugger for ARM microcontrollers.
- The ch32v003 is highlighted for its affordability (as low as 10¢ in bulk) and its Software Low Speed USB stack (rv003usb).
- The project involved porting DAPLink to the ch32v003 to enable ARM debugging via SWD (Serial Wire Debug).
- Initial success was achieved on macOS, but issues arose with Linux and MS-DOS due to pyOCD's use of different USB libraries.
- The author expresses frustration with manufacturers not supporting universal debugging systems like CMSIS-DAP.
- The firmware for the project is made available, and the author shares their enjoyment and learning from the project.