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 capture data with DCA1000 and mmWave Studio

Part Number: DCA1000EVM
Other Parts Discussed in Thread: IWR6843ISK, IWR6843,

I am not able to capture data with the dca1000 and iwr6843isk rev d.  I followed the user manuals and video tutorials.  The number of files captured was always 0 and their was always a message about not being able to read the firmware.  I have a static ip setup and at some points captured communication between the dca1000 and my pc with wireshark.  I updated the firmware on the DCA1000 with the same results afterwards. 

Here is some of the output:

[17:03:07] [RadarAPI]: ar1.Connect(22,115200,1000)
[17:03:08] [RadarAPI]: ar1.Calling_IsConnected()
[17:03:09] [RadarAPI]: ar1.SelectChipVersion("IWR6843")
[17:03:09] [RadarAPI]: Status: Passed
[17:03:09] [RadarAPI]: ar1.frequencyBandSelection("60G")
[17:03:09] [RadarAPI]: ar1.SelectChipVersion("IWR6843")
[17:03:09] [RadarAPI]: Status: Passed
[17:03:09] Device Status : IWR6843/QM/SOP:2/ES:2
[17:03:09] [RadarAPI]: ar1.SaveSettings('C:\Users\ndonahue\AppData\Roaming\RSTD\ar1gui.ini')
[17:03:15] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr68xx_radarss.bin")
[17:03:15] [RadarAPI]: Downloading BSS ROM RPRC Binary..
[17:04:03] [RadarAPI]: ar1.GetBSSFwVersion()
[17:04:03] [RadarAPI]: BSSFwVersion:(06.02.01.05 (09/03/20))
[17:04:54] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr68xx_masterss.bin")
[17:04:55] [RadarAPI]: Downloading MSS RPRC Binary..
[17:05:14] [RadarAPI]: ar1.GetMSSFwVersion()
[17:05:14] [RadarAPI]: MSSFwVersion:(02.00.00.03 (27/08/19))
[17:05:16] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
[17:05:16] MSS power up done async event received!
[17:05:16] [RadarAPI]: Status: Passed
[17:05:19] [RadarAPI]: ar1.SelectChipVersion("IWR6843")
[17:05:19] [RadarAPI]: Status: Passed
[17:05:19] [RadarAPI]: ar1.SelectChipVersion("IWR6843")
[17:05:19] [RadarAPI]: Status: Passed
[17:05:19] Device Status : IWR6843/QM/SOP:2/ES:2
[17:05:19] [RadarAPI]: ar1.RfEnable()
[17:05:19] BSS power up done async event received!
[17:05:19] [RadarAPI]: Status: Passed
[17:05:19] [RadarAPI]: ar1.GetMSSFwVersion()
[17:05:19] [RadarAPI]: MSSFwVersion:(02.00.00.03 (27/08/19))
[17:05:20] [RadarAPI]: ar1.GetBSSFwVersion()
[17:05:20] [RadarAPI]: BSSFwVersion:(06.02.01.05 (09/03/20))
[17:05:26] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 1, 0)
[17:05:27] [RadarAPI]: Status: Passed
[17:05:33] [RadarAPI]: ar1.LPModConfig(0, 0)
[17:05:33] [RadarAPI]: Status: Passed
[17:05:34] [RadarAPI]: ar1.RfInit()
[17:05:34] RF Init async event received!
[17:05:34] [RadarAPI]: Time stamp, Temperture: 15048,42; 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;
[17:05:34] [RadarAPI]: Status: Passed
[17:05:41] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
[17:05:41] [RadarAPI]: Status: Passed
[17:05:41] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
[17:05:42] [RadarAPI]: Status: Passed
[17:05:43] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
[17:05:43] [RadarAPI]: Status: Passed
[17:05:49] [RadarAPI]: ar1.ProfileConfig(0, 60, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29.982, 0, 256, 10000, 0, 131072, 30)
[17:05:49] [RadarAPI]: Status: Passed
[17:05:51] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
[17:05:51] [RadarAPI]: Status: Passed
[17:05:52] Test Source Already Disabled...!!!
[17:05:52] [RadarAPI]: ar1.DisableTestSource(0)
[17:05:52] [RadarAPI]: Status: Passed
[17:05:52] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 0, 1)
[17:05:52] [RadarAPI]: Status: Passed
[17:05:57] [RadarAPI]: ar1.GetCaptureCardDllVersion()
[17:05:57] [RadarAPI]: Sending dll_version command to DCA1000
[17:05:57] [RadarAPI]:
[17:05:57] DLL Version : 1.0
[17:05:57] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
[17:05:57] [RadarAPI]: Status: Passed
[17:06:01] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
[17:06:01] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
[17:06:01] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(25)
[17:06:01] [RadarAPI]: Sending fpga command to DCA1000
[17:06:11] [RadarAPI]:
[17:06:11] FPGA Configuration :
[17:06:11] Timeout Error! System disconnected
[17:06:11] [RadarAPI]: Sending record command to DCA1000
[17:06:22] [RadarAPI]:
[17:06:22] Configure Record :
[17:06:22] Timeout Error! System disconnected
[17:06:22] [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
[17:06:22] [RadarAPI]: Sending fpga_version command to DCA1000
[17:06:32] [RadarAPI]:
[17:06:32]
[17:06:32] Unable to read FPGA Version. [error -5]
[17:06:32]
[17:07:26] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
[17:07:26] [RadarAPI]: ar1.CaptureCardConfig_Mode(1, 2, 1, 2, 3, 30)
[17:07:26] [RadarAPI]: ar1.CaptureCardConfig_PacketDelay(300)
[17:07:26] [RadarAPI]: Sending fpga command to DCA1000
[17:07:36] [RadarAPI]:
[17:07:36] FPGA Configuration :
[17:07:36] Timeout Error! System disconnected
[17:07:36] [RadarAPI]: Sending record command to DCA1000
[17:07:46] [RadarAPI]:
[17:07:46] Configure Record :
[17:07:46] Timeout Error! System disconnected
[17:07:46] [RadarAPI]: ar1.GetCaptureCardFPGAVersion()
[17:07:46] [RadarAPI]: Sending fpga_version command to DCA1000
[17:07:56] [RadarAPI]:
[17:07:56]
[17:07:56] Unable to read FPGA Version. [error -5]
[17:07:56]
[17:09:36] [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\adc_data.bin", 1)
[17:09:36] [RadarAPI]: Sending start_record command to DCA1000
[17:09:36] [RadarAPI]:
[17:09:53] [RadarAPI]: ar1.StartFrame()
[17:09:53] [RadarAPI]: Status: Passed
[17:09:53] Frame start async event received!
[17:09:53] [RadarAPI]: Frame Ended
[17:09:53] Frame End async event received!
[17:10:10] [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_01_00\\mmWaveStudio\\PostProc\\adc_data.bin")
[17:10:10] [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 8
[17:10:10] Error : The number of files captured is zero!

  • Hello,

    So your error of "Unable to read FPGA Version" is quite a common error for the DCA1000. First off I would like to point you to the DCA1000 User Guide on the Industrial Toolbox for mmWave Sensors. I am not sure if this is one of the guides you have read as you mentioned you have followed a user manual (there are multiple), but in this guide near the bottom in the the "Need More Help?" section is the Debugging Handbook where this error is addressed. I would first recommend you disabling the firewall. Second, because you have a rev D try using the setup without an ICBOOST if you are using one with the pictures shown in the guide. If these fail I would triple check all mux switches and finally try reflashing the FPGA using the Lattice Tool. Reflashing the FPGA guide is in the other user guide that is more of a data sheet.

    Main User Guide:

    https://dev.ti.com/tirex/explore/node?a=VLyFKFf__4.12.0&node=A__AGTrhNYW8jE6cMxbovlfaA__com.ti.mmwave_industrial_toolbox__VLyFKFf__4.12.0

    For Flashing FPGA:

    https://www.ti.com/lit/ug/spruij4a/spruij4a.pdf

    Best Regards,

    Pedrhom Nafisi

  • Thanks.  I am not using the Boost board and I have already flashed the board with Lattice programmer.  Can you please tell me what the switch positions should be.  The documentation shows different boards so this is not clear.  I am using the IWR6843ISK Rev D.  

  • Hello,

    The image shown below should suffice for switch positions. Check the ones on the DCA1000 as well. Disable your firewall, ensure proper connections, and ensure your power supply is at LEAST 2.5A, 3A preferred.

    Best Regards,

    Pedrhom Nafisi

  • I still have not been able to get data and still see the 'Unable to read FPGA Version. [error -5]' error in the output.  The Windows Defender Firewall is not active on the machine.

  • I have also noticed that there is communication between the DCA1000 and the laptop using Wirechark.  But the number of captured files is always zero.

  • Hello,

    Another thing to confirm, do you have MATLAB 8.5.1 installed? You MUST have this particular version installed on your computer. If all the steps in the DCA1000 user guide did not work, and you followed them with NO assumptions, it will not hurt to fully uninstall and then reinstall mmWaveStudio.

    Best Regards,

    Pedrhom Nafisi

  • Yes I have the exact version installed.  I followed the steps here, https://dev.ti.com/tirex/explore/node?node=A__AGTrhNYW8jE6cMxbovlfaA__com.ti.mmwave_industrial_toolbox__VLyFKFf__LATEST.  I seen that there was a recent forum posting from someone else with what appears to be the same problem.   As I stated and from the logs posted above everything seems to run but no data is ultimately captured.  As a side note, originally the Demo Visualizer also did not initially work until TI posted an update.  Are you sure there is not a bug in the current code?

  • Hello,

    I do not think "Unable to read FPGA Version. [error -5]" is from a bug in the code, however it could still be software in many forms from a bad installation, to a bad software flash of the Lattice IC. If possible I would try a different USB cable and making sure that only required peripherals are connected to your computer. The DCA1000 requires a ton of power and we have had experiences where having peripherals connected to a computer prevented proper communication. Also, is your ethernet connection directly from the DCA1000 to the computer?

    In addition, what type of data are you looking to receive for the radar sensor? Without the DCA1000, it is possible to get many various kinds of data from the radar device via the serial connection such as a point cloud or heatmap. The DCA1000EVM and mmWaveStudio are ONLY necessary if you desire raw ADC data. This additional EVM is needed to support the very high volume of data which is produced when capturing this raw data. If you are not very familiar with Radar Data processing, it will likely be much easier to start with the data which is output without the DCA1000EVM, which is already processed by the ARM core and DSP on the device using the algorithms in our demos. Typically, raw data is only needed when you are hoping to develop an entire radar processing chain from scratch, so I wanted to ask you this as well.

    Best Regards,

    Pedrhom Nafisi

  • There are no other peripherals plugged into the computer and the Ethernet is directly connected without a dongle.  I've tried different cables as well.  At this time, we are interested in the lower level raw ADC data. The first error I experience following the instructions is:  Unable to read FPGA Version. [error -5]

  • ...I also already flashed new firmware and I am using a power supply with more than enough amperage (30A) to power the DCA1000.  

  • Hello,

    Could you take some pictures of your hardware setup? If everything looks in order to me then we can proceed with more debugging help or other options.

    Best Regards,

    Pedrhom Nafisi

  • Hello,

    Everything looks to be in order in the pictures. Since your hardware switch configuration is correct, have ample current power supply, have direct connections from DCA1000 to your computer, have tried different cables, have no other peripherals connected, tried reflashing the FPGA via Lattice tool, and have all required driver installations, I would try a different computer if possible as well as try fully uninstalling mmWaveStudio and reinstalling it. If this does not work then contact customer support and give them my name and I can vouch for your physical return.

    Best Regards,

    Pedrhom Nafisi