我们自己做了块C6657的板子,调试时出现如下的错误,是硬件有问题吗?跪求大神帮助!
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.
HI ahong007:
是这样的,JTAG链接目标板时,有95%以上的机率会停在C66xx_0: GEL Output: Invalidate All Cache...处一直不动,无法进入仿真,如下:
C66xx_0: GEL Output:
Connecting Target...
C66xx_0: GEL Output: DSP core #0
C66xx_0: GEL Output: No initialization performed since bootmode = 0x00000005
C66xx_0: GEL Output: You can manually initialize with GlobalDefaultSetup
C66xx_0: GEL Output: Invalidate All Cache...
查看了GEL文件发现
然后我把这两句给屏蔽了,如下,然后JTAG链接就显示链接成功了!
/* Invalidate L2 cache */
//*(int*)L2INV = 1;//change by cjm
// Wait for transition to finish for max timeout time...
//while( ( *(int*)L2INV & 0x0001 ) )Wait_Soft(150);//change by cjm
我想问一下,GEL停在while( ( *(int*)L2INV & 0x0001 ) )Wait_Soft(150);这里的原因是什么呢?是什么导致它停在这句不动的呢?L2不是芯片内部的吗?使L2失效时,怎么会一直不动呢?
PS:如果while( ( *(int*)L2INV & 0x0001 ) )Wait_Soft(150);这句通过了的话,仿真就不会出错了,求大神指点
我碰到过类似的情况,
检查一下那个200AN FPGA 有些你自己做板子不用的管脚,必须设置为稳定且正确的状态,如:PCIESSEN_p;
还有检查一下你的JTAG电路,尤其是TCK和TCK_RET,信号完整性很重要。
欢迎交流 xu.fei1@qq.com