Skip to the content.

Pinout

Check the RPi Pico Pinout Labels

Zero Pin Debugger Function <-> Pico Pin Target Function Notes
9 N/A        
10 SWCLK   CLK SWCLK  
11 SWDIO   DIO SWDIO  
12 UART0 TX   1 UART RX 1
13 UART0 RX   0 UART TX 1

How to use

SWD/DAP

This should be automatically detected by your SDK if it uses openOCD or pyOCD.

TTY

On Linux this will expose two serial ports: one reporting the logs of the debugger, and one forwarding the target UART.

Assuming you don’t have anything else connected and that you have tio installed:

$ ls /dev
# this will show all the devices connected, we are interested in:
# ttyACM0 = UART bridge
# ttyACM1 = zeroprobe logs
$ tio /dev/ttyACM0

Fixes

In case of device not detected:

TODO

Build

Requisites:

Credits

Footnotes

  1. Target pins depends on the setup of your target board  2