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

Issue with OTA DFU on NRF 52832

Hello,

I have tested secure_bootloader_ble_s132_pca10040 project with Segger Embedded Studio. it works fine and I can update my application.zip via nrfConnect android application. Once it is finished, my application start without problem.

After that, I made an hex image of bootloader. I put it with softdevice.hex in the windows programmer of nfrConnect and I flashed the nrf52832. The bootloader runs and 

I can update my application via OTA. But once updating is finished, the bootloader don't launch my application.it keeps running and the only thing I can do is updating again....

Best regards

Parents
  • Hi

    which SDK version are you using? 

    Can you debug the bootloader after the application update and check teh return value of nrf_bootloader_fw_activate() called in nrf_bootloader_init() in nrf_bootloader.c as well as the return value of dfu_enter_check() in the same function and file?

    If there is a valid application present, then dfu_enter_check should return false. 

    Best regards

    Bjørn

  • Hi Bjorn,

    I am using SDK 15.3.0.

    nrf_bootloader_fw_activate() returns ACTIVATION_SUCCESS.

    dfu_enter_check()  returns false.

    Note that in debug mode, the application is well launched by the bootloader once it has been updated.

    The problem occurs when I use the bootloader programmed with the programmer of nRF Connect (windows 10). 

    In this case, I can't debug the bootloader and give you the values.

    Regards

Reply
  • Hi Bjorn,

    I am using SDK 15.3.0.

    nrf_bootloader_fw_activate() returns ACTIVATION_SUCCESS.

    dfu_enter_check()  returns false.

    Note that in debug mode, the application is well launched by the bootloader once it has been updated.

    The problem occurs when I use the bootloader programmed with the programmer of nRF Connect (windows 10). 

    In this case, I can't debug the bootloader and give you the values.

    Regards

Children
Related