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

Error on StartDFU Message:Data Size Exceeds

Hi,

I've got the following error when trying to update the softdevice and bootloader on my iPad:

Error on StartDFU Message:Data Size Exceeds

I've carried out the following test. I created a .bat file to execute the following command after building my application:

start nrfutil.exe dfu genpkg sd_s110_8_0_0_and_bootloader.zip --bootloader .....\dfu\bootloader\pegleg_3_1\dual_bank_ble_s110\arm4_build\bootloader.hex --softdevice .......\components\softdevice\s110\hex\s110_nrf51_8.0.0_softdevice\softdevice.hex --application-version 0xffff --dev-revision 0xffff --dev-type 0xffff --sd-req 0xfffe

This correctly creates the sd_s110_8_0_0_and_bootloader.zip (attached here) from the bootloader.hex and softdevice.hex files (also attached). Then I flashed the softdevice and the bootloader using nRFgo Studio. Then I try to perform a DFU from the nRFToolbox selecting the .zip file and the file type as 'softdevice and bootloader'. This is when I got the error. I do not understand why this is happening. I am trying to upload to a 256 kB chip (nrf51822 QFAA v3) and the sd+bootloader adds up 96kb+16kb+4kb = 116kB. This is less than half so it should not cause any problem.

I would much appreciate if someone could help me with this. This is my testing environment:

SDK: nRF51_SDK_9.0.0_2e23562

Softdevice: s110_nrf51_8.0.0_softdevice.hex

nRF Toolbox under iOS 9.1 and iPad 3

Master Control Panel 3.9.0.6

Keil uVision: v 5.10.0.0

softdevice.hex

bootloader.hex

sd_s110_8_0_0_and_bootloader.zip

Related