Jump to content

Raspberry Pi Microcontrollers: Difference between revisions

Created page with "= Raspberry Pi Pico Series = * Raspberry Pi Pico ** Dual [https://developer.arm.com/Processors/Cortex-M0-Plus Arm Cortex-M0+] with Armv6-M programming model, up to 133 MHz * Raspberry Pi Pico 2 ** Dual [https://developer.arm.com/Processors/Cortex-M33 Arm Cortex-M33] with Armv8-M programming model, up to 150 MHz == Debugging == === Using the Raspberry Pi Debug Probe === The Debug Probe is a RP2040 based USB-to-UART/SWD board for connecting the USB slot of a development..."
 
Line 10: Line 10:
The Debug Probe is a RP2040 based USB-to-UART/SWD board for connecting the USB slot of a development machine to the SWD or UART pins of a target device.
The Debug Probe is a RP2040 based USB-to-UART/SWD board for connecting the USB slot of a development machine to the SWD or UART pins of a target device.


=== Using Another Pico As Debugger ===
=== Using A Pico To Debug Another Pico ===
A Pico can be used to debug another Pico (a.k.a. target device)  by flashing it with the [https://github.com/raspberrypi/debugprobe debugprobe] binary. The debugger Pico then serves both as a USB-to-SWD and USB-to-UART bridge. The two Picos are wired as shown below.
 
[[File:wiring_RPi_Pico_as_debugger||A Raspberry Pi Pico wired to debug another Pico]]
 
Note that the development machine is connected only to the debugger Pico. Console output on the target Pico is relayed through the debugger. It's possible, though, to connect a second USB cable from the development machine to the target device for simultaneous direct access to the console output.
 
 
The target device can be any microcontroller that supports the CMSIS-DAP protocol over SWD.

Revision as of 2025-04-14T23:04:08

Raspberry Pi Pico Series

  • Raspberry Pi Pico
  • Raspberry Pi Pico 2

Debugging

Using the Raspberry Pi Debug Probe

The Debug Probe is a RP2040 based USB-to-UART/SWD board for connecting the USB slot of a development machine to the SWD or UART pins of a target device.

Using A Pico To Debug Another Pico

A Pico can be used to debug another Pico (a.k.a. target device) by flashing it with the debugprobe binary. The debugger Pico then serves both as a USB-to-SWD and USB-to-UART bridge. The two Picos are wired as shown below.

A Raspberry Pi Pico wired to debug another Pico

Note that the development machine is connected only to the debugger Pico. Console output on the target Pico is relayed through the debugger. It's possible, though, to connect a second USB cable from the development machine to the target device for simultaneous direct access to the console output.


The target device can be any microcontroller that supports the CMSIS-DAP protocol over SWD.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.