I'm trying to flash an external board using the Ezurio BL54L15 module, with the nRF54L15-DK as the debugger. SWD is connected via the DK's Debug Out header to the module's SWDIO and SWDCLK pins. Power and ground are supplied independently, and the SELECT pin on the SWD connector is grounded.
Flashing consistently fails with the following error:
Error: One or more batch tasks failed: * 1057720359: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code = -1) (Generic)
To investigate, I captured the SWD trace — attached below — which shows persistent ACK FAULT responses during AccessPort Read CSW transactions. Key observations:
- Initial CSW reads return
0xFFFFFFFD(DbgSwEnable=1, Prot=0x7F, SPIDEN=1, Mode=0xF) withACK OKand valid parity. - DRW writes (e.g.,
0x8827CFFD,0x27CE4BFD) succeed early on. - Midway through,
Write CSWreturnsACK WAIT, followed byACK FAULTon subsequentRead CSW. - Multiple
Line Resetsequences occur, with repeated attempts to reconfigure CSW usingMode=0x1,0x5, and0xF. - Eventually, all CSW reads fail with
ACK FAULT, even after resets.
Would appreciate help with:
- Diagnosing the J-Link DLL error in this context
- Valid CSW mode values for nRF54L15 targets
- Conditions that trigger persistent
ACK FAULT - Recovery strategies after AP fault
- Any quirks specific to the Ezurio BL54L15 module or its debug interface
Trace (Saleae Logic 2) is attached. Thanks in advance!