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

How to generate init file(*Dat) for secure DFU OTA update?

Hi;

I am trying to secure DFU OTA. For that, i am using SDK12.2.0 and done with example file.

Now how to generate this .dat file itself.

Also explain each parameter of init file and how to set it.

Parents
  • Hi Nilesh,

    you can generate firmware images for the Secure Bootloader using our nrfutil tool, which is available here on GitHub.

    Install instructions and examples on how to generate the firmware images are given in the READM.md file.

    Best regards

    Bjørn

  • I still don't understand what you are describing.

    Could you explain more clear what you meant here: With SDK11, my updating process will completed by firmware in not update and in SDK12, not process shown in application directly close the update process.

    Note that if you are using mbed, make sure your image is without the softdevice (shadow platform). You may want to upload your .hex file and the .zip file you generated.

    If you are doing DFU update for SDK v12, there is a lot of requirement regarding secure DFU. Please have a look here to know how to test it.

    Please state clearly which bootloader did you use ? Did you use FOTA bootloader from mbed or the DFU bootloader in our SDK ?

    To make it easier, I would suggest you to use the bootloader from SDK v11.

Reply
  • I still don't understand what you are describing.

    Could you explain more clear what you meant here: With SDK11, my updating process will completed by firmware in not update and in SDK12, not process shown in application directly close the update process.

    Note that if you are using mbed, make sure your image is without the softdevice (shadow platform). You may want to upload your .hex file and the .zip file you generated.

    If you are doing DFU update for SDK v12, there is a lot of requirement regarding secure DFU. Please have a look here to know how to test it.

    Please state clearly which bootloader did you use ? Did you use FOTA bootloader from mbed or the DFU bootloader in our SDK ?

    To make it easier, I would suggest you to use the bootloader from SDK v11.

Children
No Data
Related