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: RAW sensor data capture with TSW1400

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

Hi,

I'm trying to get raw data capture running with the TSW1400. The process seems to work up to the point of loading the MSS FW, which hangs at 0%.

I get the same results using mmwave_dfp_00_07_00_04, mmwave_dfp_00_09_01_06, mmwave_dfp_01_00_00_01.

The TSW1400 and IWR1443BOOST are powered by separate 5V 5A power supplies.

I am running Windows 10.

Regards,

Bill

GM: Constructor
GM: Wed Jun 20 09:23:21 2018
RSTD.Transmit("/Settings")
[09:23:21]
[09:23:21] ### Running Startup script: "C:\ti\mmwave_dfp_01_00_00_01\rf_eval\radarstudio\Scripts\Startup.lua" ###
[09:23:21] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[09:23:21] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[09:23:21] Scripter ignored: Attempt to UnBuild() again or before Build.
[09:23:21] UnRegisterDll: Ignored. dll "C:\ti\mmwave_dfp_01_00_00_01\rf_eval\radarstudio\Clients\AR1xController\AR1xController.dll" is not registered.
[09:23:21] WARNING:
[09:23:21] RegisterDll: Could not find path "C:\Program Files (x86)\Texas Instruments\RadarStudio\Clients\HSDCPRO\Lua_CS_HSDCPro.dll"
[09:23:21] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_dfp_01_00_00_01\\rf_eval\\radarstudio\\Clients\\\\LabClient.dll")
[09:23:21] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[09:23:21] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[09:23:21] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[09:23:21] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[09:23:21] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[09:23:21] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_dfp_01_00_00_01\\rf_eval\\radarstudio\\RunTime\\SAL.dll")
[09:23:21] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[09:23:21] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[09:23:21] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[09:23:21] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[09:23:21] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[09:23:21] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[09:23:21] RSTD.Transmit("/")
[09:23:21] RSTD.SaveSettings(): Settings saved to "C:\Users\linb\AppData\Roaming\RSTD\config.xml"
[09:23:21] RSTD.Build()
[09:23:21] RSTD.SaveSettings(): Settings saved to "C:\Users\linb\AppData\Roaming\RSTD\config.xml"
[09:23:21] RSTD.Transmit("/")
[09:23:21] RSTD.AL_Build()
[09:23:21] RSTD.AL_LoadXml()
[09:23:21] RSTD.Transmit("/")
[09:23:21] RSTD.AL_Init()
[09:23:21] RSTD.Clients_Build()
[09:23:21] GM: Init
[09:23:21] GM: Loaded 'C:\ti\mmwave_dfp_01_00_00_01\rf_eval\radarstudio\Clients\\LabClient.dll'
[09:23:21] GM: 1 Guest (s) init
[09:23:22] GM: 1 Module(s) init
[09:23:22] GM: 2 Tab (s) init
[09:23:22] RSTD.Client_LoadXml()
[09:23:22] [RadarAPI]: Starting Matlab Engine..
[09:23:33] [RadarAPI]: Matlab Engine Started!
[09:23:46] [RadarAPI]: ar1.LoadSettings('C:\Users\linb\AppData\Roaming\RSTD\ar1gui.ini')
[09:23:47] TESTING = false
[09:23:47]
[09:23:47] ***Script completed successfully.***
[09:23:52] [RadarAPI]: Opening Gpio Control Port()
[09:23:52] [RadarAPI]: Status: Passed
[09:23:53] [RadarAPI]: Opening Board Control Port()
[09:23:53] [RadarAPI]: Status: Passed
[09:23:54] [RadarAPI]: ar1.FullReset()
[09:23:54] [RadarAPI]: Status: Passed
[09:23:54] [RadarAPI]: Closing Board Control Port()
[09:23:54] [RadarAPI]: Status: Passed
[09:23:54] [RadarAPI]: Closing Gpio Control Port()
[09:23:54] [RadarAPI]: Status: Passed
[09:23:54] [RadarAPI]: ar1.SOPControl(2)
[09:23:54] [RadarAPI]: Status: Passed
[09:23:58] [RadarAPI]: ar1.Connect(8,115200,1000)
[09:23:59] [RadarAPI]: ar1.Calling_IsConnected()
[09:24:00] [RadarAPI]: ar1.SelectChipVersion("XWR1443")
[09:24:00] [RadarAPI]: Status: Passed
[09:24:01] [RadarAPI]: ar1.SelectChipVersion("XWR1443")
[09:24:01] [RadarAPI]: Status: Passed
[09:24:01] [RadarAPI]: ar1.SaveSettings('C:\Users\linb\AppData\Roaming\RSTD\ar1gui.ini')
[09:24:08] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_dfp_01_00_00_01\\firmware\\radarss\\xwr12xx_xwr14xx_radarss.bin")
[09:34:25] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_dfp_01_00_00_01\\firmware\\masterss\\xwr12xx_masterss.bin")

  • Hi Bill,

    Could you please try to erase the IWR1443 using Uniflash first, then re-do the mmwave studio data capture again?
    Thanks.

    Regards,
    Wesley
  • Hi Wesley,

    I tried the erase again, there was no change to the problem (output log is below)

    I have noticed that Radar Studio v1.7.4.0 is the only version that will reliably load the BSS FW.
    v1.9.1.0 and v1.9.2.1 will 90%+ of the time will not get off 0% for the BSS.

    Also the "Device Status:" shows "XWR1443\QM\SOP:4" all the documents I have read and the demo video show the Device Status as "XWR1443\QM\SOP:2" is this an issue?

    Regards,
    Bill

    Uniflash output
    [21/6/2018 6:56:55 am] [INFO] Cortex_R4_0: Initialization complete.
    [21/6/2018 6:56:55 am] [INFO] Cortex_R4_0: Connecting to COM Port COM8...
    [21/6/2018 6:56:55 am] [INFO] Cortex_R4_0: Reset connection to device
    [21/6/2018 6:56:55 am] [INFO] Cortex_R4_0: Set break signal
    [21/6/2018 6:56:55 am] [INFO] Cortex_R4_0: Connection to COM port succeeded. Flashing can proceed.
    [21/6/2018 6:56:55 am] [INFO] Cortex_R4_0: FORMAT Command: Initiating erase operation of SFLASH storage area.
    [21/6/2018 6:56:55 am] [INFO] Cortex_R4_0: -->Erasing storage [SFLASH]
    [21/6/2018 6:56:55 am] [INFO] Cortex_R4_0: -->Sending Erase command to device...
    [21/6/2018 6:57:07 am] [SUCCESS] Cortex_R4_0: -->Erase storage completed successfully!
    [21/6/2018 6:57:07 am] [INFO] Cortex_R4_0: Disconnecting from device on COM port COM8...
    [21/6/2018 6:57:07 am] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...
    [21/6/2018 6:57:07 am] [INFO] Cortex_R4_0: Instance deinitialized!
  • Hi Bill,
    Here's the correct path of the MSS firmware.
    C:\ti\mmwave_dfp_01_00_00_01\rf_eval\rf_eval_firmware\masterss\xwr12xx_xwr14xx_masterss.bin
    Could you please try it again?
    Thanks.
  • Hi Wesley,

    Still no difference.

    I can load the "BSS FW:" but the "MSS FW:" gets stuck on "0% Downloading Firmware to the device ... Please wait, you can't terminate"

    I have tried multiple computers (Win7/Win10) all with the same result.

    Is it possible that the IWR1443BOOST is faulty?

    Regards,

    Bill

  • Hi Bill,

    Could you please double check the hardware connection.

    Yes, you are right.

    The "Device Status:" shows "XWR1443\QM\SOP:4" all the documents I have read and the demo video show the Device Status as "XWR1443\QM\SOP:2" is this an issue?

    It should be SOP2, Could you please try to using Jumper to set the SOP mode manually? Connect SOP0: ON, SOP1-1: ON-1, SOP2: OFF-0

    SOP mode 4 is not a development mode.

    Regards,

    Wesley

  • Hi Wesley,

    Fitting the SOP1 jumper allowed me to download the firmware. But the SPI would not connect.

    Looking at the photos in the "mmWave Sensor Raw Data Capture Using the TSW1400 Board V3" pdf I noticed that jumpers 1,2,3,4 on the DevPack  board were in a different position to the board I have.

    Changing all 4 jumpers seems to have fixed the problem I was having.

    With the jumpers changed all 3 versions of the Radar Studio can now load the firmware

    Regards,

    Bill