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

DFU file not word aligned

Hi

I've to provide support to an old project created with SDK 6, under GCC and Eclipse platforms. I've never had problems when creating the HEX file to be used on DFU service... until today.

When trying to update, I get an error related to "DFU file not word aligned". Looking in this forum, I've seen that this problem may occurs when the application size is bigger than the threshols limit. But in my case, I've made updates with bigger HEX file with no problems. So all I think is that in fact, my HEX file is not word aligned.

To transfer the file, I'm using just the HEX file, with no init packet. In order to create the HEX file from the ELF (OUT) output, I use the following sentence:

arm-none-eabi-objcopy -O ihex my_app.out my_app.hex

What am I doing wrong?

Thanks in advance, Regards,

Elena

Parents Reply Children
No Data
Related