Part Number:TMS320F28379DOther Parts Discussed in Thread:TMDSCNCD28379D
因]第一使用此顆IC, 軟體是CCS Version: 12.2.0.00009 , 燒錄器為Blackhawk USB560 V2 System Trace
完成Build Debug 後, 進入Debug 專案, 馬上出現以下錯誤, 希望尋求協助
C28xx_CPU1: Trouble Writing Register XAR0: (Error -1041 @ 0x7) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation
package 9.10.0.00080)C28xx_CPU1: GEL: Error while executing OnReset(0): Target failed to write register XAR0
at XAR0=*((unsigned long*) 0x78018) [f28379d_cpu1.gel:421]
at SetupDCSM() [f28379d_cpu1.gel:31]
at OnReset(0)
C28xx_CPU1: Error initializing flash programming: Interface returned from dll, but flash is not available on this device.
C28xx_CPU1: Failed CPU Reset: (Error -1041 @ 0x6) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package
9.10.0.00080)C28xx_CPU1: Error: (Error -1135 @ 0x3FF16A) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.10.0.00080)C28xx_CPU1: Unable to determine target status after 20 attempts
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
C28xx_CPU1: GEL: Error while executing OnReset(-1): Could not write 0x0005D122@Data: target is not connected
at *((long int*) 0x5D122)=0xA5A50000 [f28379d_cpu1.gel:28]
at OnReset(-(1))
C28xx_CPU1: GEL: Error calling OnPreFileLoaded(): Reset failed: retcode=-1
C28xx_CPU1: File Loader: Verification failed: Could not write 0x080002@Program: target is not connected
C28xx_CPU1: GEL: File: C:\Users\jorda\workspace_v12\ESP2300\Debug\ESP2300.out: Load failed.
Ben Qin:
你好,请在工程中找到你的targetconfigs文件,并查看下相关配置是否正确,同时点击test connection看是否能成功?
,
Jordan Chen:
Hi Ben :
如下訊息所示
Do a test using 0xFFFFFFFF.Scan tests: 1, skipped: 0, failed: 0Do a test using 0x00000000.Scan tests: 2, skipped: 0, failed: 0Do a test using 0xFE03E0E2.Scan tests: 3, skipped: 0, failed: 0Do a test using 0x01FC1F1D.Scan tests: 4, skipped: 0, failed: 0Do a test using 0x5533CCAA.Scan tests: 5, skipped: 0, failed: 0Do a test using 0xAACC3355.Scan tests: 6, skipped: 0, failed: 0All of the values were scanned correctly.
The JTAG DR Integrity scan-test has succeeded.
[End: Blackhawk XDS560v2-USB System Trace Emulator_0]
我判斷 Test Connection 應該正常, 再來應該往哪部分去查詢
,
Ben Qin:
你使用的是自制板还是官方板?建议您可以导入TI的例程再尝试一下。
,
Jordan Chen:
Hi Ben :
目前是使用自製板, 將專案燒錄方式改為USB XD100 Debug Probe, 燒錄到 TMDSCNCD28379D, 是可以燒錄. 但因為專案必須使用Blackhawk USB560 V2 System Trace, 是否哪裡有問題 ,敬請協助指引方向
,
Ben Qin:
有没有可能你的仿真器损坏了? 能否尝试用该仿真器烧录其他的芯片看能否成功?