你好:
请问cmd文件把地址分配好之后,编译没出错的情况下,在运行程序时会出现数据分配不到地址的情况吗?
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.
会出现。
比如您的内存空间本身没有那么大,而你在CMD分配时,写了一个不正确的Size。
但编译器不会根据芯片来检查此芯片是否真的有这么大的空间。
因此编译没有问题,但运行有问题。
因此建议对照DataSheet的内存空间,仔细检查自己的CMD文件分配是否有问题。