Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Error uploading DFU package: EXECUTE failed (INSUFFICIENT RESOURCES)

Hello,

I am in a process of integrating a DFU over BLE feature into my application, my SDK5 is 17.0.2, the test board is nRF52832_XXAA.

Application size is 69404 bytes (in Release, by nrfutil settings command measurement).

These options are (among others) compiled into bootloader:

NRF_DFU_FORCE_DUAL_BANK_APP_UPDATES = 0

NRF_DFU_SINGLE_BANK_APP_UPDATES = 1

The problem happens during an upgrade, at the moment when <firmware>.dat is being transferred over to bootloader:

2021-06-03T23:47:22.423Z INFO Attribute value changed, handle: 0x12, value (0x): 60-04-04
2021-06-03T23:47:22.426Z DEBUG Destroying DFU transport.
2021-06-03T23:47:22.426Z 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).

Any ideas on what is going  wrong?

Related