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.
仿真器是TI的XDS100V3, test connection 没有问题,但新建一个工程烧录程序时会出现如下错误:
C64XP: File Loader: Verification failed: Values at address 0x80000800 do not match Please verify target memory and memory map.
C64XP: GEL: File: C:\Users\wzy\Desktop\x264\Debug\x264.out: a data verification error occurred, file load failed.
我看了一下工程中默认生成的cmd中有
DDR2: o = 0x80000000 l = 0x20000000 /* 512MB of external DDR */
然后所有的sections都分配到DDR2上了。
查了一下似乎和gel有关
https://blog.csdn.net/adrianfeng/article/details/5720359
查了一下加载gel的方法
https://software-dl.ti.com/ccs/esd/documents/users_guide/gel/files.html
但好像在CCS 11 里没有Gel Files:
现在卡在这里了。向任何回答表示感谢!
您的思路是对的,是没有GEL文件的原因,在仿真器模式下,如果代码要加载到DDR3,需要先在GEL文件里对DDR进行初始化。
您可以联系俊竹科技公司有没有专门针对他们开发板的GEL文件。或者您可以在TI EVM GEL文件上的基础上做修改。
C:\ti\ccs1030\ccs\ccs_base\emulation\boards\evmdm6467\gel
另外,GEL文件在target configuration file里添加。
https://software-dl.ti.com/ccs/esd/documents/ccs_custom_target_config.html