Other Parts Discussed in Thread: MMWAVEICBOOST, , IWR6843AOPEVM, IWR6843
Hi, TI support team.
Now I use IWR6843AOPEVM(rev.F)+MMWAVEICBOOST+DCA1000EVM to capture raw ADC data and to investigate Radar application. I succeeded to get raw ADC data once according to the instructions explained in https://dev.ti.com/tirex/explore/node?a=VLyFKFf__4.12.0&node=ADM7JMPr28skUt9Iw1fYGQ__VLyFKFf__4.12.0. But after that, DCA conncetion operation in mmWave Studio got failed every time and I couldn't get ADC data from then.(I copy and paste this operation from mentioned link as below)
I have no idea of the trigger of this error. In the first time, I got FPGA version 2.8 messsage from "Output window", but now it doesn't appear in the window. Also error message doesn't appear as well, so I guess this may be different connection error discussed in the past posts. Now, Output window displays as follows:
GM: Constructor
GM: Wed Sep 07 11:18:47 2022
RSTD.Transmit("/Settings")
[11:18:47]
[11:18:47] ### Running Startup script: "C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Scripts\Startup.lua" ###
[11:18:48] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[11:18:48] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[11:18:48] Scripter ignored: Attempt to UnBuild() again or before Build.
[11:18:48] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
[11:18:48] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[11:18:48] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[11:18:48] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[11:18:48] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[11:18:48] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[11:18:48] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\RunTime\\SAL.dll")
[11:18:48] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[11:18:48] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[11:18:48] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[11:18:48] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[11:18:48] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[11:18:48] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[11:18:48] RSTD.Transmit("/")
[11:18:48] RSTD.SaveSettings(): Settings saved to "C:\Users\780107\AppData\Roaming\RSTD\config.xml"
[11:18:48] RSTD.Build()
[11:18:48] RSTD.SaveSettings(): Settings saved to "C:\Users\780107\AppData\Roaming\RSTD\config.xml"
[11:18:48] RSTD.Transmit("/")
[11:18:48] RSTD.AL_Build()
[11:18:48] RSTD.AL_LoadXml()
[11:18:48] RSTD.Transmit("/")
[11:18:48] RSTD.AL_Init()
[11:18:48] RSTD.Clients_Build()
[11:18:48] GM: Init
[11:18:48] GM: Loaded 'C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Clients\\LabClient.dll'
[11:18:48] GM: 1 Guest (s) init
[11:18:48] GM: 1 Module(s) init
[11:18:48] GM: 2 Tab (s) init
[11:18:48] RSTD.Client_LoadXml()
[11:18:48] [RadarAPI]: ar1.selectRadarMode(0)
[11:18:48] [RadarAPI]: Status: Passed
[11:18:48] Matlab Runtime Engine is installed
[11:18:48] [RadarAPI]: Starting Matlab Engine..
[11:18:53] [RadarAPI]: Matlab Engine Started!
[11:18:55] [RadarAPI]: ar1.selectCascadeMode(0)
[11:18:55] [RadarAPI]: Status: Passed
[11:18:55] [RadarAPI]: ar1.LoadSettings('C:\Users\780107\AppData\Roaming\RSTD\ar1gui.ini')
[11:18:56] TESTING = false
[11:18:56] RstdNet: Port 2777: Listening..
[11:18:56]
[11:18:56] ***Script completed successfully.***
[11:19:17] [RadarAPI]: Opening Gpio Control Port()
[11:19:17] [RadarAPI]: Status: Passed
[11:19:18] [RadarAPI]: Opening Board Control Port()
[11:19:18] [RadarAPI]: Status: Passed
[11:19:19] [RadarAPI]: ar1.FullReset()
[11:19:19] [RadarAPI]: Status: Passed
[11:19:20] [RadarAPI]: Closing Board Control Port()
[11:19:20] [RadarAPI]: Status: Passed
[11:19:20] [RadarAPI]: Closing Gpio Control Port()
[11:19:20] [RadarAPI]: Status: Passed
[11:19:20] [RadarAPI]: ar1.SOPControl(2)
[11:19:20] [RadarAPI]: Status: Passed
[11:19:47] [RadarAPI]: ar1.Connect(4,115200,1000)
[11:19:48] [RadarAPI]: ar1.Calling_IsConnected()
[11:19:50] Device Status : UnDetDe/QM/SOP:2/ES:2
[11:19:50] [RadarAPI]: ar1.SaveSettings('C:\Users\780107\AppData\Roaming\RSTD\ar1gui.ini')
[11:19:55] [RadarAPI]: ar1.frequencyBandSelection("60G")
[11:19:57] [RadarAPI]: ar1.SelectChipVersion("IWR6843")
[11:19:57] [RadarAPI]: Status: Passed
[11:19:57] [RadarAPI]: ar1.deviceVariantSelection("IWR6843")
[11:19:57] [RadarAPI]: Status: Passed
[11:19:59] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\radarss\\xwr68xx_radarss.bin")
[11:19:59] [RadarAPI]: Downloading BSS ROM RPRC Binary..
[11:20:47] [RadarAPI]: ar1.GetBSSFwVersion()
[11:20:47] [RadarAPI]: BSSFwVersion:(06.02.01.05 (09/03/20))
[11:20:49] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\masterss\\xwr68xx_masterss.bin")
[11:20:50] [RadarAPI]: Downloading MSS RPRC Binary..
[11:21:09] [RadarAPI]: ar1.GetMSSFwVersion()
[11:21:09] [RadarAPI]: MSSFwVersion:(02.00.00.03 (27/08/19))
[11:21:12] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
[11:21:12] [RadarAPI]: Status: Passed
[11:21:12] MSS power up done async event received!
[11:21:13] Device Status : UnDetDe/QM/SOP:2/ES:2
[11:21:13] [RadarAPI]: ar1.RfEnable()
[11:21:13] BSS power up done async event received!
[11:21:13] [RadarAPI]: Status: Passed
[11:21:14] [RadarAPI]: ar1.GetMSSFwVersion()
[11:21:14] [RadarAPI]: MSSFwVersion:(02.00.00.03 (27/08/19))
[11:21:14] [RadarAPI]: ar1.GetBSSFwVersion()
[11:21:14] [RadarAPI]: BSSFwVersion:(06.02.01.05 (09/03/20))
[11:22:02] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
[11:22:02] [RadarAPI]: Status: Passed
[11:22:06] [RadarAPI]: ar1.RfLdoBypassConfig(0x0)
[11:22:06] [RadarAPI]: Status: Passed
[11:22:07] [RadarAPI]: ar1.LPModConfig(0, 0)
[11:22:07] [RadarAPI]: Status: Passed
[11:22:08] [RadarAPI]: ar1.RfInit()
[11:22:08] RF Init async event received!
[11:22:08] [RadarAPI]: Status: Passed
[11:22:08] [RadarAPI]: Time stamp, Temperture: 54467,48; 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: 1, 1; RxIQMM Status, Update: 1, 1;
[11:22:15] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
[11:22:15] [RadarAPI]: Status: Passed
[11:22:17] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
[11:22:17] [RadarAPI]: Status: Passed
[11:22:19] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
[11:22:19] [RadarAPI]: Status: Passed
[11:22:23] [RadarAPI]: ar1.ProfileConfig(0, 60, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 10000, 0, 131072, 30)
[11:22:23] [RadarAPI]: Status: Passed
[11:22:27] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
[11:22:27] [RadarAPI]: Status: Passed
[11:22:29] Test Source Already Disabled...!!!
[11:22:29] [RadarAPI]: ar1.DisableTestSource(0)
[11:22:29] [RadarAPI]: Status: Passed
[11:22:29] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 0, 1)
[11:22:29] [RadarAPI]: Status: Passed
[11:22:54] [RadarAPI]: ar1.GetCaptureCardDllVersion()
[11:22:54] [RadarAPI]: Sending dll_version command to DCA1000
[11:22:54] [RadarAPI]:
[11:22:54] DLL Version : 1.0
[11:22:54] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
[11:22:54] [RadarAPI]: Status: Passed
[11:23:14] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
[11:23:14] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
[11:23:14] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
According to the mmwave_studio_user_guide.pdf(9.3 Frame Config=>5. Setup DCA1000 ADC capture card => d. Ensure that FPGA version is read by the GUI as shown below), right output should be as follows:
[RadarAPI]: Sending fpga command to DCA1000
[RadarAPI]:
FPGA Configuration command : Success
[RadarAPI]: Sending record command to DCA1000
[RadarAPI]:
Configure Record command : Success
[RadarAPI]: ar1.GetCaptureCardFPGAVersion()
[RadarAPI]: Sending fpga_version command to DCA1000
[RadarAPI]:
FPGA Version : 2.8
But in fact, FPGA version doesn't appear. I tried DCA1000EVM_CLI_Control.exe to issue fpga_version command, but no response is returned, like this:
c:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\PostProc>DCA1000EVM_CLI_Control.exe fpga_version 220907_configFile.json
c:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\PostProc>
Here, contents of fpga_version 220907_configFile.json is:
"ethernetConfig": {
"DCA1000IPAddress": "192.168.33.180",
"DCA1000ConfigPort": 4096,
"DCA1000DataPort": 4098
}
following TI_DCA1000EVM_CLI_Software_UserGuide.pdf description.
Finally, I reflashed the FPGA of DCA1000 according to spruij4a.pdf. Reflashing could be done successfully (normally 5V LED and LD14 "Done" LED glows), but can't get FPGA version. Could you please help to resolve this error? Of course, I turn off firewall settings and WiFi. I am using windows10 64bit version.
Best regards,
E.Morishita