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

  • @Nilesh: I'm sorry it's been a long discussion. But we need to you tell us what exactly you want to do now. What is "this" in "How can i implement this with keil?"

    If you still have a problem with .dat file (which you don't need, simply generate the .zip file, it's easier) please try to use : nrfutil pkg generate --debug-mode --application your_application.hex --key-file key.private app_dfu_package.zip

    And let us know what kind of problem do you have. The your_application.hex is the hex file you get when compiling with Keil.

    You should update the bootloader with the public key match with your private key that you generate.

Reply
  • @Nilesh: I'm sorry it's been a long discussion. But we need to you tell us what exactly you want to do now. What is "this" in "How can i implement this with keil?"

    If you still have a problem with .dat file (which you don't need, simply generate the .zip file, it's easier) please try to use : nrfutil pkg generate --debug-mode --application your_application.hex --key-file key.private app_dfu_package.zip

    And let us know what kind of problem do you have. The your_application.hex is the hex file you get when compiling with Keil.

    You should update the bootloader with the public key match with your private key that you generate.

Children
No Data
Related