Other Parts Discussed in Thread: AWR1642BOOST
Hi,
Earlier we had a AWR1642BOOST EVM and now we have got a DCA1000 EVM. To start with, we wish to check the functionality of the DCA1000EVM , especially for ADC data capture. The relevant details and problem encountered are enumerated below :
1) The laptop computer is Fujitsu Lifebook L 530 running a core i3 2.13 G Hz processor with 64-bit Windows 7 operating system (having Realtek RTL8102E/RTL8103E Family PCI-E Network Adapter)
The Windows Firewell has been disabled. The IP address is set as advised in mmwave Studio User Guide and as advised in DCA1000 QuickStart Guide. The jumpers setting on AWR1642BOOST are as per instructions.
We are using AWR1642BOOST ES2.0.
The DCA1000 has a sticker reading 4218DCA1000EVM0348 (I do not know does it contain some version/revision information or not).
The jumper setting on DCA1000 EVM are as per the following picture:
We are using a good quality laboratory Dual Power Supply for separately powering DCA1000EVM and AWR1642BOOST with 5V and 2.5 A settings on each individual power supply.
2) I am basically using mmwave Studio 2.0.0.2 but I have also tried once on mmwave Studio 1.0.0.0 as well.
3) First, I tried mmwave Studio User Guide for using DCA1000EVM and AWR1642BOOST for capturing ADC data. I followed all the steps and uploaded the relevant binaries for RadarSS and MSS. However, when in "SensorConfig" window, I clicked Setup DCA1000 EVM, I got the error FPGA 0.0.0.0 version.
4) Then I tried to use the DCA1000 QuickStart Guide. As per given steps, I used lua file (as advised). I learnt that in this case, I do not not to give any further configurations as all this is taken care of by the Datacapture_demo lua script. However, I could not get any result at the end i.e. No Post Processing Plots are produced.
I have attached the Log file (from the Output console of mmwave Studio) for my latest attempt today, though I have spent previous 3 days on this issue.
GM: Constructor GM: Fri Jul 19 13:44:59 2019 RSTD.Transmit("/Settings") [13:45:00] [13:45:00] ### Running Startup script: "C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ### [13:45:00] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1") [13:45:00] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss") [13:45:00] Scripter ignored: Attempt to UnBuild() again or before Build. [13:45:00] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll") [13:45:00] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE") [13:45:00] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE") [13:45:00] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE") [13:45:00] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE") [13:45:00] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE") [13:45:00] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll") [13:45:00] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "") [13:45:00] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE") [13:45:00] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1") [13:45:00] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE") [13:45:00] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE") [13:45:00] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false") [13:45:00] RSTD.Transmit("/") [13:45:00] RSTD.SaveSettings(): Settings saved to "C:\Users\FUJITSU\AppData\Roaming\RSTD\config.xml" [13:45:00] RSTD.Build() [13:45:00] RSTD.SaveSettings(): Settings saved to "C:\Users\FUJITSU\AppData\Roaming\RSTD\config.xml" [13:45:00] RSTD.Transmit("/") [13:45:00] RSTD.AL_Build() [13:45:00] RSTD.AL_LoadXml() [13:45:00] RSTD.Transmit("/") [13:45:00] RSTD.AL_Init() [13:45:00] RSTD.Clients_Build() [13:45:00] GM: Init [13:45:00] GM: Loaded 'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll' [13:45:00] GM: 1 Guest (s) init [13:45:00] GM: 1 Module(s) init [13:45:00] GM: 2 Tab (s) init [13:45:00] RSTD.Client_LoadXml() [13:45:00] [RadarAPI]: Starting Matlab Engine.. [13:45:13] [RadarAPI]: Matlab Engine Started! [13:45:18] [RadarAPI]: ar1.LoadSettings('C:\Users\FUJITSU\AppData\Roaming\RSTD\ar1gui.ini') [13:45:18] TESTING = false [13:45:19] [13:45:19] ***Script completed successfully.*** [13:45:32] [RadarAPI]: Opening Gpio Control Port() [13:45:32] [RadarAPI]: Status: Passed [13:45:33] [RadarAPI]: Opening Board Control Port() [13:45:33] [RadarAPI]: Status: Passed [13:45:34] [RadarAPI]: ar1.FullReset() [13:45:34] [RadarAPI]: Status: Passed [13:45:34] [RadarAPI]: Closing Board Control Port() [13:45:34] [RadarAPI]: Status: Passed [13:45:34] [RadarAPI]: ar1.frequencyBandSelection("77G") [13:45:35] [RadarAPI]: Closing Gpio Control Port() [13:45:35] [RadarAPI]: Status: Passed [13:45:35] [RadarAPI]: ar1.SOPControl(2) [13:45:35] [RadarAPI]: Status: Passed [13:45:37] [RadarAPI]: RS232 is not connected ..!!!! [13:45:39] [RadarAPI]: ar1.Connect(3,921600,1000) [13:45:42] [RadarAPI]: Warning: Connected with baudrate 115200 [13:45:43] [RadarAPI]: Warning: Disconnected existing BaudRate [13:45:43] [RadarAPI]: Warning: Trying to connect with baudrate 921600 [13:45:44] [RadarAPI]: ar1.Calling_IsConnected() [13:45:46] [RadarAPI]: ar1.SelectChipVersion("AR1642") [13:45:46] [RadarAPI]: Status: Passed [13:45:46] [RadarAPI]: ar1.SelectChipVersion("XWR1642") [13:45:46] [RadarAPI]: Status: Passed [13:45:46] Device Status : XWR1642/ASIL-B/SOP:2/ES:2 [13:45:47] [RadarAPI]: ar1.SelectChipVersion("AR1642") [13:45:47] [RadarAPI]: Status: Passed [13:45:47] [RadarAPI]: ar1.SelectChipVersion("XWR1642") [13:45:47] [RadarAPI]: Status: Passed [13:45:47] Device Status : XWR1642/ASIL-B/SOP:2/ES:2 [13:45:47] [RadarAPI]: ar1.SaveSettings('C:\Users\FUJITSU\AppData\Roaming\RSTD\ar1gui.ini') [13:46:32] [RadarAPI]: ar1.ReadRegister(0xffffe214, 0, 31) [13:46:32] [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31) [13:46:33] [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31) [13:46:33] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin") [13:46:33] [RadarAPI]: Downloading BSS Patch RPRC Binary.. [13:46:34] [RadarAPI]: ar1.GetBSSFwVersion() [13:46:34] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17)) [13:46:35] [RadarAPI]: ar1.GetBSSPatchFwVersion() [13:46:35] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18)) [13:46:35] BSS FW Download Success [13:46:37] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin") [13:46:37] [RadarAPI]: Downloading MSS RPRC Binary.. [13:46:39] MSS FW Download Success [13:46:42] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0) [13:46:42] [RadarAPI]: Status: Passed [13:46:42] MSS power up done async event received! [13:46:42] Power On Success [13:46:43] [RadarAPI]: ar1.RfEnable() [13:46:43] BSS power up done async event received! [13:46:43] [RadarAPI]: Status: Passed [13:46:44] [RadarAPI]: ar1.GetBSSFwVersion() [13:46:44] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17)) [13:46:45] [RadarAPI]: ar1.GetBSSPatchFwVersion() [13:46:45] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18)) [13:46:45] RF Enable Success [13:46:46] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0) [13:46:46] [RadarAPI]: Status: Passed [13:46:46] ChanNAdcConfig Success [13:46:47] [RadarAPI]: ar1.LPModConfig(0, 1) [13:46:47] [RadarAPI]: Status: Passed [13:46:47] LPModConfig Success [13:46:49] [RadarAPI]: ar1.RfInit() [13:46:49] RF Init async event received! [13:46:49] [RadarAPI]: Time stamp, Temperture: 6096,39; 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; [13:46:49] [RadarAPI]: Status: Passed [13:46:49] RfInit Success [13:46:50] [RadarAPI]: ar1.DataPathConfig(1, 1, 0) [13:46:50] [RadarAPI]: Status: Passed [13:46:50] DataPathConfig Success [13:46:51] [RadarAPI]: ar1.LvdsClkConfig(1, 1) [13:46:51] [RadarAPI]: Status: Passed [13:46:51] LvdsClkConfig Success [13:46:52] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0) [13:46:53] [RadarAPI]: Status: Passed [13:46:53] LVDSLaneConfig Success [13:46:54] [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 5000, 0, 0, 30) [13:46:54] [RadarAPI]: Status: Passed [13:46:54] ProfileConfig Success [13:46:55] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0) [13:46:55] [RadarAPI]: Status: Passed [13:46:55] ChirpConfig Success [13:46:56] Test Source Already Disabled...!!! [13:46:56] [RadarAPI]: Status: Passed [13:46:56] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 1) [13:46:56] [RadarAPI]: Status: Passed [13:46:57] FrameConfig Success [13:46:58] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000") [13:46:58] [RadarAPI]: passed [13:46:58] SelectCaptureDevice Success [13:46:59] [RadarAPI]: StatusDCCard Event Registered [13:46:59] [RadarAPI]: Status: Passed [13:46:59] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098) [13:46:59] [RadarAPI]: Status: Passed [13:47:01] Ethernet Cable is disconnected Please check.....!!! [13:47:01] CaptureCardConfig_EthInit Success [13:47:02] [RadarAPI]: ar1.ConfigureRFDCCardMode(1, 2, 1, 2, 3, 30) [13:47:02] [RadarAPI]: Status: Passed [13:47:02] CaptureCardConfig_Mode Success [13:47:04] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25) [13:47:04] [RadarAPI]: Status: Passed [13:47:04] CaptureCardConfig_PacketDelay Success [13:47:05] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1) [13:47:05] [RadarAPI]: Status: Passed [13:47:06] [RadarAPI]: ar1.StartFrame() [13:47:06] [RadarAPI]: Status: Passed [13:47:06] Frame start async event received! [13:47:06] [RadarAPI]: Frame Ended [13:47:06] Frame End async event received! [13:47:08] Please wait for a few seconds for Packet reorder utility processing .....!!!! [13:47:08] [RadarAPI]: Packet Reorder Utility Started...please wait... [13:47:08] [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") [13:47:13] [RadarAPI]: Packet Reorder Utility process completed! [13:47:23] Packet reorder utility processing done.....!!!! [13:47:23] Please wait for a few seconds for matlab post processing .....!!!! [13:47:23] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin") [13:47:23] [RadarAPI]: Error: [13:47:23] [13:47:23] ... MWMCR::EvaluateFunction error ... [13:47:23] 19-Jul-2019 13:47:23: The file C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\..\PostProc\adc_data.bin is empty. Please capture more data.,1, [13:47:23] Error in => process_adc_data.m at line 52. [13:47:23] [13:47:23] ... Matlab M-code Stack Trace ... [13:47:23] at [13:47:23] file C:\Users\FUJITSU\AppData\Local\Temp\FUJITSU\mcrCache8.5.1\Matlab0\Logging\log_status.m, name log_status, line 32. [13:47:23] at [13:47:23] file C:\Users\FUJITSU\AppData\Local\Temp\FUJITSU\mcrCache8.5.1\Matlab0\Processing_functions\read_adc_data.m, name read_adc_data, line 28. [13:47:23] at [13:47:23] file C:\Users\FUJITSU\AppData\Local\Temp\FUJITSU\mcrCache8.5.1\Matlab0\MatlabPostPr\process_adc_data.m, name process_adc_data, line 52. [13:47:23] [13:47:23] [13:47:23] Trace: [13:47:23] at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn) [13:47:23] at MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn) [13:47:23] at MatlabPostProcGui.MatlabPostProcGUIClass.process_adc_data(MWArray adc_file_name, MWArray force_cont_stream_mode) [13:47:23] at AR1xController.frmAR1Main.iStartMtlabPostProc() [13:47:33] [13:47:33] ***Script completed successfully.*** [13:55:45] RSTD.ShowLogFile() [13:56:39] RSTD.ShowVerboseLogFile() [13:57:05] RSTD.ShowLogFile()
The Log file says that the adc_data.bin file is empty. And before that, it says Ethernet cable is disconnected. I have used another cable also but result is the same failure. In addition, I can see in the Windows LAN setting that the LAN cable is connected (showing an 'Unidentified Network').
Can you please help how to overcome this issue.
Thanking you in advance.