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

General • Re: Debugging Pico W with Pi5 swd connection is not working

$
0
0
@nezbrun, really amazing tutorial you've listed out there. Unfortunately, I was not able to replicate your results. I also got the same errors as the other poster.

Happily, I was able to resolve the issue with a little source code diving. I had raspberrypi/openocd @rp2040, not openocd/openocd @master. I don't know where I saw that I was supposed to use this one. At any rate, that's what I have.

This version of openocd uses different names for the linuxgpiod adapter driver. Here is the config that worked for me:

Code:

adapter driver linuxgpiodtransport select swdlinuxgpiod_gpiochip 4linuxgpiod_swd_nums 25 24
I have no idea whether it's best to use the branch I have or some other one, but I hope this post is helpful to any who come after me and are also confused.

Statistics: Posted by jags84 — Sun Mar 24, 2024 2:55 am



Viewing all articles
Browse latest Browse all 5369

Trending Articles