In firmware I can read the programmed UICR serial number as follows: -
uint32_t serial;
memcpy(&serial, (uint32_t*)0x10001080, 4);
Is it possible to program the UICR from within the firmware during runtime?
Using the reverse - memcpy( (uint32_t*)0x10001080, 4) doesn't work.
I would like to send a command to the nRF52 containing the serial number and write it to the UICR register.