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

SDK • Re: [RP2040] sleep_us waits forever

$
0
0
Hmm, using SDK 2.1.1 on a Pi5, with a debug probe and a pico, neither set of debugging instructions in the "getting-started-with-pico.pdf" work.
We follow the steps for "Manually Create your own Project" test.c etc.
Debug with openocd fails with

Code:

embedded:startup.tcl:1427: Error: args[i] option value ('CX') is not valid
Debug with SWD fails with the same

Code:

embedded:startup.tcl:1427: Error: args[i] option value ('CX') is not valid
That CX is coming from, I think: /home/pi/pico/openocd/tcl/target/rp2040.cfg which has

Code:

 $_TARGETNAME_0 configure -event reset-init { rp2xxx rom_api_call 0 CX }
VSCode with Pico extension is installed on the same Pi - debugging blink.c works fine, and breaks at gpio_init(...)
I've seen this but it didn't result in a failed debug session. Please submit a bug report with steps to reproduce at https://github.com/raspberrypi/openocd

Statistics: Posted by jdb — Sat Jul 19, 2025 8:23 pm



Viewing all articles
Browse latest Browse all 8609

Trending Articles