PicoProbe is a useful developer tool supplied by Raspberry Pi (Trading) Ltd. for use with the Raspberry Pi Pico and the RP2040 MCU. It takes advantage of the highly flexible PIO feastures of the RP2040 to create a SWD debug master port which in combination with the PicoProbe firmware provides a gdb SWD interface plus a UART for a user console port.
The picoprobe software provided by Raspberry uses GPIO pins that were required for different purposes on the ProtoZOA implementation. Therefore AmeNote made appropriate adjustments to utilize alternate pins. AmeNote provides this adjusted implementation for use of PicoProbe on the ProtoZOA Prototyping tool.
See original Raspberry README.
The following are the pinout changes adjusted to run PicoProbe on the AmeNote ProtoZOA Prototyping tool. All adjustments are made in the picoprobe_config.h file which can easily be further adjusted and recompiled for the readers needs.
Function | Original Pin Assignment | Adjusted Pin Assignment |
---|---|---|
UART0 Tx | GP4 | GP0 |
UART0 Rx | GP5 | GP1 |
SWCLK | 2 | 14 |
SWDIO | 3 | 5 |
AmeNote does not warrant or support this code, it is provided for ProtoZOA users convenience only. Further use and up to date development details can be found in the appropriate Raspberry Pico development communitites.
To learn how to use PicoProbe including how to configure your gdb and IDE, please refer to the Raspberry Pi Pico Getting Started Guide. Pay close attention to section 5.1, Installing OpenOCD and Chapter 6, Debugging with SWD.
PicoProbe is Copyright 2020 (c) 2020 Raspberry Pi (Trading) Ltd.
The PicoProbe license is direct from Raspberry Pico SDK repository.