Raspberry Pi SWD

../../../_images/raspberrypi-swd.jpg

Learn how to Program and Debug Raspberry Pi Pico with SWD.

Configuration

You can configure debugging tool using debug_tool option in “platformio.ini” (Project Configuration File):

[env:myenv]
platform = ...
board = ...
debug_tool = raspberrypi-swd

If you would like to use this tool for firmware uploading, please change upload protocol:

[env:myenv]
platform = ...
board = ...
debug_tool = raspberrypi-swd
upload_protocol = raspberrypi-swd

More options:

Platforms

Name

Description

Raspberry Pi RP2040

RP2040 is a low-cost, high-performance microcontroller device with a large on-chip memory, symmetric dual-core processor complex, and rich peripheral.

Frameworks

Name

Description

Arduino

Arduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences.

Boards

Note

For more detailed board information please scroll tables below by horizontal.

Name

Platform

Debug

MCU

Frequency

Flash

RAM

Arduino Nano RP2040 Connect

Raspberry Pi RP2040

External

RP2040

133MHz

2MB

264KB

Raspberry Pi Pico

Raspberry Pi RP2040

External

RP2040

133MHz

2MB

264KB