From: Paul F. <fer...@gm...> - 2025-06-21 22:50:12
|
On Sat, Jun 21, 2025 at 03:31:56PM -0700, Thomas D. Dean wrote: > If I > 1. connect the RPi debug probe to USB and pico_w. > 2. power on the pico_w. > 3. sudo openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg \ > -c "adapter speed 5000" -c "program $1 verify reset exit" This looks correct, I have nothing to suggest here. > Openocd seems to finish without error. > > Attempting to connect with firefox never does, just sets there > spining. And here I would suggest to connect with GDB to see what it is doing and why it is stuck where. > I noticed that cmake says the build type for my project is release, the > *.elf file has debug symbols. and openocd output has debug and breakpoint. Debug symbols are used by GDB, OpenOCD doesn't parse any of it from ELF. And BTW, adding full debug information doesn't increase the amount of flash used, it's all in special ELF sections which are not copied to the target at all. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fer...@gm... |