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

DFU "CRC Error" using nRF Toolbox iOS App

Hi All,

I'm trying to update the application firmware of an nRF52 board with OTA DFU. I have managed to create a .zip package (under linx, gcc compiler, Nordic SDK11, nrfutil0.5.2) with the following command

nrfutil dfu genpkg --application bin/appl.hex --application-version 0xffffffff --dev-revision 0xffff --dev-type 0xffff --sd-req 0xfffe bin/dfu_appl_1_0_2.zip

I was then able to copy the zip file to the iOS and launch the DFU Upload

it seems to start ok, with "Connection" ..."Enabling DFU Target" ... "Uploading" ... but once it reaches 100% I get the "DFU CRC Error" message

I have unziped the packet and manually checked the CRC16.CCITT of the appl.bin file (eg FC66) and checked that it matches the appl.dat (66FC with big endian in this file)

I'm not sure what to try next to find out where the problem is coming from. For instance, I have tried to manually set the CRC to 0000 in the appl.dat file thinking it would trick the bootloader on the board to bypass the CRC check but not luck.

Many thanks in advance for any suggestions

Jay

Related