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

Troubleshooting • Error: The specified debug interface was not found (linuxgpiod)

$
0
0
I am attempting to debug my Pico following the Getting started with Raspberry Pi Pico guide. I am using a Raspberry Pi 5 Bookworm. I am trying to load the program for debugging with the following command as stated on page 21:
openocd -f interface/raspberrypi-swd.cfg -f target/rp2040.cfg -c "program blink/blink.elf verify reset exit"
Then on page 22 the guide tells me:
To run this command on a Raspberry Pi 5, create a file named raspberrypi5-swd.cfg. Copy and paste the following
instructions into the file:
adapter driver linuxgpiod
adapter gpio swclk 20 -chip 4
adapter gpio swdio 21 -chip 4
In the above openocd command, replace interface/raspberrypi-swd.cfg with raspberrypi5-swd.cfg to use the Pi 5-specific
configuration file.
But when I do this, I get this error:

Code:

Open On-Chip Debugger 0.12.0-g4d87f6d (2024-02-05-15:02)Licensed under GNU GPL v2For bug reports, read        http://openocd.org/doc/doxygen/bugs.htmlError: The specified debug interface was not found (linuxgpiod)The following debug adapters are available:1: ftdi2: usb_blaster3: esp_usb_jtag4: ft232r5: presto6: usbprog7: openjtag8: jlink9: vsllink10: rlink11: ulink12: arm-jtag-ew13: buspirate14: hla15: osbdm16: opendous17: sysfsgpio18: bcm2835gpio19: cmsis-dap20: xds11021: st-link
Where can I get the linuxgpiod debug interface? Or is there something else I am missing?

Statistics: Posted by CoastalWalkerRanger — Wed Feb 07, 2024 3:29 pm



Viewing all articles
Browse latest Browse all 4825

Trending Articles