How to access UICR.CUSTOMER[] after setting CONFIG_SOC_FLASH_NRF_UICR=y. (Zephyr on nRF52832)

Hi,

I need to read/write a range of values in the UICR.CUSTOMR[] flash. 

The docs for the option mentioned in the title says: "Once enabled UICR are written or read as ordinary flash memory. Erase is possible for whole UICR at once."

But, I'm having trouble figuring out how to get a handle (device handle or some flash ID) to the UICR flash area to then use the 'ordinary [Zephyr]' API.

I've tried referencing it as `soc_nv_flash` and adding a flash controller entry into the DTS but no joy.

Any tips would be appreciated.

Thanks

Wayne

Versions:

nRF Connect SDK v1.9.0

nRF52832

Related