我在使用AWR1642BOOST与DCA1000EVM的过程中发现了如下问题:当设置完成,点击TriggerFrame按钮后,WireShark监测到无数据输入,而控制台显示帧的开始与结束事件都已经发生,采集的.Bin文件大小为0KB,具体如下图所示:
我尝试过按照TI培训视频中进行设置,也尝试过DataCaptureDemo_xwr演示脚本,均出现上述问题,我确定已经将网卡设置为固定IP,并设置了mmWave Studio可以通过Windows Defender防火墙,wireshark可以检测到DCA1000与主机之间的通信数据包。
我的实验环境如下:win10 64位专业版,Intel I210 Gigabit Network/Intel 82579LM双网卡,AWR1642BOOST ES2.0,5V 3.5A电源同时为1642和DCA1000供电。
请问我应该如何定位问题,排除故障?
附:设置截图与控制台输出
GM: Constructor
GM: Wed Jun 19 17:14:45 2019
RSTD.Transmit("/Settings")
[17:14:46]
[17:14:46] ### Running Startup script: "C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###
[17:14:46] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[17:14:46] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[17:14:46] Scripter ignored: Attempt to UnBuild() again or before Build.
[17:14:46] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")
[17:14:46] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[17:14:46] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[17:14:46] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[17:14:46] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[17:14:46] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[17:14:46] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")
[17:14:46] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[17:14:46] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[17:14:46] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[17:14:46] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[17:14:46] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[17:14:46] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[17:14:46] RSTD.Transmit("/")
[17:14:46] RSTD.SaveSettings(): Settings saved to "C:\Users\AA\AppData\Roaming\RSTD\config.xml"
[17:14:46] RSTD.Build()
[17:14:46] RSTD.SaveSettings(): Settings saved to "C:\Users\AA\AppData\Roaming\RSTD\config.xml"
[17:14:46] RSTD.Transmit("/")
[17:14:46] RSTD.AL_Build()
[17:14:46] RSTD.AL_LoadXml()
[17:14:46] RSTD.Transmit("/")
[17:14:46] RSTD.AL_Init()
[17:14:46] RSTD.Clients_Build()
[17:14:46] GM: Init
[17:14:46] GM: Loaded 'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'
[17:14:46] GM: 1 Guest (s) init
[17:14:46] GM: 1 Module(s) init
[17:14:46] GM: 2 Tab (s) init
[17:14:46] RSTD.Client_LoadXml()
[17:14:46] [RadarAPI]: Starting Matlab Engine..
[17:14:50] [RadarAPI]: Matlab Engine Started!
[17:14:54] [RadarAPI]: ar1.LoadSettings('C:\Users\AA\AppData\Roaming\RSTD\ar1gui.ini')
[17:14:54] TESTING = false
[17:14:54]
[17:14:54] ***Script completed successfully.***
[17:15:00] [RadarAPI]: Opening Gpio Control Port()
[17:15:00] [RadarAPI]: Status: Passed
[17:15:01] [RadarAPI]: Opening Board Control Port()
[17:15:01] [RadarAPI]: Status: Passed
[17:15:02] [RadarAPI]: ar1.FullReset()
[17:15:02] [RadarAPI]: Status: Passed
[17:15:03] [RadarAPI]: Closing Board Control Port()
[17:15:03] [RadarAPI]: Status: Passed
[17:15:03] [RadarAPI]: Closing Gpio Control Port()
[17:15:03] [RadarAPI]: Status: Passed
[17:15:03] [RadarAPI]: ar1.SOPControl(2)
[17:15:03] [RadarAPI]: Status: Passed
[17:15:03] [RadarAPI]: ar1.Connect(7,115200,1000)
[17:15:05] [RadarAPI]: ar1.Calling_IsConnected()
[17:15:06] [RadarAPI]: ar1.SelectChipVersion("AR1642")
[17:15:06] [RadarAPI]: Status: Passed
[17:15:06] [RadarAPI]: RS232 is not connected ..!!!!
[17:15:06] [RadarAPI]: ar1.frequencyBandSelection("77G")
[17:15:06] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
[17:15:06] [RadarAPI]: Status: Passed
[17:15:06] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
[17:15:07] [RadarAPI]: ar1.SelectChipVersion("AR1642")
[17:15:07] [RadarAPI]: Status: Passed
[17:15:07] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
[17:15:07] [RadarAPI]: Status: Passed
[17:15:07] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
[17:15:07] [RadarAPI]: ar1.SaveSettings('C:\Users\AA\AppData\Roaming\RSTD\ar1gui.ini')
[17:15:11] [RadarAPI]: ar1.ReadRegister(0xffffe214, 0, 31)
[17:15:11] [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31)
[17:15:11] [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31)
[17:15:11] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin")
[17:15:12] [RadarAPI]: Downloading BSS Patch RPRC Binary..
[17:15:19] [RadarAPI]: ar1.GetBSSFwVersion()
[17:15:19] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
[17:15:20] [RadarAPI]: ar1.GetBSSPatchFwVersion()
[17:15:20] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
[17:15:20] BSS FW Download Success
[17:15:22] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin")
[17:15:22] [RadarAPI]: Downloading MSS RPRC Binary..
[17:15:33] MSS FW Download Success
[17:15:36] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
[17:15:36] [RadarAPI]: Status: Passed
[17:15:36] MSS power up done async event received!
[17:15:36] Power On Success
[17:15:37] [RadarAPI]: ar1.RfEnable()
[17:15:37] BSS power up done async event received!
[17:15:37] [RadarAPI]: Status: Passed
[17:15:38] [RadarAPI]: ar1.GetBSSFwVersion()
[17:15:38] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
[17:15:39] [RadarAPI]: ar1.GetBSSPatchFwVersion()
[17:15:39] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
[17:15:39] RF Enable Success
[17:15:40] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
[17:15:40] [RadarAPI]: Status: Passed
[17:15:40] ChanNAdcConfig Success
[17:15:41] [RadarAPI]: ar1.LPModConfig(0, 1)
[17:15:41] [RadarAPI]: Status: Passed
[17:15:41] LPModConfig Success
[17:15:43] [RadarAPI]: ar1.RfInit()
[17:15:43] RF Init async event received!
[17:15:43] [RadarAPI]: Time stamp, Temperture: 6394,42; APLL Status, Update: 1, 0; SynthVCO1 Status, Update: 1, 1; SynthVCO2 Status, Update: 1, 1; LODist Status, Update: 1, 1; RxADCDC Status, Update: 1, 1; HPFcutoff Status, Update: 1, 1; LPFcutoff Status, Update: 1, 1; PeakDetector Status, Update: 1, 1; TxPower Status, Update: 1, 1; RxGain Status, Update: 1, 1; TxPhase Status, Update: 0, 0; RxIQMM Status, Update: 1, 1;
[17:15:43] [RadarAPI]: Status: Passed
[17:15:43] RfInit Success
[17:15:44] [RadarAPI]: ar1.DataPathConfig(1, 1, 0)
[17:15:44] [RadarAPI]: Status: Passed
[17:15:44] DataPathConfig Success
[17:15:46] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
[17:15:46] [RadarAPI]: Status: Passed
[17:15:46] LvdsClkConfig Success
[17:15:47] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
[17:15:47] [RadarAPI]: Status: Passed
[17:15:47] LVDSLaneConfig Success
[17:15:48] [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 5000, 0, 0, 30)
[17:15:48] [RadarAPI]: Status: Passed
[17:15:48] ProfileConfig Success
[17:15:49] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0)
[17:15:49] [RadarAPI]: Status: Passed
[17:15:49] ChirpConfig Success
[17:15:50] Test Source Already Disabled…!!!
[17:15:50] [RadarAPI]: Status: Passed
[17:15:50] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 1)
[17:15:50] [RadarAPI]: Status: Passed
[17:15:50] FrameConfig Success
[17:15:51] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
[17:15:52] [RadarAPI]: passed
[17:15:52] SelectCaptureDevice Success
[17:15:53] [RadarAPI]: StatusDCCard Event Registered
[17:15:53] [RadarAPI]: Status: Passed
[17:15:53] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
[17:15:53] [RadarAPI]: Status: Passed
[17:15:53] [RadarAPI]: SYSTEM_CONNECT_CMD_CODE Async event recieved(9)
[17:15:53] [RadarAPI]: ConnectRFDCCard Status: Passed
[17:15:53] [RadarAPI]: Status: Passed
[17:15:53] [RadarAPI]: READ_FPGA_VERSION_CMD_CODE event recieved(14)
[17:15:53] [RadarAPI]: Status: Passed
[17:15:53] CaptureCardConfig_EthInit Success
[17:15:54] [RadarAPI]: ar1.ConfigureRFDCCardMode(1, 2, 1, 2, 3, 30)
[17:15:54] [RadarAPI]: Status: Passed
[17:15:54] [RadarAPI]: CONFIG_FPGA_GEN_CMD_CODE Async event recieved(3)
[17:15:54] CaptureCardConfig_Mode Success
[17:15:55] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
[17:15:55] [RadarAPI]: Status: Passed
[17:15:55] [RadarAPI]: CONFIG_PACKET_DATA_CMD_CODE Async event recieved(11)
[17:15:55] CaptureCardConfig_PacketDelay Success
[17:15:56] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
[17:15:56] [RadarAPI]: Status: Passed
[17:15:56] [RadarAPI]: RECORD_START_CMD_CODE Async event recieved(5)
[17:15:57] [RadarAPI]: ar1.StartFrame()
[17:15:57] [RadarAPI]: Status: Passed
[17:15:57] Frame start async event received!
[17:15:57] Frame End async event received!
[17:15:57] [RadarAPI]: Frame Ended
[17:15:59] Please wait for a few seconds for Packet reorder utility processing …..!!!!
[17:15:59] [RadarAPI]: Packet Reorder Utility Started…please wait…
[17:15:59] [RadarAPI]: ar1.PacketReorderZeroFill("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data_Raw_0.bin", "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\PostProc\\pktlogfile.txt")
[17:16:04] [RadarAPI]: Packet Reorder Utility process completed!
[17:16:14] Packet reorder utility processing done…..!!!!
[17:16:14] Please wait for a few seconds for matlab post processing …..!!!!
[17:16:14] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
[17:16:14] [RadarAPI]: Error:
[17:16:14]
[17:16:14] … MWMCR::EvaluateFunction error …
[17:16:14] 19-Jun-2019 17:16:14: The file C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\..\PostProc\adc_data.bin is empty. Please capture more data.,1,
[17:16:14] Error in => process_adc_data.m at line 52.
[17:16:14]
[17:16:14] … Matlab M-code Stack Trace …
[17:16:14] at
[17:16:14] file C:\Users\AA\AppData\Local\Temp\AA\mcrCache8.5.1\Matlab0\Logging\log_status.m, name log_status, line 32.
[17:16:14] at
[17:16:14] file C:\Users\AA\AppData\Local\Temp\AA\mcrCache8.5.1\Matlab0\Processing_functions\read_adc_data.m, name read_adc_data, line 28.
[17:16:14] at
[17:16:14] file C:\Users\AA\AppData\Local\Temp\AA\mcrCache8.5.1\Matlab0\MatlabPostPr\process_adc_data.m, name process_adc_data, line 52.
[17:16:14]
[17:16:14]
[17:16:14] Trace:
[17:16:14] 在 MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
[17:16:14] 在 MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn)
[17:16:14] 在 MatlabPostProcGui.MatlabPostProcGUIClass.process_adc_data(MWArray adc_file_name, MWArray force_cont_stream_mode)
[17:16:14] 在 AR1xController.frmAR1Main.iStartMtlabPostProc()
[17:16:24]
[17:16:24] ***Script completed successfully.***
user5471838:
回复 Annie Liu:
好的,谢谢您的回复
user5355847:
回复 user5471838:
你好,我也遇到同样的问题,请问你后续解决了吗?adc_data.bin文件有数据吗?