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.

DCA1000EVM: Ethernet connection problem

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

Hello,

I am having problem in connecting DCA1000 board to ethernet. I follwed exact same procesures as mentioned in the user guide.

- Reset the board from software(mmWave studio 1.0.0.0)
- Do the COM Port connection 
- Then Run DataCapturedemo_xWR.lua

But apparantly i get the error:

Ethernet Cable is disconnected Please check.....!!!

I am attaching the image of output console window, please let me know what I am doing wrong.

Regards,

Neil

  • Neil,

    Can you please post or upload the entire log file? I need more information to properly debug this issue. There could be a few different causes for the errors you are receiving. In the meantime, please make sure that you have MATLAB runtime version 8.5.1 (32-bit).

    Regards,
    Kyle
  • Hello Kyle,

    Thanks for your reply, I am posting my complete log file. Yes I also have installed MATLAB runtime version 8.5.1 (32-bit), I download it from link mentioned in the user guide. I also get the "getMatlabPostProcVersion()" error even I have installed specified MATLAB runtime version and also run the mmWave studio in Administrator mode.

    Here is my complete log file.


    GM: Constructor
    GM: Fri Jul 20 18:37:03 2018
    RSTD.Transmit("/Settings")
    [18:37:04]
    [18:37:04] ### Running Startup script: "C:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Scripts\Startup.lua" ###
    [18:37:04] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [18:37:04] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [18:37:04] Scripter ignored: Attempt to UnBuild() again or before Build.
    [18:37:04] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [18:37:04] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [18:37:04] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [18:37:04] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [18:37:04] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [18:37:04] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [18:37:04] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\RunTime\\SAL.dll")
    [18:37:04] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [18:37:04] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [18:37:04] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [18:37:04] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [18:37:04] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [18:37:04] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [18:37:04] RSTD.Transmit("/")
    [18:37:04] RSTD.SaveSettings(): Settings saved to "C:\Users\sghawghawe\AppData\Roaming\RSTD\config.xml"
    [18:37:04] RSTD.Build()
    [18:37:04] RSTD.SaveSettings(): Settings saved to "C:\Users\sghawghawe\AppData\Roaming\RSTD\config.xml"
    [18:37:04] RSTD.Transmit("/")
    [18:37:04] RSTD.AL_Build()
    [18:37:04] RSTD.AL_LoadXml()
    [18:37:04] RSTD.Transmit("/")
    [18:37:04] RSTD.AL_Init()
    [18:37:04] RSTD.Clients_Build()
    [18:37:04] GM: Init
    [18:37:04] GM: Loaded 'C:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Clients\\LabClient.dll'
    [18:37:04] GM: 1 Guest (s) init
    [18:37:04] GM: 1 Module(s) init
    [18:37:04] GM: 2 Tab (s) init
    [18:37:04] RSTD.Client_LoadXml()
    [18:37:04] [RadarAPI]: Starting Matlab Engine..
    [18:37:06] [RadarAPI]: Matlab Engine Started!
    [18:37:10] [RadarAPI]: ar1.LoadSettings('C:\Users\sghawghawe\AppData\Roaming\RSTD\ar1gui.ini')
    [18:37:10] [RadarAPI]: Error: Der Index war außerhalb des Arraybereichs.
    [18:37:10] Trace:
    [18:37:10] bei AR1xController.ScriptOps.getMatlabPostProcVersion()
    [18:37:10] TESTING = false
    [18:37:10]
    [18:37:10] ***Script completed successfully.***
    [18:37:17] [RadarAPI]: Opening Gpio Control Port()
    [18:37:17] [RadarAPI]: Status: Passed
    [18:37:17] [RadarAPI]: Opening Board Control Port()
    [18:37:17] [RadarAPI]: Status: Passed
    [18:37:18] [RadarAPI]: ar1.FullReset()
    [18:37:18] [RadarAPI]: Status: Passed
    [18:37:19] [RadarAPI]: Closing Board Control Port()
    [18:37:19] [RadarAPI]: Status: Passed
    [18:37:19] [RadarAPI]: Closing Gpio Control Port()
    [18:37:19] [RadarAPI]: Status: Passed
    [18:37:19] [RadarAPI]: ar1.SOPControl(2)
    [18:37:19] [RadarAPI]: Status: Passed
    [18:37:44] [RadarAPI]: ar1.Connect(11,921600,1000)
    [18:37:47] [RadarAPI]: Warning: Connected with baudrate 115200
    [18:37:48] [RadarAPI]: Warning: Disconnected existing BaudRate
    [18:37:48] [RadarAPI]: Warning: Trying to connect with baudrate 921600
    [18:37:50] [RadarAPI]: ar1.Calling_IsConnected()
    [18:37:51] [RadarAPI]: ar1.SelectChipVersion("XWR1243")
    [18:37:51] [RadarAPI]: Status: Passed
    [18:37:52] [RadarAPI]: ar1.SelectChipVersion("XWR1243")
    [18:37:52] [RadarAPI]: Status: Passed
    [18:37:52] [RadarAPI]: ar1.SaveSettings('C:\Users\sghawghawe\AppData\Roaming\RSTD\ar1gui.ini')
    [18:38:54] [RadarAPI]: ar1.ReadRegister(0xffffe210, 0, 31)
    [18:38:54] [RadarAPI]: Value : 100000
    [18:38:54] [RadarAPI]: ar1.ReadRegister(0xffffe218, 0, 31)
    [18:38:54] [RadarAPI]: Value : 12
    [18:38:54] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr12xx_xwr14xx_radarss_ES2.0.bin")
    [18:38:55] [RadarAPI]: Downloading BSS ROM Legacy Binary..
    [18:39:01] BSS FW Download Success
    [18:39:03] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr12xx_xwr14xx_masterss_ES2.0.bin")
    [18:39:03] [RadarAPI]: Downloading MSS Legacy Binary..
    [18:39:07] MSS FW Download Success
    [18:39:09] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [18:39:09] [RadarAPI]: Status: Passed
    [18:39:09] MSS power up done async event received!
    [18:39:09] [RadarAPI]: ar1.SaveSettings('C:\Users\sghawghawe\AppData\Roaming\RSTD\ar1gui.ini')
    [18:39:09] Power On Success
    [18:39:10] BSS power up done async event received!
    [18:39:10] [RadarAPI]: ar1.RfEnable()
    [18:39:10] [RadarAPI]: Status: Passed
    [18:39:12] RF Enable Success
    [18:39:13] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
    [18:39:13] [RadarAPI]: Status: Passed
    [18:39:13] ChanNAdcConfig Success
    [18:39:14] [RadarAPI]: ar1.LPModConfig(0, 0)
    [18:39:14] [RadarAPI]: Status: Passed
    [18:39:14] Regualar mode Cfg Success
    [18:39:16] [RadarAPI]: ar1.RfInit()
    [18:39:16] RF Init async event received!
    [18:39:16] [RadarAPI]: Time stamp, Temperture: 5806,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; RxIQMM Status, Update: 1, 1;
    [18:39:16] [RadarAPI]: Status: Passed
    [18:39:16] RfInit Success
    [18:39:17] [RadarAPI]: ar1.DataPathConfig(1, 1, 0)
    [18:39:17] [RadarAPI]: Status: Passed
    [18:39:17] DataPathConfig Success
    [18:39:18] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [18:39:18] [RadarAPI]: Status: Passed
    [18:39:18] LvdsClkConfig Success
    [18:39:19] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 1, 1, 1, 0, 0)
    [18:39:19] [RadarAPI]: Status: Passed
    [18:39:19] LVDSLaneConfig Success
    [18:39:20] [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29,982, 0, 256, 10000, 0, 0, 30)
    [18:39:20] [RadarAPI]: Status: Passed
    [18:39:21] ProfileConfig Success
    [18:39:22] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0)
    [18:39:22] [RadarAPI]: Status: Passed
    [18:39:22] ChirpConfig Success
    [18:39:23] [RadarAPI]: ar1.DisableTestSource(0)
    [18:39:23] [RadarAPI]: Status: Passed
    [18:39:23] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 1)
    [18:39:23] [RadarAPI]: Status: Passed
    [18:39:23] FrameConfig Success
    [18:39:24] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [18:39:24] [RadarAPI]: passed
    [18:39:24] SelectCaptureDevice Success
    [18:39:25] [RadarAPI]: StatusDCCard Event Registered
    [18:39:25] [RadarAPI]: Status: Passed
    [18:39:25] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [18:39:25] [RadarAPI]: Status: Passed
    [18:39:27] Ethernet Cable is disconnected Please check.....!!!
    [18:39:27] CaptureCardConfig_EthInit Success
    [18:39:28] [RadarAPI]: ar1.ConfigureRFDCCardMode(1, 1, 1, 2, 3, 0)
    [18:39:28] [RadarAPI]: Status: Passed
    [18:39:28] CaptureCardConfig_Mode Success
    [18:39:29] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [18:39:29] [RadarAPI]: Status: Passed
    [18:39:29] CaptureCardConfig_PacketDelay Success
    [18:39:30] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
    [18:39:30] [RadarAPI]: Status: Passed
    [18:39:31] [RadarAPI]: ar1.StartFrame()
    [18:39:31] [RadarAPI]: Status: Passed
    [18:39:31] Frame start async event received!
    [18:39:32] [RadarAPI]: Frame Ended
    [18:39:32] Frame End async event received!
    [18:39:33] Please wait for a few seconds for Packet reorder utility processing .....!!!!
    [18:39:33] [RadarAPI]: Packet Reorder Utility Started...please wait...
    [18:39:33] [RadarAPI]: ar1.PacketReorderZeroFill("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data_Raw_0.bin", "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", "C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\pktlogfile.txt")
    [18:39:38] [RadarAPI]: Packet Reorder Utility process completed!
    [18:39:48] Packet reorder utility processing done.....!!!!
    [18:39:48] Please wait for a few seconds for matlab post processing .....!!!!
    [18:39:48] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_01_00_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
    [18:39:49] [RadarAPI]: Error:
    [18:39:49]
    [18:39:49] ... MWMCR::EvaluateFunction error ...
    [18:39:49] 20-Jul-2018 18:39:49: The file C:\ti\mmwave_studio_01_00_00_00\mmWaveStudio\Scripts\..\PostProc\adc_data.bin is empty. Please capture more data.,1,
    [18:39:49] Error in => process_adc_data.m at line 52.
    [18:39:49]
    [18:39:49] ... Matlab M-code Stack Trace ...
    [18:39:49] at
    [18:39:49] file C:\Users\SGHAWG~1\AppData\Local\Temp\sghawghawe\mcrCache8.5.1\Matlab0\Logging\log_status.m, name log_status, line 32.
    [18:39:49] at
    [18:39:49] file C:\Users\SGHAWG~1\AppData\Local\Temp\sghawghawe\mcrCache8.5.1\Matlab0\Processing_functions\read_adc_data.m, name read_adc_data, line 28.
    [18:39:49] at
    [18:39:49] file C:\Users\SGHAWG~1\AppData\Local\Temp\sghawghawe\mcrCache8.5.1\Matlab0\MatlabPostPr\process_adc_data.m, name process_adc_data, line 52.
    [18:39:49]
    [18:39:49]
    [18:39:49] Trace:
    [18:39:49] bei MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(String functionName, Int32 numArgsOut, Int32 numArgsIn, MWArray[] argsIn)
    [18:39:49] bei MathWorks.MATLAB.NET.Utility.MWMCR.EvaluateFunction(Int32 numArgsOut, String functionName, MWArray[] argsIn)
    [18:39:49] bei MatlabPostProcGui.MatlabPostProcGUIClass.process_adc_data(MWArray adc_file_name, MWArray force_cont_stream_mode)
    [18:39:49] bei AR1xController.frmAR1Main.iStartMtlabPostProc()
    [18:39:58]
    [18:39:58] ***Script completed successfully.***



    Regards,
    Neil
  • Neil,

    Please make sure that the switches on the DCA1000 are set to the proper positions. There are two banks of switches that can be found on the DCA1000. Please refer to the User's Guide for the correct settings.

    Regards,
    Kyle
  • Neil,
    Can you upload the entire Radae API window?I am having some problems too.Thank you!
    Regards
    Lee
  • Hello Kyle,

    Thank you for your answer, I am attaching the photo of board with current switch setting on my board. Please let me know if I need to change something. Currenty I am using DCA1000 board to interface with AWR1243 and later also want to interface AWR1642.

    Regards,

    Neil

  • Hello Lee,

    Below you can find the attachment of Radar API window.

    Regards,

    Neil

  • Neil,

    A couple of observations from your attached picture. The first is that the power switch on the DCA1000 needs to be set to the "DC_JACK_5N_IN" position. So you would need to change the position of the power switch first.

    Next, in SW2, the switches should be in the following positions:

    1: LVDS_CAPT
    2: ETH_STREAM
    3: 1243_MODE
    4: RAW_MODE
    5: SW_CONFIG
    6: USER_SW1
    7: USER_SW2
    8: USER_SW3

    In SW1, the position of these three switches is determined by the format of your ADC data that you specify in mmWave Studio. So for 16-bit data, the switches should be in the following positions:

    1: 12BIT_OFF
    2: 14BIT_OFF
    3: 16BIT_ON

    Please reply if these changes help to resolve your issue.

    Regards,
    Kyle
  • Hello Kyle,

    The image I attached had board switched off, thats why "DC_JACK_5N_IN" was not in its position. I am attaching the image with the switch positions the way you recommended. Still I am getting " Ethernet Cable is disconnected Please check.....!!!" error.

    Regards,

    Neil

  • Neil,

    Please ensure that you have jumpers across SOP0 and SOP1. Both jumpers are needed when using the DCA1000 in mmWave Studio.

    Regards,
    Kyle
  • Hello Kyle,

    I have jumpers on SOP0 and SOP1 and kept SOP2 open. 

    Regards,

    Neil

  • Hello Kyle,

    It seems it was windows OS 10 problem. I am able to run complete hardware on windows 7.

    Regards,
    Neil