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 -5]

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

Hi, 

I'm using DCA1000EVM with Ti-ARW1642BOOST on mmWaveStudio. I followed the instructions in the different user guides (mmwave studio, arw1642 and DCA1000EVM) when it came to install the right drivers for the different com ports (XDS110 and FTDI) and configure the ethernet connection (change the static IP adress). I tried to run an acquisition following the instructions in the mmwave studio user guide but when I tried to "SetUp DCA1000", I received this error message:

[11:39:54] [RadarAPI]: Sending fpga command to DCA1000
[11:40:04] [RadarAPI]:
[11:40:04] FPGA Configuration :
[11:40:04] Timeout Error! System disconnected
[11:40:04] [RadarAPI]: Sending fpga_version command to DCA1000
[11:40:14] [RadarAPI]:
[11:40:14]
[11:40:14] Unable to read FPGA Version. [error -5]

And it did the same using the LUA script "DataCaptureDemo_xWR.lua".

Do you have any solution? Thank you in advance.

  • By the way, I'm using a 5V/2A power supply on the ARW1642 and I switched the SW3 so that it also powers the DCA1000. May the problem come from here?

  • Hi

    We recommend at least 5V/3A power supply

    thank you

    cesar

  • Hi, 

    I therefore ordered a new 5V/3A power supply but it still doesn't read fpga version. Any other idea? 

    Thank you, 

    Victor

  • Hi, 

    I therefore ordered a new 5V/3A power supply but it still doesn't read fpga version. Any other idea? 

    Thank you, 

    Victor

  • Victor,

    Make sure that you have a USB cable connected to the "RADAR_FTDI" port on the DCA1000EVM. You need to have one USB cable connected to the AWR1642BOOST EVM and another USB cable connected to the DCA1000EVM.

    Regards,
    Kyle

  • Hi Kyle, 

    I've desactivated Windows firewall and updated the FPGA version from 2.7 to 2.8 with the Lattice Diamond Programmer. Now it looks ok:

    [11:48:01] [RadarAPI]: ar1.CaptureCard_DisConnect()
    [11:48:01] [RadarAPI]: Status:Passed
    [11:48:02] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [11:48:02] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
    [11:48:02] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [11:48:02] [RadarAPI]: Sending fpga command to DCA1000
    [11:48:02] [RadarAPI]:
    [11:48:02] FPGA Configuration command : Success
    [11:48:02] [RadarAPI]: Sending record command to DCA1000
    [11:48:02] [RadarAPI]:
    [11:48:02] Configure Record command : Success
    [11:48:02] [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
    [11:48:02] [RadarAPI]: Sending fpga_version command to DCA1000
    [11:48:02] [RadarAPI]:
    [11:48:02]
    [11:48:02] FPGA Version : 2.8 [Record]

    But my problem now is that no file is captured. It probably comes from the sensor and chirp configuration. After having set the DCA1000, I clicked on "DCA1000ARM", waited 2 seconds and clicked on "Trigger Frame" but the software instantly freezes for several seconds and I receive this message: 

    [11:48:55] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
    [11:48:55] [RadarAPI]: Sending start_record command to DCA1000
    [11:49:01] [RadarAPI]: ar1.StartFrame()
    [11:49:01] [RadarAPI]: Status: Passed
    [11:49:01] Frame start async event received!
    [11:49:02] Frame End async event received!
    [11:49:02] [RadarAPI]: Frame Ended
    [11:50:15] [RadarAPI]:
    [11:50:16] [RadarAPI]:
    [11:50:16] Start Record command : Success
    [11:50:16]
    [11:50:16] Record Process :
    [11:50:16] Timeout Error! System disconnected
    [11:50:16]
    [11:50:16] Record stop is done successfully
    [11:50:16] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
    [11:50:16] [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 8
    [11:50:16] Error : The number of files captured is zero!

    I'm using AWR1642, do you know if the capture demo script runs on this device? For instance, the sample rate is set to 10000ksps in the mmwave user guide whereas my device only supports lower than 6250. Is there any other recommendation? 

    Thank you,

    Victor

  • Victor,

    Now that it appears that your DCA1000EVM is operational, try to run the Capture Demo LUA script on your setup.

    This script is located in the file location listed below:

    C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\Scripts

    The specific file you want to run is: "DataCaptureDemo_xWR.lua"

    This script supports all mmWave EVM devices including the AWR1642BOOST.

    Run this script and you should capture a .bin file that can be analyzed by the post processing tool in mmWave Studio.

    Regards,
    Kyle

  • Victor,

    Please refer to the DCA1000 Quick Start Guide for a complete list of steps to run for this LUA script:

    http://www.ti.com/lit/ml/spruik7/spruik7.pdf

    Regards,
    Kyle

  • Hi Kyle, 

    I already tried the script and it still doesn't capture data. After it sets the DCA1000, I receive this message: 

    [17:03:17] CaptureCardConfig_EthInit Success
    [17:03:17] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 0)
    [17:03:17] [RadarAPI]: Sending fpga command to DCA1000
    [17:03:17] [RadarAPI]:
    [17:03:17] FPGA Configuration command : Success
    [17:03:17] CaptureCardConfig_Mode Success
    [17:03:17] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
    [17:03:17] [RadarAPI]: Sending fpga command to DCA1000
    [17:03:17] [RadarAPI]:
    [17:03:17] FPGA Configuration command : Success
    [17:03:17] [RadarAPI]: Sending record command to DCA1000
    [17:03:17] [RadarAPI]:
    [17:03:17] Configure Record command : Success
    [17:03:17] CaptureCardConfig_PacketDelay Success
    [17:03:17] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
    [17:03:17] [RadarAPI]: Sending start_record command to DCA1000
    [17:03:17] [RadarAPI]: Status: Passed
    [17:03:18] [RadarAPI]: ar1.StartFrame()
    [17:03:18] [RadarAPI]: Status: Passed
    [17:03:18] Frame start async event received!
    [17:03:19] [RadarAPI]: Frame Ended
    [17:03:19] Frame End async event received!
    [17:03:23] Please wait for a few seconds for matlab post processing .....!!!!
    [17:03:23] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
    [17:03:23] [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 8
    [17:03:23] Error : The number of files captured is zero!
    [17:03:33]
    [17:03:33] ***Script completed successfully.***

  • Yes, that's how I'm running the script

  • Victor,

    Please provide a screenshot of your physical setup. This script has gone through multiple regression tests so it does work when the phsycial setup is done correctly.

    Regards,

    Kyle