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

An application with buttonless_dfu service and customize service could not working and cannot enter bootloader either.

As the subject description.

I have already test the official sample buttonless_dfu_app and the secure bootloader already. It could work for OTA fucntion.

And my application could run successfully before add DFU.

Thus, I would like to add the DFU service in my application in further. Somehow, I just encountered some difficulties while I simulate the setting and program with the sample.

IROM1 Size changed  0x17000 -> 0xF000

IRAM1 Start changed 0x20001A40 -> 0x20001A60 (There are 2 customize UUID service include the DFU service)

IRAM1 Size changed 0x45C0 -> 0x45A0

Add predefined:

BL_SETTINGS_ACCESS_ONLY

NRF_DFU_SVCI_ENABLED

NRF_DFU_TRANSPORT_BLE=1

After I change the setting as below, my program couldn't work anymore, but before I flash the APP with setting page the bootloader is worked. 

BLE_DFU_ENABLED 0 -> 1

NRF_SDH_BLE_VS_UUID_COUNT 1 -> 2

NRF_SDH_BLE_SERVICE_CHANGED 0 -> 1

I have already check the bootloader address is registered successfully.

Do you know whether there is any reason to make it failed?

Parents Reply Children
No Data
Related