Other Parts Discussed in Thread: AWR1642, MMWAVE-STUDIO, AWR1642BOOST
We are using DCA1000 EVM with AWR1642BOOST ES1.0 and mmwave Studio v 1.0.0.0 running on Window 10. We followed the exact steps in the DCA1000 quick user guide when connecting both the DCA1000 and the AWE1642 EVM and the mmwave studio was used to configure and control the devices to capture the raw ADC data. We faced similar issues posted in previous forums
- Unable to identify the FPGA version: FPGA version is 0.0.0.0,
- Ethernet connectivity issues: Ethernet Cable is disconnected Please check......!!!”
- Data Capture related issues.
Based on the recommendations given in the forums and going through the DCA1000 Debug Handbook: the following steps were taken to resolve these problems.
- A USB 3.0 Gigabit Ethernet Network Adapter was purchased to resolve the connectivity issues with PC over the Ethernet when direct Ethernet connection from PC to the DCA1000 was initially used. The static IP address was reconfigured correctly.
- The windows Firewall was disabled, and the ports were enabled in both outbound and inbound rules
- Two separate power supplies (5V/4A) for the DCA1000 and the AWR1642 EVMs were used all the time.
- Wireshark tool was installed, and the connection was shown between both the PC and the DCA1000 board.
- Re-flashed the FPGA to the latest version 2.8 using lattice programmer software.
As shown in previous forums, the issue was resolved by using either one of the steps or a combination of steps shown above. However, in our case the problem is still not resolved, and the FPGA version is still not identified.
- Again, when using the mmwave Studio, in the ‘setup DCA 1000' the FPGA is still shown as version 0.0.0.0., and when we tried to "Connect, Reset and Configure" the RFDataCaptrurecard, the following error message appeared:
“ConnectRFDCCard Status: RFDCCARD_UDP_WRITE_ERR
Ethernet Cable is disconnected Please check......!!!” . We also tried to increase the packet delay to 100 µs, and we still have the same error message.
- In addition, after running the DataCaptureDemo_xWR.lua, the Data_Trans_PRG LED on the top left corner of the DCA1000 board is turned on and the Wireshark showed a transfer of UDP packets from the DCA 1000 to PC (please see the figures below). However, Ethernet connectivity error was shown and the generated adc_data.bin is empty. An error message was also shown after post processing step with MATLAB since the .bin files were empty. The output log file is also attached.
GM: Constructor
GM: Thu Aug 27 10:58:51 2020
RSTD.Transmit("/Settings")
[10:58:51]
[10:58:51] ### Running Startup script: "C:\workspace\TI\07_mmwave_studio\MMWAVE_STUDIO_01_00_00_00\mmwave_studio_01_00_00_00\mmWaveStudio\Scripts\Startup.lua" ###
[10:58:51] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[10:58:51] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[10:58:51] Scripter ignored: Attempt to UnBuild() again or before Build.
[10:58:51] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\workspace\\TI\\07_mmwave_studio\\MMWAVE_STUDIO_01_00_00_00\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
[10:58:51] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[10:58:51] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[10:58:51] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[10:58:51] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[10:58:51] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[10:58:51] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\workspace\\TI\\07_mmwave_studio\\MMWAVE_STUDIO_01_00_00_00\\mmwave_studio_01_00_00_00\\mmWaveStudio\\RunTime\\SAL.dll")
[10:58:51] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[10:58:51] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[10:58:51] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[10:58:51] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[10:58:51] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[10:58:51] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[10:58:51] RSTD.Transmit("/")
[10:58:51] RSTD.SaveSettings(): Settings saved to "C:\Users\Aya S - BMw\AppData\Roaming\RSTD\config.xml"
[10:58:51] RSTD.Build()
[10:58:51] RSTD.SaveSettings(): Settings saved to "C:\Users\Aya S - BMw\AppData\Roaming\RSTD\config.xml"
[10:58:51] RSTD.Transmit("/")
[10:58:51] RSTD.AL_Build()
[10:58:51] RSTD.AL_LoadXml()
[10:58:51] RSTD.Transmit("/")
[10:58:51] RSTD.AL_Init()
[10:58:51] RSTD.Clients_Build()
[10:58:51] GM: Init
[10:58:51] GM: Loaded 'C:\workspace\TI\07_mmwave_studio\MMWAVE_STUDIO_01_00_00_00\mmwave_studio_01_00_00_00\mmWaveStudio\Clients\\LabClient.dll'
[10:58:51] GM: 1 Guest (s) init
[10:58:51] GM: 1 Module(s) init
[10:58:51] GM: 2 Tab (s) init
[10:58:51] RSTD.Client_LoadXml()
[10:58:51] [RadarAPI]: Starting Matlab Engine..
[10:58:58] [RadarAPI]: Matlab Engine Started!
[10:59:02] [RadarAPI]: ar1.LoadSettings('C:\Users\Aya S - BMw\AppData\Roaming\RSTD\ar1gui.ini')
[10:59:02] TESTING = false
[10:59:02]
[10:59:02] ***Script completed successfully.***
[10:59:11] [RadarAPI]: Opening Gpio Control Port()
[10:59:11] [RadarAPI]: Status: Passed
[10:59:11] [RadarAPI]: Opening Board Control Port()
[10:59:11] [RadarAPI]: Status: Passed
[10:59:12] [RadarAPI]: ar1.FullReset()
[10:59:12] [RadarAPI]: Status: Passed
[10:59:13] [RadarAPI]: Closing Board Control Port()
[10:59:13] [RadarAPI]: Status: Passed
[10:59:13] [RadarAPI]: Closing Gpio Control Port()
[10:59:13] [RadarAPI]: Status: Passed
[10:59:13] [RadarAPI]: ar1.SOPControl(2)
[10:59:13] [RadarAPI]: Status: Passed
[10:59:17] [RadarAPI]: ar1.Connect(4,115200,1000)
[10:59:18] [RadarAPI]: ar1.Calling_IsConnected()
[10:59:19] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
[10:59:19] [RadarAPI]: Status: Passed
[10:59:20] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
[10:59:20] [RadarAPI]: Status: Passed
[10:59:20] [RadarAPI]: ar1.SaveSettings('C:\Users\Aya S - BMw\AppData\Roaming\RSTD\ar1gui.ini')
[10:59:53] [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31)
[10:59:53] [RadarAPI]: Value : 300002
[10:59:53] [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31)
[10:59:53] [RadarAPI]: Value : 1
[10:59:53] [RadarAPI]: ar1.DownloadBSSFw("C:\\workspace\\TI\\07_mmwave_studio\\MMWAVE_STUDIO_01_00_00_00\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr16xx_radarss_rprc_ES1.0.bin")
[10:59:53] [RadarAPI]: Downloading BSS ROM RPRC Binary..
[11:00:31] BSS FW Download Success
[11:00:33] [RadarAPI]: ar1.DownloadMSSFw("C:\\workspace\\TI\\07_mmwave_studio\\MMWAVE_STUDIO_01_00_00_00\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr16xx_masterss_rprc_ES1.0.bin")
[11:00:33] [RadarAPI]: Downloading MSS RPRC Binary..
[11:00:54] MSS FW Download Success
[11:00:56] MSS power up done async event received!
[11:00:56] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
[11:00:56] [RadarAPI]: Status: Passed
[11:00:56] [RadarAPI]: ar1.SaveSettings('C:\Users\Aya S - BMw\AppData\Roaming\RSTD\ar1gui.ini')
[11:00:57] Power On Success
[11:00:58] BSS power up done async event received!
[11:00:58] [RadarAPI]: ar1.RfEnable()
[11:00:58] [RadarAPI]: Status: Passed
[11:00:59] RF Enable Success
[11:01:00] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
[11:01:00] [RadarAPI]: Status: Passed
[11:01:00] ChanNAdcConfig Success
[11:01:01] [RadarAPI]: ar1.LPModConfig(0, 1)
[11:01:01] [RadarAPI]: Status: Passed
[11:01:01] LPModConfig Success
[11:01:03] [RadarAPI]: ar1.RfInit()
[11:01:03] RF Init async event received!
[11:01:03] [RadarAPI]: Time stamp, Temperture: 5633,37; 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;
[11:01:03] [RadarAPI]: Status: Passed
[11:01:03] RfInit Success
[11:01:04] [RadarAPI]: ar1.DataPathConfig(1, 1, 0)
[11:01:04] [RadarAPI]: Status: Passed
[11:01:04] DataPathConfig Success
[11:01:05] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
[11:01:06] [RadarAPI]: Status: Passed
[11:01:06] LvdsClkConfig Success
[11:01:07] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
[11:01:07] [RadarAPI]: Status: Passed
[11:01:07] LVDSLaneConfig Success
[11:01:08] [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 5000, 0, 0, 30)
[11:01:08] [RadarAPI]: Status: Passed
[11:01:08] ProfileConfig Success
[11:01:09] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0)
[11:01:09] [RadarAPI]: Status: Passed
[11:01:09] ChirpConfig Success
[11:01:10] [RadarAPI]: ar1.DisableTestSource(0)
[11:01:10] [RadarAPI]: Status: Passed
[11:01:10] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 1)
[11:01:10] [RadarAPI]: Status: Passed
[11:01:10] FrameConfig Success
[11:01:11] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
[11:01:11] [RadarAPI]: passed
[11:01:11] SelectCaptureDevice Success
[11:01:12] [RadarAPI]: StatusDCCard Event Registered
[11:01:12] [RadarAPI]: Status: Passed
[11:01:12] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
[11:01:12] [RadarAPI]: Status: Passed
[11:01:15] Ethernet Cable is disconnected Please check.....!!!
[11:01:15] CaptureCardConfig_EthInit Success
[11:01:16] [RadarAPI]: ar1.ConfigureRFDCCardMode(1, 2, 1, 2, 3, 0)
[11:01:16] [RadarAPI]: Status: Passed
[11:01:16] CaptureCardConfig_Mode Success
[11:01:17] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
[11:01:17] [RadarAPI]: Status: Passed
[11:01:17] CaptureCardConfig_PacketDelay Success
[11:01:18] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\workspace\\TI\\07_mmwave_studio\\MMWAVE_STUDIO_01_00_00_00\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
[11:01:18] [RadarAPI]: Status: Passed
[11:01:19] [RadarAPI]: ar1.StartFrame()
[11:01:19] [RadarAPI]: Status: Passed
[11:01:19] Frame start async event received!
[11:01:19] [RadarAPI]: Frame Ended
[11:01:19] Frame End async event received!
[11:01:21] Please wait for a few seconds for Packet reorder utility processing .....!!!!
[11:01:21] [RadarAPI]: Packet Reorder Utility Started...please wait...
[11:01:21] [RadarAPI]: ar1.PacketReorderZeroFill("C:\\workspace\\TI\\07_mmwave_studio\\MMWAVE_STUDIO_01_00_00_00\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data_Raw_0.bin", "C:\\workspace\\TI\\07_mmwave_studio\\MMWAVE_STUDIO_01_00_00_00\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", "C:\\workspace\\TI\\07_mmwave_studio\\MMWAVE_STUDIO_01_00_00_00\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\pktlogfile.txt")
[11:01:26] [RadarAPI]: Packet Reorder Utility process completed!
[11:01:36] Packet reorder utility processing done.....!!!!
[11:01:36] Please wait for a few seconds for matlab post processing .....!!!!
[11:01:36] [RadarAPI]: ar1.StartMatlabPostProc("C:\\workspace\\TI\\07_mmwave_studio\\MMWAVE_STUDIO_01_00_00_00\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
[11:01:36] [RadarAPI]: Error:
[11:01:36]
[11:01:36] ... MWMCR::EvaluateFunction error ...
[11:01:36] 27-Aug-2020 11:01:36: The file C:\workspace\TI\07_mmwave_studio\MMWAVE_STUDIO_01_00_00_00\mmwave_studio_01_00_00_00\mmWaveStudio\Scripts\..\PostProc\adc_data.bin is empty. Please capture more data.,1,
[11:01:36] Error in => process_adc_data.m at line 52.
[11:01:36]
[11:01:36] ... Matlab M-code Stack Trace ...
[11:01:36] at
[11:01:36] file C:\Users\AYAS-B~1\AppData\Local\Temp\Aya S - BMw\mcrCache8.5.1\Matlab0\Logging\log_status.m, name log_status, line 32.
[11:01:36] at
[11:01:36] file C:\Users\AYAS-B~1\AppData\Local\Temp\Aya S - BMw\mcrCache8.5.1\Matlab0\Processing_functions\read_adc_data.m, name read_adc_data, line 28.
[11:01:36] at
[11:01:36] file C:\Users\AYAS-B~1\AppData\Local\Temp\Aya S - BMw\mcrCache8.5.1\Matlab0\MatlabPostPr\process_adc_data.m, name process_adc_data, line 52.
[11:01:36]
[11:01:36]
[11:01:36] Trace:
[11:01:36] at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
[11:01:36] at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn)
[11:01:36] at MatlabPostProcGui.MatlabPostProcGUIClass.process_adc_data(MWArray adc_file_name, MWArray force_cont_stream_mode)
[11:01:36] at AR1xController.frmAR1Main.iStartMtlabPostProc()
[11:01:46]
[11:01:46] ***Script completed successfully.***
[11:03:06] RSTD.ShowLogFile()
[11:04:09] RSTD.ShowLogFile()
[11:06:12] RSTD.ShowLogFile()
[11:07:05] RSTD.ShowLogFile()
[11:07:56] RSTD.ShowLogFile()
[11:12:03] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
[11:12:03] [RadarAPI]: passed
[11:12:16] [RadarAPI]: StatusDCCard Event Registered
[11:12:16] [RadarAPI]: Status: Passed
[11:12:16] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
[11:12:19] ConnectRFDCCard Status: RFDCCARD_UDP_WRITE_ERR
[11:12:19] Ethernet Cable is disconnected Please check.....!!!
[13:15:54] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
[13:15:54] [RadarAPI]: passed
[21:40:54] RSTD.ShowLogFile()
Since the Wireshark tool confirmed the Ethernet connection between the DCA1000 and the PC, yet no data was transferred. Based on this along with the other observations we ask the following questions:
- The version of DCA1000 FPGA is shown as V.0.0.0.0; How to resolve that, what should it be? Is there any issue that can arise by using a newer version of the DCA1000 Kit (Purchased date 08/22/19) with the older AWR1642 ES 1.0 version?
- We are using the older mmwave-studio version 1.0.0 because it supports our ES1.0 AWR1642. We have a body of work done with this device and do not want to reflash it to use a later version of the mmwave studio. Therefore, if it comes to this, can we instead reflash the DCA1000 with an older FPGA version (v2.5) that is found in the mmwave_studio_01_00_00_00\mmWaveStudio\DCA1000FPGA folder to solve the problem?
We spent a lot of time trying to figure out how to resolve these problems with no luck so far and your help is greatly appreciated.
Thank you
