Hi @ all,
I am trying to get the serial DFU process runnning. The process worked fine for nrf52832 and now I am on the nrf52840.
I encountered a problem with executing the init-package.
The following process is done fine:
1. Get MTU - set PRN to 0
2. Selecting the command object
3. Transmit Data of command object
4. Read CRC/Offset
Reading the CRC and offset values is showing that the data from the init pack got transfered successfully. After this, I am trying to execute the init-pack and I get the following response:
"0x60 0x04 0x0b 0x07 0xc0". So there is somehow one byte too much and the error code is not listed in the execute-request documentation. The execute request should return one of those:
| The object type of the currently selected object is invalid. | NRF_DFU_RES_CODE_INVALID_OBJECT |
| The current state of the transfer does not permit executing the current object. | NRF_DFU_RES_CODE_OPERATION_NOT_PERMITTED |
what does 0x0b 0x07 mean? Am I missing a step? The bootloader is based on SDK 15.0.0
Hope you guys can help me out!
Sincerly,
Hannes