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.

TMS320F28379D: 利用EMIF接口与FPGA进行通讯,运行dsp程序FPGA程序被擦除,ccs报错

Part Number: TMS320F28379D

在运行利用emif与FPGA通讯程序时,ccs报错如下:

C28xx_CPU1: JTAG Communication Error: (Error -1135 @ 0x83383) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.5.0.00143)
C28xx_CPU1: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

请问是什么原因怎么解决

  • 您好

    您遇到的错误提示表明CCS(Code Composer Studio)在尝试通过JTAG接口与TMS320F28379D目标设备(DSP)进行通信时遇到了问题。具体错误 -1135 通常与JTAG通信或调试器(也称为仿真器或目标连接器)的配置和连接有关。

    以下是一些可能的解决步骤:

    1. 检查JTAG连接
      • 确保JTAG线缆连接牢固,没有松动的引脚。
      • 检查JTAG线缆是否损坏,尝试使用另一根JTAG线缆。
      • 确保JTAG线缆的引脚顺序与DSP和仿真器的引脚顺序相匹配。
    2. 检查仿真器配置
      • 在CCS中,检查仿真器的配置设置是否正确。
      • 确认您使用的仿真器与CCS版本兼容。
      • 尝试重置仿真器到其默认设置。
    3. 检查目标DSP
      • 确保DSP的电源已正确连接且工作正常。
      • 检查DSP的JTAG接口是否损坏。
      • 尝试复位DSP,看看问题是否解决。
    4. 更新CCS和仿真器软件
      • 确保您的CCS和仿真器软件都是最新版本。
      • 有时,更新软件可以解决与硬件的兼容性问题。
    5. 重新加载FPGA程序
      • 由于您提到FPGA程序被擦除,请确保FPGA已重新加载了正确的程序。
      • FPGA与DSP之间的通信可能依赖于FPGA上的某些逻辑或配置。
    6. 检查CCS中的断点
      • 错误消息中提到可能存在断点操作码嵌入在程序内存中。在CCS中,检查并清除所有断点。
      • 尝试完全断开与DSP的连接,然后重新连接并重新加载程序。

    请注意,由于FPGA程序被擦除,这也可能是导致通信问题的原因之一。确保FPGA已正确配置并准备好与DSP进行通信。此外,如果FPGA和DSP之间的通信协议或接口已更改,请确保CCS中的相关设置也已更新以匹配这些更改。