编译通过,下载程序的时候提示如下错误:
C28xx: File Loader: Data verification failed at address 0x00002000 Please verify target memory and memory map.
Error found during data verification.
Ensure the linker command file matches the memory map.
下载例程的时候没有出错。
请问这是什么原因?
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.
编译通过,下载程序的时候提示如下错误:
C28xx: File Loader: Data verification failed at address 0x00002000 Please verify target memory and memory map.
Error found during data verification.
Ensure the linker command file matches the memory map.
下载例程的时候没有出错。
请问这是什么原因?
请先确认你的烧写文件是基于flash还是RAM的?
如果是基于RAM的,则调试时应该使用的File --> Load Program选项;
如果是基于flash的,则应该用Tools --> On-chip Flash Programmer,同时根据所用芯片选择对应的算法文件进行烧写,然后点击File --> Load Symbols --> Load Symbols Only选择.out文件进行调试。
你的错误看上去是在对外扩的memory进行操作,请确保对应的.cmd文件正确对应到memory map区间,并有对它进行相关的初始化。
更多信息也可以查看http://processors.wiki.ti.com/index.php/C2000_Flash_Common_Issues/FAQs Data Verification Error部分。