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
  • This time the board doesn't even advertise.

    I don't think we are going any where trying back and forth like this. Most of our customers having no problem compile and do DFU with the stock bootloader.

    Please try to debug the bootloader on your side. After you do a successful DFU, find why this check if(enter_bootloader_mode != 0 || !nrf_dfu_app_is_valid()) doesn't return false (so that application will be enterred).

    We haven't got report that NRF_FSTORAGE_DEF caused the problem.

Reply
  • This time the board doesn't even advertise.

    I don't think we are going any where trying back and forth like this. Most of our customers having no problem compile and do DFU with the stock bootloader.

    Please try to debug the bootloader on your side. After you do a successful DFU, find why this check if(enter_bootloader_mode != 0 || !nrf_dfu_app_is_valid()) doesn't return false (so that application will be enterred).

    We haven't got report that NRF_FSTORAGE_DEF caused the problem.

Children
No Data
Related