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

DFU CRC error

Hi,

I'm using S130 v1.0 softdevice and bootloader (single bank) from SDK v9.0. When updating an application, I always get a CRC error at end of the upload. I generate the file using following command:

nrfutil.exe dfu genpkg --application app.hex --sd-req 0x67 update.zip

Is there anything additional I need to do?

Regards, Cyril.

Parents
  • Hi Cyril,

    You should generate the .zip file with full parameter. The command for a generic application DFU packet should look like this:

    nrfutil.exe dfu genpkg app.zip --application yourapplication.hex --application-version 0xffff --dev-revision 0xffff --dev-type 0xffff --sd-req 0xfffe
    

    You can change to match with your configuration, but application version, device revision, etc is needed.

    If the issue remains, could you try DFU with our example application and check if it worked ?

  • I get CRC error always for large files. Updating with hex file directly did not help (same error). I do not think the CRC in initpacket is wrong. I tried the bootloader in debugger and the application data in memory were different from .bin file in .zip.

Reply Children
No Data
Related