Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

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.

DCA1000EVM: Timeout Error! System disconnected

Part Number: DCA1000EVM
Other Parts Discussed in Thread: IWR6843

I'm trying to use DCA1000EVM with MMWAVEICBOOST on mmWave Studio 2.1.0.0. I have installed all the relevant software in mmWave Studio user guide, and DCA1000EVM user guide. My computer is connected to both of the devices, with static IP configured as given, and firewall disabled.

When I’m triggering a frame (following instruction like in the https://training.ti.com/dca1000-training-video

I get a Timeout Error! System disconnected (see log1 below)

 

when I'm trying to use DataCaptureDemo_xWR.lua, modified the script by adding a delay

RSTD.Sleep(2000) after ar1.CaptureCardConfig_StartRecord(adc_data_path, 1) (as recommended in another thread ) 

I receive "no of files captured is zero error". (cf log 2 below)

log1:

15:59:14]  [RadarAPI]: Sending fpga_version command to DCA1000
[15:59:14]  [RadarAPI]:
[15:59:14]  
[15:59:14]  FPGA Version : 2.7 [Record]
[15:59:14]  
[15:59:26]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\PostProc\\adc_data.bin", 1)
[15:59:26]  [RadarAPI]: Sending start_record command to DCA1000
[15:59:47]  [RadarAPI]: ar1.StartFrame()
[15:59:47]  [RadarAPI]: Status: Passed
[15:59:47]  Frame start async event received!
[15:59:47]  [RadarAPI]: Frame Ended
[16:00:46]  [RadarAPI]:
[16:00:46]  Start Record command : Success
[16:00:46]  
[16:00:46]  Record Process :
[16:00:46]  Timeout Error! System disconnected
[16:00:46]  
[16:00:46]  Record stop is done successfully
[16:00:46]  Frame End async event received!
[16:00:46]  [RadarAPI]:

log2:

[16:02:53]  [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 0)
[16:02:54]  [RadarAPI]: Sending fpga command to DCA1000
[16:02:54]  [RadarAPI]:
[16:02:54]  FPGA Configuration command : Success
[16:02:54]  CaptureCardConfig_Mode Success
[16:02:54]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
[16:02:54]  [RadarAPI]: Sending fpga command to DCA1000
[16:02:54]  [RadarAPI]:
[16:02:54]  FPGA Configuration command : Success
[16:02:54]  [RadarAPI]: Sending record command to DCA1000
[16:02:54]  [RadarAPI]:
[16:02:54]  Configure Record command : Success
[16:02:54]  CaptureCardConfig_PacketDelay Success
[16:02:54]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
[16:02:54]  [RadarAPI]: Sending start_record command to DCA1000
[16:02:54]  [RadarAPI]: Status: Passed
[16:02:57]  [RadarAPI]: ar1.StartFrame()
[16:02:57]  [RadarAPI]: Status: Passed
[16:02:57]  Frame start async event received!
[16:02:57]  [RadarAPI]: Frame Ended
[16:02:57]  Frame End async event received!
[16:03:02]  Please wait for a few seconds for matlab post processing .....!!!!
[16:03:02]  [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
[16:03:02]  [RadarAPI]:     , Total no of frames for each device : 8
[16:03:02]  Error : The number of files captured is zero!
[16:03:12]  
[16:03:12]  ***Script completed successfully.***



Thanks for your help

  • Please try to upgrade the DCA1000 FPGA firmware to 2.8 version.  I have seen more stable connection after upgrade to 2.8.   It is described in section 3.2 (Updating the DCA1000 FPGA Binary) at radar studio users guide.

    Best, 

    Zigang

  • Hi Zigang

    I upgraded the FPGA firmware to 2.8  but got the same issue :(  (see log below)

    I m able to ping the 192.168.33.30 but when i ping the 192.168.33.180 I did not get any answer, I m wondering if it's the normal behavior ?

    BR

    Thomas

    [11:17:03]  [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [11:17:03]  [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
    [11:17:03]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [11:17:03]  [RadarAPI]: Sending fpga command to DCA1000
    [11:17:03]  [RadarAPI]:
    [11:17:03]  FPGA Configuration command : Success
    [11:17:03]  [RadarAPI]: Sending record command to DCA1000
    [11:17:03]  [RadarAPI]:
    [11:17:03]  Configure Record command : Success
    [11:17:03]  [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
    [11:17:03]  [RadarAPI]: Sending fpga_version command to DCA1000
    [11:17:03]  [RadarAPI]:
    [11:17:03]  
    [11:17:03]  FPGA Version : 2.8 [Record]
    [11:17:03]  
    [11:17:25]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\PostProc\\adc_data.bin", 1)
    [11:17:25]  [RadarAPI]: Sending start_record command to DCA1000
    [11:17:43]  [RadarAPI]: ar1.StartFrame()
    [11:17:43]  [RadarAPI]: Status: Passed
    [11:17:43]  Frame start async event received!
    [11:17:43]  [RadarAPI]: Frame Ended
    [11:18:45]  [RadarAPI]:
    [11:18:45]  Frame End async event received!
    [11:18:45]  [RadarAPI]:
    [11:18:45]  Start Record command : Success
    [11:18:45]  
    [11:18:45]  Record Process :
    [11:18:45]  Timeout Error! System disconnected
    [11:18:45]  
    [11:18:45]  Record stop is done successfully

  • HI, 

    it is normal that you can not ping the 192.168.33.180.  

    In the case that you do not have an error, but the raw data captured file is empty.  The Packet Delay in the DCA1000 configuration should be increased to 100-300us.

    Best,

    Zigang

  • The packet delay can be modified in DCA1000 setup, as shown below.

  • Hi,


    I increased the delay to 300us but still have the same issue (the error appear 1 minutes after that I triggered the Frame )

    [16:14:40]  Timeout Error! System disconnected

    BR

    Thomas


    the full log below:


    GM: Constructor
    GM: Thu Feb 06 16:10:37 2020
    RSTD.Transmit("/Settings")
    [16:10:37]  
    [16:10:37]  ### Running Startup script: "C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\Scripts\Startup.lua" ###
    [16:10:37]  RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [16:10:37]  RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [16:10:37]  Scripter ignored: Attempt to UnBuild() again or before Build.
    [16:10:37]  RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [16:10:37]  RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [16:10:37]  RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [16:10:37]  RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [16:10:37]  RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [16:10:37]  RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [16:10:37]  RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\RunTime\\SAL.dll")
    [16:10:37]  RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [16:10:37]  RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [16:10:37]  RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [16:10:37]  RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [16:10:37]  RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [16:10:37]  RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [16:10:37]  RSTD.Transmit("/")
    [16:10:37]  RSTD.SaveSettings(): Settings saved to "C:\Users\tsl\AppData\Roaming\RSTD\config.xml"
    [16:10:37]  RSTD.Build()
    [16:10:37]  RSTD.SaveSettings(): Settings saved to "C:\Users\tsl\AppData\Roaming\RSTD\config.xml"
    [16:10:37]  RSTD.Transmit("/")
    [16:10:37]  RSTD.AL_Build()
    [16:10:37]  RSTD.AL_LoadXml()
    [16:10:37]  RSTD.Transmit("/")
    [16:10:37]  RSTD.AL_Init()
    [16:10:37]  RSTD.Clients_Build()
    [16:10:37]  GM: Init
    [16:10:37]  GM: Loaded 'C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\Clients\\LabClient.dll'
    [16:10:37]  GM: 1 Guest (s) init
    [16:10:37]  GM: 1 Module(s) init
    [16:10:37]  GM: 2 Tab   (s) init
    [16:10:37]  RSTD.Client_LoadXml()
    [16:10:37]  [RadarAPI]: ar1.selectRadarMode(0)
    [16:10:37]  [RadarAPI]: Status: Passed
    [16:10:37]  Matlab Runtime Engine is installed
    [16:10:37]  [RadarAPI]: Starting Matlab Engine..
    [16:10:40]  [RadarAPI]: Matlab Engine Started!
    [16:10:41]  [RadarAPI]: ar1.selectCascadeMode(0)
    [16:10:41]  [RadarAPI]: Status: Passed
    [16:10:41]  [RadarAPI]: ar1.LoadSettings('C:\Users\tsl\AppData\Roaming\RSTD\ar1gui.ini')
    [16:10:42]  TESTING = false
    [16:10:42]  RstdNet: Port 2777: Listening..
    [16:10:42]  
    [16:10:42]  ***Script completed successfully.***
    [16:10:48]  [RadarAPI]: Opening Gpio Control Port()
    [16:10:48]  [RadarAPI]: Status: Passed
    [16:10:48]  [RadarAPI]: Opening Board Control Port()
    [16:10:48]  [RadarAPI]: Status: Passed
    [16:10:49]  [RadarAPI]: ar1.FullReset()
    [16:10:49]  [RadarAPI]: Status: Passed
    [16:10:50]  [RadarAPI]: Closing Board Control Port()
    [16:10:50]  [RadarAPI]: Status: Passed
    [16:10:50]  [RadarAPI]: Closing Gpio Control Port()
    [16:10:50]  [RadarAPI]: Status: Passed
    [16:10:50]  [RadarAPI]: ar1.SOPControl(2)
    [16:10:50]  [RadarAPI]: Status: Passed
    [16:10:51]  [RadarAPI]: ar1.Connect(14,921600,1000)
    [16:10:53]  [RadarAPI]: Warning: Connected with baudrate 115200
    [16:10:54]  [RadarAPI]: Warning: Disconnected existing BaudRate
    [16:10:55]  [RadarAPI]: Warning: Trying to connect with baudrate 921600
    [16:10:56]  [RadarAPI]: ar1.Calling_IsConnected()
    [16:10:57]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")
    [16:10:57]  [RadarAPI]: Status: Passed
    [16:10:57]  [RadarAPI]: ar1.frequencyBandSelection("60G")
    [16:10:57]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")
    [16:10:57]  [RadarAPI]: Status: Passed
    [16:10:57]  Device Status : IWR6843/QM/SOP:2/ES:2
    [16:10:57]  [RadarAPI]: ar1.SaveSettings('C:\Users\tsl\AppData\Roaming\RSTD\ar1gui.ini')
    [16:11:01]  [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr68xx_radarss.bin")
    [16:11:02]  [RadarAPI]: Downloading BSS ROM RPRC Binary..
    [16:11:08]  [RadarAPI]: ar1.GetBSSFwVersion()
    [16:11:08]  [RadarAPI]: BSSFwVersion:(06.02.00.06 (22/08/19))
    [16:11:09]  [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr68xx_masterss.bin")
    [16:11:09]  [RadarAPI]: Downloading MSS RPRC Binary..
    [16:11:12]  [RadarAPI]: ar1.GetMSSFwVersion()
    [16:11:12]  [RadarAPI]: MSSFwVersion:(02.00.00.03 (27/08/19))
    [16:11:17]  [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [16:11:17]  [RadarAPI]: Status: Passed
    [16:11:17]  MSS power up done async event received!
    [16:11:20]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")
    [16:11:20]  [RadarAPI]: Status: Passed
    [16:11:20]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")
    [16:11:20]  [RadarAPI]: Status: Passed
    [16:11:20]  Device Status : IWR6843/QM/SOP:2/ES:2
    [16:11:20]  [RadarAPI]: ar1.RfEnable()
    [16:11:20]  BSS power up done async event received!
    [16:11:20]  [RadarAPI]: Status: Passed
    [16:11:20]  [RadarAPI]: ar1.GetMSSFwVersion()
    [16:11:20]  [RadarAPI]: MSSFwVersion:(02.00.00.03 (27/08/19))
    [16:11:21]  [RadarAPI]: ar1.GetBSSFwVersion()
    [16:11:21]  [RadarAPI]: BSSFwVersion:(06.02.00.06 (22/08/19))
    [16:11:28]  [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
    [16:11:28]  [RadarAPI]: Status: Passed
    [16:11:30]  [RadarAPI]: ar1.LPModConfig(0, 0)
    [16:11:30]  [RadarAPI]: Status: Passed
    [16:11:31]  [RadarAPI]: ar1.RfInit()
    [16:11:31]  RF Init async event received!
    [16:11:31]  [RadarAPI]: Status: Passed
    [16:11:31]  [RadarAPI]: Time stamp, Temperture: 11631,43; APLL Status, Update: 1, 0; SynthVCO1 Status, Update: 1, 1; SynthVCO2 Status, Update: 1, 1; LODist Status, Update: 1, 1; RxADCDC Status, Update: 0, 0; HPFcutoff Status, Update: 0, 0; LPFcutoff Status, Update: 0, 0; PeakDetector Status, Update: 0, 0; TxPower Status, Update: 0, 0; RxGain Status, Update: 0, 0; TxPhase Status, Update: 0, 0; RxIQMM Status, Update: 0, 0;
    [16:11:36]  [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
    [16:11:36]  [RadarAPI]: Status: Passed
    [16:11:37]  [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [16:11:37]  [RadarAPI]: Status: Passed
    [16:11:38]  [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [16:11:38]  [RadarAPI]: Status: Passed
    [16:11:52]  [RadarAPI]: ar1.ProfileConfig(0, 60, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 10000, 0, 131072, 30)
    [16:11:52]  [RadarAPI]: Status: Passed
    [16:11:55]  [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
    [16:11:55]  [RadarAPI]: Status: Passed
    [16:11:57]  Test Source Already Disabled...!!!
    [16:11:57]  [RadarAPI]: ar1.DisableTestSource(0)
    [16:11:57]  [RadarAPI]: Status: Passed
    [16:11:57]  [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 0, 1)
    [16:11:57]  [RadarAPI]: Status: Passed
    [16:11:59]  [RadarAPI]: ar1.GetCaptureCardDllVersion()
    [16:11:59]  [RadarAPI]: Sending dll_version command to DCA1000
    [16:11:59]  [RadarAPI]:
    [16:11:59]  DLL Version : 1.0
    [16:11:59]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [16:11:59]  [RadarAPI]: Status: Passed
    [16:12:35]  [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [16:12:35]  [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
    [16:12:35]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(300)
    [16:12:35]  [RadarAPI]: Sending fpga command to DCA1000
    [16:12:35]  [RadarAPI]:
    [16:12:35]  FPGA Configuration command : Success
    [16:12:35]  [RadarAPI]: Sending record command to DCA1000
    [16:12:35]  [RadarAPI]:
    [16:12:35]  Configure Record command : Success
    [16:12:35]  [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
    [16:12:35]  [RadarAPI]: Sending fpga_version command to DCA1000
    [16:12:35]  [RadarAPI]:
    [16:12:35]  
    [16:12:35]  FPGA Version : 2.8 [Record]
    [16:12:35]  
    [16:13:20]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\PostProc\\adc_data.bin", 1)
    [16:13:20]  [RadarAPI]: Sending start_record command to DCA1000
    [16:13:36]  [RadarAPI]: ar1.StartFrame()
    [16:13:36]  [RadarAPI]: Status: Passed
    [16:13:36]  Frame start async event received!
    [16:13:36]  Frame End async event received!
    [16:13:36]  [RadarAPI]: Frame Ended
    [16:14:40]  [RadarAPI]:
    [16:14:40]  Start Record command : Success
    [16:14:40]  
    [16:14:40]  Record Process :
    [16:14:40]  Timeout Error! System disconnected
    [16:14:40]  
    [16:14:40]  Record stop is done successfully
    [16:14:40]  [RadarAPI]:
    [16:14:40]  Start Record command : Success
    [16:14:40]  
    [16:14:40]  Record Process :
    [16:14:40]  Timeout Error! System disconnected
    [16:14:40]  
    [16:14:40]  Record stop is done successfully
    [16:14:40]  [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\PostProc\\adc_data.bin")
    [16:14:40]  [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 8
    [16:14:40]  [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\PostProc\\adc_data.bin")
    [16:14:40]  Error : The number of files captured is zero!



  • HI, Thomas:

    I am running out of ideas and I can not duplicate your problem on my PC.   I am consulting with other design engineers.   

    Best,

    Zigang

  • Former Member
    0 Former Member in reply to zigang Yang

    Hello Thomas,

    I've seen similar issues when the user's PC is behind a corporate firewall - often the firewall prevents data transfer over ethernet if wifi is also enabled. Could you try disabling your wifi adapter/firewall and then retrying the demo Lua script to see if the issue is resolved?

    Amanda

  • Hi Amanda,

    Thanks a lot for your help, the wifi is disabled but you are right we have a corporate firewall maybe the issue is related to it , I will contact some windows expert in house and let you know if I find something new

    Thanks again

    Thomas

  • Hello Amanda,

    I'm Frederic Garcia, a colleague of Thomas Solignac. We're both getting crazy trying to get raw data from the board. We've followed all the steps mentioned in the TI documentation, as well as your advice on the settings, BUT the timeout error persists:

    [14:36:53]  [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
    [14:36:53]  [RadarAPI]: Sending fpga_version command to DCA1000
    [14:36:53]  [RadarAPI]:
    [14:36:53]  
    [14:36:53]  FPGA Version : 2.8 [Record]
    [14:36:53]  
    [14:37:04]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
    [14:37:04]  [RadarAPI]: Sending start_record command to DCA1000
    [14:37:15]  [RadarAPI]: ar1.StartFrame()
    [14:37:15]  [RadarAPI]: Status: Passed
    [14:37:15]  Frame start async event received!
    [14:37:15]  [RadarAPI]: Frame Ended
    [14:38:24]  [RadarAPI]:
    [14:38:24]  Frame End async event received!
    [14:38:24]  [RadarAPI]:
    [14:38:24]  Start Record command : Success
    [14:38:24]  
    [14:38:24]  Record Process :
    [14:38:24]  Timeout Error! System disconnected
    [14:38:24]  
    [14:38:24]  Record stop is done successfully

    We've tried to configure different computers (Windows 10 and Windows 7) with and without firewall, with firewall exceptions (trusted zone) on IPs 192.168.33.30 and 192.168.33.180, but with the same unsuccessful result.

    So, we're really wondering if it might not be an issue on the hardware side or a miss-configuration of the pin-outs?

    Please, don't hesitate to reply us in case you have any other suggestion/idea.

    Please, find below the full LOG:

    GM: Constructor
    GM: Wed Feb 12 14:24:27 2020
    RSTD.Transmit("/Settings")
    [14:24:27]  
    [14:24:27]  ### Running Startup script: "C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\Scripts\Startup.lua" ###
    [14:24:27]  RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [14:24:27]  RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [14:24:27]  Scripter ignored: Attempt to UnBuild() again or before Build.
    [14:24:27]  RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [14:24:27]  RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [14:24:27]  RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [14:24:28]  RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [14:24:28]  RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [14:24:28]  RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [14:24:28]  RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\RunTime\\SAL.dll")
    [14:24:28]  RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [14:24:28]  RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [14:24:28]  RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [14:24:28]  RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [14:24:28]  RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [14:24:28]  RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [14:24:28]  RSTD.Transmit("/")
    [14:24:28]  RSTD.SaveSettings(): Settings saved to "C:\Users\fga\AppData\Roaming\RSTD\config.xml"
    [14:24:28]  RSTD.Build()
    [14:24:28]  RSTD.SaveSettings(): Settings saved to "C:\Users\fga\AppData\Roaming\RSTD\config.xml"
    [14:24:28]  RSTD.Transmit("/")
    [14:24:28]  RSTD.AL_Build()
    [14:24:28]  RSTD.AL_LoadXml()
    [14:24:28]  RSTD.Transmit("/")
    [14:24:28]  RSTD.AL_Init()
    [14:24:28]  RSTD.Clients_Build()
    [14:24:28]  GM: Init
    [14:24:28]  GM: Loaded 'C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\Clients\\LabClient.dll'
    [14:24:28]  GM: 1 Guest (s) init
    [14:24:28]  GM: 1 Module(s) init
    [14:24:28]  GM: 2 Tab   (s) init
    [14:24:28]  RSTD.Client_LoadXml()
    [14:24:28]  [RadarAPI]: ar1.selectRadarMode(0)
    [14:24:28]  [RadarAPI]: Status: Passed
    [14:24:28]  Matlab Runtime Engine is installed
    [14:24:28]  [RadarAPI]: Starting Matlab Engine..
    [14:24:31]  [RadarAPI]: Matlab Engine Started!
    [14:24:36]  [RadarAPI]: ar1.selectCascadeMode(0)
    [14:24:36]  [RadarAPI]: Status: Passed
    [14:24:36]  [RadarAPI]: ar1.LoadSettings('C:\Users\fga\AppData\Roaming\RSTD\ar1gui.ini')
    [14:24:36]  TESTING = false
    [14:24:36]  RstdNet: Port 2777: Listening..
    [14:24:36]  
    [14:24:36]  ***Script completed successfully.***
    [14:24:57]  [RadarAPI]: Opening Gpio Control Port()
    [14:24:57]  [RadarAPI]: Status: Passed
    [14:24:57]  [RadarAPI]: Opening Board Control Port()
    [14:24:57]  [RadarAPI]: Status: Passed
    [14:24:59]  [RadarAPI]: ar1.FullReset()
    [14:24:59]  [RadarAPI]: Status: Passed
    [14:24:59]  [RadarAPI]: Closing Board Control Port()
    [14:24:59]  [RadarAPI]: Status: Passed
    [14:24:59]  [RadarAPI]: Closing Gpio Control Port()
    [14:24:59]  [RadarAPI]: Status: Passed
    [14:24:59]  [RadarAPI]: ar1.SOPControl(2)
    [14:24:59]  [RadarAPI]: Status: Passed
    [14:26:54]  [RadarAPI]: ar1.Connect(8,921600,1000)
    [14:26:56]  [RadarAPI]: Warning: Connected with baudrate 115200
    [14:26:57]  [RadarAPI]: Warning: Disconnected existing BaudRate
    [14:26:58]  [RadarAPI]: Warning: Trying to connect with baudrate 921600
    [14:26:59]  [RadarAPI]: ar1.Calling_IsConnected()
    [14:27:00]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")
    [14:27:00]  [RadarAPI]: Status: Passed
    [14:27:00]  [RadarAPI]: ar1.frequencyBandSelection("60G")
    [14:27:00]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")
    [14:27:00]  [RadarAPI]: Status: Passed
    [14:27:01]  Device Status : IWR6843/QM/SOP:2/ES:2
    [14:27:01]  [RadarAPI]: ar1.SaveSettings('C:\Users\fga\AppData\Roaming\RSTD\ar1gui.ini')
    [14:27:05]  [RadarAPI]: ar1.ReadRegister(0xffffe214, 0, 31)
    [14:27:05]  [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31)
    [14:27:05]  [RadarAPI]: ar1.frequencyBandSelection("60G")
    [14:27:05]  [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31)
    [14:27:05]  [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr68xx_radarss.bin")
    [14:27:06]  [RadarAPI]: Downloading BSS ROM RPRC Binary..
    [14:27:12]  [RadarAPI]: ar1.GetBSSFwVersion()
    [14:27:12]  [RadarAPI]: BSSFwVersion:(06.02.00.06 (22/08/19))
    [14:27:12]  BSS FW Download Success
    [14:27:12]  [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr68xx_masterss.bin")
    [14:27:13]  [RadarAPI]: Downloading MSS RPRC Binary..
    [14:27:16]  [RadarAPI]: ar1.GetMSSFwVersion()
    [14:27:16]  [RadarAPI]: MSSFwVersion:(02.00.00.03 (27/08/19))
    [14:27:16]  MSS FW Download Success
    [14:27:16]  [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [14:27:16]  [RadarAPI]: Status: Passed
    [14:27:16]  MSS power up done async event received!
    [14:27:16]  Power On Success
    [14:27:17]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")
    [14:27:17]  [RadarAPI]: Status: Passed
    [14:27:17]  [RadarAPI]: ar1.SelectChipVersion("IWR6843")
    [14:27:17]  [RadarAPI]: Status: Passed
    [14:27:17]  Device Status : IWR6843/QM/SOP:2/ES:2
    [14:27:17]  [RadarAPI]: ar1.RfEnable()
    [14:27:17]  BSS power up done async event received!
    [14:27:17]  [RadarAPI]: Status: Passed
    [14:27:18]  [RadarAPI]: ar1.GetMSSFwVersion()
    [14:27:18]  [RadarAPI]: MSSFwVersion:(02.00.00.03 (27/08/19))
    [14:27:18]  [RadarAPI]: ar1.GetBSSFwVersion()
    [14:27:18]  [RadarAPI]: BSSFwVersion:(06.02.00.06 (22/08/19))
    [14:27:19]  RF Enable Success
    [14:27:19]  [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
    [14:27:19]  [RadarAPI]: Status: Passed
    [14:27:19]  ChanNAdcConfig Success
    [14:27:19]  [RadarAPI]: ar1.LPModConfig(0, 0)
    [14:27:19]  [RadarAPI]: Status: Passed
    [14:27:19]  Regualar mode Cfg Success
    [14:27:19]  [RadarAPI]: ar1.RfInit()
    [14:27:19]  RF Init async event received!
    [14:27:19]  [RadarAPI]: Time stamp, Temperture: 1543,36; APLL Status, Update: 1, 0; SynthVCO1 Status, Update: 1, 1; SynthVCO2 Status, Update: 1, 1; LODist Status, Update: 1, 1; RxADCDC Status, Update: 0, 0; HPFcutoff Status, Update: 0, 0; LPFcutoff Status, Update: 0, 0; PeakDetector Status, Update: 0, 0; TxPower Status, Update: 0, 0; RxGain Status, Update: 0, 0; TxPhase Status, Update: 0, 0; RxIQMM Status, Update: 0, 0;
    [14:27:19]  [RadarAPI]: Status: Passed
    [14:27:19]  RfInit Success
    [14:27:20]  [RadarAPI]: ar1.DataPathConfig(1, 1, 0)
    [14:27:20]  [RadarAPI]: Status: Passed
    [14:27:20]  DataPathConfig Success
    [14:27:20]  [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [14:27:20]  [RadarAPI]: Status: Passed
    [14:27:20]  LvdsClkConfig Success
    [14:27:20]  [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [14:27:20]  [RadarAPI]: Status: Passed
    [14:27:20]  LVDSLaneConfig Success
    [14:27:20]  [RadarAPI]: ar1.SetTestSource(4, 3, 0, 0, 0, 0, -327, 0, -327, 327, 327, 327, -2.5, 327, 327, 0, 0, 0, 0, -327, 0, -327, 327, 327, 327, -95, 0, 0, 0.5, 0, 1, 0, 1.5, 0, 0, 0, 0, 0, 0, 0)
    [14:27:21]  [RadarAPI]: Status: Passed
    [14:27:21]  Test Source Configuration Success
    [14:27:21]  [RadarAPI]: ar1.ProfileConfig(0, 60.25, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 10000, 0, 131072, 30)
    [14:27:21]  [RadarAPI]: Status: Passed
    [14:27:21]  ProfileConfig Success
    [14:27:21]  [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0)
    [14:27:21]  [RadarAPI]: Status: Passed
    [14:27:21]  ChirpConfig Success
    [14:27:21]  [RadarAPI]: ar1.EnableTestSource(1)
    [14:27:21]  [RadarAPI]: Status: Passed
    [14:27:21]  Enabling Test Source Success
    [14:27:21]  Test Source Already Enabled...!!!
    [14:27:21]  [RadarAPI]: ar1.EnableTestSource(1)
    [14:27:21]  [RadarAPI]: Status: Passed
    [14:27:21]  [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 0, 1)
    [14:27:21]  [RadarAPI]: Status: Passed
    [14:27:21]  FrameConfig Success
    [14:27:21]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [14:27:21]  [RadarAPI]: Status: Passed
    [14:27:21]  SelectCaptureDevice Success
    [14:27:21]  [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "c:22:38:4e:5a:c", 4096, 4098)
    [14:27:21]  [RadarAPI]: Sending fpga command to DCA1000
    [14:27:21]  [RadarAPI]:
    [14:27:21]  FPGA Configuration command : Success
    [14:27:21]  [RadarAPI]: Sending fpga_version command to DCA1000
    [14:27:21]  [RadarAPI]:
    [14:27:21]  
    [14:27:21]  FPGA Version : 2.8 [Record]
    [14:27:21]  
    [14:27:21]  CaptureCardConfig_EthInit Success
    [14:27:21]  [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 0)
    [14:27:21]  [RadarAPI]: Sending fpga command to DCA1000
    [14:27:22]  [RadarAPI]:
    [14:27:22]  FPGA Configuration command : Success
    [14:27:22]  CaptureCardConfig_Mode Success
    [14:27:22]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [14:27:22]  [RadarAPI]: Sending fpga command to DCA1000
    [14:27:22]  [RadarAPI]:
    [14:27:22]  FPGA Configuration command : Success
    [14:27:22]  [RadarAPI]: Sending record command to DCA1000
    [14:27:22]  [RadarAPI]:
    [14:27:22]  Configure Record command : Success
    [14:27:22]  CaptureCardConfig_PacketDelay Success
    [14:27:22]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
    [14:27:22]  [RadarAPI]: Sending start_record command to DCA1000
    [14:27:22]  [RadarAPI]: Status: Passed
    [14:27:23]  [RadarAPI]: ar1.StartFrame()
    [14:27:23]  [RadarAPI]: Status: Passed
    [14:27:23]  Frame start async event received!
    [14:27:23]  Frame End async event received!
    [14:27:23]  [RadarAPI]: Frame Ended
    [14:27:28]  Please wait for a few seconds for matlab post processing .....!!!!
    [14:27:28]  [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
    [14:27:28]  [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 8
    [14:27:28]  Error : The number of files captured is zero!
    [14:27:38]  
    [14:27:38]  ***Script completed successfully.***
    [14:36:45]  [RadarAPI]: ar1.GetCaptureCardDllVersion()
    [14:36:45]  [RadarAPI]: Sending dll_version command to DCA1000
    [14:36:46]  [RadarAPI]:
    [14:36:46]  DLL Version : 1.0
    [14:36:46]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [14:36:46]  [RadarAPI]: Status: Passed
    [14:36:51]  [RadarAPI]: ar1.CaptureCard_DisConnect()
    [14:36:51]  [RadarAPI]: Status:Passed
    [14:36:53]  [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [14:36:53]  [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
    [14:36:53]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(300)
    [14:36:53]  [RadarAPI]: Sending fpga command to DCA1000
    [14:36:53]  [RadarAPI]:
    [14:36:53]  FPGA Configuration command : Success
    [14:36:53]  [RadarAPI]: Sending record command to DCA1000
    [14:36:53]  [RadarAPI]:
    [14:36:53]  Configure Record command : Success
    [14:36:53]  [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
    [14:36:53]  [RadarAPI]: Sending fpga_version command to DCA1000
    [14:36:53]  [RadarAPI]:
    [14:36:53]  
    [14:36:53]  FPGA Version : 2.8 [Record]
    [14:36:53]  
    [14:37:04]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
    [14:37:04]  [RadarAPI]: Sending start_record command to DCA1000
    [14:37:15]  [RadarAPI]: ar1.StartFrame()
    [14:37:15]  [RadarAPI]: Status: Passed
    [14:37:15]  Frame start async event received!
    [14:37:15]  [RadarAPI]: Frame Ended
    [14:38:24]  [RadarAPI]:
    [14:38:24]  Frame End async event received!
    [14:38:24]  [RadarAPI]:
    [14:38:24]  Start Record command : Success
    [14:38:24]  
    [14:38:24]  Record Process :
    [14:38:24]  Timeout Error! System disconnected
    [14:38:24]  
    [14:38:24]  Record stop is done successfully

    Best regards,

    Frederic

  • Former Member
    0 Former Member in reply to Frederic Garcia

    Frederic,

    Thanks for posting your setup - yes you are correct. The issue appears to be the switch settings at SW2. 

    I duplicated what you have and was able to replicate your same error.

    Please try setting SW2 as shown in the User's Guide - you need to enable SW config of the board (so capture settings can be configured by Studio)

    Also not sure if related but typically the SD_DETECT LED is not enabled. Currently, capture to SD card is not supported so the memory card is usually not populated.

    Amanda

  • Hello Amanda,

    After configuring the SW2 as in the picture you post it worked!

    Thank you!

    LOG:

    [08:54:50]  [RadarAPI]:
    [08:54:50]  Configure Record command : Success
    [08:54:50]  CaptureCardConfig_PacketDelay Success
    [08:54:50]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
    [08:54:50]  [RadarAPI]: Sending start_record command to DCA1000
    [08:54:50]  [RadarAPI]: Status: Passed
    [08:54:51]  [RadarAPI]: ar1.StartFrame()
    [08:54:51]  [RadarAPI]: Status: Passed
    [08:54:51]  Frame start async event received!
    [08:54:51]  Frame End async event received!
    [08:54:51]  [RadarAPI]: Frame Ended
    [08:54:56]  Please wait for a few seconds for matlab post processing .....!!!!
    [08:54:56]  [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
    [08:54:56]  [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 8
    [08:55:06]  
    [08:55:06]  ***Script completed successfully.***