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

DFU over BLE with image built from .hex

So I'm trying to upload the application over BLE.

  1. Load the S110 w/ nRFgo Studio.
  2. Load the DFU w/ Keil.
  3. Build the ble_app_hrs example project in s110_with_dfu configuration.
  4. Build the .zip file using the following command: nrf.exe dfu genpkg output.zip --application-version 0xFFFFFFFF --sd-req 0xfffe --application nrf51422_xxac_s110.hex
  5. Upload the .zip file on the nRF Toolbox iOS app.
  6. In the app select the .zip as an application and select the "DfuTarg" device as the target and try uploading the image.

I'm getting this error:

DFU 
Error on Init Packet
Message: Operation Failed

This error happens with all example projects converted with nrf.exe, but pre-build images in /test_images_update work fine.

I assume I'm doing the .zip building process wrong, but what exactly is the issue here?

Related