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.

DCA1000 + AWR1843BOOST debugging problem

Other Parts Discussed in Thread: AWR1843BOOST, UNIFLASH

hi engineers,

when i was doing the "DCA1000+AWR1843BOOST" data capturing and debugging, i do one by one as the video shown。but when i go to the DataConfig  Page,the following issues arise:

the  complete output information is as follows:

GM: Constructor
GM: Tue Aug 20 10:37:08 2019
RSTD.Transmit("/Settings")
[10:37:08]
[10:37:08] ### Running Startup script: "D:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###
[10:37:08] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[10:37:08] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[10:37:08] Scripter ignored: Attempt to UnBuild() again or before Build.
[10:37:08] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "D:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")
[10:37:08] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[10:37:08] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[10:37:08] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[10:37:08] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[10:37:08] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[10:37:08] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "D:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")
[10:37:08] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[10:37:08] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[10:37:08] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[10:37:08] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[10:37:08] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[10:37:08] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[10:37:08] RSTD.Transmit("/")
[10:37:08] RSTD.SaveSettings(): Settings saved to "C:\Users\Administrator\AppData\Roaming\RSTD\config.xml"
[10:37:08] RSTD.Build()
[10:37:08] RSTD.SaveSettings(): Settings saved to "C:\Users\Administrator\AppData\Roaming\RSTD\config.xml"
[10:37:08] RSTD.Transmit("/")
[10:37:08] RSTD.AL_Build()
[10:37:08] RSTD.AL_LoadXml()
[10:37:08] RSTD.Transmit("/")
[10:37:08] RSTD.AL_Init()
[10:37:08] RSTD.Clients_Build()
[10:37:08] GM: Init
[10:37:08] GM: Loaded 'D:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'
[10:37:08] GM: 1 Guest (s) init
[10:37:08] GM: 1 Module(s) init
[10:37:08] GM: 2 Tab (s) init
[10:37:08] RSTD.Client_LoadXml()
[10:37:09] [RadarAPI]: Starting Matlab Engine..
[10:37:14] [RadarAPI]: Matlab Engine Started!
[10:37:18] [RadarAPI]: ar1.LoadSettings('C:\Users\Administrator\AppData\Roaming\RSTD\ar1gui.ini')
[10:37:18] TESTING = false
[10:37:18]
[10:37:18] ***Script completed successfully.***
[10:37:24] [RadarAPI]: Opening Gpio Control Port()
[10:37:24] [RadarAPI]: Status: Passed
[10:37:25] [RadarAPI]: Opening Board Control Port()
[10:37:25] [RadarAPI]: Status: Passed
[10:37:26] [RadarAPI]: ar1.FullReset()
[10:37:26] [RadarAPI]: Status: Passed
[10:37:27] [RadarAPI]: Closing Board Control Port()
[10:37:27] [RadarAPI]: Status: Passed
[10:37:27] [RadarAPI]: Closing Gpio Control Port()
[10:37:27] [RadarAPI]: Status: Passed
[10:37:27] [RadarAPI]: ar1.SOPControl(2)
[10:37:27] [RadarAPI]: Status: Passed
[10:37:28] [RadarAPI]: ar1.Connect(13,115200,1000)
[10:37:29] [RadarAPI]: ar1.Calling_IsConnected()
[10:37:30] [RadarAPI]: ar1.SelectChipVersion("AR1642")
[10:37:30] [RadarAPI]: Status: Passed
[10:37:30] [RadarAPI]: RS232 is not connected ..!!!!
[10:37:30] [RadarAPI]: ar1.frequencyBandSelection("77G")
[10:37:30] [RadarAPI]: ar1.SelectChipVersion("XWR1843")
[10:37:30] [RadarAPI]: Status: Passed
[10:37:31] Device Status : XWR1843/ASIL-B/SOP:2/ES:2
[10:37:32] [RadarAPI]: ar1.SelectChipVersion("AR1642")
[10:37:32] [RadarAPI]: Status: Passed
[10:37:32] [RadarAPI]: ar1.SelectChipVersion("XWR1843")
[10:37:32] [RadarAPI]: Status: Passed
[10:37:32] Device Status : XWR1843/ASIL-B/SOP:2/ES:2
[10:37:32] [RadarAPI]: ar1.SaveSettings('C:\Users\Administrator\AppData\Roaming\RSTD\ar1gui.ini')
[10:37:35] [RadarAPI]: ar1.DownloadBSSFw("D:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr12xx_xwr14xx_radarss.bin")
[10:37:35] [RadarAPI]: Downloading BSS Patch RPRC Binary..
[10:37:42] [RadarAPI]: ar1.GetBSSFwVersion()
[10:37:42] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
[10:37:43] [RadarAPI]: ar1.GetBSSPatchFwVersion()
[10:37:43] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
[10:37:45] [RadarAPI]: ar1.DownloadMSSFw("D:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\masterss\\xwr18xx_masterss.bin")
[10:37:46] [RadarAPI]: Downloading MSS RPRC Binary..
[10:37:58] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
[10:37:58] [RadarAPI]: Status: Passed
[10:37:58] MSS power up done async event received!
[10:37:59] [RadarAPI]: ar1.RfEnable()
[10:37:59] [RadarAPI]: Status: Passed
[10:37:59] BSS power up done async event received!
[10:38:00] [RadarAPI]: ar1.GetBSSFwVersion()
[10:38:00] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
[10:38:01] [RadarAPI]: ar1.GetBSSPatchFwVersion()
[10:38:01] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
[10:38:04] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 2, 0)
[10:38:04] [RadarAPI]: Status: Passed
[10:38:07] [RadarAPI]: ar1.RfLdoBypassConfig(0x3)
[10:38:07] [RadarAPI]: Status: Passed
[10:38:08] [RadarAPI]: ar1.LPModConfig(0, 0)
[10:38:08] [RadarAPI]: Status: Passed
[10:38:09] [RadarAPI]: ar1.RfInit()
[10:38:10] [RadarAPI]: Status: Passed
[10:38:16] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
[10:38:19] Status: Failed, Error Type: RESP TIMEOUT

  • Hi,

    From your log, it looks like you are using the wrong BSS firmware image.

    Please use the xwr18xx_radarss_rprc.bin file from mmWave SDK 3.2.0.4 (available here: )

    The firmware image is available in the "C:\ti\mmwave_sdk_03_02_00_04\firmware\radarss" directory after installing the SDK.

    Best Regards,

    Anand

  • hi, 

    I do as you say, but the result is the same.

    First,the BSS firmware image I used is "*:\ti\mmwave_studio_02_00_00_02\rf_eval_firmware\radarss\xwr18xx_radarss.bin", then output the error above。

    Second, I load the BSS firmware image you syay“*:\ti\mmwave_sdk_03_02_00_04\firmware\radarss\xwr18xx_radarss_rprc.bin”, then the same mistake happened. 

  • Hi,

    Okay, you can use the "*:\ti\mmwave_studio_02_00_00_02\rf_eval_firmware\radarss\xwr18xx_radarss.bin" file, that is better for now.

    Can you try the following:

    1) Populate the SOP0 and SOP2 jumpers on the AWR1842 BOOST board and use the Uniflash tool to erase the flash.

    2) Then populate only the SOP0 and SOP1 jumpers and try again.

    Please post the complete log file here if it does not work this time.

    Best Regards,

    Anand

  • hi,

    i do the following steps,but the same mistakes happened:

    1) Populate the SOP0 and SOP2 jumpers on the AWR1842BOOST board and use the Uniflash tool to erase the flash.   it succeed, the result show below:

    2) Then populate only the SOP0 and SOP1 jumpers and try again.

    the complete output information as follow:

    GM: Constructor
    GM: Tue Aug 20 14:06:43 2019
    RSTD.Transmit("/Settings")
    [14:06:43]
    [14:06:43] ### Running Startup script: "D:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###
    [14:06:43] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [14:06:43] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [14:06:43] Scripter ignored: Attempt to UnBuild() again or before Build.
    [14:06:43] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "D:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [14:06:43] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [14:06:43] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [14:06:43] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [14:06:43] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [14:06:43] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [14:06:43] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "D:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")
    [14:06:43] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [14:06:43] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [14:06:43] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [14:06:43] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [14:06:43] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [14:06:43] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [14:06:43] RSTD.Transmit("/")
    [14:06:43] RSTD.SaveSettings(): Settings saved to "C:\Users\Administrator\AppData\Roaming\RSTD\config.xml"
    [14:06:43] RSTD.Build()
    [14:06:43] RSTD.SaveSettings(): Settings saved to "C:\Users\Administrator\AppData\Roaming\RSTD\config.xml"
    [14:06:43] RSTD.Transmit("/")
    [14:06:43] RSTD.AL_Build()
    [14:06:43] RSTD.AL_LoadXml()
    [14:06:43] RSTD.Transmit("/")
    [14:06:43] RSTD.AL_Init()
    [14:06:43] RSTD.Clients_Build()
    [14:06:43] GM: Init
    [14:06:43] GM: Loaded 'D:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'
    [14:06:43] GM: 1 Guest (s) init
    [14:06:43] GM: 1 Module(s) init
    [14:06:43] GM: 2 Tab (s) init
    [14:06:43] RSTD.Client_LoadXml()
    [14:06:44] [RadarAPI]: Starting Matlab Engine..
    [14:06:51] [RadarAPI]: Matlab Engine Started!
    [14:06:54] [RadarAPI]: ar1.LoadSettings('C:\Users\Administrator\AppData\Roaming\RSTD\ar1gui.ini')
    [14:06:54] TESTING = false
    [14:06:54]
    [14:06:54] ***Script completed successfully.***
    [14:07:01] [RadarAPI]: Opening Gpio Control Port()
    [14:07:01] [RadarAPI]: Status: Passed
    [14:07:02] [RadarAPI]: Opening Board Control Port()
    [14:07:02] [RadarAPI]: Status: Passed
    [14:07:03] [RadarAPI]: ar1.FullReset()
    [14:07:03] [RadarAPI]: Status: Passed
    [14:07:04] [RadarAPI]: Closing Board Control Port()
    [14:07:04] [RadarAPI]: Status: Passed
    [14:07:04] [RadarAPI]: Closing Gpio Control Port()
    [14:07:04] [RadarAPI]: Status: Passed
    [14:07:04] [RadarAPI]: ar1.SOPControl(2)
    [14:07:04] [RadarAPI]: Status: Passed
    [14:07:06] [RadarAPI]: ar1.Connect(13,115200,1000)
    [14:07:07] [RadarAPI]: ar1.Calling_IsConnected()
    [14:07:08] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [14:07:08] [RadarAPI]: Status: Passed
    [14:07:08] [RadarAPI]: RS232 is not connected ..!!!!
    [14:07:08] [RadarAPI]: ar1.frequencyBandSelection("77G")
    [14:07:08] [RadarAPI]: ar1.SelectChipVersion("XWR1843")
    [14:07:08] [RadarAPI]: Status: Passed
    [14:07:08] Device Status : XWR1843/ASIL-B/SOP:2/ES:2
    [14:07:09] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [14:07:09] [RadarAPI]: Status: Passed
    [14:07:09] [RadarAPI]: ar1.SelectChipVersion("XWR1843")
    [14:07:09] [RadarAPI]: Status: Passed
    [14:07:09] Device Status : XWR1843/ASIL-B/SOP:2/ES:2
    [14:07:09] [RadarAPI]: ar1.SaveSettings('C:\Users\Administrator\AppData\Roaming\RSTD\ar1gui.ini')
    [14:07:13] [RadarAPI]: ar1.DownloadBSSFw("D:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\radarss\\xwr18xx_radarss.bin")
    [14:07:13] [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [14:07:20] [RadarAPI]: ar1.GetBSSFwVersion()
    [14:07:20] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [14:07:21] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [14:07:21] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
    [14:07:22] [RadarAPI]: ar1.DownloadMSSFw("D:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\masterss\\xwr18xx_masterss.bin")
    [14:07:23] [RadarAPI]: Downloading MSS RPRC Binary..
    [14:07:35] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [14:07:35] [RadarAPI]: Status: Passed
    [14:07:35] MSS power up done async event received!
    [14:07:37] [RadarAPI]: ar1.RfEnable()
    [14:07:37] [RadarAPI]: Status: Passed
    [14:07:37] BSS power up done async event received!
    [14:07:38] [RadarAPI]: ar1.GetBSSFwVersion()
    [14:07:38] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [14:07:39] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [14:07:39] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
    [14:07:42] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 2, 0)
    [14:07:42] [RadarAPI]: Status: Passed
    [14:07:44] [RadarAPI]: ar1.RfLdoBypassConfig(0x3)
    [14:07:44] [RadarAPI]: Status: Passed
    [14:07:47] [RadarAPI]: ar1.LPModConfig(0, 1)
    [14:07:47] [RadarAPI]: Status: Passed
    [14:07:49] [RadarAPI]: ar1.RfInit()
    [14:07:50] [RadarAPI]: Status: Passed
    [14:07:57] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
    [14:08:00] Status: Failed, Error Type: RESP TIMEOUT

  • hi engineers,

    In the output window ,there is a sentence "[RadarAPI]: RS232 is not connected ..!!!!", but it shows not as the error information. And in the first config page-"Connected " ,the "RS232 Connectivity Status" is shown "Connected". Can this say, the RS232 is ok or not?   Is that what caused the problem?

    And I see other people's questions, their output window is same as mine. 

    thank you!

  • hi Anand,

    Do you have any ideas for the next step? I urgently need to solve the problem.

    thank you!

  • Sun,

    There seems to be an issue in the "Data path" configuration . The value "1216644097" = 0x48848401 indicates the an invalid "Packet 0 content selection" 

    As per your setting:

    DATA_TRANS_FMT_PKT0 = 0x84  (b7:6 = 1 0 and b5:0 = 000100) , b5:0 do not correspond to any valid values. Please see below the valid values.

    b5:0 - Packet 0 content selection
    000001 - ADC
    000110 - CP_ADC (See note at the bottom of this table)
    001001 - ADC_CP
    110110 - CP_ADC_CQ (See note at the bot- tom of this table)
    b7:6 - Packet 0 virtual channel number (valid only for CSI2)
    00 - Virtual channel number 0 (Default)
    01 - Virtual channel number 1
    10 - Virtual channel number 2
    11 - Virtual channel number 3

    What are you trying to set in the data path configuration?

    BR,

    Raghu