MSP430FR6972编译出错,提示Error[e16]: Segment DATA20_ID (size: 0x19e align: 0x1)

2019-03-23 22:27发布

感觉应该不是内存溢出,只要我把先列程序第三行注释掉就没问题,那怕是再定义个1K的数组
求大神搭救?
_EINT();
while(cy_index != 0){;}
//while(cy_index != 1119){;}
_DINT() ;



IAR编译器
错误提示如下:


Error[e16]: Segment DATA20_ID (size: 0x19e align: 0x1) is too long for segment definition. At least 0x4 more bytes needed. The problem occurred while processing the segment placement command  "-Z(CONST)DATA20_C,DATA20_ID,CODE_ID=9400-FE70,10040-13FFF", where at the moment of placement the available memory ranges were "CODE:13e66-13fff"
   Reserved ranges relevant to this placement:
   9400-942f            CSTART
   9430-9973            ISR_CODE
   9974-fe6f            CODE
   fe70-fe70            DATA20_C
   10000-136c3          CODE
   136c4-13fff          DATA20_C
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
4条回答
数码小叶
2019-03-24 03:58
贴全点啊,cy_index影响什么了,慢慢倒推啊

一周热门 更多>

相关问题

    相关文章