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.

AWR1642BOOST: Trouble connecting AWR1642BOOST to mmWave Visualizer

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: DCA1000EVM, , AWR1642

I've been attempting to connect my AWR1642BOOST radar module to my computer to test with the mmWave Demo Visualizer, but have had trouble connecting to the program. When trying to connect hardware, the application port connects immediately but the auxiliary port does not. Since the auxilary port requires a higher baud rate than seems to be allowed by that COM port according to the device manager, I suspect that is the issue. Lowering the baud rate in mmWave does not seem to fix the issue and I have been struggling to get my DCA1000EVM capture board to work, so I do not know how to resolve this issue. Any help would be much appreciated. 

  • Hi,

    Are you able to run one of the other demos we provide? Is the COM port limitation related to the PC you are using?

    Thank you
    Cesar

  • I am also attempting to follow the DCA1000EVM quick start guide but have not yet had success (/cfs-file/__key/communityserver-discussions-components-files/1023/spruik7.pdf). I don't think I've tried other demos, but if you have any recommendations to try then I can see if any others would work. The COM ports seem to be limited by the PC, although other COM ports seem to be capable of the required baud rates. 

    Thank you, 
    Daniel

  • Yes,

    This may be a limitation of the PC you are using.

    If you want to run the mmWave SDK demo on this PC you may have to update and re-build the target code. However we need to keep in mind that lowering the data transmission speed will have an impact on some of the demo frame configurations. There may not be sufficient time to transfer the results.

    What are the problems with DCA1000?

    Thank you

    Cesar

  • Is there a guide on on rebuilding said target code? I have only been using pre built demos so far and haven't touched the code as I only need to validate the system for now. I've tried setting a lower baud rate in the serial port config on the mmWave Visualizer Demo with the exact same results. 

    There may be progress with the mmWave Studio, however. It seems to have connected with a lower baud rate there, but when running the script as indicated by the quick start guide it returned no data. Now when trying to run again it has been stuck at "downloading firmware to device..." at 0%. This is attempting to use the DCA1000 and AWR1642BOOST together. This seems to be the main problem at the moment and the most progress that has been made so far, so any advice on this is appreciated. 

    Best, 
    Daniel

  • Hi,

    If you are not familiar with the target code, this may be a too difficult task.

    What is your objective with this project/

    It looks like you are trying to collect raw data

    thank you
    Cesar

  • Correct, I am simply trying to collect data to use for computer vision.

    I don't have any experience with said target code, but if there are resources available to learn or examples to modify I may be able to learn it, or at least enough for my purpose. 

    Are there easier ways to collect this data given my situation or should I simply look into trying a different computer? 

    Thank you,
    Daniel

  • The following is about where I stand when trying to follow the quick start guide for using the DCA1000 with the AWR1642 in mmWave Studio as opposed to using mmWave Demo Visualizer: 

    These are the settings I've tried in mmWave Studio. I get the same results when selecting a baud rate of 115200 . 
    /resized-image/__size/1920x1031/__key/communityserver-discussions-components-files/1023/535543.Capture.PNG

    This is the full feed when I connect to the COM9 port (Application/User UART) with either baud rate and run the data capture demo script from the above picture:

    GM: Constructor
    GM: Thu Feb 10 09:44:48 2022
    RSTD.Transmit("/Settings")
    [09:44:48]  
    [09:44:48]  ### Running Startup script: "C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Scripts\Startup.lua" ###
    [09:44:48]  RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [09:44:48]  RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [09:44:48]  Scripter ignored: Attempt to UnBuild() again or before Build.
    [09:44:48]  RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [09:44:48]  RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [09:44:48]  RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [09:44:48]  RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [09:44:48]  RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [09:44:48]  RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [09:44:48]  RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\RunTime\\SAL.dll")
    [09:44:48]  RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [09:44:48]  RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [09:44:48]  RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [09:44:48]  RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [09:44:48]  RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [09:44:48]  RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [09:44:48]  RSTD.Transmit("/")
    [09:44:48]  RSTD.SaveSettings(): Settings saved to "C:\Users\daniel.laws\AppData\Roaming\RSTD\config.xml"
    [09:44:48]  RSTD.Build()
    [09:44:48]  RSTD.SaveSettings(): Settings saved to "C:\Users\daniel.laws\AppData\Roaming\RSTD\config.xml"
    [09:44:48]  RSTD.Transmit("/")
    [09:44:48]  RSTD.AL_Build()
    [09:44:48]  RSTD.AL_LoadXml()
    [09:44:48]  RSTD.Transmit("/")
    [09:44:48]  RSTD.AL_Init()
    [09:44:48]  RSTD.Clients_Build()
    [09:44:48]  GM: Init
    [09:44:48]  GM: Loaded 'C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\Clients\\LabClient.dll'
    [09:44:48]  GM: 1 Guest (s) init
    [09:44:48]  GM: 1 Module(s) init
    [09:44:48]  GM: 2 Tab   (s) init
    [09:44:48]  RSTD.Client_LoadXml()
    [09:44:49]  [RadarAPI]: ar1.selectRadarMode(0)
    [09:44:49]  [RadarAPI]: Status: Passed
    [09:44:49]  Matlab Runtime Engine is installed
    [09:44:49]  [RadarAPI]: Starting Matlab Engine..
    [09:44:51]  [RadarAPI]: Matlab Engine Started!
    [09:44:52]  [RadarAPI]: ar1.selectCascadeMode(0)
    [09:44:52]  [RadarAPI]: Status: Passed
    [09:44:52]  [RadarAPI]: ar1.LoadSettings('C:\Users\daniel.laws\AppData\Roaming\RSTD\ar1gui.ini')
    [09:44:52]  TESTING = false
    [09:44:52]  RstdNet: Port 2777: Listening..
    [09:44:52]  
    [09:44:52]  ***Script completed successfully.***
    [09:45:01]  [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [09:45:01]  [RadarAPI]: Status: Passed
    [09:45:01]  [RadarAPI]: ar1.deviceVariantSelection("XWR1642")
    [09:45:01]  [RadarAPI]: Status: Passed
    [09:45:07]  [RadarAPI]: ar1.Connect(9,921600,1000)
    [09:45:09]  [RadarAPI]: Warning: Connected with baudrate 115200
    [09:45:10]  [RadarAPI]: Warning: Disconnected existing BaudRate
    [09:45:11]  [RadarAPI]: Warning: Trying to connect with baudrate 921600
    [09:45:12]  [RadarAPI]: ar1.Calling_IsConnected()
    [09:45:13]  [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [09:45:13]  [RadarAPI]: Status: Passed
    [09:45:13]  [RadarAPI]: ar1.frequencyBandSelection("77G")
    [09:45:13]  [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [09:45:13]  [RadarAPI]: Status: Passed
    [09:45:13]  [RadarAPI]: ar1.SaveSettings('C:\Users\daniel.laws\AppData\Roaming\RSTD\ar1gui.ini')
    [09:45:16]  [RadarAPI]: ar1.ReadRegister(0xffffe214, 0, 31)
    [09:45:16]  [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31)
    [09:45:16]  [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31)
    [09:45:16]  [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin")
    [09:45:17]  [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [09:45:19]  [RadarAPI]: ar1.GetBSSFwVersion()
    [09:45:19]  [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [09:45:20]  [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [09:45:20]  [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [09:45:20]  BSS FW Download Success
    [09:45:20]  [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin")
    [09:45:20]  [RadarAPI]: Downloading MSS RPRC Binary..
    [09:45:22]  [RadarAPI]: ar1.GetMSSFwVersion()
    [09:45:22]  [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [09:45:22]  MSS FW Download Success
    [09:45:23]  MSS power up done async event received!
    [09:45:23]  [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [09:45:23]  [RadarAPI]: Status: Passed
    [09:45:23]  Power On Success
    [09:45:24]  [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [09:45:24]  [RadarAPI]: Status: Passed
    [09:45:24]  [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [09:45:24]  [RadarAPI]: Status: Passed
    [09:45:24]  Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [09:45:24]  [RadarAPI]: ar1.RfEnable()
    [09:45:24]  BSS power up done async event received!
    [09:45:24]  [RadarAPI]: Status: Passed
    [09:45:24]  [RadarAPI]: ar1.GetMSSFwVersion()
    [09:45:24]  [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
    [09:45:25]  [RadarAPI]: ar1.GetBSSFwVersion()
    [09:45:25]  [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [09:45:26]  [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [09:45:26]  [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
    [09:45:26]  RF Enable Success
    [09:45:26]  [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
    [09:45:26]  [RadarAPI]: Status: Passed
    [09:45:26]  ChanNAdcConfig Success
    [09:45:26]  [RadarAPI]: ar1.LPModConfig(0, 1)
    [09:45:26]  [RadarAPI]: Status: Passed
    [09:45:26]  LPModConfig Success
    [09:45:26]  [RadarAPI]: ar1.RfInit()
    [09:45:26]  RF Init async event received!
    [09:45:26]  [RadarAPI]: Time stamp, Temperture: 2117,40; APLL Status, Update: 1, 0; SynthVCO1 Status, Update: 1, 1; SynthVCO2 Status, Update: 1, 1; LODist Status, Update: 1, 1; RxADCDC Status, Update: 1, 1; HPFcutoff Status, Update: 1, 1; LPFcutoff Status, Update: 1, 1; PeakDetector Status, Update: 1, 1; TxPower Status, Update: 1, 1; RxGain Status, Update: 1, 1; TxPhase Status, Update: 0, 0; RxIQMM Status, Update: 1, 1; 
    [09:45:26]  [RadarAPI]: Status: Passed
    [09:45:26]  RfInit Success
    [09:45:27]  [RadarAPI]: ar1.DataPathConfig(1, 1, 0)
    [09:45:27]  [RadarAPI]: Status: Passed
    [09:45:27]  DataPathConfig Success
    [09:45:27]  [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [09:45:27]  [RadarAPI]: Status: Passed
    [09:45:27]  LvdsClkConfig Success
    [09:45:27]  [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [09:45:27]  [RadarAPI]: Status: Passed
    [09:45:27]  LVDSLaneConfig Success
    [09:45:27]  [RadarAPI]: ar1.SetTestSource(4, 3, 0, 0, 0, 0, -327, 0, -327, 327, 327, 327, -2.5, 327, 327, 0, 0, 0, 0, -327, 0, -327, 327, 327, 327, -95, 0, 0, 0.5, 0, 1, 0, 1.5, 0, 0, 0, 0, 0, 0, 0)
    [09:45:27]  [RadarAPI]: Status: Passed
    [09:45:27]  Test Source Configuration Success
    [09:45:27]  [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 5000, 0, 0, 30)
    [09:45:27]  [RadarAPI]: Status: Passed
    [09:45:27]  ProfileConfig Success
    [09:45:27]  [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0)
    [09:45:27]  [RadarAPI]: Status: Passed
    [09:45:27]  ChirpConfig Success
    [09:45:27]  [RadarAPI]: ar1.EnableTestSource(1)
    [09:45:28]  [RadarAPI]: Status: Passed
    [09:45:28]  Enabling Test Source Success
    [09:45:28]  Test Source Already Enabled...!!!
    [09:45:28]  [RadarAPI]: ar1.EnableTestSource(1)
    [09:45:28]  [RadarAPI]: Status: Passed
    [09:45:28]  [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 0, 1)
    [09:45:28]  [RadarAPI]: Status: Passed
    [09:45:28]  FrameConfig Success
    [09:45:28]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [09:45:28]  [RadarAPI]: Status: Passed
    [09:45:28]  SelectCaptureDevice Success
    [09:45:28]  [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "c:22:38:4e:5a:c", 4096, 4098)
    [09:45:28]  [RadarAPI]: Sending fpga command to DCA1000
    [09:45:38]  [RadarAPI]: 
    [09:45:38]  FPGA Configuration : 
    [09:45:38]  Timeout Error! System disconnected
    [09:45:38]  [RadarAPI]: Sending fpga_version command to DCA1000
    [09:45:48]  [RadarAPI]: 
    [09:45:48]  
    [09:45:48]  Unable to read FPGA Version. [error -5]
    [09:45:48]  
    [09:45:48]  CaptureCardConfig_EthInit Success
    [09:45:48]  [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 0)
    [09:45:48]  [RadarAPI]: Sending fpga command to DCA1000
    [09:45:58]  [RadarAPI]: 
    [09:45:58]  FPGA Configuration : 
    [09:45:58]  Timeout Error! System disconnected
    [09:45:58]  CaptureCardConfig_Mode Success
    [09:45:58]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [09:45:58]  [RadarAPI]: Sending fpga command to DCA1000
    [09:46:08]  [RadarAPI]: 
    [09:46:08]  FPGA Configuration : 
    [09:46:08]  Timeout Error! System disconnected
    [09:46:08]  [RadarAPI]: Sending record command to DCA1000
    [09:46:18]  [RadarAPI]: 
    [09:46:18]  Configure Record : 
    [09:46:18]  Timeout Error! System disconnected
    [09:46:18]  CaptureCardConfig_PacketDelay failure
    [09:46:18]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
    [09:46:18]  [RadarAPI]: Sending start_record command to DCA1000
    [09:46:18]  [RadarAPI]: Status: Passed
    [09:46:20]  [RadarAPI]: ar1.StartFrame()
    [09:46:20]  [RadarAPI]: Status: Passed
    [09:46:20]  Frame start async event received!
    [09:46:20]  Frame End async event received!
    [09:46:20]  [RadarAPI]: Frame Ended
    [09:46:25]  Please wait for a few seconds for matlab post processing .....!!!! 
    [09:46:25]  [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
    [09:46:25]  [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 8
    [09:46:25]  Error : The number of files captured is zero!
    [09:46:35]  
    [09:46:35]  ***Script completed successfully.***
    

    These are the errors I get when attempting to connect to the COM8 (Auxiliary Data) port with either baud rate: 

    [09:52:02]  [RadarAPI]: ar1.Connect(8,115200,1000)
    [09:52:04]  [RadarAPI]: Error: Connection failed: Calling_ConnectTarget returned 3
    [09:52:04]  [RadarAPI]: ar1.Calling_IsConnected()
    [09:52:04]  [RadarAPI]: ar1.SaveSettings('C:\Users\daniel.laws\AppData\Roaming\RSTD\ar1gui.ini')
    [09:52:09]  [RadarAPI]: ar1.Connect(8,921600,1000)
    [09:52:11]  [RadarAPI]: Error: Connection failed: Calling_ConnectTarget returned 3
    [09:52:11]  [RadarAPI]: ar1.Calling_IsConnected()
    [09:52:11]  [RadarAPI]: ar1.SaveSettings('C:\Users\daniel.laws\AppData\Roaming\RSTD\ar1gui.ini')
    

    The settings and window I see when doing the above: 
    /resized-image/__size/1918x0/__key/communityserver-discussions-components-files/1023/1323.COM8Error.PNG

    I hope this information is helpful. 

  • Hi,

    If you have access to a different computer, I would try the mmWave Demo Visualizer demo.

    Thank you

    Cesar

  • I will try to get one and update on results. 

    Thank you,
    Daniel

  • Thank you

    Cesar