Tool/software:
My chip is 28377D. CCS version is 1260. the picture is a part of generated hex file. I ask how to fill 0xffff in unused region .
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:
My chip is 28377D. CCS version is 1260. the picture is a part of generated hex file. I ask how to fill 0xffff in unused region .
Question would be, why would you want that? Usually, the erased, not programed flash memory has all bits set to 1, which is then equal to 0xffff. So, if you leave the file as is, the flash memory at 0x8006 and 0x8007 will be 0xffff after erasing the flash and programming this hex file.
If you want to edit the first line of the hex file, you would have to correct the size at the beginning if the line and the check sum at the end of the line. I use this tool, for such tasks: https://www.fischl.de/hex_checksum_calculator/?
how to fill 0xffff in unused region
Please search the C28x assembly tools manual for the sub-chapter titled Image Mode and the --fill Option. You'll learn that, among other things, you need to supply a ROMS directive in a hex utility command file. To learn how to supply that file in a CCS project, see the last part of the article Hex utility in CCS.
Thanks and regards,
-George