This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hi, all!
We use .hex file, generated by C2000 Hex Utility, and Flash API library to remote update of software in our devices. With F28335, F2808 and F28377d microcontrollers and CC v.7.4 all work well. But, now we starting to use F280041 microcontrollers and Code Composer v.10.1. And, when I tried to generate .hex file with C2000 Hex Utility I had a problem with alignment. In parameters of Hex Utility I set memory width = 16 and row width = 16. However, it will be seen (on screenshot), that blocks of code is not 128-bit aligned. Second block must starts from address 0x00080010 (for example), not 0x00080004 to correct operation of writing FLASH. Of course, when it starts from 0x00080004 the Fapi_issueProgrammingCommand function returns Fapi_Error_AsyncIncorrectDataBufferLength answer.
How I must configure Hex Utility to get right 128-bit aligned .hex file?
Artem,
Thank you for approaching us on this.
In your linker cmd file, did you align all the sections mapped to flash on 128-bit boundary using ALIGN(8)? Please check and align them if not done so already.
Thanks and regards,
Vamsi