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.

AWR1843BOOST: Firmware version mismatch when performing setup from json file

Part Number: AWR1843BOOST
Other Parts Discussed in Thread: MMWAVE-STUDIO, AWR1843

Hi all,

I am using the  AWR1843BOOST together with a DCA1000 to capture raw radar data. I want to be able to set up and configure the board for measurement using json files. However, when I try to set up the connection and data capture from a setup.json file using the Import_Export tab in mmWave Studio I get warning messages like these:

 [RadarAPI]: Warning: Mismatched BSS firmware version!

 [RadarAPI]: Warning: Mismatched MSS firmware version!

and when I try to proceed to configuring the board I get an error saying that it is not powered up. This happens even when the json files in question correspond to a configuration I know works (I ran the DataCaptureDemo_xWR.lua script, got data as expected, and exported the setup and config to json).

I have tried to load the same BSS and MSS firmware manually and via LUA scripts and both work, so the problem only occurs when using .json files and the Import_Export tab.

I noticed that the output of the GetBSSFwVersion command that is run after loading the firmware is different during the json file setup compared to when loading the firmware using the lua script. With the lua script the output looks like this:

[RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))

Whereas when using the Import_Export API it looks like this

[RadarAPI]: BSSFwVersion:(00.00.00.00 (00/00/00))

despite the same firmware file being loaded. In some cases there is also a timeout warning.

How can I resolve this issue?

Best regards,

Edit Helgee

  • Hi,
    Could you share mmwave-studio output log and JSON file with us, we'll try to reproduce the same issue at our end.

    And when you import from JSON, while BSS firmware download do you see popup for file download and check the BSS firmware file path from the output log.

    Regards,
    Jitendra
  • Hi Jitendra,

    Thanks for your reply. I have pasted the log messages and the contents of the .setup.json file below (for some reason I was unable to include the files as attachments).

    The popup window is displayed for both downloads, but for some reason it disappears at about 60 % completed instead of remaining visible until the download is complete, as it does when I run the DataCaptureDemo script.

    I have also verified that the firmware file path in the log messages appears to be correct.

    Regards,

    Edit

    mmWave Studio log messages resulting from loading the .setup.json file:

    [16:25:47]  [RadarAPI]: Single Chip Configuration
    [16:25:47]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [16:25:47]  [RadarAPI]: passed
    [16:25:47]  [RadarAPI]: RS232 is not connected ..!!!!
    [16:25:47]  [RadarAPI]: ar1.frequencyBandSelection("77G")
    [16:25:48]  Capture Setup JSON Configuration is imported and loaded. DONE.
    [16:25:50]  [RadarAPI]: Opening Gpio Control Port()
    [16:25:50]  [RadarAPI]: Status: Passed
    [16:25:51]  [RadarAPI]: Opening Board Control Port()
    [16:25:51]  [RadarAPI]: Status: Passed
    [16:25:52]  [RadarAPI]: ar1.FullReset()
    [16:25:52]  [RadarAPI]: Status: Passed
    [16:25:53]  [RadarAPI]: Closing Board Control Port()
    [16:25:53]  [RadarAPI]: Status: Passed
    [16:25:53]  [RadarAPI]: Closing Gpio Control Port()
    [16:25:53]  [RadarAPI]: Status: Passed
    [16:25:53]  [RadarAPI]: ar1.SOPControl(2)
    [16:25:53]  [RadarAPI]: Status: Passed
    [16:25:56]  [RadarAPI]: ar1.Connect(5,115200,1000)
    [16:25:57]  [RadarAPI]: ar1.Calling_IsConnected()
    [16:25:58]  [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [16:25:58]  [RadarAPI]: Status: Passed
    [16:25:58]  [RadarAPI]: ar1.SelectChipVersion("XWR1843")
    [16:25:58]  [RadarAPI]: Status: Passed
    [16:25:58]  Device Status : XWR1843/ASIL-B/SOP:2/ES:2
    [16:26:00]  [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [16:26:00]  [RadarAPI]: Status: Passed
    [16:26:00]  [RadarAPI]: ar1.SelectChipVersion("XWR1843")
    [16:26:00]  [RadarAPI]: Status: Passed
    [16:26:00]  Device Status : XWR1843/ASIL-B/SOP:2/ES:2
    [16:26:00]  [RadarAPI]: ar1.SaveSettings('C:\Users\eWX683747\AppData\Roaming\RSTD\ar1gui.ini')
    [16:26:05]  [RadarAPI]: ar1.DownloadBSSFw("D:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr18xx_radarss.bin")
    [16:26:05]  [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [16:26:08]  [RadarAPI]: ar1.DownloadMSSFw("D:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr18xx_masterss.bin")
    [16:26:10]  [RadarAPI]: Downloading MSS RPRC Binary..
    [16:26:13]  [RadarAPI]: Warning: #####Timeout : 100
    [16:26:14]  [RadarAPI]: Warning: #####Timeout : 100
    [16:26:14]  [RadarAPI]: ar1.GetBSSFwVersion()
    [16:26:14]  [RadarAPI]: BSSFwVersion:(00.00.00.00 (05/10/17))
    [16:26:16]  [RadarAPI]: ar1.RfEnable()
    [16:26:16]  [RadarAPI]: Warning: #####Timeout : 100
    [16:26:17]  [RadarAPI]: ar1.GetBSSFwVersion()
    [16:26:17]  [RadarAPI]: BSSFwVersion:(00.00.00.00 (00/00/00))
    [16:26:17]  [RadarAPI]: Warning: BSS firmware version Mismatch!
    [16:26:19]  Status: Failed, Error Type: RESP TIMEOUT
    [16:26:20]  [RadarAPI]: Warning: #####Timeout : 100
    [16:26:21]  [RadarAPI]: Warning: #####Timeout : 100
    [16:26:22]  [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [16:26:22]  [RadarAPI]: BSSPatchFwVersion:(00.00.00.00 (24/10/18))
    [16:26:22]  [RadarAPI]: Warning: BSS patch firmware version Mismatch!
    [16:26:22]  [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [16:26:22]  [RadarAPI]: Status: Passed
    [16:26:22]  MSS power up done async event received!

    Contents of export_setup_final.setup.json file:


    {
      "createdByVersion": "2.0.0",
      "createdOn": "2019-04-10T16:24:03.6606202+02:00",
      "configUsed": "",
      "captureHardware": "DCA1000",
      "mmWaveDevice": "awr1843",
      "operatingFreq": 77,
      "mmWaveDeviceConfig": {
        "RS232COMPort": "COM5",
        "RS232BaudRate": "115200",
        "radarSSFirmware": "D:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr18xx_radarss.bin",
        "masterSSFirmware": "D:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr18xx_masterss.bin"
      },
      "mmWaveBoard": "18xx",
      "mmWaveBoardId": "5112200050",
      "capturedFiles": {
        "numFilesCollected": 1,
        "fileBasePath": "D:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\PostProc",
        "files": [
          {
            "rawFileName": "adc_data_Raw_0.bin",
            "processedFileName": "adc_data.bin",
            "processedFileSummary": {
              "numZeroFillBytes": 0
            }
          }
        ]
      }
    }

  • Hi,
    In the JSON setting please use RS232 baud rate (RS232BaudRate) as 921600 instead of 115200 to resolve this issue.

    Regards,
    Jitendra