您好! 我按照DCA1000_Quick_Start_Guide 跑示例,SPI及网卡连接均正常,但是在trigger frame后 很快返回 Frame end, 最后也没有获得数据(wiresharp监测不到返回的数据包), 运行结果下:
使用的软硬件版本
1243EVM ES2.0
MMWAVE STUDIO Release 01.00.00
希望能够获得解答。
感谢
Wesley He:
你好,
是否有查看视频?
training.ti.com/dca1000-training-video
对比一下操作哪一步会有失败。
user5792212:
回复 Wesley He:
您好! 按照视频的步骤,最后一步 trigger frame 后,没有数据,post processing 按钮也无法点击
Wesley He:
回复 user5792212:
你好,
能否贴出全部的output信息,帮助定位问题。谢谢
user5792212:
回复 Wesley He:
全部信息如下: 麻烦了!
GM: Constructor
GM: Sat Jan 05 19:54:16 2019
RSTD.Transmit("/Settings")
[19:54:16]
[19:54:16] ### Running Startup script: "C:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Scripts\Startup.lua" ###
[19:54:16] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[19:54:16] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[19:54:16] Scripter ignored: Attempt to UnBuild() again or before Build.
[19:54:16] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
[19:54:16] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[19:54:16] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[19:54:16] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[19:54:16] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[19:54:16] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[19:54:16] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\RunTime\\SAL.dll")
[19:54:16] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[19:54:16] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[19:54:16] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[19:54:16] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[19:54:16] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[19:54:16] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[19:54:16] RSTD.Transmit("/")
[19:54:16] RSTD.SaveSettings(): Settings saved to "C:\Users\admin\AppData\Roaming\RSTD\config.xml"
[19:54:16] RSTD.Build()
[19:54:16] RSTD.SaveSettings(): Settings saved to "C:\Users\admin\AppData\Roaming\RSTD\config.xml"
[19:54:16] RSTD.Transmit("/")
[19:54:16] RSTD.AL_Build()
[19:54:16] RSTD.AL_LoadXml()
[19:54:16] RSTD.Transmit("/")
[19:54:16] RSTD.AL_Init()
[19:54:16] RSTD.Clients_Build()
[19:54:16] GM: Init
[19:54:16] GM: Loaded 'C:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Clients\\LabClient.dll'
[19:54:16] GM: 1 Guest (s) init
[19:54:16] GM: 1 Module(s) init
[19:54:16] GM: 2 Tab (s) init
[19:54:16] RSTD.Client_LoadXml()
[19:54:16] [RadarAPI]: Starting Matlab Engine..
[19:54:18] [RadarAPI]: Matlab Engine Started!
[19:54:21] [RadarAPI]: ar1.LoadSettings('C:\Users\admin\AppData\Roaming\RSTD\ar1gui.ini')
[19:54:21] TESTING = false
[19:54:21]
[19:54:21] ***Script completed successfully.***
[19:54:24] [RadarAPI]: Opening Gpio Control Port()
[19:54:24] [RadarAPI]: Status: Passed
[19:54:24] [RadarAPI]: Opening Board Control Port()
[19:54:24] [RadarAPI]: Status: Passed
[19:54:25] [RadarAPI]: ar1.FullReset()
[19:54:25] [RadarAPI]: Status: Passed
[19:54:26] [RadarAPI]: Closing Board Control Port()
[19:54:26] [RadarAPI]: Status: Passed
[19:54:26] [RadarAPI]: Closing Gpio Control Port()
[19:54:26] [RadarAPI]: Status: Passed
[19:54:26] [RadarAPI]: ar1.SOPControl(2)
[19:54:26] [RadarAPI]: Status: Passed
[19:54:27] [RadarAPI]: ar1.Connect(6,921600,1000)
[19:54:29] [RadarAPI]: Warning: Connected with baudrate 115200
[19:54:30] [RadarAPI]: Warning: Disconnected existing BaudRate
[19:54:30] [RadarAPI]: Warning: Trying to connect with baudrate 921600
[19:54:32] [RadarAPI]: ar1.Calling_IsConnected()
[19:54:33] [RadarAPI]: ar1.SelectChipVersion("XWR1243")
[19:54:33] [RadarAPI]: Status: Passed
[19:54:34] [RadarAPI]: ar1.SelectChipVersion("XWR1243")
[19:54:34] [RadarAPI]: Status: Passed
[19:54:34] [RadarAPI]: ar1.SaveSettings('C:\Users\admin\AppData\Roaming\RSTD\ar1gui.ini')
[19:54:39] [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31)
[19:54:39] [RadarAPI]: Value : 100000
[19:54:39] [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31)
[19:54:39] [RadarAPI]: Value : 12
[19:54:39] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr12xx_xwr14xx_radarss_ES2.0.bin")
[19:54:39] [RadarAPI]: Downloading BSS ROM Legacy Binary..
[19:54:45] BSS FW Download Success
[19:54:47] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr12xx_xwr14xx_masterss_ES2.0.bin")
[19:54:47] [RadarAPI]: Downloading MSS Legacy Binary..
[19:54:50] MSS FW Download Success
[19:54:53] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
[19:54:53] [RadarAPI]: Status: Passed
[19:54:53] MSS power up done async event received!
[19:54:53] [RadarAPI]: ar1.SaveSettings('C:\Users\admin\AppData\Roaming\RSTD\ar1gui.ini')
[19:54:53] Power On Success
[19:54:54] BSS power up done async event received!
[19:54:54] [RadarAPI]: ar1.RfEnable()
[19:54:54] [RadarAPI]: Status: Passed
[19:54:55] RF Enable Success
[19:54:56] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
[19:54:56] [RadarAPI]: Status: Passed
[19:54:56] ChanNAdcConfig Success
[19:54:57] [RadarAPI]: ar1.LPModConfig(0, 0)
[19:54:57] [RadarAPI]: Status: Passed
[19:54:57] Regualar mode Cfg Success
[19:54:59] [RadarAPI]: ar1.RfInit()
[19:54:59] RF Init async event received!
[19:55:00] [RadarAPI]: Time stamp, Temperture: 5616,33; 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; RxIQMM Status, Update: 1, 1;
[19:55:00] [RadarAPI]: Status: Passed
[19:55:00] RfInit Success
[19:55:01] [RadarAPI]: ar1.DataPathConfig(1, 1, 0)
[19:55:01] [RadarAPI]: Status: Passed
[19:55:01] DataPathConfig Success
[19:55:02] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
[19:55:02] [RadarAPI]: Status: Passed
[19:55:02] LvdsClkConfig Success
[19:55:03] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 1, 1, 1, 0, 0)
[19:55:03] [RadarAPI]: Status: Passed
[19:55:03] LVDSLaneConfig Success
[19:55:04] [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 10000, 0, 0, 30)
[19:55:04] [RadarAPI]: Status: Passed
[19:55:04] ProfileConfig Success
[19:55:05] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0)
[19:55:05] [RadarAPI]: Status: Passed
[19:55:05] ChirpConfig Success
[19:55:06] [RadarAPI]: ar1.DisableTestSource(0)
[19:55:06] [RadarAPI]: Status: Passed
[19:55:06] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 1)
[19:55:06] [RadarAPI]: Status: Passed
[19:55:06] FrameConfig Success
[19:55:07] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
[19:55:07] [RadarAPI]: passed
[19:55:07] SelectCaptureDevice Success
[19:55:08] [RadarAPI]: StatusDCCard Event Registered
[19:55:08] [RadarAPI]: Status: Passed
[19:55:08] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
[19:55:08] [RadarAPI]: Status: Passed
[19:55:08] [RadarAPI]: SYSTEM_CONNECT_CMD_CODE Async event recieved(9)
[19:55:09] [RadarAPI]: ConnectRFDCCard Status: Passed
[19:55:09] [RadarAPI]: Status: Passed
[19:55:09] [RadarAPI]: READ_FPGA_VERSION_CMD_CODE event recieved(14)
[19:55:09] [RadarAPI]: Status: Passed
[19:55:09] CaptureCardConfig_EthInit Success
[19:55:10] [RadarAPI]: ar1.ConfigureRFDCCardMode(1, 1, 1, 2, 3, 0)
[19:55:10] [RadarAPI]: Status: Passed
[19:55:10] [RadarAPI]: CONFIG_FPGA_GEN_CMD_CODE Async event recieved(3)
[19:55:10] CaptureCardConfig_Mode Success
[19:55:11] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
[19:55:11] [RadarAPI]: Status: Passed
[19:55:11] [RadarAPI]: CONFIG_PACKET_DATA_CMD_CODE Async event recieved(11)
[19:55:11] CaptureCardConfig_PacketDelay Success
[19:55:12] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
[19:55:12] [RadarAPI]: Status: Passed
[19:55:12] [RadarAPI]: RECORD_START_CMD_CODE Async event recieved(5)
[19:55:13] [RadarAPI]: ar1.StartFrame()
[19:55:13] [RadarAPI]: Status: Passed
[19:55:13] Frame start async event received!
[19:55:13] [RadarAPI]: Frame Ended
[19:55:13] Frame End async event received!
[19:55:15] Please wait for a few seconds for Packet reorder utility processing …..!!!!
[19:55:15] [RadarAPI]: Packet Reorder Utility Started…please wait…
[19:55:15] [RadarAPI]: ar1.PacketReorderZeroFill("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data_Raw_0.bin", "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\pktlogfile.txt")
[19:55:20] [RadarAPI]: Packet Reorder Utility process completed!
[19:55:30] Packet reorder utility processing done…..!!!!
[19:55:30] Please wait for a few seconds for matlab post processing …..!!!!
[19:55:30] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
[19:55:30] [RadarAPI]: Error:
[19:55:30]
[19:55:30] … MWMCR::EvaluateFunction error …
[19:55:30] 05-Jan-2019 19:55:30: The file C:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Scripts\..\PostProc\adc_data.bin is empty. Please capture more data.,1,
[19:55:30] Error in => process_adc_data.m at line 52.
[19:55:30]
[19:55:30] … Matlab M-code Stack Trace …
[19:55:30] at
[19:55:30] file C:\Users\admin\AppData\Local\Temp\admin\mcrCache8.5.1\Matlab0\Logging\log_status.m, name log_status, line 32.
[19:55:30] at
[19:55:30] file C:\Users\admin\AppData\Local\Temp\admin\mcrCache8.5.1\Matlab0\Processing_functions\read_adc_data.m, name read_adc_data, line 28.
[19:55:30] at
[19:55:30] file C:\Users\admin\AppData\Local\Temp\admin\mcrCache8.5.1\Matlab0\MatlabPostPr\process_adc_data.m, name process_adc_data, line 52.
[19:55:30]
[19:55:30]
[19:55:30] Trace:
[19:55:30] 在 MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
[19:55:30] 在 MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn)
[19:55:30] 在 MatlabPostProcGui.MatlabPostProcGUIClass.process_adc_data(MWArray adc_file_name, MWArray force_cont_stream_mode)
[19:55:30] 在 AR1xController.frmAR1Main.iStartMtlabPostProc()
[19:55:40]
[19:55:40] ***Script completed successfully.***
Wesley He:
回复 user5792212:
你好,
看了你的log,采集应该成功了,能否检查一下BIN文件的尺寸?以下两个文件。
"C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data_Raw_0.bin", "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin"如果BIN文件是有内容的,那么检查一下你的matlab runtime是否成功安装?
Install Matlab Runtime Engine (Version 8.5.1): It is used to run the Post-Processing utility within mmWaveStudio. in.mathworks.com/…/MCR_R2015aSP1_win32_installer.exe参考文档:"C:\ti\mmwave_studio_01_00_00_00\docs\mmwave_studio_user_guide.pdf"
谢谢
user5818792:
回复 Wesley He:
你好!
我也遇到了相同的问题,之前的操作都是passed,一切正常,最后在点击Trigger Frame后output也显示Frame End async event received!,但接收的bin文件都为0kb,后续也无法点击PostProc,与帖主遇到的问题一样,不知道最后帖主是怎么解决的呢,您又有什么样的建议呢~
zhuang huang:
回复 Wesley He:
您好,我的问题也类似,adc_data_Raw_0.bin能够采集到数据,但是adc_data.bin的大小为0 kb,点击PostProc后即会出现和题主同样的问题。
user5792212:
回复 zhuang huang:
采集板寄存器配置的问题 选为软件触发
zhuang huang:
回复 user5792212:
谢谢,采集卡设置的是软件触发;我是win7系统,换台win10的电脑就可以。但是还是不知道这个错误的根本原因。
huangyaohui:
回复 zhuang huang:
你好,我想问一下,在哪个位置设置采集卡的触发?我在sensor configuration选项卡里只找到了frame的触发方式选择