Can sd_flash_write be used to write to the UICR?

I'm writing two 32 bit words. I've verified that the source and destination addresses are word aligned (the UICR address is 0x10001088 and the source address is 2000200C). However, I get an NRF_ERROR_INVALID_ADDR response.

When I use the same function (sd_flash_write), but point the destination to regular flash instead of the UICR, it works fine.

If the UICR region can't be written with this function, is there a recommended way to write the UICR during operation?

Regards,

Calvin

Related