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.

msp430f5438A CODE memory 大于43K程序无法运行

Other Parts Discussed in Thread: MSP430F5438A

我用的是UCOSIII 操作系统IAR 5.3,msp430f5438A CODE memory 大于 43K时,仿真出现程序无法运行!

CODE memory  在 42 700 就可以正常运行 高大于这个值时程序无法运行

请各位高手帮忙分析原因!!!急

  • 初步估计和CODE大小没多大关系,但看你的编译结果DATA占了15441字节,检查下你的堆栈设置的多少,如果堆栈设置的1K,那就超过了16K RAM的大小。

    多半是这个原因造成堆栈溢出。