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

nRF51822 Beacon v1.1.0 DFU error

Hi,

I'm testing new nRF51822 Beacon v1.1.0 dedicated for smart beacon kit (pca20006). I'm using Master Control Panel Android app version 2.0.3 and Nexus 5 with the latest Android 5.0. I've followed the firmware upgrade procedure from nRF51822 Beacon Firmware Documentation v1.1.0. I've uploaded s110_nrf51822_7.1.0_softdevice.hex and then nrf51822_beacon_bootloader.hex file from Precompiled hex directory using nRgo Studio (1.17.1). I've noticed an error: Remote DFU error: REMOTE DFU INVALID STATE while trying to upload the aplication file "nrf51822_beacon_app.hex" over the air using Master Control Panel app. I'm not able to upload any file over the air after beacon firmware update to v1.1.0

It seems to me that it is not an Android issue because DFU works for me with "ble_app_hrs_dfu" code example.

image description

  • Hi

    The DFU function in Android MCP v2.0.3 does not support the new Beacon bootloader. Instead, you must upgrade the beacon app to version 1.2.1 and use the DFU function there to upload the app to the Beacon kit. Alternatively, you can also use Android nRF Toolbox v1.11.1 to upload the beacon app.

    The Beacon bootloader (actually the same bootloader as in nRF51 SDK v7.1.0) requires you to select the Beacon firmware hex file as well as a bootloader init file (.dat file).

    • First select the hex file at Nordic Semiconductor/Board/pca20006/ble_app_beacon_v1_1_0_s110_v7_1_0.hex.
    • In the next step you are asked to browse for an "Init packet". Press yes, then select the file Nordic Semiconductor/Board/pca10006/ble_app_beacon_v1_1_0_s110_v7_1_0_ext_init.dat
    • Select the beacon device which should be advertising as DfuTarg
    • Press upload
  • Thx for the response. Are there any chance that the DFU will work with Master Control Panel Android app and beacon kit pca20006 in the near future? MCP is a very useful application for managing ble devices and switch to another application to firmware update a bit complicate its usefulness. I'm using MCP Android app to update the firmware in examples ...Nordic\nrf51822\Board\nrf6310\s110 (e.g. ble_app_hrs_dfu) and it works very well without "init packet".

  • @stefanbirnir Could you please tell where this init file is for Beacon kit v1.1.0? I don't seem to have Nordic Semiconductor\nrf51822\Board folder at al.

Related