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

IWR6843ISK: 使用过程中连接断开,重新尝试连接出现报错:[RadarAPI]: Error: Connection failed: Calling_ConnectTarget returned 3

Part Number:IWR6843ISKOther Parts Discussed in Thread: DCA1000EVM, MMWAVEICBOOST, UNIFLASH

我今天使用IWR6843ISK+MMWAVEICBOOST+DCA1000EVM进行测试,大约使用了3个小时后,修改传感器参数时出现报错(在此之前一直可以正常采集数据,且使用过多次),发现是RS232连接断开,重新尝试连接则会出现报错信息:[RadarAPI]: Error: Connection failed: Calling_ConnectTarget returned 3. 在论坛上对相关问题进行搜索后,经过如下诸多尝试仍无法解决:

1. 确认线缆连接正常、端口选择正确,且端口可以在其它的串口调试软件中打开;

2. 确认电源供电正常,且更换了备用的5V 2.5A电源;

3. 确认编码开关和跳线帽在断电情况下按照手册要求设置正确;

4. 重启电脑、更换其它电脑、重新安装mmWave Studio 2.1.1.0;

5. 使用Uniflash擦除flash,端口与mmWave Studio中选择相同,遇到报错:Not able to connect to serial port. Recheck the COM port selected.

[2024/6/13 下午6:34:15] [ERROR] Cortex_R4_0: XXXX Received unexpected data!!!XXXX
[2024/6/13 下午6:34:15] [ERROR] Cortex_R4_0: Not able to connect to serial port. Recheck the COM port selected.
6. 单独使用IWR6843ISK模块(未从MMWAVEICBOOST上拆下,但按照手册上刷写模式的要求更改了编码开关,并将Micro USB线缆直接插到模块而不是MMWAVEICBOOST上),在Uniflash中对Enhance端口进行擦除flash操作,出现和5.中同样的报错信息。
请问这样的情况该如何解决?另附完整的mmWave Studio 2.1.1.0输出信息:
GM: Constructor
GM: Thu Jun 13 18:15:35 2024
RSTD.Transmit("/Settings")
[18:15:35][18:15:35] ### Running Startup script: "C:\02-Software\02-Development\Ti\mmWaveStudio\mmwave_studio_02_01_01_00\mmWaveStudio\Scripts\Startup.lua" ###
[18:15:35] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[18:15:35] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[18:15:35] Scripter ignored: Attempt to UnBuild() again or before Build.
[18:15:35] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\02-Software\\02-Development\\Ti\\mmWaveStudio\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
[18:15:35] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[18:15:35] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[18:15:35] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[18:15:35] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[18:15:35] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[18:15:35] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\02-Software\\02-Development\\Ti\\mmWaveStudio\\mmwave_studio_02_01_01_00\\mmWaveStudio\\RunTime\\SAL.dll")
[18:15:35] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[18:15:35] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[18:15:35] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[18:15:35] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[18:15:35] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[18:15:35] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[18:15:35] RSTD.Transmit("/")
[18:15:35] RSTD.SaveSettings(): Settings saved to "C:\Users\local_chengyuzhu\AppData\Roaming\RSTD\config.xml"
[18:15:35] RSTD.Build()
[18:15:35] RSTD.SaveSettings(): Settings saved to "C:\Users\local_chengyuzhu\AppData\Roaming\RSTD\config.xml"
[18:15:35] RSTD.Transmit("/")
[18:15:35] RSTD.AL_Build()
[18:15:35] RSTD.AL_LoadXml()
[18:15:35] RSTD.Transmit("/")
[18:15:35] RSTD.AL_Init()
[18:15:35] RSTD.Clients_Build()
[18:15:35] GM: Init
[18:15:35] GM: Loaded 'C:\02-Software\02-Development\Ti\mmWaveStudio\mmwave_studio_02_01_01_00\mmWaveStudio\Clients\\LabClient.dll'
[18:15:35] GM: 1 Guest (s) init
[18:15:35] GM: 1 Module(s) init
[18:15:35] GM: 2 Tab (s) init
[18:15:35] RSTD.Client_LoadXml()
[18:15:35] [RadarAPI]: ar1.selectRadarMode(0)
[18:15:35] [RadarAPI]: Status: Passed
[18:15:35] Matlab Runtime Engine is installed
[18:15:35] [RadarAPI]: Starting Matlab Engine..
[18:15:37] [RadarAPI]: Matlab Engine Started!
[18:15:38] [RadarAPI]: ar1.selectCascadeMode(0)
[18:15:38] [RadarAPI]: Status: Passed
[18:15:38] [RadarAPI]: ar1.LoadSettings('C:\Users\local_chengyuzhu\AppData\Roaming\RSTD\ar1gui.ini')
[18:15:38] TESTING = false
[18:15:38] RstdNet: Port 2777: Listening..
[18:15:38][18:15:38] ***Script completed successfully.***
[18:18:17] [RadarAPI]: ar1.Connect(9,115200,1000)
[18:18:19] [RadarAPI]: Error: Connection failed: Calling_ConnectTarget returned 3
[18:18:19] [RadarAPI]: ar1.Calling_IsConnected()
[18:18:19] [RadarAPI]: ar1.SaveSettings('C:\Users\local_chengyuzhu\AppData\Roaming\RSTD\ar1gui.ini')
[18:29:32] [RadarAPI]: Opening Gpio Control Port()
[18:29:32] [RadarAPI]: Status: Passed
[18:29:32] [RadarAPI]: Opening Board Control Port()
[18:29:32] [RadarAPI]: Status: Passed
[18:29:33] [RadarAPI]: ar1.FullReset()
[18:29:33] [RadarAPI]: Status: Passed
[18:29:34] [RadarAPI]: Closing Board Control Port()
[18:29:34] [RadarAPI]: Status: Passed
[18:29:34] [RadarAPI]: Closing Gpio Control Port()
[18:29:34] [RadarAPI]: Status: Passed
[18:29:34] [RadarAPI]: ar1.SOPControl(2)
[18:29:34] [RadarAPI]: Status: Passed
[18:29:38] [RadarAPI]: ar1.Connect(9,115200,1000)
[18:29:41] [RadarAPI]: Error: Connection failed: Calling_ConnectTarget returned 3
[18:29:41] [RadarAPI]: ar1.Calling_IsConnected()
[18:29:41] [RadarAPI]: ar1.SaveSettings('C:\Users\local_chengyuzhu\AppData\Roaming\RSTD\ar1gui.ini')
Chengyu Zhu:

补充:将IWR6843ISK单独取下后,可以使用Uniflash擦除flash和烧写,但是装到MMWAVEICBOOST上后仍然无法连接

,

Chris Meng:

你好,

是否尝试过ISK直接和DCA1000EVM配合使用,不用ICBOOST,看是否能正常工作?

Thanks,

Chris

,

Chengyu Zhu:

你好,我尝试了几次,每次都在重启电脑并重新插拔ISK上的Micro USB后可以正常工作,此时如果重新连接Micro USB或关闭并重新上电,就会遇到和先前同样的报错,或是在设备管理器中直接无法找到ISK的端口,只有重启电脑并同时重新插拔ISK上的Micro USB线缆才能再次识别,而且无法找到ISK端口的时候,ISK上的USB指示灯也不会亮起(即使单独作为模块使用,使用USB供电也会这样),操作系统再次能够成功识别后才会亮起。

另外,同样的操作对使用MMWAVEICBOOST时不管用,我尝试了2次给MMWAVEICBOOST上的XDS110重新烧录3.0.0.29版本固件,第一次直接变砖,第二次在断电情况下短接JTAG TDO和GND后冷启动进入DFU模式,重新烧录固件成功,重启电脑后ICBOOST有时就可以正常工作了(之前完全无法使用),但该问题还是会不时出现。

赞(0)
未经允许不得转载:TI中文支持网 » IWR6843ISK: 使用过程中连接断开,重新尝试连接出现报错:[RadarAPI]: Error: Connection failed: Calling_ConnectTarget returned 3
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1