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.

TMS320C6748: 如何使用sysbios的cfg中,无法配置段的fill属性

Part Number: TMS320C6748


如题,我使用RTSC新建了一个section,在配置文件中配置如下:

Program.sectMap[".env_reg"] = new Program.SectionSpec();
Program.sectMap[".env_reg"].loadSegment = "DDR_INIT_1";
Program.sectMap[".env_reg"].loadAlign = 4;
Program.sectMap[".env_reg"].fill = 0;

编译可以通过,在生成的CMD文件中也有.env_reg: load > DDR_INIT_1 align = 0x4, fill = 0x0字样。

我期望,在.env_reg段中中,未使用的段空间填充为0,但是通过仿真器加载,未使用的段空间并没有被填充成0。