Blue: Pico GP2 -> Pin 9 (TCK, SWCLK, Clock).Red: Pico 3.3V Out -> Pin 1 (VccSense): this one is optional and allows to power the target with 3.3V.using the SWD/JTAG adapter from Adafruit: Picoprobe wiring to SWD debug header breakout I prefer the following to have a standard SWD Debug connection, e.g. Yellow: Pico GP5/UART1 Rx -> Target Tx (optional for UART connection).Orange: Pico GP4/UART1 Tx -> Target Rx (optional for UART connection).Red: Pico VSYS -> Target 5V (optional to power the target with 5V).The following shows the connection between the probe (left) and the target (right): Picoprobe wiring (Source: Getting Started with Raspberry Pi Pico) The Picoprobe offers SWD Debug with an optional UART connection to the target. Or b) download the binary UF2 file from Picoprobe Wiring Then program the Pico with the build output (build/picoprobe.uf2): Press the BOOTSEL button and copy the picoprobe.uf2 file to the device. This has the benefit to create Eclipse projects as well, and I can debug it, see Getting Started: Raspberry Pi Pico RP2040 with Eclipse and J-Link. Run a console in that folder: mkdir buildĬmake -G"Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_ECLIPSE_VERSION="4.22". See “Appendix A: Using Picoprobe”.ĭownload the zip from and extract it to a folder. The Picoprobe documentation can be found in the Pico Getting Started Guide. I’m showing this here using OpenOCD and Eclipse on Windows. With the ‘ Picoprobe‘ firmware, you can turn the Raspberry Pi Pico board into a SWD debug probe. This turns a $5 Raspberry Pi Pico board in to a very usable and versatile debug probe. Luckily, there is a solution: just use another Raspberry Pi Pico! SWD Debugging with PicoProbe In Getting Started: Raspberry Pi Pico RP2040 with Eclipse and J-Link I used a SEGGER J-Link EDU for debugging: unfortunately, probably because of silicon shortage, these EDU probes are out of stock everywhere.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |