This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I have one AWR1642BOOST EVM (ES2.0) and one DCA1000 EVM. Earlier, I was using mmwave Studioe 02.00.00.02 and FPGA version was 2.7. I am using it on a Dell Laptop with windows 10 OS.
Then I installed latest mmwave Studio 02.01.00.00. I updated the FPGA binary as advised in section 9 of document DCA1000 EVM Data Capture Card (spruij4a.pdf). I followed all the steps as advised. The Lattice Diamond Standalone Programmer 3.10 64-bit Windows was used and in the end it showed successful operation.
Then I tried to use mmwave Studio 02.01.00.00. Where and when required, I allowed access through Windows Firewall. (I even attempted disabling Windows Firewall altogether).
I have set the IP address as advised in mmwave Studio User Guide. However, in "Sensor Config" tab, when i click "Setup DCA1000" button and then I click "Connect, Reset and Configure", then after that the output console of mmwave Studio shows error " Unable to read FPGA Version. [error -5] "
The "Output Log" is attached as text file to this message.
GM: Constructor GM: Wed Dec 18 17:17:09 2019 RSTD.Transmit("/Settings") [17:17:10] [17:17:10] ### Running Startup script: "C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\Scripts\Startup.lua" ### [17:17:10] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1") [17:17:10] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss") [17:17:11] Scripter ignored: Attempt to UnBuild() again or before Build. [17:17:11] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Clients\\\\LabClient.dll") [17:17:11] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE") [17:17:11] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE") [17:17:11] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE") [17:17:11] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE") [17:17:11] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE") [17:17:11] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\RunTime\\SAL.dll") [17:17:11] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "") [17:17:11] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE") [17:17:11] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1") [17:17:11] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE") [17:17:11] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE") [17:17:11] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false") [17:17:11] RSTD.Transmit("/") [17:17:11] RSTD.SaveSettings(): Settings saved to "C:\Users\Admin\AppData\Roaming\RSTD\config.xml" [17:17:11] RSTD.Build() [17:17:11] RSTD.SaveSettings(): Settings saved to "C:\Users\Admin\AppData\Roaming\RSTD\config.xml" [17:17:11] RSTD.Transmit("/") [17:17:11] RSTD.AL_Build() [17:17:11] RSTD.AL_LoadXml() [17:17:11] RSTD.Transmit("/") [17:17:11] RSTD.AL_Init() [17:17:11] RSTD.Clients_Build() [17:17:11] GM: Init [17:17:11] GM: Loaded 'C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\Clients\\LabClient.dll' [17:17:11] GM: 1 Guest (s) init [17:17:11] GM: 1 Module(s) init [17:17:11] GM: 2 Tab (s) init [17:17:11] RSTD.Client_LoadXml() [17:17:12] [RadarAPI]: ar1.selectRadarMode(0) [17:17:12] [RadarAPI]: Status: Passed [17:17:12] Matlab Runtime Engine is installed [17:17:12] [RadarAPI]: Starting Matlab Engine.. [17:17:42] [RadarAPI]: Matlab Engine Started! [17:17:45] [RadarAPI]: ar1.selectCascadeMode(0) [17:17:45] [RadarAPI]: Status: Passed [17:17:45] [RadarAPI]: ar1.LoadSettings('C:\Users\Admin\AppData\Roaming\RSTD\ar1gui.ini') [17:17:45] TESTING = false [17:17:45] RstdNet: Port 2777: Listening.. [17:17:45] [17:17:45] ***Script completed successfully.*** [17:18:12] [RadarAPI]: ar1.frequencyBandSelection("77G") [17:18:14] [RadarAPI]: ar1.SelectChipVersion("AR1642") [17:18:14] [RadarAPI]: Status: Passed [17:18:14] [RadarAPI]: ar1.deviceVariantSelection("XWR1642") [17:18:14] [RadarAPI]: Status: Passed [17:18:18] [RadarAPI]: Opening Gpio Control Port() [17:18:18] [RadarAPI]: Status: Passed [17:18:19] [RadarAPI]: Opening Board Control Port() [17:18:19] [RadarAPI]: Status: Passed [17:18:20] [RadarAPI]: ar1.FullReset() [17:18:20] [RadarAPI]: Status: Passed [17:18:20] [RadarAPI]: Closing Board Control Port() [17:18:20] [RadarAPI]: Status: Passed [17:18:20] [RadarAPI]: Closing Gpio Control Port() [17:18:20] [RadarAPI]: Status: Passed [17:18:20] [RadarAPI]: ar1.SOPControl(2) [17:18:20] [RadarAPI]: Status: Passed [17:18:26] [RadarAPI]: ar1.Connect(4,921600,1000) [17:18:29] [RadarAPI]: Warning: Connected with baudrate 115200 [17:18:30] [RadarAPI]: Warning: Disconnected existing BaudRate [17:18:30] [RadarAPI]: Warning: Trying to connect with baudrate 921600 [17:18:31] [RadarAPI]: ar1.Calling_IsConnected() [17:18:33] [RadarAPI]: ar1.SelectChipVersion("AR1642") [17:18:33] [RadarAPI]: Status: Passed [17:18:33] [RadarAPI]: ar1.SelectChipVersion("XWR1642") [17:18:33] [RadarAPI]: Status: Passed [17:18:33] Device Status : XWR1642/ASIL-B/SOP:2/ES:2 [17:18:33] [RadarAPI]: ar1.SaveSettings('C:\Users\Admin\AppData\Roaming\RSTD\ar1gui.ini') [17:18:48] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_00_00\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin") [17:18:48] [RadarAPI]: Downloading BSS Patch RPRC Binary.. [17:18:50] [RadarAPI]: ar1.GetBSSFwVersion() [17:18:50] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17)) [17:18:51] [RadarAPI]: ar1.GetBSSPatchFwVersion() [17:18:51] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19)) [17:18:54] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_00_00\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin") [17:18:54] [RadarAPI]: Downloading MSS RPRC Binary.. [17:18:56] [RadarAPI]: ar1.GetMSSFwVersion() [17:18:56] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19)) [17:18:59] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0) [17:18:59] [RadarAPI]: Status: Passed [17:19:00] MSS power up done async event received! [17:19:04] [RadarAPI]: ar1.SelectChipVersion("AR1642") [17:19:04] [RadarAPI]: Status: Passed [17:19:04] [RadarAPI]: ar1.SelectChipVersion("XWR1642") [17:19:04] [RadarAPI]: Status: Passed [17:19:04] Device Status : XWR1642/ASIL-B/SOP:2/ES:2 [17:19:04] [RadarAPI]: ar1.RfEnable() [17:19:04] [RadarAPI]: Status: Passed [17:19:04] BSS power up done async event received! [17:19:04] [RadarAPI]: ar1.GetMSSFwVersion() [17:19:04] [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19)) [17:19:05] [RadarAPI]: ar1.GetBSSFwVersion() [17:19:05] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17)) [17:19:05] [RadarAPI]: ar1.GetBSSPatchFwVersion() [17:19:05] [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19)) [17:19:18] [RadarAPI]: ar1.ChanNAdcConfig(1, 0, 0, 1, 0, 0, 0, 2, 2, 0) [17:19:18] [RadarAPI]: Status: Passed [17:19:23] [RadarAPI]: ar1.LPModConfig(0, 0) [17:19:23] [RadarAPI]: Status: Failed, Error Type: REGULAR ADC MODE NOT SUPPORTED IN 5 MHz PART VARIANT DEVICE [17:19:32] [RadarAPI]: ar1.RfInit() [17:19:32] [RadarAPI]: Status: Passed [17:19:32] RF Init async event received! [17:19:32] [RadarAPI]: Time stamp, Temperture: 28060,40; 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:19:43] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0) [17:19:43] [RadarAPI]: Status: Passed [17:19:44] [RadarAPI]: ar1.LvdsClkConfig(1, 1) [17:19:44] [RadarAPI]: Status: Passed [17:19:49] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0) [17:19:50] [RadarAPI]: Status: Passed [17:20:04] [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 10000, 0, 0, 30) [17:20:04] [RadarAPI]: Status: Passed [17:20:10] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0) [17:20:10] [RadarAPI]: Status: Passed [17:20:12] Test Source Already Disabled...!!! [17:20:12] [RadarAPI]: ar1.DisableTestSource(0) [17:20:12] [RadarAPI]: Status: Passed [17:20:12] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 0, 1) [17:20:12] [RadarAPI]: Status: Passed [17:20:17] [RadarAPI]: ar1.GetCaptureCardDllVersion() [17:20:17] [RadarAPI]: Sending dll_version command to DCA1000 [17:20:17] [RadarAPI]: [17:20:17] DLL Version : 1.0 [17:20:17] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000") [17:20:17] [RadarAPI]: Status: Passed [17:20:23] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098) [17:20:23] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30) [17:20:23] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25) [17:20:23] [RadarAPI]: Sending fpga command to DCA1000 [17:20:34] [RadarAPI]: [17:20:34] FPGA Configuration : [17:20:34] Timeout Error! System disconnected [17:20:34] [RadarAPI]: Sending record command to DCA1000 [17:20:44] [RadarAPI]: [17:20:44] Configure Record : [17:20:44] Timeout Error! System disconnected [17:20:44] [RadarAPI]: ar1.GetCaptureCardFPGAVersion() [17:20:44] [RadarAPI]: Sending fpga_version command to DCA1000 [17:20:54] [RadarAPI]: [17:20:54] [17:20:54] Unable to read FPGA Version. [error -5] [17:20:54] [17:22:05] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098) [17:22:05] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30) [17:22:05] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25) [17:22:05] [RadarAPI]: Sending fpga command to DCA1000 [17:22:16] [RadarAPI]: [17:22:16] FPGA Configuration : [17:22:16] Timeout Error! System disconnected [17:22:16] [RadarAPI]: Sending record command to DCA1000 [17:22:26] [RadarAPI]: [17:22:26] Configure Record : [17:22:26] Timeout Error! System disconnected [17:22:26] [RadarAPI]: ar1.GetCaptureCardFPGAVersion() [17:22:26] [RadarAPI]: Sending fpga_version command to DCA1000 [17:22:36] [RadarAPI]: [17:22:36] [17:22:36] Unable to read FPGA Version. [error -5] [17:22:36] [17:26:52] RSTD.ShowLogFile()
Can you please guide what is the problem and how can I solve it to use AWR1642BOOST + DCA1000 EVM with mmwave Studio 02.01.00.00 and FPGA version 2.8 ?
As a further step to re-check, I re-installed FPGA version 2.7 using the same steps and it worked fine with mmwave Studio 02.00.00.02. I then again attempted to use FPGA version 2.8 with mmwave Studio 02.01.00.00, but again had same failure.
Thanks in advance for your help.
Hello Alper,
If you flash the FPGA version 2.7 and use with mmwave studio 2..01 does it work?
regards,
Vivek
Hi Vivek,
1. I flashed the FPGA version 2.7 and it worked with older mmwave Studio 02.00.00.02 and it worked fine as it had worked before.
2. I then tested same FPGA version 2.7 with mmwave Studio 02.01.00.00 and it DID NOT work and gave the same error as I mentioned above.
Regards
Hello Alper,
In the mmwave studio 2.01 there will be a "cf.json" file created the postproc folder of the mmwave studio installation. Can you share that file?
Regards,
Vivek
Hi Vivek,
sorry for my late reply/
Sure, I am attaching the file (cf.json) required by you.
NOTE : This TI webpage was not allowing me to attached cf.json , therefore, I open and saved the cf.txt file in Notepad and then attached it to this message. I hope it works well for you.
{ "DCA1000Config": { "dataLoggingMode": "raw", "dataTransferMode": "LVDSCapture", "dataCaptureMode": "ethernetStream", "lvdsMode": 2, "dataFormatMode": 3, "packetDelay_us": 25, "ethernetConfig": { "DCA1000IPAddress": "192.168.33.180", "DCA1000ConfigPort": 4096, "DCA1000DataPort": 4098 }, "ethernetConfigUpdate": { "systemIPAddress": "192.168.33.30", "DCA1000IPAddress": "192.168.33.180", "DCA1000MACAddress": "12.34.56.78.90.12", "DCA1000ConfigPort": 4096, "DCA1000DataPort": 4098 }, "captureConfig": { "fileBasePath": "C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\PostProc", "filePrefix": "adc_data", "maxRecFileSize_MB": 1024, "sequenceNumberEnable": 1, "captureStopMode": "infinite", "bytesToCapture": 4000, "durationToCapture_ms": 4000, "framesToCapture": 40 }, "dataFormatConfig": { "MSBToggle": 0, "laneFmtMap": 0, "reorderEnable": 0, "dataPortConfig": [ { "portIdx": 0, "dataType": "real" }, { "portIdx": 1, "dataType": "complex" }, { "portIdx": 2, "dataType": "real" }, { "portIdx": 3, "dataType": "real" }, { "portIdx": 4, "dataType": "complex" } ] } } }
Regards
Hello Alper,
The json file seems to be fine. We have not seen this issue before.
Could you try another experiment? In the Postproc folder of the mmwave studio there is a "DCA1000EVM_CLI_Control.exe" CLI executable. From the windows command prompt can you call the following command :
C:\D\TI\mmwave_studio_02_01_00_00\mmWaveStudio\PostProc>DCA1000EVM_CLI_Control.exe fpga cf.json
Keep the same Json file in the folder as you have attached. Power up the DCA1000 and connect the ethernet cable and try this. You need not open the mmwave studio for this experiment.
If this also returns with a system disconnected error can you re install the mmwave studio in some other location like D: incase that is available on your PC?
regards,
Vivek
Hi Vivek,
I tried the above two steps advised by you by the result is still the failure unfortunately. Following are the details:
1- I followed this advice from you :
" In the Postproc folder of the mmwave studio there is a "DCA1000EVM_CLI_Control.exe" CLI executable. From the windows command prompt can you call the following command :
C:\D\TI\mmwave_studio_02_01_00_00\mmWaveStudio\PostProc>DCA1000EVM_CLI_Control.exe fpga cf.json
Keep the same Json file in the folder as you have attached. Power up the DCA1000 and connect the ethernet cable and try this. You need not open the mmwave studio for this experiment. "
The following screenshot i obtained on the command window.
2- Then, I installed mmwave studio 02.01.00.00 in another directory on my PC, i.e. D, but when I tried to use it, it gave same problem as I mentioned in my first post dated 18th Dec, 2019.
Waiting for your further advice.
Regards
Hello Alper,
Thanks a lot for sharing the error details. It looks like the exe does not have permission to open the file and hence its no able to open the cf.json file.
Can you right click on the DCA1000EVM_CLI_Control.exe and verify in the properties that read write permission are available to this exe? Maybe they have been blocked on your system.
regards,
Vivek
Hello Alper,
Can you also check the cf.json file if there are all permissions available to access it?
Regards,
Vivek