Not able to flash the binary to picoW
Shikamru opened this issue · 2 comments
Hi team,
I am trying to use Openocd to flash and debug my picoW board. However while flashing am facing issue. Below are the logs from the flash command.
`openocd.exe -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program main.elf verify reset exit"
Open On-Chip Debugger 0.11.0-g8e3c38f78 (2023-02-28-14:54)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "swd". To override use 'transport select '.
Info : Hardware thread awareness created
Info : Hardware thread awareness created
Info : RP2040 Flash Bank Command
adapter speed: 5000 kHz
Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E6616407E34A5C29
Info : CMSIS-DAP: SWD Supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0
Info : CMSIS-DAP: Interface ready
Info : clock speed 5000 kHz
Info : SWD DPIDR 0x0bc12477
Info : SWD DLPIDR 0x00000001
Info : SWD DPIDR 0x0bc12477
Info : SWD DLPIDR 0x10000001
Info : rp2040.core0: hardware has 4 breakpoints, 2 watchpoints
Info : rp2040.core1: hardware has 4 breakpoints, 2 watchpoints
Info : starting gdb server for rp2040.core0 on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xf1000000 pc: 0x000000ea msp: 0x20041f00
target halted due to debug-request, current mode: Thread
xPSR: 0xf1000000 pc: 0x000000ea msp: 0x20041f00
** Programming Started **
Warn : no flash bank found for address 0x10000000
Warn : no flash bank found for address 0x1000862c
** Programming Finished **
** Verify Started **
target halted due to debug-request, current mode: Thread
xPSR: 0x61000000 pc: 0x000017c4 msp: 0x20041f58
Error: checksum mismatch - attempting binary compare
** Verify Failed **
shutdown command invoked`
there is the warning saying no flash bank founf for address 0x1000000, and getting checksum mismatch error message. Kindly let me know any solution for this.
Regards,
Shikamaru
Duplicate / continuation of raspberrypi/debugprobe#110 ?