I’ve started working with my Nordic nRF54L15 dev kit and one of the frustrating things I ran into was this:

Error: One or more batch tasks failed:
 * 1057784739: Device error: Address 0x00000000 is in a protected RRAMC region (Generic)

Once I flashed on my initial Matter project code, I wasn’t able to update it, without erasing the device.

nrfutil device erase --all

Unfortunately, recovering the device involves erasing it. This nukes all my Matter commissioning information, meaning I have to pair the device again! This makes change painfully slow.

The Fix

I found a fix, buried in this forum post – https://devzone.nordicsemi.com/f/nordic-q-a/121068/memory-access-error-when-flashing-nrf54l15?pifragment-684=2

It involves going into /sysbuild/mcuboot/prj.conf and setting CONFIG_FPROTECT to n.

I recovered my board and from then on, I could flash without hitting an error.

If you do need to protect your firmware, remember this turn this back on 🤣

Be sure to check out my YouTube channel.

One response

  1. […] wasn’t sure what the secure device meant. Was it similar to the secure boot issue I’d seen […]

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.