Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

[nrf52832] How to update retention memory configuration through DFU?

When the system is working normally, we will transmit logs and other data from the local to the peer through rf communication. 

However, when the system suddenly goes to sleep or restarts due to an abnormal error, the logs will not be transmitted to the peer end in time, and this part of the logs will be lost.

Therefore, we want to save the logs by reserving memory, and transmit this part of the logs to the peer after the system restarts again.

In fact, this part of the function has been implemented and can work normally (use nrfgo through jlink connection). Refer to the following configuration:

devzone.nordicsemi.com/.../152338

But the problem is that if the new reserved memory configuration is upgraded through dfu, it will not take effect, and this part of the memory is still not reserved.

So my question is, how to update retention memory configuration through DFU.

Parents Reply Children
No Data
Related