Description
Currently, PlatformIO only seems to support cmsis-dap and raspberry-swd
debug options. jlink
and stlink
do not appear to be supported.
SEGGER
have updated their J-Link probe firmware to support Pico uploads (flash to QSPI) and debugging, see https://www.segger.com/products/debug-probes/j-link/ for Release Notes
.
I've been able to debug a Pico using a combination of VSCODE + cmake + Picoprobe
and the PlatformIO Debugger
. In addition, a Pico elf
can be debugged using a SEGGER Educ Mini probe & Ozone Debugger
combination.
I'm not sure what changes are required in PlatformIO Debugger to work but the Raspberry Pico probe needed OpenOCD
to be built with the Picoprobe driver, as detailed in the Raspberry Pi documentation at https://datasheets.raspberrypi.org/pico/getting-started-with-pico.pdf.
It would be highly productive if we can have an out-of-the-box jlink
(and stlink
) support for RP2040 Pico
upload & debug.
I'm available to assist with any testing required to support this feature request.
Your efforts to provide a complete PlatformIO support for the RP2040 are much appreciated by all of us in the PlatformIO
and Raspberry Pi
communities. Thanks you.