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

DFU init packet fields description

Hi,

if I correct understood DFU process first of all it need to send "Init packet" and after that it need to send FW image. And for that reason in DFU packages is 3 files *.dat (init packet), *.bin (FW image) and manifest file description about first two files. Is I correct understood this?

If correct then my question is about that *.dat files I saw that is 138bytes, 140bytes or 142 bytes long. Why they are different sizes? And what structure of that file?

I didn't find normal description about init packet structure. Can You provide for me normal description? I mean for DFU workflow is important to know where is what size and CRC32 fields. Because these values is in workflow description. Where I can find these fields in the file?

Same situation with the FW image file (*.bin) where is size and CRC32 fields?

Another important thing is that is not good idea to send two files because it's not comfortable for clients and internal FW process it's much easier for all to have one file. I mean Init packet and FW image in one file. What is solution You propose for this problem? Is that need to merge files in one seprate them inside one file by some marks? It's a best way to modificate nrfutil? Or other way?

Related