- nRF52832 General purpose retention register (GPREGRET) and Zephyr FOTA
Re: nRF52832 General purpose retention register (GPREGRET) and Zephyr FOTA
Rodrigo Peixoto <rodrigopex@...>
toggle quoted messageShow quoted text
Thank you very much, Vinayak.
Any clue on persistent storage and ultra-low power?
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.
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 email@example.com to automatically receive all group messages.