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

Adjust firmware image by padding with FFs

Hi,

I am sending firmware image using my DFU master. The image needs to be divided into data objects each of 4096 bytes and then those again into 244 byte BLE packets. So for ease of computation I wanted to adjust the image by padding with zeros so that its exactly divisible by 4096. DFU master actually calculates from the app.bin file which is generated in the zip folder, so I cannot work on original .hex file. But then will the init file generated show wrong CRC value if I adjust the generated .bin file and hence will the DFU fail? Can you suggest an alternate option if any?

I'm using SDK 15.2 S132.

Parents Reply Children
No Data
Related