I am running vs code on a pi 4, installed the Raspberry Pi extension. Installed openocd. Created a project in vs code from the Pico-SDK examples hello_pio. Successfully compiled and run through bootloader mode. Successfully uploaded (again) using openocd, from the command line in a vs code terminal, using the command line specified in the Debug Probe documentation:
sudo openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program hello_pio.elf verify reset exit"
However, after receiving the ** Programming Finished ** message from openocd, the program does not start executing, and openocd hangs after issuing the following two messages:
Info: Listening on port 6666 for tcl connection
Info: Listening on port 4444 for telnet connection
I haven't been able to discover why, or what to modify to get openocd to stop listening and let the pico run the program. The program does start executing, and openocd quits, when I reset the pico.
sudo openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program hello_pio.elf verify reset exit"
However, after receiving the ** Programming Finished ** message from openocd, the program does not start executing, and openocd hangs after issuing the following two messages:
Info: Listening on port 6666 for tcl connection
Info: Listening on port 4444 for telnet connection
I haven't been able to discover why, or what to modify to get openocd to stop listening and let the pico run the program. The program does start executing, and openocd quits, when I reset the pico.
Statistics: Posted by picopirate — Tue Dec 17, 2024 3:59 pm