依照helloworld教程,成功通过simulator成功进行了调试,但是尝试通过板载仿真器调试时提示未能正确连接仿真器。save到xds 2xx on board emulator后,点击test connection弹出以下提示:
[Start]
Execute the command:
%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity
[Result]
—–[Print the board config pathname(s)]————————————
C:\Users\ASUS\AppData\Local\.TI\2483486165\
0\0\BrdDat\testBoard.dat
—–[Print the reset-command software log-file]—————————–
This utility has selected a 560/2xx-class product.
This utility will load the program 'xds2xxu.out'.
E_RPCENV_IO_ERROR(-6) No connection: DTC_IO_Open::dtc_io
Failed to open i/o connection (xds2xxu:0)
An error occurred while soft opening the controller.
—–[An error has occurred and this utility has aborted]——————–
This error is generated by TI's USCIF driver or utilities.
The value is '-250' (0xffffff06).
The title is 'SC_ERR_ECOM_EMUNAME'.
The explanation is:
An attempt to access the named emulator via USCIF ECOM has failed.
[End]
直接launch selected configuration也会报错说未能正确连接。采用的是大端,主板的sw3、5、9全部置为on,usb连在仿真器的miniUSB上。请问如何正确配置仿真器使之正确连接PC并进行调试?
Andy Yin1:
我这边试了一下,在没有连接EVM的情况下也会报一样的测试结果,确认一下通过EVM自带的USB线将PC与EVM上面子卡的mini-USB连接好,注意EVM上有两个mini-USB,需要连接上面小卡的mini-USB.
Allen Lee2:
回复 Andy Yin1:
没错,我确实是连接了上面小卡的miniUSB接口,即仿真器的接口,才出现了这个问题。可以再帮我看看这个问题吗,比较急,谢谢。
Andy Yin1:
回复 Allen Lee2:
从提示来看应该是你的物理连接没有接好,确认一下PC侧USB口是否可用,换一个USB口试试,上电后看看子卡mini-USB旁边的三个灯的状态反馈一下。
Allen Lee2:
回复 Andy Yin1:
usb接口应该没有问题。上电后子板上左右两侧灯亮起,中间的是暗的。在电脑设备管理器中也成功识别了设备,似乎也不是驱动问题
liang bing yu:
您好 ,我也遇到这样的问题,请问你解决啦吗