DFU-OTA on bl653 Board

Hi, 

    I am working on DFU-OTA  sample as suggested in this link. https://devzone.nordicsemi.com/f/nordic-q-a/84766/sample-ncs-code-to-evaluate-dfu-ota-on-nrf52833.

For nrf52833 board it is working fine . But same thing i wanted to do on Bl653 dvk board. Earlier it was not building for bl653dvk board, for that i followed below link , after that it is building and am able to flash also.       

here is link - https://devzone.nordicsemi.com/f/nordic-q-a/86089/unable-to-configure-mcuboot-on-sample-dfu-app-for-bl653-board , by following this link now configuration is done. But the problem am facing here is that, after downloading the  image it should be softreset after validating the image(bl653 dvk board) , but that is not happening , instead of that after some time my Bluetooth is disconnected. what might be the reason Kindly help.

  • Hello,

    after downloading the  image it should be softreset after validating the image(bl653 dvk board) , but that is not happening

    Does that happen correctly when you try the same application built for the nRF52833 DK?

    How do you download the new image? Over BLE using the nRF Connect for iOS/Android app? If so, what version of the app (OS and app release version)?Did you try the "DeviceManager" app? Not saying you need to use that in the end, but for debugging purposes, to see if it behaves differently?

    Best regards,

    Edvin

  • thanks edvin,

             1.  Yes for nrf52833dvk it is working  correctly.

             2.  We are downloading the image over BLE using nRF Connect app

             3.   App version - 4.24.3

              4. I haven't tried with device manager app yet . I will try and  collect the logs .

      

  • Hmm. ok. so the issue is that you can upload the image using the nRF Connect app, but it doesn't reset the board when it is done uploading, right?

    What if you reset it manually after the upload is done. Does it update the firmware then, or does it just start the old application?

    Have you tried programming the app_moved_test_update.hex directly using a programmer, and then reset the device, that is:

    1: Use west flash -d <build folder> like normal to flash the device, and make sure the application is running as expected. 

    2:Then do some change in the application so that you can know whether the app has updated or not. I suggest turning on an LED or use a different advertising name or something like that. Rebuild the application.

    3: program app_moved_test_update.hex manually using a programmer.

    4. Reset the device and see if the app is updated.

    I am not saying that this manual programming is the final solution, but the behavior of this can give some pointers in where the update over BLE fails.

    Best regards,

    Edvin

  • Hmm. ok. so the issue is that you can upload the image using the nRF Connect app, but it doesn't reset the board when it is done uploading, right?

    yes that was the issue. that was got resolved by following the below link https://devzone.nordicsemi.com/f/nordic-q-a/86225/bl653-soft-reset-fails-in-sample-dfu-app . now it is getting reset and things are fine .

    Thanks Edvin.

Related