我用自己编写的BOOT程序固化到flash之后程序是不能正常运行的,但我在程序中声明了一个全局short[8000]数组之后程序烧写到flash就能正确运行了,请问这可能的原因是什么?
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.
我用自己编写的BOOT程序固化到flash之后程序是不能正常运行的,但我在程序中声明了一个全局short[8000]数组之后程序烧写到flash就能正确运行了,请问这可能的原因是什么?
请看下面user guide。
Table 3-28. Run-Time Environment Options
https://www.ti.com/lit/ug/sprui04b/sprui04b.pdf
这个比较奇怪,一般加了数组倒可能会影响启动。建议用仿真器跟踪一下boot的过程。