TDS510USB Plus仿真器在连接TMS320F2812时出现错误
出现仿真器连接错误:
Error connecting to the target:
Error 0x80000240/-114
Fatal Error during: Initialization, OCS,
This error was generated by TI's USCIF driver.
SC_ERR_CTL_BUSY
The controller's commands are taking too long to complete.
This often implies one of the following errors:
1. The cable is disconnected near the controller.
2. The cable is disconnected near the target.
3. The JTAG clock has halted.
4. The target power has failed.
5. The controller is in an invalid state and should be reset.
Sequence ID: 0
Error Code: -114
Error Class: 0x80000240
I/O Port = 240
Board Name: F2812 TDS510USB Emulator - WintechDigital
Cpu Name: CPU_1
Abort: Close Code Composer Studio.
Retry: Try to connect to the target again.
Cancel: Remain disconnected from the target
Diagnostic: Run diagnostic utility.
多次RETRY后出现:
Error connecting to the target:
Error 0x80000200/-1037
Fatal Error during: OCS,
PTI_ERR_EMU_CLOSE Error Occured at 0x00000000
Sequence ID: 0
Error Code: -1037
Error Class: 0x80000200
I/O Port = 240
Board Name: F2812 TDS510USB Emulator - WintechDigital
Cpu Name: CPU_1
Abort: Close Code Composer Studio.
Retry: Try to connect to the target again.
Cancel: Remain disconnected from the target
Diagnostic: Run diagnostic utility.
在CCS的DEBUG菜单中选择—>Reset Emulator,出现如下警告:
Warning: Could not open controller. Sequence ID: 0 Error Code: 0 Error Class: 0x00000000
查看相关资料,都说可能是JTAG口接触不好,反复调整接插位置,再次连接时出现如下错误:
Failed Software Reset:
Error 0x00001020/-1031
Error during: Execution, Target,
Device driver: Problem with the Emulation Controller.
It is recommended to RESET EMULATOR. This will disconnect each
target from the emulator. The targets should then be power cycled
or hard reset followed by an emureset and reconnect to each target.
Sequence ID: 17
Error Code: -1031
Error Class: 0x00001020
再次选择Reset Emulator,不再出现上述警告,复位成功,再次连接,连接成功。
出现不能连接的问题一般是硬件上的连接问题,所以从插口找原因吧。这块板子,现在连接正常。
建议查找问题方法:
1、检查仿真器是否插好;
2、检查CPU供电问题,1.8V,3.3V的供电是否正常;
3、检查DSP引脚是否虚焊(一般先检查JTAG的那几个引脚);
4、检查晶振是否起振;
5、检查JTAG的那几个引脚电平是否正确,特别注意TCK是否有脉冲输出,以检测仿真器
是否好坏;
6、检查DSP上电是否正常复位(复位电平或者说是复位电路是否正常工作)、工作,可
查看CLKOUT 引脚,看是否有脉冲输出。
CCS3.3连接不上Wintech TDS510 JTAG 仿真器
Wintech TDS510 JTAG Emulator 驱动安装正确,但在css3.3 connect时报如下错误:
rror connecting to the target:
Error 0x80000240/-604
Fatal Error during: Initialization, OCS,
This error was generated by TI's USCIFdriver.
SC_ERR_LIB_ANY_LOAD
A required dynamic library could not beinstalled.
The attempt to load or install the libraryfailed.
I/O Port = 240
Board Name: C64xx XDS510 Emulator
Cpu Name: CPU_1
Abort: Close Code Composer Studio.
Retry: Try to connect to the target again.
Cancel: Remain disconnected from the target
Diagnostic: Run diagnostic utility.
<ignore_js_op style="-ms-word-wrap: break-word;">
解决办法:
查看仿真器驱动,发现安装正确,将闻亭驱动里的WTUSB5102.dll文件拷贝至C:\DevTools\CCStudioV3.3\cc\bin目录下,问题解决。C:\DevTools\CCStudioV3.3为我的css3.3安装目录
Abort: Close Code Composer Studio.
Retry: Try to connect to the target again.
Cancel: Remain disconnected from the target
Diagnostic: Run diagnostic utility.
出现这种情况一般是仿真器驱动没有装好,可以查看“..CCStudio_v3.3\cc\bin”路径下的“xdsfast3.dll”文件,如果这个文件是160K大小那么驱动就是没有装好的。如果出现这样的问题,即使重装驱动往往也不能成功。需要删除该“xdsfast3.dll”文件,然后断开PC和仿真器,重新装仿真器驱动。安装后查看“xdsfast.3dll”文件大小为352K即表示驱动安装成功。