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

Get DFU/OTA to work with Android/IOS

I am trying to get DFU/OTA to work with the supplied sample Apps, so far no luck. I bought the nRF51 DK to have the hardware matching and tried with SD S310 2.01 and dfu_dual_bank_ble_s310_pca10028.uvprojx sample from SDK 7.2 and also with SD S110 8.0 and dfu_dual_bank_ble_s110_pca10028.uvprojx from SDK 8.0 and tried to load dfu_test_app_hrm.zip or dfu_test_app_hrm.hex (supplied with SDK 8.0 in test_images_update) with nRF Toolbox and nRF Master control panel under Android 4.4.2 all without luck. I see the DfuTarg advertising, in some cases I see the connected LED going on but I never got a successful load. Error messages vary, f.e. GATT error, nrf file error(2), remote DFU not supp ...

Could somebody please clarify, which versions of the Apps are compatible with which versions of SDK+SD and which file formats they support ? In the 8.0 bootloader there is a requirement for 'Master Control Panel v3.8 or later', which is obviously a PC version, which seems not available yet ?

A complete set of files to get the chain running for the 1st time would be really helpful.

BR Uwe

Parents
  • Hi Uwenord,

    Testing here with nRFToolbox v1.11.4 (latest on google play) and MCP v2.1.1, worked fine with S110 v7.1 and the bootloader included in SDK v7.2.

    Which .zip did you use ? Have you make sure it follow the naming requirement where your application hex should be application.hex and the init data file should be application.dat ?

    I attached here the .zip file I used, it has the hrm example on it.
    application.zip

    Note that, if you want to test the DFU on MCP on PC you would need to copy and paste the python source code provided in the SDK you use,in \examples\dfu\ble_dfu_send_hex\dfu to C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.7.1.8567\lib\dfu

  • @Uwenord: The .zip file provided in the SDK v8.0 is for the MCP on PC. It might not work with the current nRFToolbox/MCP on Android. I will try to clarify this.

Reply Children
No Data
Related