openocd
openocd copied to clipboard
Failed programming RP2350 with JLink
In some cases when running my binaries on RP2350 I'm gonna get following error: ** Programming Started ** Padding image section 1 at 0x1001ee90 with 112 bytes (bank write end alignment) Adding extra erase range, 0x1001ef00 .. 0x1001efff [rp2350.dap.core0] target was in unknown state when halt was requested SWD DPIDR 0x4c013477 Failed to call ROM function batch
RP2040 flash: failed to exit flash XIP mode failed erasing sectors 0 to 30 ** Programming Failed **
Rebooting Pico 2 with bootrom pin pressed solves the issue will allow to flash the Pico again. I assume there may be something that opened doesn't reset and it's unable to enter into flashing state.