OTA DFU firmware app flashing doesn't work as intended

Hello,
I want to flash a test application to the nrf52820(on the 52833DK(it supports both 33 and 20) for test purposes. I first flashed the softdevice and the bootloader. Got a private and public key pair created the dfu zip file and tried flashing over my phone with the nrf Connect app. I work with the nrf5sdk. 

The application doesnt appear after flashing OTA.

When I flash the app over cable(how it should look like)

First step: flashing the bootloader + softdevice


This happens after I try to flash the app OTA from my phone:


Theres no error message in the log of the nrf connect app while flashing OTA. Also after flashing the 2 leds turn off and it disappears from the bluetooth list on my phone. I used the secure_bootloader example from the github repo.

Parents
  • Hello,

    The bootloader will only boot the app if it's able to validate the integrity of the applicaiton (see Boot validation modes. Otherwise, it should fall back to DFU mode. It's also strange that you aren't getting any errors during the DFU transfer. Are you able to debug the bootloader to see where the program ends up after the update has finished?

    I used the secure_bootloader example from the github repo.

    Is this a public repo? We did not host the nRF5 SDK on github so I'm wondering which SDK this bootloader is from and if it has been modified compared to our original version.

    Best regards,

    Vidar

Reply
  • Hello,

    The bootloader will only boot the app if it's able to validate the integrity of the applicaiton (see Boot validation modes. Otherwise, it should fall back to DFU mode. It's also strange that you aren't getting any errors during the DFU transfer. Are you able to debug the bootloader to see where the program ends up after the update has finished?

    I used the secure_bootloader example from the github repo.

    Is this a public repo? We did not host the nRF5 SDK on github so I'm wondering which SDK this bootloader is from and if it has been modified compared to our original version.

    Best regards,

    Vidar

Children
Related