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

upload error while updating firmware via OTA using nrf connect application.

I am trying to update the firmware via OTA , while uploading the firmware I am getting "upload failed" message on the nrf connect application.

I am using nrf51422 board,sdk v10.0.0 .

I have downloaded the "dual_bank_ble_s110" boot loader firmware in the nrf51422 board.In nrf connect I have connected to "DfuTarg". 

I have created a zip file for "ble_hrs" example, so when I am trying to update the firmware from nrf connect I am getting "UPLOAD FAILED" message on the application.

Could anybody help me in solving this?

Thanks in advance.

Parents
  • Hi,

    I will suggest you to first go through the documentation and see if everything is done correctly.

  • Hi Mttrinh,

    I have done the things as per of the document, I have tested the default test image and I am able to update it via OTA.

    "C:\Users\Dell\Downloads\nRF51_SDK_10.0.0_dc26b5e\examples\dfu\ble_dfu_send_hex\test_images_update_nrf51"

    Now I am tying to update the "ble_app_hrs with dfu"

    C:\Users\Dell\Downloads\nRF51_SDK_10.0.0_dc26b5e\examples\ble_peripheral\ble_app_hrs\pca10028\s110_with_dfu

    As DFU is already supported for this example I trying to update it from nrf connect. While choosing "application" for updating there is no "init.dat" is creating.

    I tried updating this example by creating a "dfu_zip" file by using the following command.

    C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.10.0.14\nrf>nrfutil dfu genpkg --application "C:\Users\kishor.babu\Downloads\nRF51_SDK_10.0.0_dc26b5e\examples\ble_peripheral\ble_app_hrs\pca10028\s110_with_dfu\arm5_no_packs\_build\nrf51422_xxac_s110.hex"  --application-version 4 --dev-revision 0xffff --dev-type 0xffff --sd-req 0x0080 "D:\dfu_test\dfu_hrs.zip"

    But while updating this "zip" file I am getting "operation failed" error in the nrf toolbox.

    So, please let me know what may be the issue and how I can resolve it.

Reply
  • Hi Mttrinh,

    I have done the things as per of the document, I have tested the default test image and I am able to update it via OTA.

    "C:\Users\Dell\Downloads\nRF51_SDK_10.0.0_dc26b5e\examples\dfu\ble_dfu_send_hex\test_images_update_nrf51"

    Now I am tying to update the "ble_app_hrs with dfu"

    C:\Users\Dell\Downloads\nRF51_SDK_10.0.0_dc26b5e\examples\ble_peripheral\ble_app_hrs\pca10028\s110_with_dfu

    As DFU is already supported for this example I trying to update it from nrf connect. While choosing "application" for updating there is no "init.dat" is creating.

    I tried updating this example by creating a "dfu_zip" file by using the following command.

    C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.10.0.14\nrf>nrfutil dfu genpkg --application "C:\Users\kishor.babu\Downloads\nRF51_SDK_10.0.0_dc26b5e\examples\ble_peripheral\ble_app_hrs\pca10028\s110_with_dfu\arm5_no_packs\_build\nrf51422_xxac_s110.hex"  --application-version 4 --dev-revision 0xffff --dev-type 0xffff --sd-req 0x0080 "D:\dfu_test\dfu_hrs.zip"

    But while updating this "zip" file I am getting "operation failed" error in the nrf toolbox.

    So, please let me know what may be the issue and how I can resolve it.

Children
No Data
Related