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.

5509A 调试程序时经常出现错误“No source available for .....”



如题,

在调试程序时,总是跑一下就卡了,按下暂停后会出现“No source available for .....”的错误信息,for后面的地址有时候一样,有时候不一样,出现过0x0,0x1010c,0x800000等,总之就是程序跑不起来。调试其他简单的程序,或者例程的时候,从不会出现这种问题,应该不是硬件的毛病。我觉得应该是我程序写的有问题造成的。但是我不太清楚,是什么类型的问题会导致这种错误?是内存溢出吗?还是cmd文件分配的储存空间不合理?

而且,出现几次“No source available for...”的错误后,再试图跑程序的时候,芯片就会卡死,出现:

C55xx: Can't Run Target CPU: (Error -1141 @ 0x0) Device is not responding to the request. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK).

这样的错误信息,或者是:

C55xx: Trouble Halting Target CPU: (Error -2130 @ 0x400) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.681.0) 

请问,应该怎样去debug?

谢谢!