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.
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.
Dear Sir,
How can i implement this with keil? Any example file availble in SDK?
@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.
Hi Sir,
Today, i am trying with the ble_app_blinky_c program in keil which is located into the nRF5_SDK_12.2.0_f012efa\examples\ble_central\experimental\ble_app_blinky_c\pca10028\s130\arm5_no_packs.
Simply, i build the project and using generated hex file create the zip file using "nrfutil pkg generate --debug-mode --application your_application.hex --key-file key.private app_dfu_package.zip"
Now when i am trying to update the firmware, the mobile application shown "DFU is failed" error message.
Please suggest me. thanks
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.
Hello Sir,
I apologize for the mistake.
I am trying to OTA with the SDK11 and SDK12 both.
When i an trying with SDK 11 and start to transferring process using my mobile app.(NRF Connect), my mobile application start to transferring process and completed it by 100% but no any effect happened in my board.
Same thing with in SDK 12, my mobile application given me error message "DFU is failed".
Thanks