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

nrf52840 DFU regarding.

Hi Team,

I am developing a low power application where we need to update Firmware frequently based on use cases.

I have successfully tested BLE secure DFU example and would like to implement the same in our product(OTA). 

The desired flow is when I press two of my app buttons for 5 secs the device must enter DFU mode. What I am planning is to 

use a single flash memory as a flag used by application and DFU program. So after the device resets(softreset by app),

the DFU program will check the flash memory flag and decides to stay in boot mode or to enter into the application(similar to DFU button check).

Is it a proper approach or is there any dedicated example to implement the same workflow.

Thanks in advance.

Vishnu.

Related