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

DFU Update OTA of an application with ble secure bootloader works only once

Hi, I try to use the dfu update OTA with ble secure bootloader. If the Flash is erased and only the SD v5.0.0 and the own Bootloader are programmed a update OTA is working fine (using nrf Connect). After that, I tried to update the same APP.HEX file again and now the following error occurs:

[DFU] Remote DFU error: OPERATION FAILED

How can that be ???

Here my development environment:

GCC
NRF52
SDK14
SD5.0.0
Own ble_app_blinky (APP:HEX)
Own bootloader_secure_ble
Own private key

Thanks, Boris

Parents
  • @boisi: have you tried to change the application version when you create the zip file ? try to increase application version by one. There is a chance the the bootloader reject uploading because the application version is the same.

    Also please follow shibshab suggestion, you can turn on LOGGING on the bootloader and see what cause the problem (turn the log level to DEBUG mode)

Reply
  • @boisi: have you tried to change the application version when you create the zip file ? try to increase application version by one. There is a chance the the bootloader reject uploading because the application version is the same.

    Also please follow shibshab suggestion, you can turn on LOGGING on the bootloader and see what cause the problem (turn the log level to DEBUG mode)

Children
No Data
Related