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

Parents
  • 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.

Reply
  • 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.

Children
Related