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.

AWR2944EVM: RS232 connection issue in mmWave Studio

Part Number: AWR2944EVM
Other Parts Discussed in Thread: DCA1000EVM,

RS232 cannot be connected in mmWave Studio 3.1.1.

"Error: Connection failed: Calling_ConnectTarget returned 3"

Attached is the log in the output window.

GM: Constructor
GM: Fri Sep 01 14:42:46 2023
RSTD.Transmit("/Settings")
[14:42:46]  
[14:42:46]  ### Running Startup script: "C:\ti\mmwave_studio_03_01_01_00\mmWaveStudio\Scripts\Startup.lua" ###
[14:42:46]  RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[14:42:46]  RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[14:42:46]  Scripter ignored: Attempt to UnBuild() again or before Build.
[14:42:46]  RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_03_01_01_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
[14:42:46]  RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[14:42:46]  RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[14:42:46]  RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[14:42:46]  RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[14:42:46]  RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[14:42:46]  RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_03_01_01_00\\mmWaveStudio\\RunTime\\SAL.dll")
[14:42:46]  RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[14:42:46]  RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[14:42:46]  RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[14:42:46]  RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[14:42:46]  RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[14:42:46]  RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[14:42:46]  RSTD.Transmit("/")
[14:42:46]  RSTD.SaveSettings(): Settings saved to "C:\Users\120727\AppData\Roaming\RSTD\config.xml"
[14:42:46]  RSTD.Build()
[14:42:46]  RSTD.SaveSettings(): Settings saved to "C:\Users\120727\AppData\Roaming\RSTD\config.xml"
[14:42:46]  RSTD.Transmit("/")
[14:42:46]  RSTD.AL_Build()
[14:42:47]  RSTD.AL_LoadXml()
[14:42:47]  RSTD.Transmit("/")
[14:42:47]  RSTD.AL_Init()
[14:42:47]  RSTD.Clients_Build()
[14:42:47]  GM: Init
[14:42:47]  GM: Loaded 'C:\ti\mmwave_studio_03_01_01_00\mmWaveStudio\Clients\\LabClient.dll'
[14:42:47]  GM: 1 Guest (s) init
[14:42:47]  GM: 1 Module(s) init
[14:42:47]  GM: 2 Tab   (s) init
[14:42:47]  RSTD.Client_LoadXml()
[14:42:47]  [RadarAPI]: ar1.GuiVersion()
[14:42:47]  [RadarAPI]: ar1.selectRadarMode(0)
[14:42:47]  [RadarAPI]: Status: Passed
[14:42:47]  Matlab Runtime Engine is installed
[14:42:47]  [RadarAPI]: Starting Matlab Engine..
[14:42:53]  [RadarAPI]: Matlab Engine Started!
[14:42:55]  [RadarAPI]: ar1.selectCascadeMode(0)
[14:42:55]  [RadarAPI]: Status: Passed
[14:42:55]  [RadarAPI]: ar1.LoadSettings('C:\Users\120727\AppData\Roaming\RSTD\ar1gui.ini')
[14:42:55]  TESTING = false
[14:42:55]  RstdNet: Port 2777: Listening..
[14:42:55]  
[14:42:55]  ***Script completed successfully.***
[14:43:12]  [RadarAPI]: Opening Gpio Control Port()
[14:43:12]  [RadarAPI]: Status: Passed
[14:43:12]  [RadarAPI]: Opening Board Control Port()
[14:43:12]  [RadarAPI]: Status: Passed
[14:43:14]  [RadarAPI]: ar1.FullReset()
[14:43:14]  [RadarAPI]: Status: Passed
[14:43:14]  [RadarAPI]: Closing Board Control Port()
[14:43:14]  [RadarAPI]: Status: Passed
[14:43:14]  [RadarAPI]: Closing Gpio Control Port()
[14:43:14]  [RadarAPI]: Status: Passed
[14:43:14]  [RadarAPI]: ar1.SOPControl(2)
[14:43:14]  [RadarAPI]: Status: Passed
[14:44:07]  [RadarAPI]: ar1.frequencyBandSelection("77G")
[14:44:08]  [RadarAPI]: ar1.SelectChipVersion("AR1642")
[14:44:08]  [RadarAPI]: Status: Passed
[14:44:08]  [RadarAPI]: ar1.deviceVariantSelection("XWR2944")
[14:44:08]  [RadarAPI]: Status: Passed
[14:44:09]  [RadarAPI]: ar1.Connect(30,921600,1000)
[14:44:12]  [RadarAPI]: Error: Connection failed: Calling_ConnectTarget returned 3
[14:44:12]  [RadarAPI]: ar1.Calling_IsConnected()
[14:44:12]  [RadarAPI]: ar1.SaveSettings('C:\Users\120727\AppData\Roaming\RSTD\ar1gui.ini')
[14:54:36]  RSTD.ShowLogFile()

The FPGA on the DCA1000EVM was programmed using the bit file included in mmWave Studio 3.1.1.

DCA1000EVM Data Capture Card User's Guide (Rev. A)
9.2 FPGA - SPI Flash Programming Mode

C:\ti\mmwave_studio_03_01_01_00\mmWaveStudio\PlatformBinaries\DCA1000FPGA\DCA1000_FPGA_RECORD_V2.9_21JUL2022.bit

AWR2944EVM was connected to DCA1000EVM according to the AWR2944EVM user guide.

AWR2944 Evaluation Module User's Guide (Rev. A)
2.9 Connecting the AWR2944EVM to the DCA1000 EVM

When using the AWR2944EVM alone, there are no problems with writing in the Flashing mode (SOP mode 5) or demo operation in the Functional mode (SOP mode 4).

Best regards,

Daisuke

  • Hi Daisuke-San,

    You are using the XDS COM port for the connection. As per the screen shot shared by you need to use port 35 and baud rate of 11520. You need to use one of the FTDI ports for RS232 connection. One of these 4 COM ports will be able to connect to the device. If one does not work, you can try with the other remaining ports until one connects.

    Thanks,

    Pradipta.