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

How to deal with the flash when add a DFU service in nRF5 SDK V12.2

Hi,

I'm using nRF5_SDK_12.2.0_f012efa and s132_nrf52_3.0.0_softdevice. We want to do the OTA on it. Before I add a DFU service to make it switch to bootloader, I have use fs_init to write some data to flash and it's ok. However, after I add a DFU service according to experimental_ble_app_buttonless_dfu example, it cann't broadcast. I found that fs_init function has been called twice and one is in peer_manager_init function. So could you tell me how to do the setting for the flash so that I can write data to flash and there is no effect on DFU? Thanks.

Best regards, Alice

Related