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: mmWave Studio Data Collection Fails with DCA1000EVM

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

I have a new IWR1443BOOST and new DCA1000EVM that I am trying to get working to collect data through mmWave Studio following the instructions from the training here. I have the two boards connected via the 60-pin samtec cable, both boards powered with separate 5V 2.5A power supplies, and micro-USB & ethernet cables plugged in to the boards and computer (Windows 10) appropriately. The SW3 switch is set to DC_JACK5V_IN on the DCA1000EVM and the micro-USB to the DCA1000EVM is connected to J1 for FTDI interface. The FTDI drivers were installed and all ports were recognized, as seen in the device manager.

The SOP pins on the IWR1443BOOST are set to:

SOP0 Closed
SOP1 Closed
SOP2 Open

After configuring the static IP address for the DCA1000EVM, I launched mmWave Studio 2.0.0.2, and ran the following commands.

  1. click Set(1)
  2. Select COM4 as the COM port and click Connect(2)
  3. Navigate to BSS Firmware using "..." and click Load(3)
    1. the chosen firmware was C:\ti\mmwave_studio_02_00_00_02\rf_eval_firmware\radarss\xwr12xx_xwr14xx_radarss.bin
    2. mmWave Studio updates to show BSS Firmware version and patch #'s correctly
  4. Navigate to MSS Firmware using "..." and click Load(4)
    1. the chosen firmware was C:\ti\mmwave_studio_02_00_00_02\rf_eval_firmware\masterss\xwr12xx_xwr14xx_masterss.bin
    2. mmWave Studio updates to show MSS Firmware version and patch # as 0.0.0.0 (00/00/00) and NA respectively. 

When I try to move to the next step (SPI Connect (5)), it fails which I suspect is due to the MSS Firmware being invalid from step 4 above. 

Output Log:

GM: Constructor
GM: Thu Feb 14 14:39:54 2019
RSTD.Transmit("/Settings")
[14:39:55]  
[14:39:55]  ### Running Startup script: "C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###
[14:39:55]  RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[14:39:55]  RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[14:39:55]  Scripter ignored: Attempt to UnBuild() again or before Build.
[14:39:55]  RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")
[14:39:55]  RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[14:39:55]  RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[14:39:55]  RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[14:39:55]  RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[14:39:55]  RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[14:39:55]  RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")
[14:39:55]  RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[14:39:55]  RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[14:39:55]  RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[14:39:55]  RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[14:39:55]  RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[14:39:55]  RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[14:39:55]  RSTD.Transmit("/")
[14:39:55]  RSTD.SaveSettings(): Settings saved to "C:\Users\Kirk\AppData\Roaming\RSTD\config.xml"
[14:39:55]  RSTD.Build()
[14:39:55]  RSTD.SaveSettings(): Settings saved to "C:\Users\Kirk\AppData\Roaming\RSTD\config.xml"
[14:39:55]  RSTD.Transmit("/")
[14:39:55]  RSTD.AL_Build()
[14:39:55]  RSTD.AL_LoadXml()
[14:39:55]  RSTD.Transmit("/")
[14:39:55]  RSTD.AL_Init()
[14:39:55]  RSTD.Clients_Build()
[14:39:55]  GM: Init
[14:39:55]  GM: Loaded 'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'
[14:39:55]  GM: 1 Guest (s) init
[14:39:55]  GM: 1 Module(s) init
[14:39:55]  GM: 2 Tab   (s) init
[14:39:55]  RSTD.Client_LoadXml()
[14:39:55]  [RadarAPI]: Starting Matlab Engine..
[14:40:15]  [RadarAPI]: Matlab Engine Started!
[14:40:18]  [RadarAPI]: ar1.LoadSettings('C:\Users\Kirk\AppData\Roaming\RSTD\ar1gui.ini')
[14:40:19]  TESTING = false
[14:40:19]  
[14:40:19]  ***Script completed successfully.***
[14:40:38]  [RadarAPI]: Opening Gpio Control Port()
[14:40:38]  [RadarAPI]: Status: Passed
[14:40:39]  [RadarAPI]: Opening Board Control Port()
[14:40:39]  [RadarAPI]: Status: Passed
[14:40:40]  [RadarAPI]: ar1.FullReset()
[14:40:40]  [RadarAPI]: Status: Passed
[14:40:41]  [RadarAPI]: Closing Board Control Port()
[14:40:41]  [RadarAPI]: Status: Passed
[14:40:41]  [RadarAPI]: Closing Gpio Control Port()
[14:40:41]  [RadarAPI]: Status: Passed
[14:40:41]  [RadarAPI]: ar1.SOPControl(2)
[14:40:41]  [RadarAPI]: Status: Passed
[14:40:42]  [RadarAPI]: ar1.Connect(4,921600,1000)
[14:40:45]  [RadarAPI]: Warning: Connected with baudrate 115200
[14:40:46]  [RadarAPI]: Warning: Disconnected existing BaudRate
[14:40:46]  [RadarAPI]: Warning: Trying to connect with baudrate 921600
[14:40:47]  [RadarAPI]: ar1.Calling_IsConnected()
[14:40:49]  [RadarAPI]: ar1.SelectChipVersion("AR1243")
[14:40:49]  [RadarAPI]: Status: Passed
[14:40:49]  [RadarAPI]: RS232 is not connected ..!!!!
[14:40:49]  [RadarAPI]: ar1.frequencyBandSelection("77G")
[14:40:49]  [RadarAPI]: ar1.SelectChipVersion("XWR1443")
[14:40:49]  [RadarAPI]: Status: Passed
[14:40:49]  Device Status : XWR1443/QM/SOP:2/ES:3
[14:40:50]  [RadarAPI]: ar1.SelectChipVersion("AR1243")
[14:40:50]  [RadarAPI]: Status: Passed
[14:40:50]  [RadarAPI]: ar1.SelectChipVersion("XWR1443")
[14:40:50]  [RadarAPI]: Status: Passed
[14:40:50]  Device Status : XWR1443/QM/SOP:2/ES:3
[14:40:50]  [RadarAPI]: ar1.SaveSettings('C:\Users\Kirk\AppData\Roaming\RSTD\ar1gui.ini')
[14:41:01]  [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\radarss\\xwr12xx_xwr14xx_radarss.bin")
[14:41:02]  [RadarAPI]: Downloading BSS Patch RPRC Binary..
[14:41:04]  [RadarAPI]: ar1.GetBSSFwVersion()
[14:41:04]  [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
[14:41:05]  [RadarAPI]: ar1.GetBSSPatchFwVersion()
[14:41:05]  [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
[14:41:09]  [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\masterss\\xwr12xx_xwr14xx_masterss.bin")
[14:41:09]  [RadarAPI]: Downloading MSS RPRC Binary..

I found a related issue here, which was resolved by 

1. Download Uniflash and format the SFLASH
2. Download mmWave Studio 2.0.0.2
3. Use the DataCaputeDemo_xWR.lua Script
so I tried to replicate these steps, starting with 1.) Downloading Uniflash and format the SFLASH. However, when I try to do this with the following 

I get the error "Cannot read property 'DS' of undefined" as shown 

As I'm just trying to run the demo and following the steps given, I'm confused on what may be causing this to fail so any help to resolve this would be greatly appreciated.

  • Hi Kirk,

    This is a good question. I'll have to talk to my team and have someone provide a response next week.


    Cheers,
    Akash
  • Kirk,

    1. make sure that the sflash is erased with uniflash,
      1. sop settings are: SOP0 and SOP2 closed, SOP1 open
      2. press nreset on the EVM before erasing
    2. connecting with DCA1000
      1. sop settings are: SOP0 and SOP1 closed, SOP2 open

    Hope this helps

    Alex

  • Alex,

    When I'm trying to erase the sflash with uniflash, I'm getting the error "Cannot read property 'DS' of undefined" as before. I have the SOP settings as you described (SOP0 and SOP2 closed, SOP1 open) and have pressed the NRST before trying to format the sflash in uniflash.

    Any thoughts on what is causing this error and a solution to it? I found this post that recommended disabling the WiFi and turning off the firewall on my laptop, which I have tried and still am getting the same error.

    Kirk

  • Update:

    I am still unable to erase the sflash with uniflash on my Windows 10 machine, however, I successfully erased the sflash on an Ubuntu 16.04 machine with uniflash, which allowed me to work around this error for the time being. I would like to resolve the Windows uniflash issue, but it is no longer a roadblock for me to collect data with the IWR1443Boost and DCA1000EVM.

    However, now I am running into the problem that the DCA1000EVM ethernet is not being detected by mmWaveStudio, where I am getting the error:

    ConnectRFDCCard Status:
    RRFDCCARD_SUCCESS
    Ethernet Cable is disconnected
    Please check.....!!!

    The ethernet cable is recognized by my machine by checking the local connection, which was configured to the specified IPv4 properties:
    192.168.33.30
    255.255.255.0

    The ethernet cable is connected to the machine through a USB-C adapter, as the laptop doesn't have a dedicated ethernet port, but as the connection is showing up in the Windows Network Connections, I don't think this is the problem. A solution to this would be greatly appreciated as well.

    Thanks,

    Kirk
  • Kirk,

    Some Ethernet to USB adapters do have issues with mmWave, can you use a different computer with a built in ethernet adapter? or a different adapter if possible.

    Alex
  • Kirk,

    Hope that your issue has been resolved, if you still have any questions please start another thread.

    Alex
  • Alex,

    Sorry I forgot to respond earlier. My device started communicating with my PC fine without me changing any settings several days later, so my issue is resolved, though I'm not sure exactly how it was resolved. Thanks for all your help getting it working!

    Kirk