我在程序里定义了几个const型数组,有1000多个数。程序编译后用仿真器下载到c6416里可以运行,但用hpi启动方式加载到片子里不能运行。
但如果把const数组改成常量数组。就可以hpi加载。
两个程序只有在数组定时是有区别,能运行的程序定义unsigned char 数组,不能用的程序定义const unsigned char 数组。
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.