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 received IWR1443boost with DCA1000evm does not work with mmwave studio

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

Hi,

I have received 10 more bunches of IWR1443boost with DCA1000evm. However, those modules dont work with MMWAVE Studio (mmwave_studio_01_00_00_00).

The new boards are REV B, while what I was using is before are REV A. The firmware loaded for them are ES2.0 ones.

The MMWAVE Studio always shows an error msg:

[23:49:39] [RadarAPI]: ar1.RfEnable()
[23:49:39] Status: Failed, Error Type: INVALID INPUT
[23:49:39] [RadarAPI]: Error Occurred in Port open close
[23:49:40] [RadarAPI]: Warning: BSS firmware version Mismatch!

How can I fix this bug so that I can play the new IWR1443boost boards still using mmwave studio I was using before?

Note that I was also trying to use UniFlash 5.1.0 to flash the new boards with the old firmware that comes from mmwave_sdk_01_01_00_02.

But I got another error:

[8/1/2019, 1:55:23 PM] [INFO] Cortex_R4_0: Initialization complete.
[8/1/2019, 1:55:23 PM] [INFO] Cortex_R4_0: Flashing process starting...
[8/1/2019, 1:55:23 PM] [INFO] Cortex_R4_0: Connecting to COM Port COM28...
[8/1/2019, 1:55:23 PM] [INFO] Cortex_R4_0: Reset connection to device
[8/1/2019, 1:55:23 PM] [INFO] Cortex_R4_0: Set break signal
[8/1/2019, 1:55:23 PM] [INFO] Cortex_R4_0: Connection to COM port succeeded. Flashing can proceed.
[8/1/2019, 1:55:23 PM] [INFO] Cortex_R4_0: Reading device version info...
[8/1/2019, 1:55:23 PM] [INFO] Cortex_R4_0: ** 1 files specified for flashing.
[8/1/2019, 1:55:23 PM] [INFO] Cortex_R4_0: Checking file C:/ti/mmwave_sdk_01_01_00_02/firmware/radarss/xwr12xx_xwr14xx_radarss.bin for correct header for IWR1443.
[8/1/2019, 1:55:23 PM] [INFO] Cortex_R4_0: Header of C:/ti/mmwave_sdk_01_01_00_02/firmware/radarss/xwr12xx_xwr14xx_radarss.bin file indicates it is not a valid file to flash to IWR1443: 0xb55a03d1L
[8/1/2019, 1:55:23 PM] [ERROR] Cortex_R4_0: !!! Aborting flashing of specified files!!!
[8/1/2019, 1:55:23 PM] [INFO] Cortex_R4_0: Disconnecting from device on COM port COM28...
[8/1/2019, 1:55:23 PM] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...
[8/1/2019, 1:55:23 PM] [INFO] Cortex_R4_0: Instance deinitialized!

Thank you for your suggestions!

Weite

  • Hello Weite,

    SDK 1.1.0.2 supports ES2.0 devices. The new boards you have are likely ES3.0 devices, so you will need to move to SDK 2.1.0.4 for ES3.0 xWR1443 devices.

    http://software-dl.ti.com/ra-processors/esd/MMWAVE-SDK/02_01_00_04/index_FDS.html

    You should also move to the latest version of mmWave Studio for ES3.0 devices.

    http://software-dl.ti.com/ra-processors/esd/MMWAVE-STUDIO/latest/index_FDS.html

    Regards,

    Adrian

  • Hi Adrian,

    I can only flash the MSS image (C:\ti\mmwave_sdk_02_01_00_04\packages\ti\demo\xwr14xx\mmw\xwr14xx_mmw_demo.bin). Once I added the RadarSS image, it shows an error message.

    With only MSS image, I am trying IWR1443BOOST+DCA1000EVM in MMWAVE Studio. And I got the error as follows:

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

    All my applications should be based on MMWAVE Studio. Any suggestions?

  • When using the SDK OOB demo, there is only one image. The BSS and MSS images have been combined into a single image, the 'xwr14xx_mmw_demo.bin' so you should not be trying to flash multiple images simultaneously. Please read through the SDK user's guide for more detailed instructions on running the demo.

    You need to erase the flash before using mmWave Studio.

    Regards,

    Adrian

  • Thank you for the solution! It really helps!