hi
I use vs code with the official raspberry pi pico extension.
I have connected the Pico board to debugProbe via SWD
Debugging works, pressing RUN loads the program but only if pico is in bootsel.
However, the extension offers Flash Project (SWD)
Compilation runs smoothly, the program is uploaded but pico is not reset, only stopped. below is a print from the console
If I reset the pico power supply, the program starts correctly
I tested on Linux, two Windows, debugProbe is updated and I have no idea why I have a shutdown at the end.
I have seen other topics with a similar problem but nothing helps.
Any suggestions?
I use vs code with the official raspberry pi pico extension.
I have connected the Pico board to debugProbe via SWD
Debugging works, pressing RUN loads the program but only if pico is in bootsel.
However, the extension offers Flash Project (SWD)
Compilation runs smoothly, the program is uploaded but pico is not reset, only stopped. below is a print from the console
If I reset the pico power supply, the program starts correctly
I tested on Linux, two Windows, debugProbe is updated and I have no idea why I have a shutdown at the end.
I have seen other topics with a similar problem but nothing helps.
Any suggestions?
Code:
* Executing task: C:\Users\admin/.pico-sdk/openocd/0.12.0+dev/openocd.exe -s C:\Users\admin/.pico-sdk/openocd/0.12.0+dev/scripts -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c adapter speed 5000; program "c:/Users/admin/blink/build/blink.elf" verify reset exit Open On-Chip Debugger 0.12.0+dev-gebec950-dirty (2024-09-27-16:29)Licensed under GNU GPL v2For bug reports, read http://openocd.org/doc/doxygen/bugs.htmlInfo : Hardware thread awareness createdInfo : Hardware thread awareness createdInfo : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E6616407E37E6C29Info : CMSIS-DAP: SWD supportedInfo : CMSIS-DAP: Atomic commands supportedInfo : CMSIS-DAP: Test domain timer supportedInfo : CMSIS-DAP: FW Version = 2.0.0Info : CMSIS-DAP: Interface Initialised (SWD)Info : SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0Info : CMSIS-DAP: Interface readyInfo : clock speed 5000 kHzInfo : SWD DPIDR 0x0bc12477, DLPIDR 0x00000001Info : SWD DPIDR 0x0bc12477, DLPIDR 0x10000001Info : [rp2040.core0] Cortex-M0+ r0p1 processor detectedInfo : [rp2040.core0] target has 4 breakpoints, 2 watchpointsInfo : [rp2040.core0] Examination succeedInfo : [rp2040.core1] Cortex-M0+ r0p1 processor detectedInfo : [rp2040.core1] target has 4 breakpoints, 2 watchpointsInfo : [rp2040.core1] Examination succeedInfo : starting gdb server for rp2040.core0 on 3333Info : Listening on port 3333 for gdb connections[rp2040.core0] halted due to breakpoint, current mode: Thread xPSR: 0xf1000000 pc: 0x000000ee msp: 0x20041f00[rp2040.core1] halted due to debug-request, current mode: ThreadxPSR: 0xf1000000 pc: 0x000000ee msp: 0x20041f00** Programming Started **Warn : Function FUNC_BOOTROM_STATE_RESET not found in RP2xxx ROM. (probably an RP2040 or an RP2350 A0)Warn : Function FUNC_FLASH_RESET_ADDRESS_TRANS not found in RP2xxx ROM. (probably an RP2040 or an RP2350 A0)Info : RP2040 Flash Probe: 33554432 bytes @0x10000000, in 8192 sectorsInfo : Padding image section 1 at 0x10001914 with 236 bytes (bank write end alignment)Warn : Adding extra erase range, 0x10001a00 .. 0x10001fff** Programming Finished **** Verify Started **** Verified OK **** Resetting Target **shutdown command invoked * Terminal will be reused by tasks, press any key to close it.
Statistics: Posted by drakston — Mon Dec 09, 2024 9:59 am — Replies 0 — Views 33