I am using nrf52832_xxaa with SDK v16.0. I have a requirement to write into UICR register use seggger but I don't see any sample for that. Is it possible? If yes, please provide a sample code.
I am using nrf52832_xxaa with SDK v16.0. I have a requirement to write into UICR register use seggger but I don't see any sample for that. Is it possible? If yes, please provide a sample code.
Hi
This should be possible indeed. Most of our bootloader examples write to UICR already, but it's not recommended or intended to use UICR to write multiple times. We also have a few cases on the matter here on DevZone already:
Best regards,
Simon
Hi
I'm glad you replied. I really need this but can you tell me where the UICR writing is done in the bootloader?
Please check out this case as well as the two I linked to below for details on how to write to UICR.
Best regards,
Simon
Hi Simon
I am having a problem can I edit the bootloader file of the mesh SDK to add the UICR with my info in it?
Best regards,
Judge
Hi
Yes, you should be able to edit the bootloader code and recompile it yourself, this is entirely up to you, but we generally recommend using the already finished .hex file for your bootloader, as you should be carefult when editing the bootloader file.
Best regards,
Simon