This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is UICR erase supported on the network core of the nRF5340?

I am unable to properly erase UICR registers on network core.


flash_erase() function that I call before flash_write() doesn't take any effect.

Example:
1. Set UICR->CUSTOMER registers with "NAME102030405"

2. Erase UICR registers.

2. Set UICR->CUSTOMER registers with "NAME010203040"


Expected result would be the last set value: "NAME010203040"
But, due to erasing is not done, the result is: "NEME000000000"

I've tried to use flash_write_protection_set(), but this function is deprecated. According to documentation, this is now done in respected flash_erase(), flash_write() and flash_read() functions.

I've tried using nrf driver directly nrfx_nvmc_uicr_erase(), but function returns with the error code: NRFX_ERROR_NOT_SUPPORTED.

Is UICR erase supported on the network core of the nRF5340?

Related