Re: nRF52832 General purpose retention register (GPREGRET) and Zephyr FOTA

Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>

Hi Rodrigo,

GPREGRET is general purpose retention register in the SoC, which only retains value across warm resets.

The value is lost for reset behaviours like watchdog reset, pin reset, etc. Do not use this register in applications requiring persistent storage.


On 21 May 2018, at 05:16, Rodrigo Peixoto <rodrigopex@...> wrote:

Hi fellows, I am developing an application that counts pulses from a source. I need this system to be the lowest power possible. I was wondering if I could use the GPREGRET register do store this counting. Can I? My concern is that, as the documentation says, the DFU feature from Nordic also uses that retention register. Is the mcumgr + MCUBoot (FOTA) using that as well? Note that I would like to use the FOTA feature in this project.

By the way, I took a look at the Zephyr repo and the only mentions to this register is on the NRFX Nordic hal. Is that a good signal?

Thank you. Best regards, Rodrigo Peixoto.

Join to automatically receive all group messages.