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.

CCS 生成的.hex文件怎么对齐



我使用CCS V9.1编译生成 S3 格式的HEX文件,用于CAN刷新APP.

问题:生成的文件按地址一行行的排列,但是每行的数据长度不是完全相同的。我猜测数据比较少的那行是因为后面的数据都为0xFFFF。

1、我在CCS中设置了-fill = 0xFFFF,输出没有变化。

2、选择“select image mode”后,编译总是报错“image requires ROMS directive null”。我不知道在哪里设置。

由于公司的电脑加密,没办法截图。希望TI的专家能看懂我的问题描述。

谢谢!