swordman000 发表于 2011-10-28 17:36:30

MSP430

想请大虾们帮忙解决一下下面430遇到的问题:
在用IAR编译时出现这样的错误提示:
Linking
Error: Segment DATA16_I (size: 0x8e0 align: 0x1) is too long for segment definition. At least 0xe0 more bytes needed. The problem
occurred while processing the segment placement command
"-Z(DATA)DATA16_I,DATA16_Z,DATA16_N,DATA16_HEAP+_DATA16_HEAP_SIZE=0200-09FF", where at the moment of placement the available
memory ranges were "CODE:200-9ff"
   Reserved ranges relevant to this placement:
   200-9ff            DATA16_I
Error while running Linker

Total number of errors: 1
Total number of warnings: 0
而C语言编译是没有错误和提示的。
非常纠结,麻烦大虾们帮小弟解释一下这是什么问题。。。。。

first_blood 发表于 2011-10-28 18:40:17

很明显RAM不够大,是不是定义了一个超大的数组,ram不够用了

swordman000 发表于 2011-10-29 12:06:27

哦。。。。果然是这样!这430的ram也太小了吧?!谢谢你啊!
页: [1]
查看完整版本: MSP430