![]() ![]() In order to do that, connect the following signals on the Raspberry Pi: Raspberry Pi Signal You can use the regular Raspberry Pi board to debug Raspberry Pi Pico (or any other device that supports the SWD transport). If you are running OpenOCD manually, you can download it here (use openocd_rpi2040.exe instead of openocd.exe). VisualGDB will automatically use it when debugging Raspberry Pi Pico. ![]() WARNING: The RP2040 chip used by Raspberry Pi Pico requires a special OpenOCD fork. Flyswatter 2), it will likely work as well, as long as it supports SWD. If you are using a different SWD adapter based on the FT2232 chip (e.g. Olimex ARM-USB-OCD-H (requires ARM-JTAG-SWD module).The final setup involving the Raspberry Pi Pico and a JTAG/SWD adapter should look as shown below: We have tested the following SWD adapters with Raspberry Pi Pico using this setup: The connection for the Raspberry Pi Pico W board is practically identical: In order to debug the board using a regular SWD debugger, please connect the pins as shown below: Pin name on boardĬonnecting the VDD (+3.3V) to pin 1 of the JTAG2o connector will prevent the “No target power” error with some SWD adapters, but is generally optional. The Raspberry Pi Pico board has the SWD pins conveniently available on one side, however in order to keep the board compact, they are not following the standard JTAG20 pinout. The steps shown on this page are only needed if you would like to set breakpoints in the code and step through it in a debugger. Note that the on-board FLASH memory can be programmed via the bootloader and does not require SWD wiring. This page explains how to prepare the Raspberry Pi Pico for debugging via SWD. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |