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.

IWR1443BOOST: New Device fails with mmWave Studio Demo

Part Number: IWR1443BOOST
Other Parts Discussed in Thread: DCA1000EVM, UNIFLASH

I ordered a new IWR1443BOOST Rev. B and connected to my DCA1000EVM through the 60 Pin HD Connector. I then connected the board to my PC with a micro-USB cable. Then I checked the device manager and saw that everything was conected and recognized by my computer.

Then I launched mmWave Studio 1.0.0.0, selected the correct COM Port and then clicke don Set(1), Connect(2) and then ran the DataCaputreDemo_xWR1443.lua script.

It completed steps 3 &4 (BSS FW and MSS FW) without any problems but then it failed on step 5 (SPI Connect).

The log from the Output tab is coppied below:

GM: Constructor
GM: Fri Jan 25 12:43:31 2019
RSTD.Transmit("/Settings")
[12:43:32]  
[12:43:32]  ### Running Startup script: "C:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Scripts\Startup.lua" ###
[12:43:32]  RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[12:43:32]  RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[12:43:32]  Scripter ignored: Attempt to UnBuild() again or before Build.
[12:43:32]  RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
[12:43:32]  RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[12:43:32]  RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[12:43:32]  RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[12:43:32]  RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[12:43:32]  RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[12:43:32]  RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\RunTime\\SAL.dll")
[12:43:32]  RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[12:43:32]  RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[12:43:32]  RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[12:43:32]  RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[12:43:32]  RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[12:43:33]  RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[12:43:33]  RSTD.Transmit("/")
[12:43:33]  RSTD.SaveSettings(): Settings saved to "C:\Users\ThisPC\AppData\Roaming\RSTD\config.xml"
[12:43:33]  RSTD.Build()
[12:43:33]  RSTD.SaveSettings(): Settings saved to "C:\Users\ThisPC\AppData\Roaming\RSTD\config.xml"
[12:43:33]  RSTD.Transmit("/")
[12:43:33]  RSTD.AL_Build()
[12:43:33]  RSTD.AL_LoadXml()
[12:43:33]  RSTD.Transmit("/")
[12:43:33]  RSTD.AL_Init()
[12:43:33]  RSTD.Clients_Build()
[12:43:33]  GM: Init
[12:43:33]  GM: Loaded 'C:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Clients\\LabClient.dll'
[12:43:33]  GM: 1 Guest (s) init
[12:43:33]  GM: 1 Module(s) init
[12:43:33]  GM: 2 Tab   (s) init
[12:43:33]  RSTD.Client_LoadXml()
[12:43:33]  [RadarAPI]: Starting Matlab Engine..
[12:43:47]  [RadarAPI]: Matlab Engine Started!
[12:43:52]  [RadarAPI]: ar1.LoadSettings('C:\Users\ThisPC\AppData\Roaming\RSTD\ar1gui.ini')
[12:43:53]  TESTING = false
[12:43:53]  
[12:43:53]  ***Script completed successfully.***
[12:46:57]  [RadarAPI]: Opening Gpio Control Port()
[12:46:57]  [RadarAPI]: Status: Passed
[12:46:58]  [RadarAPI]: Opening Board Control Port()
[12:46:58]  [RadarAPI]: Status: Passed
[12:46:59]  [RadarAPI]: ar1.FullReset()
[12:46:59]  [RadarAPI]: Status: Passed
[12:47:00]  [RadarAPI]: Closing Board Control Port()
[12:47:00]  [RadarAPI]: Status: Passed
[12:47:00]  [RadarAPI]: Closing Gpio Control Port()
[12:47:00]  [RadarAPI]: Status: Passed
[12:47:00]  [RadarAPI]: ar1.SOPControl(2)
[12:47:00]  [RadarAPI]: Status: Passed
[12:47:01]  [RadarAPI]: ar1.Connect(56,921600,1000)
[12:47:03]  [RadarAPI]: Warning: Connected with baudrate 115200
[12:47:05]  [RadarAPI]: Warning: Disconnected existing BaudRate
[12:47:05]  [RadarAPI]: Warning: Trying to connect with baudrate 921600
[12:47:06]  [RadarAPI]: ar1.Calling_IsConnected()
[12:47:07]  [RadarAPI]: ar1.SelectChipVersion("XWR1443")
[12:47:07]  [RadarAPI]: Status: Passed
[12:47:08]  [RadarAPI]: ar1.SelectChipVersion("XWR1443")
[12:47:08]  [RadarAPI]: Status: Passed
[12:47:08]  [RadarAPI]: ar1.SaveSettings('C:\Users\ThisPC\AppData\Roaming\RSTD\ar1gui.ini')
[12:47:10]  [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31)
[12:47:10]  [RadarAPI]: Value : 100001 
[12:47:10]  [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31)
[12:47:10]  [RadarAPI]: Value : 13 
[12:47:10]  [RadarAPI]: ar1.DownloadBSSFw("C:\\Project\Subfolder\\mmWave Studio Configuration Script\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr12xx_xwr14xx_radarss_ES3.0.bin")
[12:47:11]  [RadarAPI]: Downloading BSS Patch RPRC Binary..
[12:47:13]  BSS FW Download Success
[12:47:15]  [RadarAPI]: ar1.DownloadMSSFw("C:\\Project\Subfolder\\mmWave Studio Configuration Script\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr12xx_xwr14xx_masterss_ES3.0.bin")
[12:47:15]  [RadarAPI]: Downloading MSS Legacy Binary..
[12:47:19]  MSS FW Download Success
[12:47:57]  [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
[12:47:57]  Status: Failed, Error Type: RESP TIMEOUT
[12:47:57]  [RadarAPI]: ar1.SaveSettings('C:\Users\ThisPC\AppData\Roaming\RSTD\ar1gui.ini')
[12:47:57]  Power On failure
[12:47:58]  [RadarAPI]: ar1.RfEnable()
[12:47:58]  Status: Failed, Error Type: INVALID INPUT
[12:47:58]  [RadarAPI]: Error Occurred in Port open close
[12:47:59]  [RadarAPI]: Warning: BSS firmware version Mismatch!
[12:47:59]  RF Enable failure
[12:48:00]  [RadarAPI]: ar1.Disconnect()
[12:48:00]  [RadarAPI]: ar1.Calling_ATE_DisconnectTarget()
[12:48:00]  [RadarAPI]: Debug Port Disconnected!
[12:48:00]  [RadarAPI]: ar1.PowerOn(1, 0, 1, 56)
[12:48:00]  Status: Failed, Error Type: PROTOCOL ERROR
[12:48:00]  [RadarAPI]: ar1.SaveSettings('C:\Users\ThisPC\AppData\Roaming\RSTD\ar1gui.ini')
[12:48:00]  [RadarAPI]: ar1.ChanNAdcConfig(1, 0, 1, 1, 1, 1, 1, 2, 1, 0)
[12:48:00]  Status: Failed, Error Type: INVALID INPUT
[12:48:00]  ChanNAdcConfig failure
[12:48:01]  [RadarAPI]: ar1.LPModConfig(0, 0)
[12:48:01]  [RadarAPI]: Status: Failed, Error Type: INVALID INPUT
[12:48:01]  [RadarAPI]: Error Occurred in Port open close
[12:48:01]  Regualar mode Cfg failure
[12:48:03]  [RadarAPI]: ar1.RfInit()

Here is how the pins are configured:

Here is a screenshot of mmWave Studio 2.0.0.2

This is a brand new board and I'm just trying to run the demo so I'm confused as to what's going wrong.

  • Salah,

    Please verify some settings:

    DCA1000:

    1. SW1
      1. POSITION
        SW1.1 ON
        SW1.2 ON
        SW1.3 OFF
    2. SW2
    1. POSITION NAME
      SW2.8 OFF USER_SW3
      SW2.7 OFF USER_SW2
      SW2.6 OFF USER_SW1
      SW2.5 ON SW_CONFIG
      SW2.4 OFF RAW_MODE
      SW2.3 OFF 1213_MODE
      SW2.2 ON ETH_STREAM
      SW2.1 OFF LVDS CAPTURE

    Hope this helps

    Alex

  • That didn't resolve my issue and I don't think the problem is with the DCA1000EVM board because it was working with a previous IWR1443BOOST card I had.

    Also, why would SW2.6 bet set to pin 6? Should it be set to pin 11 and use the default configuration instead of reading from the EEPROM?
  • Salah,

    WS2.6 makes no difference in your case, sorry for the confusion.
    This is to load settings from EEPROM which you can change IP address, mac, and other.

    Are the SOP pins on the EVM set for DCA?
    SOP0 and SOP1 closed, SOP2 open

    Alex
  • I've added a picture to show how the pins are configured on the DCA1000EVM board.

    EDIT: I've noticed that the new board is Rev B which has an added switch for choosing between SPI and CAN. It's currenlty set to SPI. I'm not sure if this is relevant but the board is slightly different.

  • Salah 

    Can you please download a newer version of mmWave studio LINK and use the firmware provided with it.

    Also please make sure the power supply is 5V and minimum can provide 2.5 A .

    Alex

  • Alex

    Both IWR1443BOOST and DCA1000EVM board have a 5V power source. I have downloaded the latest version of mmWave Studio and included a screenshot. As yo ucan see it fails right before step 5. The error is still the same.

    [17:12:18] MSS FW Download Success
    [17:12:56] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [17:12:56] Status: Failed, Error Type: RESP TIMEOUT
    [17:12:56] Power On failure

    Do you know what causes an RESP TIMEOUT or why it would fail on the PowerOn command?
  • Salah,

    Looking at the screenshot, looks like the firmware is the wrong one.

    Can you do the initial steps manually?

    Firmware location C:\ti\mmwave_studio_02_00_00_02\rf_eval_firmware
    BSS = radarss folder
    MSS = masterss folder

    1. Set(1)
    2. select COM port and speed, then click Connect(2)
    3. select BSS Firmware using "..." (3 dots) and load(3)
      1. BSS firmware version should have an non-zero value
    4. select MSS Firmware using "..." (3 dots) and load(4)
      1. MSS firmware version should have an non-zero value
    5. SPI Connect(5)
    6. RF Powe-up(6)

    Try this and let me know if it works

    Alex

  • Here are the paths for the firmware I am using:

    BSS FW: C:\ti\mmwave_studio_02_00_00_02\rf_eval_firmware\radarss\xwr12xx_xwr14xx_radarss.bin

    MSS FW: C:\ti\mmwave_studio_02_00_00_02\rf_eval_firmware\masterss\xwr12xx_xwr14xx_masterss.bin

    Also here is the log for the steps you requested:

    GM: Constructor
    GM: Thu Jan 31 11:02:08 2019
    RSTD.Transmit("/Settings")
    [11:02:09]  
    [11:02:09]  ### Running Startup script: "C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###
    [11:02:09]  RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [11:02:09]  RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [11:02:09]  Scripter ignored: Attempt to UnBuild() again or before Build.
    [11:02:09]  RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [11:02:09]  RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [11:02:09]  RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [11:02:09]  RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [11:02:09]  RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [11:02:09]  RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [11:02:09]  RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")
    [11:02:09]  RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [11:02:09]  RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [11:02:09]  RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [11:02:09]  RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [11:02:09]  RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [11:02:09]  RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [11:02:09]  RSTD.Transmit("/")
    [11:02:09]  RSTD.SaveSettings(): Settings saved to "C:\Users\MyComputer\AppData\Roaming\RSTD\config.xml"
    [11:02:09]  RSTD.Build()
    [11:02:09]  RSTD.SaveSettings(): Settings saved to "C:\Users\MyComputer\AppData\Roaming\RSTD\config.xml"
    [11:02:09]  RSTD.Transmit("/")
    [11:02:09]  RSTD.AL_Build()
    [11:02:09]  RSTD.AL_LoadXml()
    [11:02:09]  RSTD.Transmit("/")
    [11:02:09]  RSTD.AL_Init()
    [11:02:09]  RSTD.Clients_Build()
    [11:02:09]  GM: Init
    [11:02:09]  GM: Loaded 'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'
    [11:02:09]  GM: 1 Guest (s) init
    [11:02:09]  GM: 1 Module(s) init
    [11:02:09]  GM: 2 Tab   (s) init
    [11:02:09]  RSTD.Client_LoadXml()
    [11:02:09]  [RadarAPI]: Starting Matlab Engine..
    [11:02:25]  [RadarAPI]: Matlab Engine Started!
    [11:02:29]  [RadarAPI]: ar1.LoadSettings('C:\Users\MyComputer\AppData\Roaming\RSTD\ar1gui.ini')
    [11:02:31]  TESTING = false
    [11:02:31]  
    [11:02:31]  ***Script completed successfully.***
    [11:02:47]  [RadarAPI]: Opening Gpio Control Port()
    [11:02:47]  [RadarAPI]: Status: Passed
    [11:02:48]  [RadarAPI]: Opening Board Control Port()
    [11:02:48]  [RadarAPI]: Status: Passed
    [11:02:49]  [RadarAPI]: ar1.FullReset()
    [11:02:49]  [RadarAPI]: Status: Passed
    [11:02:50]  [RadarAPI]: Closing Board Control Port()
    [11:02:50]  [RadarAPI]: Status: Passed
    [11:02:50]  [RadarAPI]: Closing Gpio Control Port()
    [11:02:50]  [RadarAPI]: Status: Passed
    [11:02:50]  [RadarAPI]: ar1.SOPControl(2)
    [11:02:50]  [RadarAPI]: Status: Passed
    [11:02:51]  [RadarAPI]: ar1.Connect(56,921600,1000)
    [11:02:53]  [RadarAPI]: Warning: Connected with baudrate 115200
    [11:02:54]  [RadarAPI]: Warning: Disconnected existing BaudRate
    [11:02:55]  [RadarAPI]: Warning: Trying to connect with baudrate 921600
    [11:02:56]  [RadarAPI]: ar1.Calling_IsConnected()
    [11:02:57]  [RadarAPI]: ar1.SelectChipVersion("AR1243")
    [11:02:57]  [RadarAPI]: Status: Passed
    [11:02:57]  [RadarAPI]: RS232 is not connected ..!!!!
    [11:02:57]  [RadarAPI]: ar1.frequencyBandSelection("77G")
    [11:02:57]  [RadarAPI]: ar1.SelectChipVersion("XWR1443")
    [11:02:57]  [RadarAPI]: Status: Passed
    [11:02:58]  Device Status : XWR1443/QM/SOP:2/ES:3
    [11:02:59]  [RadarAPI]: ar1.SelectChipVersion("AR1243")
    [11:02:59]  [RadarAPI]: Status: Passed
    [11:02:59]  [RadarAPI]: ar1.SelectChipVersion("XWR1443")
    [11:02:59]  [RadarAPI]: Status: Passed
    [11:02:59]  Device Status : XWR1443/QM/SOP:2/ES:3
    [11:02:59]  [RadarAPI]: ar1.SaveSettings('C:\Users\MyComputer\AppData\Roaming\RSTD\ar1gui.ini')
    [11:06:34]  [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\radarss\\xwr12xx_xwr14xx_radarss.bin")
    [11:06:34]  [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [11:06:36]  [RadarAPI]: ar1.GetBSSFwVersion()
    [11:06:36]  [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [11:06:37]  [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [11:06:37]  [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
    [11:06:42]  [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\masterss\\xwr12xx_xwr14xx_masterss.bin")
    [11:06:43]  [RadarAPI]: Downloading MSS RPRC Binary..
    [11:07:39]  [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [11:07:39]  Status: Failed, Error Type: RESP TIMEOUT
    [11:07:49]  [RadarAPI]: ar1.RfEnable()
    [11:07:49]  Status: Failed, Error Type: INVALID INPUT
    [11:07:50]  [RadarAPI]: ar1.GetBSSFwVersion()
    [11:07:50]  [RadarAPI]: BSSFwVersion:(00.00.00.00 (00/00/00))
    [11:07:50]  [RadarAPI]: Warning: BSS firmware version Mismatch!

    Again, the issue seems to occure here:

    [11:07:39]  [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [11:07:39]  Status: Failed, Error Type: RESP TIMEOUT

    I'm not sure what changed from Rev. A to Rev. B but for some reason the powering on just doesn't work the same way.

  • Salah,

    Using Uniflash (LINK) you need to format the SFLASH.

    Hope this resolves the issue.

    Alex

  • Okay, here is what eventually worked for me.

    1. Download Uniflash and format the SFLASH
    2. Download mmWave Studio 2.0.0.2
    3. Use the DataCaputeDemo_xWR.lua Script