Hey all!
I've just received my first board with a Nordic chip. More specifically it features the Ezurio BL54L15µ module.
I am currently "limited" to programming via SWD using a Rasperry Pico as debugprobe. Connecting via SWD works:
$ openocd -s ~/pico/openocd/tcl -f interface/cmsis-dap.cfg -f target/nordic/nrf54l.cfg
I can connect to telnet and run arbitrary commands, however when I try flashing a program it just fails:
$ openocd -s ~/pico/openocd/tcl -f interface/cmsis-dap.cfg -f target/nordic/nrf54l.cfg -c "program build/merged.hex verify reset exit"
Open On-Chip Debugger 0.12.0+dev (2025-07-17-20:39)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
cortex_m reset_config sysresetreq
Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E660C0D1C79D7534
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: Test domain timer 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 1000 kHz
Info : SWD DPIDR 0x6ba02477
Info : [nrf54l.cpu] Cortex-M33 r1p0 processor detected
Info : [nrf54l.cpu] target has 8 breakpoints, 4 watchpoints
Info : [nrf54l.cpu] Examination succeed
Info : [nrf54l.aux] Examination succeed
Info : [nrf54l.cpu] starting gdb server on 3333
Info : Listening on port 3333 for gdb connections
Info : [nrf54l.aux] gdb port disabled
[nrf54l.cpu] halted due to debug-request, current mode: Thread
xPSR: 0xf9000000 pc: 0x00003fec msp: 0x20001f18
** Programming Started **
flash
flash bank bank_id driver_name base_address size_bytes chip_width_bytes
bus_width_bytes target [driver_options ...]
flash banks
flash init
flash list
gdb flash_program ('enable'|'disable')
nand
program <filename> [address] [preverify] [verify] [reset] [exit]
** Programming Failed **
shutdown command invoked
Traceback (most recent call last):
, in program
flash write_image erase build/merged.hex
Does anyone have an idea what this error may suggest?