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即表示驅動安裝成功。