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.

MMWAVE-STUDIO: Error on mmWaveStudio

Part Number: MMWAVE-STUDIO
Other Parts Discussed in Thread: AWR1642, AWR1243

Hi All,

After a lot of effort and re installation mmWave studio finally doesnt crash on my PC.

But now when I open it I get following error in output window.

I hope this time its possible to solve the problem and work one time with DCA1000 :)

Because I have changed my PC and bought new Ethernet card that was supposed to be the cause of error last time.

Best regards,

Mostafa

GM: Constructor
GM: Sat Jan 19 11:07:37 2019
RSTD.Transmit("/Settings")
[11:07:37]
[11:07:37] ### Running Startup script: "C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###
[11:07:37] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[11:07:37] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[11:07:37] Scripter ignored: Attempt to UnBuild() again or before Build.
[11:07:37] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")
[11:07:37] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[11:07:37] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[11:07:37] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[11:07:37] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[11:07:37] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[11:07:37] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")
[11:07:37] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[11:07:37] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[11:07:37] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[11:07:37] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[11:07:37] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[11:07:37] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[11:07:37] RSTD.Transmit("/")
[11:07:37] RSTD.SaveSettings(): Settings saved to "C:\Users\mostafak\AppData\Roaming\RSTD\config.xml"
[11:07:37] RSTD.Build()
[11:07:37] RSTD.SaveSettings(): Settings saved to "C:\Users\mostafak\AppData\Roaming\RSTD\config.xml"
[11:07:37] RSTD.Transmit("/")
[11:07:37] RSTD.AL_Build()
[11:07:37] RSTD.AL_LoadXml()
[11:07:37] RSTD.Transmit("/")
[11:07:37] RSTD.AL_Init()
[11:07:37] RSTD.Clients_Build()
[11:07:37] GM: Init
[11:07:37] GM: Loaded 'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'
[11:07:37] GM: 1 Guest (s) init
[11:07:37] GM: 1 Module(s) init
[11:07:37] GM: 2 Tab (s) init
[11:07:37] RSTD.Client_LoadXml()
[11:07:38] [RadarAPI]: Starting Matlab Engine..
[11:07:40] [RadarAPI]: Matlab Engine Started!
[11:07:44] [RadarAPI]: ar1.LoadSettings('C:\Users\mostafak\AppData\Roaming\RSTD\ar1gui.ini')
[11:07:44] [RadarAPI]: Error: Index was outside the bounds of the array.
[11:07:44] Trace:
[11:07:44] at AR1xController.ScriptOps.getMatlabPostProcVersion()
[11:07:44] TESTING = false
[11:07:44]
[11:07:44] ***Script completed successfully.***

  • Hi Mostafa,

    Can you please delete the following directory and try again?
    C:\Users\mostafak\AppData\Roaming\RSTD\

    That should solve it.

    Best Regards,
    Anand
  • Hi Anand,

    I did it, and again that error appears.
    But I also tried to continue all steps in the training video for DCA1000 and all of them were successful.
    Until I tried to SetUp DCA1000 that I got following error:
    I remember that last time your support said maybe it is because of the Network Adapter card but now
    I have a USB to Ethernet Adapter and disabled previos networc card.

    regards,
    Mostafa


    [11:32:10] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
    [11:32:10] [RadarAPI]: Status: Passed
    [11:32:13] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [11:32:13] [RadarAPI]: Status: Passed
    [11:32:16] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [11:32:16] [RadarAPI]: Status: Passed
    [11:32:58] [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29,982, 0, 256, 10000, 0, 0, 30)
    [11:32:58] [RadarAPI]: Status: Passed
    [11:33:32] [RadarAPI]: ar1.ChirpConfig(0, 3, 0, 0, 0, 0, 0, 1, 0, 0)
    [11:33:32] [RadarAPI]: Status: Passed
    [11:33:54] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
    [11:33:54] [RadarAPI]: Status: Passed
    [11:34:56] Test Source Already Disabled...!!!
    [11:34:56] [RadarAPI]: Status: Passed
    [11:34:56] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 1)
    [11:34:56] [RadarAPI]: Status: Passed
    [11:36:08] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [11:36:08] [RadarAPI]: passed
    [11:36:11] [RadarAPI]: StatusDCCard Event Registered
    [11:36:11] [RadarAPI]: Status: Passed
    [11:36:11] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [11:36:13] ConnectRFDCCard Status: RRFDCCARD_SUCCESS
    [11:36:13] Ethernet Cable is disconnected Please check.....!!!
  • Hi Mostafa,

    Can you please let us know the model of the USB to ethernet adapter that you are using? If possible a link to where to order this from would help.

    Also, regarding the earlier error, can you post the log again and if possible the content of C:\Users\mostafak\AppData\Roaming\RSTD\ar1gui.ini ?

    Best Regards,
    Anand
  • Hi Anand,

    Hi Anand,

    no.rs-online.com/.../

    Manufacturer's product number EU-4306

    The complet output window log is :

    GM: Constructor
    GM: Mon Jan 21 08:05:40 2019
    RSTD.Transmit("/Settings")
    [08:05:41]
    [08:05:41] ### Running Startup script: "C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###
    [08:05:41] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [08:05:41] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [08:05:41] Scripter ignored: Attempt to UnBuild() again or before Build.
    [08:05:41] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [08:05:41] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [08:05:41] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [08:05:41] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [08:05:41] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [08:05:41] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [08:05:41] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")
    [08:05:41] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [08:05:41] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [08:05:41] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [08:05:41] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [08:05:41] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [08:05:41] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [08:05:41] RSTD.Transmit("/")
    [08:05:41] RSTD.SaveSettings(): Settings saved to "C:\Users\mostafak\AppData\Roaming\RSTD\config.xml"
    [08:05:41] RSTD.Build()
    [08:05:41] RSTD.SaveSettings(): Settings saved to "C:\Users\mostafak\AppData\Roaming\RSTD\config.xml"
    [08:05:41] RSTD.Transmit("/")
    [08:05:41] RSTD.AL_Build()
    [08:05:41] RSTD.AL_LoadXml()
    [08:05:41] RSTD.Transmit("/")
    [08:05:41] RSTD.AL_Init()
    [08:05:41] RSTD.Clients_Build()
    [08:05:41] GM: Init
    [08:05:41] GM: Loaded 'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'
    [08:05:41] GM: 1 Guest (s) init
    [08:05:41] GM: 1 Module(s) init
    [08:05:41] GM: 2 Tab (s) init
    [08:05:41] RSTD.Client_LoadXml()
    [08:05:41] [RadarAPI]: Starting Matlab Engine..
    [08:05:46] [RadarAPI]: Matlab Engine Started!
    [08:05:48] [RadarAPI]: ar1.LoadSettings('C:\Users\mostafak\AppData\Roaming\RSTD\ar1gui.ini')
    [08:05:48] [RadarAPI]: Error: Index was outside the bounds of the array.
    [08:05:48] Trace:
    [08:05:48] at AR1xController.ScriptOps.getMatlabPostProcVersion()
    [08:05:48] TESTING = false
    [08:05:48]
    [08:05:48] ***Script completed successfully.***

    //****************************************************************************
    The log of the ar1gui.ini is as bellow:
    //*****************************************************************************

    [General]
    GuiVersion=2.0.0.2
    [Main]
    RxLowPower=0
    RxBoost=0
    CalibUponTune=0
    [Connection]
    ComPort=15
    BaudRate=921600
    Timeout=1000
    PhyFwFile=C:\ti\mmwave_studio_02_00_00_02\rf_eval_firmware\radarss\xwr16xx_radarss.bin
    MacFwFile=C:\ti\mmwave_studio_02_00_00_02\rf_eval_firmware\masterss\xwr16xx_masterss.bin
    PollConnection=1
    PhyStandAlone=0
    BoardType=1
    UpdateIni=0
    FrefClk=26 MHz
    [Tx]
    TxMode=2
    Rate=7
    Preamble=7
    Bw=20
    PacketSize=100
    PacketAmount=1
    PacketDelay=20
    Sgi=0
    Stbc=0
    DualStream=0
    ConstantData=124
    Scramble=0
    Increment=1
    Seed=135
    Dbm=1
    TargetPower=30
    SocLimits=0
    FemLimits=0
    ChannelLimits=0
    AnalogSettings=0
    EnableDpd=0
    PostDpd=-0.25
    EnableClpc=0
    ClpcTime=0
    [Rx]
    IssueAck=0
    PhyModeCompVal=10
    PhyModeCompInc=0
    [TestSignal]
    Sweeps=0
    [Calibrations]
    PollCalibStatus=1
    PollInterval=3





    Best regards,
    Mostafa
  • Hi Mostafa,

    Could you let me know what baud rate you have selected under the RS232 operations tab?

    It should be 115200 but your log file seems to indicate 921600.

    Also, can you confirm that COM15 is indeed the correct "Application UART" port for your device? Are you using an AWR1642 or an AWR1243 BOOST?

    Best Regards,
    Anand
  • Hi Anand,

    I changed it to 115200 and again got the same error.
    But as you can see in following log I could continue and connect to the board and program Radar and master firmaware and
    connect the SPI .
    But still I have problem when I want to connect to it via ethernet.

    Best regards,
    Mostafa

    GM: Constructor
    GM: Mon Jan 21 08:39:24 2019
    RSTD.Transmit("/Settings")
    [08:39:24]
    [08:39:24] ### Running Startup script: "C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###
    [08:39:24] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [08:39:24] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [08:39:24] Scripter ignored: Attempt to UnBuild() again or before Build.
    [08:39:24] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [08:39:24] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [08:39:24] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [08:39:25] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [08:39:25] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [08:39:25] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [08:39:25] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")
    [08:39:25] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [08:39:25] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [08:39:25] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [08:39:25] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [08:39:25] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [08:39:25] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [08:39:25] RSTD.Transmit("/")
    [08:39:25] RSTD.SaveSettings(): Settings saved to "C:\Users\mostafak\AppData\Roaming\RSTD\config.xml"
    [08:39:25] RSTD.Build()
    [08:39:25] RSTD.SaveSettings(): Settings saved to "C:\Users\mostafak\AppData\Roaming\RSTD\config.xml"
    [08:39:25] RSTD.Transmit("/")
    [08:39:25] RSTD.AL_Build()
    [08:39:25] RSTD.AL_LoadXml()
    [08:39:25] RSTD.Transmit("/")
    [08:39:25] RSTD.AL_Init()
    [08:39:25] RSTD.Clients_Build()
    [08:39:25] GM: Init
    [08:39:25] GM: Loaded 'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'
    [08:39:25] GM: 1 Guest (s) init
    [08:39:25] GM: 1 Module(s) init
    [08:39:25] GM: 2 Tab (s) init
    [08:39:25] RSTD.Client_LoadXml()
    [08:39:25] [RadarAPI]: Starting Matlab Engine..
    [08:39:28] [RadarAPI]: Matlab Engine Started!
    [08:39:30] [RadarAPI]: ar1.LoadSettings('C:\Users\mostafak\AppData\Roaming\RSTD\ar1gui.ini')
    [08:39:30] [RadarAPI]: Error: Index was outside the bounds of the array.
    [08:39:30] Trace:
    [08:39:30] at AR1xController.ScriptOps.getMatlabPostProcVersion()
    [08:39:31] TESTING = false
    [08:39:31]
    [08:39:31] ***Script completed successfully.***
    [08:39:39] [RadarAPI]: Opening Gpio Control Port()
    [08:39:39] [RadarAPI]: Status: Passed
    [08:39:40] [RadarAPI]: Opening Board Control Port()
    [08:39:40] [RadarAPI]: Status: Passed
    [08:39:41] [RadarAPI]: ar1.FullReset()
    [08:39:41] [RadarAPI]: Status: Passed
    [08:39:42] [RadarAPI]: Closing Board Control Port()
    [08:39:42] [RadarAPI]: Status: Passed
    [08:39:42] [RadarAPI]: Closing Gpio Control Port()
    [08:39:42] [RadarAPI]: Status: Passed
    [08:39:42] [RadarAPI]: ar1.SOPControl(2)
    [08:39:42] [RadarAPI]: Status: Passed
    [08:39:43] [RadarAPI]: ar1.Connect(15,115200,1000)
    [08:39:44] [RadarAPI]: ar1.Calling_IsConnected()
    [08:39:45] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [08:39:45] [RadarAPI]: Status: Passed
    [08:39:45] [RadarAPI]: RS232 is not connected ..!!!!
    [08:39:45] [RadarAPI]: ar1.frequencyBandSelection("77G")
    [08:39:45] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [08:39:45] [RadarAPI]: Status: Passed
    [08:39:45] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [08:39:46] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [08:39:46] [RadarAPI]: Status: Passed
    [08:39:46] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [08:39:46] [RadarAPI]: Status: Passed
    [08:39:46] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [08:39:46] [RadarAPI]: ar1.SaveSettings('C:\Users\mostafak\AppData\Roaming\RSTD\ar1gui.ini')
    [08:39:51] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin")
    [08:39:51] [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [08:39:58] [RadarAPI]: ar1.GetBSSFwVersion()
    [08:39:58] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [08:39:59] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [08:39:59] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
    [08:39:59] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin")
    [08:40:00] [RadarAPI]: Downloading MSS RPRC Binary..
    [08:40:12] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [08:40:12] [RadarAPI]: Status: Passed
    [08:40:12] MSS power up done async event received!
    [08:40:14] [RadarAPI]: ar1.RfEnable()
    [08:40:14] [RadarAPI]: Status: Passed
    [08:40:14] BSS power up done async event received!
    [08:40:14] [RadarAPI]: ar1.GetBSSFwVersion()
    [08:40:14] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [08:40:15] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [08:40:15] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
  • Hi Mostafa,

    You're right. The ethernet issue is different than the UART one.

    We will try and order this adapter to debug further, but that will take some time.

    At this time, the only recommendation we can make is to try with a different PC, if possible one with a built-in ethernet adapter.

    Best Regards,
    Anand
  • Hi Mostafa,

    It appears that the Windows 10 firewall might block access to the DCA1000. A solution is discussed in this thread:
    e2e.ti.com/.../2802176

    Could you please check and see if this solution works for you?

    Best Regards,
    Anand