TI中文支持网
TI专业的中文技术问题搜集分享网站

关于XDS100v3测试问题

最近在弄这个XDS100V3,弄了两天都没一点进展,完全按照官网上提供的文档进行操作,在PC机的设备管理器上有USB serial 出来,但是测试到12步时总初始化不了UART

E:\XDS100V3\Utilities>dbgTrace /100v3
<================================================>
dbgTrace Version 0.72 (09/07/11)
Traceprobelib.dll Version 0.2.2.1
Pod Type = 7
Attempting to open XDS100v3 Emulator!
XDS100 V3 emulator detected
Enter Cmd: uartinit 115200
Error, failed to find XDS100v3 UART
Enter Cmd: do scripts\mfg_test
————————————
— XDS100v3 Manufacturing Test
————————————
1. Initialize the xds100v3 as an emulator
— Initialize XDS100v3 —
Reset the XDS100v3
Enable JTAG outputs
Open ctl lvl 7
Set RE samp, FE dout
Close cmd window
——————————-
— Read XDS100v3 —
——————————-
open ctl lvl 7
read capability       0 0x0300
Returned value = 0x0060 0x0300
read revision         0 0x6301
Returned value = 0x0066 0x6301
read fixed pattern    0 0xB507
Returned value = 0x00A6 0xB507
read config reg
Returned value = 0x0020 0x0102
read freq             0 0x0703
Returned value = 0x00E6 0x0703
read status           0 0x3105
Returned value = 0x0026 0x3105
read emu_cfg reg      0 0x0108
Returned value = 0x0020 0x0108
close cmd window
2. Execute an 2-bit IR scan to load IDCODE
3. Execute an 8-bit DR scan to get the value, 0x6D
Returned value = 0x006D

4. Execute a 2-bit IR scan to load ACCESS
5. Execute an 8-bit DR scan to write the value 0x5A
6. Execute an 8-bit DR to verify the value is 0x5A
Returned value = 0x005A

7. Execute an 8-bit DR scan to write the value 0xC3
8. Execute an 8-bit DR to verify the value is 0xC3
Returned value = 0x00C3

9. Toggle nTRST
10. Execute a 2-bit IR scan to load ACCESS
11. Execute an 8-bit DR to verify the value is reset
Returned value = 0x0000

12. Execute a 2-bit IR scan to load ctl/Status instruction
Error, failed to find XDS100v3 UART
Script aborted due to an error
Enter Cmd: exit
dbgTrace Complete

然后在查看源码时,发现就是在

echo 12. Execute a 2-bit IR scan to load ctl/Status instruction
scanir -2,1

;  7 – Keeper Active
;  6 – spare
;  5 – TxD from FTDI
;  4 – RTS_n from FTDI
;  3 – dts_emu4_pin (CTS_n looped back from SRST)
;  2 – dts_emu2_pin (RxD looped back from TxD)
;  1 – ext EMU1 pin;  0 – ext EMU0 pin

uartinit 115200               //(执行这条指令时报错)
uartctl rts=0

感谢大家作答,期待您的回复

Lyon Zhang:

我的好像能初始化波特率但是不能进行F_test

samson:

回复 Lyon Zhang:

目前我这个用官网提供的生产测试程序找不到UART问题仍然存在,但是我用XDS100V3连接到目标板上进行连接、调试都没有问题。

he code:

官网的资料能给个链接吗?我想也做一个这个调试器。

Lyon Zhang:

回复 samson:

我的邮箱12yu3@163.com,交流一下,我的m_test过不了

赞(0)
未经允许不得转载:TI中文支持网 » 关于XDS100v3测试问题
分享到: 更多 (0)