HI,您好
经过 Titan的耐心指导,情况有些改观,但仍存在问题:
问题如下:自己做的板子,能够成功加载helloworld例程,证明硬件上问题不大。但自己的程序仍然无法正常的调试。上电后FPGA给DSP复位后,先加载helloworld程序,运行,断开后再加载自己的程序,可以正常调试,此后的调试都正常。如果FPGA再次给DSP复位,直接加载自己的程序,便会出现如下的错误:
C66xx_0: Trouble Reading Register ControlRegisters_CSR: (Error -1178 @ 0x41) Device functional clock appears to be off. Power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)
C66xx_0: Trouble Halting Target CPU: (Error -1202 @ 0x0) Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.1.232.0)
这看似要先成功加载一个程序后,自己的程序才能正常加载调试
在上述错误的提示中有个 参考方法:try more reliable JTAG settings (e.g. lower TCLK),这个如何做到呢?
出现这种情况是否意味着JTAG接口电路有问题?
谢谢!