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: [RadarAPI]: Error: Index was outside the bounds of the array.

Part Number: DCA1000EVM
Other Parts Discussed in Thread: IWR1642BOOST

Hi,

I have the IWR1642BOOST connected with the DCA1000EVM, and Matlab Runtime Engine 8.5.1 (32 bit installed). However, after starting mmWaveStudio 1.0.0.0, I get the following error message:

The 'C:\Users\tsn' folder is read-only by the way. Is that the problem? I have tried to change the properties of the folder, but it doesn't seem possible (it goes back to read-only after I make the changes). I can connect to the devices though, and run 'DataCaptureDemo_xWR.lua', but once the program is done, I get an error message that the adc_data file is empty. So I figured maybe the above-mentioned error message is the underlying cause (can't seem to connect to the FPGA either, getting version 0.0.0. Downloaded the FPGA bit-file again, but no change in the problem).

Thanks!

  • Tomas,

    Make sure you have the Ethernet cable connected to your PC and then you set your PC with the IP address as specific in the DCA1000 User's Guide. You can find the User's Guide and Quick Start Guide below:

    Quick Start Guide: www.ti.com/.../spruik7.pdf
    User's Guide: www.ti.com/.../spruij4.pdf

    Please make sure that the user's folder is not read-only.

    Regards,
    Kyle

  • Tomas,

    In addition to Kyle's suggestion, please either disable firewall or authorize mmwave studio in firewall setting under PC system. That may help with your Ethernet issue.

    Thanks and Regards,
    Michelle
  • Hi,

    I have followed the instructions in the User Guide. As for the read-only thing, I checked the propterties of the C:\Users\tsn\AppData\Roaming\RSTD\ar1gui.ini file and get the following (so I assume that's not an issue):

    I have configured the IP address according to the guide:

    And I have done this for firewall settings for mmWave Studio:

    I still get the same eror message as before upon starting the mmWave Studio. Also, even after following the exact steps of the User Guide, I get FPGA version 0.0.0.0 when trying to connect after clicking "SetUp DCA1000". I have followed the instructions for how to re-program the FPGA program memory, but still no change. 

    Any other ideas of what I should try out?

    Thanks!

  • Hi again,

    I re-programmed the memory for the FPGA again, and now all of a sudden the DataCaptureDemo_xWR.lua program worked as intended. However, I still get the "Error: Index was outside the bounds of the array" message upon startup of mmWave Studio. I opened the "ar1gui.ini" file, and there's an empty line at the end. Could it be a simple thing that the function is for example looking for N entries, when there are in fact N-1? (or something similar). Also, I still can't connect to the FPGA (version number is still 0.0.0.0).
  • Hi,

    Is the Ethernet cable connected directly to PC or through USB adapter? We have feedback that customer with USB adapter failed to the Ethernet connection. Also please make sure no VPN is on.

    Thanks and Regards,
    Michelle
  • Hi,

    The ethernet cable is connected through my laptop docking station. Would this affect it?
  • Just for debug purpose, I would recommend to connect directly. Thanks!

    Regards,
    Michelle
  • Hi Michelle,

    Turns out that the data capture process works despite the error message at startup, also when the laptop is docked. I have to manually step through the process though, as the DataCaptureDemo_xWR.lua script doesn't work very well (ref. other thread by me). But all is well now :-)