Quantcast
Viewing all articles
Browse latest Browse all 4899

General • Updated SDK, now cannot program PICOs

I've not done any PICO programming for a few months, so I updated the SDK, but now nothing works ! Pico and Debug probe were previously working together OK. But now.....

Code:

/pico/pico-examples/build_pico/blink $ sudo openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program blink.elf verify reset exit"Open On-Chip Debugger 0.12.0+dev-gebec950 (2024-10-20-14:28)Licensed under GNU GPL v2For bug reports, readhttp://openocd.org/doc/doxygen/bugs.htmlInfo : Hardware thread awareness createdInfo : Hardware thread awareness createdadapter speed: 5000 kHzInfo : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E6614103E70B4824Info : 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: 0x000000ea msp: 0x20041f00[rp2040.core1] halted due to debug-request, current mode: Thread xPSR: 0xf1000000 pc: 0x000000ea 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 0x10004098 with 104 bytes (bank write end alignment)Warn : Adding extra erase range, 0x10004100 .. 0x10004fffError: CMSIS-DAP command mismatch. Expected 0x6 received 0x5Info : SWD DPIDR 0x0bc12477, DLPIDR 0x00000001Error: Failed to read memory at 0x200103c8Error: Could not allocate stack for flash programming code -- insufficient spaceError: error writing to flash at address 0x10000000 at offset 0x00000000** Programming Failed **shutdown command invoked
Any ideas ?

PeterO

Statistics: Posted by PeterO — Sun Oct 20, 2024 2:08 pm



Viewing all articles
Browse latest Browse all 4899

Trending Articles