This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Nrf52832 flash save data problem

Hi Engineer
I am using nRF52832 to develop a product. I want to save a flag to flash (FDS) before leaving the factory, and then read this flag every time I turn it on, and enter the normal according to the flash save flag (0xAA). Mode and test mode; respectively:
1. The flag is not 0xAA; the product enters calibration mode.
2. The flag is 0xAA and the product enters normal mode.
I am testing normally, but I am worried that users will often read the flag saved by flash in the future; often reading flash will cause the flag to be wrong later?

Related