Pico as SWD documentation

Open
#392 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale

Research direction

Review page 21 of the 2024-05-02 edition of Getting Started with Raspberry Pi Pico, focusing on the SWD Port wiring and the following debug-probe tip. Reproduce the JST SWD-header connection with two Pico boards and OpenOCD, then document corrected wiring guidance that matches a successful debugger-to-target connection.

Written by the indexing model from the issue text.

Description

On page 21 of the 2024-05-02 version of Getting Started with Raspberry Pi Pico, under SWD Port wiring it says to connect GND(Pin 20) to SWD GND, GPIO24(Pin 18) to SWDIO and GPIO25(Pin 25) to SWCLK for SWD. This configuration works.

Right after that in the manual is a tip that says "When using the Pico as a debug probe, connect the GND, SWCLK and SWDIO pins on the debugging board to the matching pins on the board under test."

To me, this implies that a connecting the JST SWD headers on the two Pico's should work, but when I try this, while OpenOCD is able to connect to the debugger pico, it is not able to connect to the debug target pico.

Dominant language
No language data
Stars
35
Forks
4
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/pico-feedback

All issues in raspberrypi/pico-feedback

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.