Other Parts Discussed in Thread: AWR1243
Hello,
I want to use AWR1243EVM+Devpack+TSW1400EVM to capture raw ADC data. And I just follow the approach from
https://training.ti.com/mmwave-sensor-raw-data-capture-using-tsw1400-board?cu=1128486 . After I selected the values in the Config tab of Radar Studio and clicked the button:SetUp TSW1400, TSW1400 ARM, the Radar Studio output windows showed the following error :
GM: Constructor
GM: Wed Oct 11 21:30:45 2017
RSTD.Transmit("/Settings")
[21:30:45]
[21:30:45] ### Running Startup script: "F:\software\TI_DFP\rf_eval\radarstudio\Scripts\Startup.lua" ###
[21:30:45] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[21:30:45] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[21:30:45] Scripter ignored: Attempt to UnBuild() again or before Build.
[21:30:45] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "F:\\software\\TI_DFP\\rf_eval\\radarstudio\\Clients\\\\LabClient.dll")
[21:30:45] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[21:30:45] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[21:30:45] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[21:30:45] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[21:30:45] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[21:30:45] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "F:\\software\\TI_DFP\\rf_eval\\radarstudio\\RunTime\\SAL.dll")
[21:30:45] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[21:30:45] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[21:30:45] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[21:30:45] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[21:30:45] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[21:30:45] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[21:30:45] RSTD.Transmit("/")
[21:30:45] RSTD.SaveSettings(): Settings saved to "C:\Users\DELL\AppData\Roaming\RSTD\config.xml"
[21:30:45] RSTD.Build()
[21:30:45] RSTD.SaveSettings(): Settings saved to "C:\Users\DELL\AppData\Roaming\RSTD\config.xml"
[21:30:45] RSTD.Transmit("/")
[21:30:45] RSTD.AL_Build()
[21:30:45] RSTD.AL_LoadXml()
[21:30:45] RSTD.Transmit("/")
[21:30:45] RSTD.AL_Init()
[21:30:45] RSTD.Clients_Build()
[21:30:45] GM: Init
[21:30:45] GM: Loaded 'F:\software\TI_DFP\rf_eval\radarstudio\Clients\\LabClient.dll'
[21:30:45] GM: 1 Guest (s) init
[21:30:45] GM: 1 Module(s) init
[21:30:45] GM: 2 Tab (s) init
[21:30:46] RSTD.Client_LoadXml()
[21:30:46] [RadarAPI]: Starting Matlab Engine..
[21:32:33] [RadarAPI]: Matlab Engine Started!
[21:32:42] [RadarAPI]: ar1.LoadSettings('C:\Users\DELL\AppData\Roaming\RSTD\ar1gui.ini')
[21:32:44] TESTING = false
[21:32:44]
[21:32:44] ***Script completed successfully.***
[21:33:09] [RadarAPI]: Opening Gpio Control Port()
[21:33:09] [RadarAPI]: Status: Passed
[21:33:09] [RadarAPI]: Opening Board Control Port()
[21:33:09] [RadarAPI]: Status: Passed
[21:33:10] [RadarAPI]: ar1.FullReset()
[21:33:10] [RadarAPI]: Status: Passed
[21:33:11] [RadarAPI]: Closing Board Control Port()
[21:33:11] [RadarAPI]: Status: Passed
[21:33:11] [RadarAPI]: Closing Gpio Control Port()
[21:33:11] [RadarAPI]: Status: Passed
[21:33:11] [RadarAPI]: ar1.SOPControl(2)
[21:33:11] [RadarAPI]: Status: Passed
[21:33:13] [RadarAPI]: ar1.Connect(6,921600,1000)
[21:33:17] [RadarAPI]: Warning: Connected with baudrate 115200
[21:33:18] [RadarAPI]: Warning: Disconnected existing BaudRate
[21:33:18] [RadarAPI]: Warning: Trying to connect with baudrate 921600
[21:33:20] [RadarAPI]: ar1.Calling_IsConnected()
[21:33:20] [RadarAPI]: ar1.SelectChipVersion("XWR1243")
[21:33:20] [RadarAPI]: Status: Passed
[21:33:21] [RadarAPI]: ar1.SelectChipVersion("XWR1243")
[21:33:21] [RadarAPI]: Status: Passed
[21:33:21] [RadarAPI]: ar1.SaveSettings('C:\Users\DELL\AppData\Roaming\RSTD\ar1gui.ini')
[21:33:39] [RadarAPI]: ar1.DownloadBSSFw("F:\\software\\TI_DFP\\firmware\\radarss\\xwr12xx_xwr14xx_radarss.bin")
[21:33:40] [RadarAPI]: Downloading BSS ROM Legacy Binary..
[21:33:50] [RadarAPI]: ar1.DownloadMSSFw("F:\\software\\TI_DFP\\firmware\\masterss\\xwr12xx_masterss.bin")
[21:33:51] [RadarAPI]: Downloading MSS Legacy Binary..
[21:34:09] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
[21:34:09] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
[21:34:09] [RadarAPI]: ar1.SaveSettings('C:\Users\DELL\AppData\Roaming\RSTD\ar1gui.ini')
[21:36:01] [RadarAPI]: ar1.RfEnable()
[21:36:01] [RadarAPI]: Status: Failed, Error Type: INVALID INPUT
[21:36:01] [RadarAPI]: Error Occurred in Port open close
[21:36:13] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
[21:36:13] [RadarAPI]: Status: Passed
[21:36:13] [RadarAPI]: ar1.SaveSettings('C:\Users\DELL\AppData\Roaming\RSTD\ar1gui.ini')
[21:36:13] [RadarAPI]: Unknown Async event recieved(0)
[21:36:20] [RadarAPI]: ar1.RfEnable()
[21:36:20] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
[21:36:20] [RadarAPI]: Warning: Mismatched MSS firmware version!
[21:36:21] [RadarAPI]: Warning: BSS firmware version Mismatch!
[21:37:00] [RadarAPI]: ar1.ChanNAdcConfig(1, 0, 0, 1, 0, 0, 0, 2, 2, 0)
[21:37:01] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
[21:37:05] [RadarAPI]: ar1.LPModConfig(0, 0)
[21:37:06] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
[21:37:08] [RadarAPI]: ar1.RfInit()
[21:37:09] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
[21:37:14] [RadarAPI]: ar1.DataPathConfig(1, 1, 0)
[21:37:15] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
[21:37:56] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
[21:37:57] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
[21:38:00] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
[21:38:01] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
[21:38:04] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 0, 0, 0, 1, 0, 0)
[21:38:05] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
[21:38:20] [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 10000, 0, 0, 30)
[21:38:21] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
[21:38:34] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
[21:38:35] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
[21:38:48] [RadarAPI]: ar1.DisableTestSource(0)
[21:38:49] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
[21:38:49] [RadarAPI]: ar1.FrameConfig(0, 0, 32, 128, 40, 0, 1)
[21:38:50] [RadarAPI]: Status: Failed, Error Type: RESP TIMEOUT
[21:38:50] [RadarAPI]: MatlabProc Status: Failed
[21:41:31] [RadarAPI]: ar1.SetupTSW1400()
[21:41:42] [RadarAPI]: TSW1400 set-up complete.
[21:42:34] [RadarAPI]: ar1.StartTsw1400Arm("F:\\adc_data.bin")
[21:42:36] [RadarAPI]: Error:
[21:42:36]
[21:42:36] ... MWMCR::EvaluateFunction error ...
[21:42:36] 11-Oct-2017 21:42:34: Frame Config has not been populated,1,
[21:42:36] Error in => setup_for_triggered_capture_max_30_frames.m at line 6.
[21:42:36]
[21:42:36] ... Matlab M-code Stack Trace ...
[21:42:36] at
[21:42:36] file C:\Users\DELL\AppData\Local\Temp\DELL\mcrCache8.5.1\Matlab0\Logging\log_status.m, name log_status, line 32.
[21:42:36] at
[21:42:36] file C:\Users\DELL\AppData\Local\Temp\DELL\mcrCache8.5.1\Matlab0\MatlabPostPr\setup_for_triggered_capture_max_30_frames.m, name setup_for_triggered_capture_max_30_frames, line 6.
[21:42:36]
[21:42:36]
[21:42:36] Trace:
[21:42:36] 在 MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
[21:42:36] 在 MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, MWArray[] argsIn)
[21:42:36] 在 MatlabPostProcGui.MatlabPostProcGUIClass.setup_for_triggered_capture_max_30_frames(MWArray FilePathWithName)
[21:42:36] 在 AR1xController.frmAR1Main.iStartTSW1400IF()
I have installed the Matlab runtime v8.5.1 win32 bit , and my computer install the Matlab 2014b. If the Matlab runtime v8.5.1 win32 bit conflicts with existing Matlab 2014b.
Can anyone help me? thanks a lot !
-Jason
conflict with an existing Matlab installtion