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: SPI connectivity issues with mmWave Studio and IWR6843 EVM + DCA1000

Part Number: DCA1000EVM
Other Parts Discussed in Thread: IWR6843, MMWAVEICBOOST, , UNIFLASH

Hi, 

I have been using the combination of DCA1000EVM + mmWaveICBoost + IWR6843. I followed the instructions from table 3, page 14 of the mmWaveBoostIC user guide and also from this, I have been able to solve the RS232 issues, and the mmWave studio is recognizing my device as IWR6843/QM/SOP:2/ES:1 but the SPI Connectivity status is still "Disconnected". Is this is a software or a hardware issue or both?

I am a new user of the IWR6843 sensing kit, and I have another ticket on how to open the demo visualizer. Is there an issue with my hardware? We purchased it recently.

I would appreciate it very much for any input. Completely running out of ideas at this point.

Vijay

  • So update on this, I used the firmware version in the folder C:\ti\mmwave_studio_02_00_00_02\rf_eval_firmware\radarss\xwr68xx_radarss.bin for the BSS firmware and the version in the folder in C:\ti\mmwave_studio_02_00_00_02\rf_eval_firmware\masterss\xwr68xx_masterss.bin for the MSS firmware. The mmWave studio has recognized the versions to be 6.0.5.0 but the SPI connectivity issues persist.

    I learnt from the DCA1000 EVM deep dive video lecture that the SPI Connectivity issue is mostly caused by firmware issues and thats why I changed it.
  • Vijay,

    Can you upload a copy of your log window?

    Alex
  • GM: Constructor
    GM: Thu Feb 14 09:17:05 2019
    RSTD.Transmit("/Settings")
    [09:17:06]
    [09:17:06] ### Running Startup script: "C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###
    [09:17:06] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [09:17:06] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [09:17:06] Scripter ignored: Attempt to UnBuild() again or before Build.
    [09:17:06] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [09:17:06] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [09:17:06] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [09:17:06] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [09:17:06] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [09:17:06] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [09:17:06] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")
    [09:17:06] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [09:17:06] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [09:17:06] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [09:17:06] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [09:17:06] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [09:17:06] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [09:17:06] RSTD.Transmit("/")
    [09:17:06] RSTD.SaveSettings(): Settings saved to "C:\Users\vivenkat\AppData\Roaming\RSTD\config.xml"
    [09:17:06] RSTD.Build()
    [09:17:06] RSTD.SaveSettings(): Settings saved to "C:\Users\vivenkat\AppData\Roaming\RSTD\config.xml"
    [09:17:06] RSTD.Transmit("/")
    [09:17:06] RSTD.AL_Build()
    [09:17:06] RSTD.AL_LoadXml()
    [09:17:06] RSTD.Transmit("/")
    [09:17:06] RSTD.AL_Init()
    [09:17:06] RSTD.Clients_Build()
    [09:17:06] GM: Init
    [09:17:06] GM: Loaded 'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'
    [09:17:06] GM: 1 Guest (s) init
    [09:17:06] GM: 1 Module(s) init
    [09:17:06] GM: 2 Tab (s) init
    [09:17:06] RSTD.Client_LoadXml()
    [09:17:06] [RadarAPI]: Starting Matlab Engine..
    [09:17:25] [RadarAPI]: Matlab Engine Started!
    [09:17:28] [RadarAPI]: ar1.LoadSettings('C:\Users\vivenkat\AppData\Roaming\RSTD\ar1gui.ini')
    [09:17:28] TESTING = false
    [09:17:28]
    [09:17:28] ***Script completed successfully.***
    [09:18:34] [RadarAPI]: Opening Gpio Control Port()
    [09:18:34] [RadarAPI]: Status: Passed
    [09:18:35] [RadarAPI]: Opening Board Control Port()
    [09:18:35] [RadarAPI]: Status: Passed
    [09:18:36] [RadarAPI]: ar1.FullReset()
    [09:18:36] [RadarAPI]: Status: Passed
    [09:18:37] [RadarAPI]: Closing Board Control Port()
    [09:18:37] [RadarAPI]: Status: Passed
    [09:18:37] [RadarAPI]: Closing Gpio Control Port()
    [09:18:37] [RadarAPI]: Status: Passed
    [09:18:37] [RadarAPI]: ar1.SOPControl(2)
    [09:18:37] [RadarAPI]: Status: Passed
    [09:18:41] [RadarAPI]: ar1.Connect(11,115200,1000)
    [09:18:42] [RadarAPI]: ar1.Calling_IsConnected()
    [09:18:43] [RadarAPI]: ar1.SelectChipVersion("IWR6843")
    [09:18:43] [RadarAPI]: Status: Passed
    [09:18:43] [RadarAPI]: RS232 is not connected ..!!!!
    [09:18:43] [RadarAPI]: ar1.frequencyBandSelection("60G")
    [09:18:43] [RadarAPI]: ar1.SelectChipVersion("IWR6843")
    [09:18:43] [RadarAPI]: Status: Passed
    [09:18:43] Device Status : IWR6843/QM/SOP:2/ES:1
    [09:18:44] [RadarAPI]: ar1.SelectChipVersion("IWR6843")
    [09:18:44] [RadarAPI]: Status: Passed
    [09:18:44] [RadarAPI]: ar1.SelectChipVersion("IWR6843")
    [09:18:44] [RadarAPI]: Status: Passed
    [09:18:44] Device Status : IWR6843/QM/SOP:2/ES:1
    [09:18:44] [RadarAPI]: ar1.SaveSettings('C:\Users\vivenkat\AppData\Roaming\RSTD\ar1gui.ini')
    [09:18:56] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\radarss\\xwr68xx_radarss.bin")
    [09:18:57] [RadarAPI]: Downloading BSS ROM RPRC Binary..
    [09:19:40] [RadarAPI]: ar1.GetBSSFwVersion()
    [09:19:40] [RadarAPI]: BSSFwVersion:(06.00.05.00 (01/08/18))
    [09:19:57] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\masterss\\xwr68xx_masterss.bin")
    [09:19:58] [RadarAPI]: Downloading MSS RPRC Binary..

    The highlighted line is where the computer freezes. I have attached the screenshot of my mmWave studio.

    Thanks,

    Vijay

  • Vijay,

    Lets start with NO DCA1000:

    1. Place mux's on the carrier in "SOLO" mode.
    2. SOP in "DCA" mode
    3. connect 2 micro usb cables to the carrier and power it on
    4. open mmWave studio and try to connect manually, this should let you connect with SPI

    let me know if you are able to achieve this

    Alex

  • Alex, I did the same thing as you suggested. The Mux is in solo mode and SOP jumpers are in DCA mode. It still doesn't connect through SPI. My system just froze. I have no logs printing on my shell as well. I assume that is because the FTDI is switch isnt in the right position. I have attached three pictures of my setup along with.

  • Vijay,

    Disconnect the DCA1000.

    Connect 2 micro usb cables to the carrier and power it on.

    then repeat the procedure

    Alex

  • When I connect the two microUSB cables to the XDS110 and FTDI_USB ports, mmWave studio doesn't display the two CFG and Data_ports. I only see the four DEVPACK ports.  They are visible in my Device manager though and I can open them using Putty. Will it be solved by reinstalling mmWave studio. How do I uninstall it? There is no uninstaller for this.

    Vijay

  • Vijay,

    Refresh with the button next to the COM Port drop down or shutdown mmWave studio, connect device with previous instructions then open mmWave Studio.

    Alex
  • Alex, I did the same and the mmWave studio doesn't seem to respond again. I have attached the picture.

    Vijay

  • Vijay,

    Can you try another computer (no Virtual machine)

    Alex
  • Vijay,

    Also, can you erase the sflash before using with mmWave studio.

    Alex
  • Alex, I do not have access to another computer. Should I erase flash using Uniflash? How should I proceed? Is there Command Line Utility that does that?

    Vijay
  • Vijay,

    Yes, please erase sflash using Uniflash. LINK for instructions.

    Also, can you snap a picture/screenshot of your device manager, showing the "Ports"?

    Alex

  • Vijay,

    If you are still having issues please let us know, for now i'll close this thread an consider it resolved.

    Alex
  • Hi Alex, I'm sorry for the late reply. I was on vacation for the past two weeks and didn't have access to my email. But before I left, I tried "formatting SFLASH" using uniflash and I wasn't able to erase the flash. I am trying to do the same thing now and I am getting the same error. The mmWaveICBoost is on the standalone mode. I have attached the screenshot of the uniflash utility. I followed the instructions in this link. It still doesn't work for me. 

    I power cycle (NRST button) before I press FORMAT SFLASH. 

    Thanks,

    Vijay

  • Vijay,

    Please open a new thread and reference back to this thread.

    Alex
  • e2e.ti.com/.../781558 - Alex, I have created a new issue here.