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: Unable to read FPGA version [error -2]

Part Number: DCA1000EVM
Other Parts Discussed in Thread: AWR1843, AWR2243

I am having trouble capturing data from a AWR1843 using mmWave Studio 2.1.0.0. I am following the startup guide and get to the step to set up the DCA1000 and do not get the correct FPGA version.

According to the output log shown below, the DCA1000 is not receiving UDP messages. Please help.

Joe

[05:22:57]  [RadarAPI]: MSSFwVersion:(01.02.05.02 (16/07/19))
[05:22:58]  [RadarAPI]: ar1.GetBSSFwVersion()
[05:22:58]  [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
[05:22:59]  [RadarAPI]: ar1.GetBSSPatchFwVersion()
[05:22:59]  [RadarAPI]: BSSPatchFwVersion:(01.02.05.02 (30/04/19))
[05:24:39]  [RadarAPI]: ar1.ChanNAdcConfig(1, 0, 0, 1, 1, 1, 1, 2, 2, 0)
[05:24:39]  [RadarAPI]: Status: Passed
[05:25:32]  [RadarAPI]: ar1.RfInit()
[05:25:32]  [RadarAPI]: Status: Passed
[05:25:32]  RF Init async event received!
[05:25:32]  [RadarAPI]: Time stamp, Temperture: 155431,37; 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: 1, 1; RxIQMM Status, Update: 1, 1;
[05:27:54]  [RadarAPI]: ar1.GetCaptureCardDllVersion()
[05:27:54]  [RadarAPI]: Sending dll_version command to DCA1000
[05:27:55]  [RadarAPI]:
[05:27:55]  DLL Version : 1.0
[05:27:55]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
[05:27:55]  [RadarAPI]: Status: Passed
[05:28:11]  [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
[05:28:11]  [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
[05:28:11]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
[05:28:11]  [RadarAPI]: Sending fpga command to DCA1000
[05:28:11]  [RadarAPI]:
[05:28:11]  
[05:28:11]  
[05:28:11]  ConfigureRFDCCard_Fpga(): UDP recvfrom failed : 10052
[05:28:11]  FPGA Configuration :
[05:28:11]  OS error - -2
[05:28:11]  [RadarAPI]: Sending record command to DCA1000
[05:28:12]  [RadarAPI]:
[05:28:12]  
[05:28:12]  
[05:28:12]  ConfigureRFDCCard_Record(): UDP recvfrom failed : 10052
[05:28:12]  Configure Record :
[05:28:12]  OS error - -2
[05:28:12]  [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
[05:28:12]  [RadarAPI]: Sending fpga_version command to DCA1000
[05:28:12]  [RadarAPI]:
[05:28:12]  
[05:28:12]  
[05:28:12]  ReadRFDCCard_FpgaVersion(): UDP recvfrom failed : 10052
[05:28:12]  
[05:28:12]  Unable to read FPGA Version. [error -2]

  • Former Member
    0 Former Member

    Hello,

    Typically issues with ethernet communication can either be due to:

    • Use of a usb to ethernet dongle that isn't supported.
    • Firewall or security issues. Try disabling any firewall and wifi adapter.
    • Bad ethernet cable
    • IP address not setup correctly. Please refer to the mmWave Studio user's guide for required settings.

    Can you see if the above resolves your issue?

    Else please see this thread for further debug on the connection: https://e2e.ti.com/support/sensors/f/1023/p/698728/2584270#2584270

    Amanda

  • Hi Amanda,

    I am using a Dell WD15 docking station. Can you tell me if that device is supported?

    I disabled wifi and that did not appear to help.

    The ethernet cable appears to be fine. It works with other devices.

    IP address appears to be correct.

    I can ping that address and it appears to be responding as expected.

    Pinging 192.168.33.30 with 32 bytes of data:
    Reply from 192.168.33.30: bytes=32 time<1ms TTL=128
    Reply from 192.168.33.30: bytes=32 time<1ms TTL=128
    Reply from 192.168.33.30: bytes=32 time<1ms TTL=128
    Reply from 192.168.33.30: bytes=32 time<1ms TTL=128

    Ping statistics for 192.168.33.30:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 0ms, Average = 0ms

    I tried running DataCapturedemo_xWR.lua and here is what I get.

    [09:08:08]  RfInit Success
    [09:08:09]  [RadarAPI]: ar1.DataPathConfig(1, 1, 0)
    [09:08:09]  [RadarAPI]: Status: Passed
    [09:08:09]  DataPathConfig Success
    [09:08:09]  [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [09:08:09]  [RadarAPI]: Status: Passed
    [09:08:09]  LvdsClkConfig Success
    [09:08:09]  [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [09:08:09]  [RadarAPI]: Status: Passed
    [09:08:09]  LVDSLaneConfig Success
    [09:08:09]  [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:08:09]  [RadarAPI]: Status: Passed
    [09:08:09]  Test Source Configuration Success
    [09:08:09]  [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 5000, 0, 0, 30)
    [09:08:09]  [RadarAPI]: Status: Passed
    [09:08:09]  ProfileConfig Success
    [09:08:09]  [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 1, 0)
    [09:08:09]  [RadarAPI]: Status: Passed
    [09:08:09]  ChirpConfig Success
    [09:08:09]  [RadarAPI]: ar1.EnableTestSource(1)
    [09:08:09]  [RadarAPI]: Status: Passed
    [09:08:09]  Enabling Test Source Success
    [09:08:09]  Test Source Already Enabled...!!!
    [09:08:09]  [RadarAPI]: ar1.EnableTestSource(1)
    [09:08:09]  [RadarAPI]: Status: Passed
    [09:08:09]  [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 0, 1)
    [09:08:09]  [RadarAPI]: Status: Passed
    [09:08:09]  FrameConfig Success
    [09:08:09]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [09:08:09]  [RadarAPI]: Status: Passed
    [09:08:09]  SelectCaptureDevice Success
    [09:08:09]  [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "c:22:38:4e:5a:c", 4096, 4098)
    [09:08:10]  [RadarAPI]: Sending fpga command to DCA1000
    [09:08:20]  [RadarAPI]:
    [09:08:20]  FPGA Configuration :
    [09:08:20]  Timeout Error! System disconnected
    [09:08:20]  [RadarAPI]: Sending fpga_version command to DCA1000
    [09:08:30]  [RadarAPI]:
    [09:08:30]  
    [09:08:30]  Unable to read FPGA Version. [error -5]
    [09:08:30]  
    [09:08:30]  CaptureCardConfig_EthInit Success
    [09:08:30]  [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 0)
    [09:08:30]  [RadarAPI]: Sending fpga command to DCA1000
    [09:08:41]  [RadarAPI]:
    [09:08:41]  FPGA Configuration :
    [09:08:41]  Timeout Error! System disconnected
    [09:08:41]  CaptureCardConfig_Mode Success
    [09:08:41]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [09:08:41]  [RadarAPI]: Sending fpga command to DCA1000
    [09:08:51]  [RadarAPI]:
    [09:08:51]  FPGA Configuration :
    [09:08:51]  Timeout Error! System disconnected
    [09:08:51]  [RadarAPI]: Sending record command to DCA1000
    [09:09:02]  [RadarAPI]:
    [09:09:02]  Configure Record :
    [09:09:02]  Timeout Error! System disconnected
    [09:09:02]  CaptureCardConfig_PacketDelay failure
    [09:09:02]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
    [09:09:02]  [RadarAPI]: Sending start_record command to DCA1000
    [09:09:02]  [RadarAPI]: Status: Passed
    [09:09:03]  [RadarAPI]: ar1.StartFrame()
    [09:09:03]  [RadarAPI]: Status: Passed
    [09:09:03]  Frame start async event received!
    [09:09:03]  Frame End async event received!
    [09:09:03]  [RadarAPI]: Frame Ended
    [09:09:08]  Please wait for a few seconds for matlab post processing .....!!!!
    [09:09:08]  [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
    [09:09:08]  [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 8
    [09:09:08]  Error : The number of files captured is zero!
    [09:09:57]  
    [09:09:57]  ***Script completed successfully.***
    [09:11:04]  [RadarAPI]: ar1.GetCaptureCardDllVersion()
    [09:11:04]  [RadarAPI]: Sending dll_version command to DCA1000
    [09:11:04]  [RadarAPI]:
    [09:11:04]  DLL Version : 1.0
    [09:11:04]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [09:11:04]  [RadarAPI]: Status: Passed

  • Former Member
    0 Former Member in reply to Joe Usoff

    Hello Joe,

    - Did you mean the Dell WD15 docking station? If so, yes this should be ok since several have used it in the past without issue.

    - The issue is that the PC is not receiving any data from the 192.168.33.180 address (not an issue with the 192.168.33.30 which is used to send commands).

    - Can you try the procedure in previously linked thread to see if data is being received at 192.168.33.30 and provide the results?

    - Can you provide photo of your board setup to verify that everything is ok there?

    Amanda

  • Hi Amanda,

    I have downloaded Wireshark and it appears to be working, but I do not have a 1 Gb switch at hand (working from home is a pain). I will see if I can track one down this afternoon.

    Photos of setup are below.

    Cheers,

    Joe

  • Hi Amanda,

    I have made a few changes to my configuration (I switched to using a AWR2243 and mmWave Studio 3.0.0.7) and it appears to be working, but I still get an error when trying to configure the FPGA. There is clearly traffic over the Ethernet cable as I am getting data back.

    Cheers,

    Joe

    [10:42:03]  [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [10:42:03]  [RadarAPI]: Status: Passed
    [10:42:03]  SelectCaptureDevice Success
    [10:42:03]  [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "c:22:38:4e:5a:c", 4096, 4098)
    [10:42:04]  [RadarAPI]: Sending fpga command to DCA1000
    [10:42:05]  [RadarAPI]:
    [10:42:05]  
    [10:42:05]  
    [10:42:05]  ConfigureRFDCCard_Fpga(): UDP recvfrom failed : 10052
    [10:42:05]  FPGA Configuration :
    [10:42:05]  OS error - -2
    [10:42:05]  [RadarAPI]: Sending fpga_version command to DCA1000
    [10:42:06]  [RadarAPI]:
    [10:42:06]  
    [10:42:06]  
    [10:42:06]  ReadRFDCCard_FpgaVersion(): UDP recvfrom failed : 10052
    [10:42:06]  
    [10:42:06]  Unable to read FPGA Version. [error -2]
    [10:42:06]  
    [10:42:06]  CaptureCardConfig_EthInit Success
    [10:42:06]  [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 1, 1, 2, 3, 0)
    [10:42:06]  [RadarAPI]: Sending fpga command to DCA1000
    [10:42:07]  [RadarAPI]:
    [10:42:07]  
    [10:42:07]  
    [10:42:07]  ConfigureRFDCCard_Fpga(): UDP recvfrom failed : 10052
    [10:42:07]  FPGA Configuration :
    [10:42:07]  OS error - -2
    [10:42:07]  CaptureCardConfig_Mode Success
    [10:42:07]  [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [10:42:07]  [RadarAPI]: Sending fpga command to DCA1000
    [10:42:08]  [RadarAPI]:
    [10:42:08]  
    [10:42:08]  
    [10:42:08]  ConfigureRFDCCard_Fpga(): UDP recvfrom failed : 10052
    [10:42:08]  FPGA Configuration :
    [10:42:08]  OS error - -2
    [10:42:08]  [RadarAPI]: Sending record command to DCA1000
    [10:42:09]  [RadarAPI]:
    [10:42:09]  
    [10:42:09]  
    [10:42:09]  ConfigureRFDCCard_Record(): UDP recvfrom failed : 10052
    [10:42:09]  Configure Record :
    [10:42:09]  OS error - -2
    [10:42:09]  CaptureCardConfig_PacketDelay failure
    [10:42:09]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_03_00_00_07\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
    [10:42:09]  [RadarAPI]: Sending start_record command to DCA1000
    [10:42:09]  [RadarAPI]: Status: Passed
    [10:42:10]  [RadarAPI]: ar1.StartFrame()
    [10:42:10]  [RadarAPI]: Status: Passed
    [10:42:10]  Frame start async event received!
    [10:42:10]  Frame End async event received!
    [10:42:10]  [RadarAPI]: Frame Ended
    [10:42:15]  Please wait for a few seconds for matlab post processing .....!!!!
    [10:42:15]  [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_03_00_00_07\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
    [10:42:15]  [RadarAPI]: No of files Captured: 1, Total no of frames for each device : 8
    [10:42:25]  
    [10:42:25]  ***Script completed successfully.***

  • Former Member
    0 Former Member in reply to Joe Usoff

    Hello Joe,

    This is surprising, does the data actually make sense? Looking at the output messages I'd expect that the adc_data.bin file does not contain meaningful data. What happens if you delete the adc_data.bin file and try recollecting the data?

    Amanda

  • Hi Amanda,

    The file does appear to contain meaningful data and it was generated this morning, but now I cannot get it to produce another one. This is rather odd. I tried to attach the file but a get an error.

    Joe