Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3552

General • Re: Latest Getting Started document removes SWD instructions

$
0
0
Ok, so just to make explicit what has been sort of implicit in this conversation: the reason the SWD instructions were removed is likely because it does not work with a Pi 5 and Pi Pico?
A shame, those instructions are still valid for the Pi4.

For those with an extra Pi4 lying around after upgrading to a Pi5, you can always continue using the Pi4 to run OpenOCD and the GPIO SWD connections to the Pico, then manage it over Ethernet using GDB on the faster Pi5 development system.

OpenOCD will not accept remote connections by default, so you'd need to add

Code:

bindto 0.0.0.0
to OpenOCD's config file. On the Pi5 cange the GDB config file to

Code:

target extended-remote ip_of_pi4:3330
Clunky, but seamless once set up, and works! I use a hat-like PCB into which the Pico plugs, so the debug probe is not an option.

Statistics: Posted by lurk101 — Sun Aug 18, 2024 9:19 pm



Viewing all articles
Browse latest Browse all 3552

Trending Articles