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

NRF52 DFU ZIP Generation

Hi,

I want to be able to update the bootloader along with the application via OTA DFU. I know I can't generate both the application and bootloader in one image/zip so I have to make two different zip packages. 

I can't find any guide on how to do that. Please help out. 

Parents Reply
  • i get this error:

    DFU failed with error: When writing 'EXECUTE' command to Control Point Characteristic of DFU Target: Operation code 4 (EXECUTE) failed on DFU Target. Result code 4 (INSUFFICIENT_RESOURCES).

    I made the zip for the bootloader using this command:

    nrfutil pkg generate --hw-version 52 --bootloader-version 2 --bootloader secure_dfu_ble_s132_pca10040.hex --sd-req 0x9D --key-file private.key app_dfu_bootloader.zip

Children
Related