This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to use the nRF Loader to do OTA

Hi all,

Now I'm using the nRF51822 DK and nRF Loader APP do the OTA.I can use the APP to complete the firmware update.However,the device cann't go back to bootloader mode when I press the button 7 while power up again.I try many times but still the same. I use the Master Control Pannel to do the OTA and I wouldn't meet the problem.

Besides,if I want to use iPhone and other .hex(not HRM or RSCS in APP) file to do the OTA,how to do it?

Thanks

  • The nRF Loader can open files from other apps (e-mail, dropbox or similar) but only raw binary files, not hex files. To convert a hex or axf to binary, you can use for example the fromelf tool in C:\Keil\ARM\BIN40:

    
    C:\Keil\ARM\BIN40\fromelf.exe ble_app_hrs.axf --output ble_app_hrs.bin --bin
    
    

    After this, you can for example upload this binary file to your Dropbox or e-mail it to yourself, and then open the binary with nRF Loader to upload it to your development kit.

  • Do you mean that use the fromelf.exe in CMD?I try it but fail,could you make it more detailed?Thanks.

  • Yes, I meant to run it from the command line. You obviously need to make sure that you're in the right folder (i.e. the one containing the axf-file for the project you want to convert), and that the fromelf tool is actually located where it's supposed to be.

    When you say it doesn't work, do you have any error messages or similar?

  • Yes, I meant to run it from the command line. You obviously need to make sure that you're in the right folder (i.e. the one containing the axf-file for the project you want to convert), and that the fromelf tool is actually located where it's supposed to be.

    When you say it doesn't work, do you have any error messages or similar?

  • Hi Ole, Do you mean that use the fromelf.exe in CMD?I try it but fail,could you make it more detailed?Thanks.

Related