Flash memory protection when debugging

Hi

I am moving an application to nRF54L15DK.

SDK is v3.2.2, single core only, no sysbuild.

Whenever I try to debug I get:

-- west flash: using runner nrfutil
-- runners.nrfutil: reset after flashing requested
-- runners.nrfutil: Flashing file: c:\dev\bluejay\ble\bluejay\b_0121_pd_ne_nrf54\zephyr\zephyr.hex
-- runners.nrfutil: Connecting to probe
-- runners.nrfutil: Programming image
Error: One or more batch tasks failed:
* 1057733518: Device error: Memory access error at 0x00000480. Probably a memory protection issue. Probe access is Secure (Generic)

I can program the flash using 'west flash --recover' - and the apps seems to be running (alrhough I don't get trace output).

But how do I debug? Do I need to add --recover to the debug command, and if so, how do I do that?

Rgds Tage

Parents Reply Children
Related