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: mmWave Studio 02.01.00.00, DCA1000 EVM not showing FPGA version 2.8

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

Hi,

I have one AWR1642BOOST EVM (ES2.0) and one DCA1000 EVM. Earlier, I was using mmwave Studioe 02.00.00.02 and FPGA version was 2.7. I am using it on a Dell Laptop with windows 10 OS.

Then I installed latest mmwave Studio 02.01.00.00. I updated the FPGA binary as advised in section 9 of document DCA1000 EVM Data Capture Card (spruij4a.pdf). I followed all the steps as advised. The Lattice Diamond Standalone Programmer 3.10 64-bit Windows was used and in the end it showed successful operation.

Then I tried to use mmwave Studio 02.01.00.00. Where and when required, I allowed access through Windows Firewall. (I even attempted disabling Windows Firewall altogether).

I have set the IP address as advised in mmwave Studio User Guide. However, in "Sensor Config" tab, when i click "Setup DCA1000" button and then I click "Connect, Reset and Configure", then after that the output console of mmwave Studio shows error " Unable to read FPGA Version. [error -5] "

 The "Output Log" is attached as text file to this message.

Log0037_0.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
GM: Constructor
GM: Wed Dec 18 17:17:09 2019
RSTD.Transmit("/Settings")
[17:17:10]
[17:17:10] ### Running Startup script: "C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\Scripts\Startup.lua" ###
[17:17:10] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[17:17:10] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[17:17:11] Scripter ignored: Attempt to UnBuild() again or before Build.
[17:17:11] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
[17:17:11] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[17:17:11] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[17:17:11] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[17:17:11] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[17:17:11] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[17:17:11] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\RunTime\\SAL.dll")
[17:17:11] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[17:17:11] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[17:17:11] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[17:17:11] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[17:17:11] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[17:17:11] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[17:17:11] RSTD.Transmit("/")
[17:17:11] RSTD.SaveSettings(): Settings saved to "C:\Users\Admin\AppData\Roaming\RSTD\config.xml"
[17:17:11] RSTD.Build()
[17:17:11] RSTD.SaveSettings(): Settings saved to "C:\Users\Admin\AppData\Roaming\RSTD\config.xml"
[17:17:11] RSTD.Transmit("/")
[17:17:11] RSTD.AL_Build()
[17:17:11] RSTD.AL_LoadXml()
[17:17:11] RSTD.Transmit("/")
[17:17:11] RSTD.AL_Init()
[17:17:11] RSTD.Clients_Build()
[17:17:11] GM: Init
[17:17:11] GM: Loaded 'C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\Clients\\LabClient.dll'
[17:17:11] GM: 1 Guest (s) init
[17:17:11] GM: 1 Module(s) init
[17:17:11] GM: 2 Tab (s) init
[17:17:11] RSTD.Client_LoadXml()
[17:17:12] [RadarAPI]: ar1.selectRadarMode(0)
[17:17:12] [RadarAPI]: Status: Passed
[17:17:12] Matlab Runtime Engine is installed
[17:17:12] [RadarAPI]: Starting Matlab Engine..
[17:17:42] [RadarAPI]: Matlab Engine Started!
[17:17:45] [RadarAPI]: ar1.selectCascadeMode(0)
[17:17:45] [RadarAPI]: Status: Passed
[17:17:45] [RadarAPI]: ar1.LoadSettings('C:\Users\Admin\AppData\Roaming\RSTD\ar1gui.ini')
[17:17:45] TESTING = false
[17:17:45] RstdNet: Port 2777: Listening..
[17:17:45]
[17:17:45] ***Script completed successfully.***
[17:18:12] [RadarAPI]: ar1.frequencyBandSelection("77G")
[17:18:14] [RadarAPI]: ar1.SelectChipVersion("AR1642")
[17:18:14] [RadarAPI]: Status: Passed
[17:18:14] [RadarAPI]: ar1.deviceVariantSelection("XWR1642")
[17:18:14] [RadarAPI]: Status: Passed
[17:18:18] [RadarAPI]: Opening Gpio Control Port()
[17:18:18] [RadarAPI]: Status: Passed
[17:18:19] [RadarAPI]: Opening Board Control Port()
[17:18:19] [RadarAPI]: Status: Passed
[17:18:20] [RadarAPI]: ar1.FullReset()
[17:18:20] [RadarAPI]: Status: Passed
[17:18:20] [RadarAPI]: Closing Board Control Port()
[17:18:20] [RadarAPI]: Status: Passed
[17:18:20] [RadarAPI]: Closing Gpio Control Port()
[17:18:20] [RadarAPI]: Status: Passed
[17:18:20] [RadarAPI]: ar1.SOPControl(2)
[17:18:20] [RadarAPI]: Status: Passed
[17:18:26] [RadarAPI]: ar1.Connect(4,921600,1000)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Can you please guide what is the problem and how can I solve it to use AWR1642BOOST + DCA1000 EVM with mmwave Studio 02.01.00.00 and FPGA version 2.8 ?

As a further step to re-check, I re-installed FPGA version 2.7 using the same steps and it worked fine with mmwave Studio 02.00.00.02. I then again attempted to use FPGA version 2.8 with mmwave Studio 02.01.00.00, but again had same failure.

Thanks in advance for your help.

  • Hello Alper,

    If you flash the FPGA version 2.7 and use with mmwave studio 2..01 does it work?

    regards,

    Vivek

  • Hi Vivek,

    1.  I flashed the FPGA version 2.7 and it worked with older mmwave Studio 02.00.00.02 and it worked fine as it had worked before.

    2. I then tested same FPGA version 2.7 with mmwave Studio 02.01.00.00 and it DID NOT work and gave the same error as I mentioned above.

    Regards

  • Hello Alper,

    In the mmwave studio 2.01 there will be a "cf.json" file created the postproc folder of the mmwave studio installation. Can you share that file?

    Regards,

    Vivek 

  • Hi Vivek,

    sorry for my late reply/

    Sure, I am attaching the file (cf.json) required by you.

    NOTE : This TI webpage was not allowing me to attached cf.json , therefore, I open and saved the cf.txt file in Notepad and then attached it to this message. I hope it works well for you.

    cf.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    {
    "DCA1000Config": {
    "dataLoggingMode": "raw",
    "dataTransferMode": "LVDSCapture",
    "dataCaptureMode": "ethernetStream",
    "lvdsMode": 2,
    "dataFormatMode": 3,
    "packetDelay_us": 25,
    "ethernetConfig": {
    "DCA1000IPAddress": "192.168.33.180",
    "DCA1000ConfigPort": 4096,
    "DCA1000DataPort": 4098
    },
    "ethernetConfigUpdate": {
    "systemIPAddress": "192.168.33.30",
    "DCA1000IPAddress": "192.168.33.180",
    "DCA1000MACAddress": "12.34.56.78.90.12",
    "DCA1000ConfigPort": 4096,
    "DCA1000DataPort": 4098
    },
    "captureConfig": {
    "fileBasePath": "C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\PostProc",
    "filePrefix": "adc_data",
    "maxRecFileSize_MB": 1024,
    "sequenceNumberEnable": 1,
    "captureStopMode": "infinite",
    "bytesToCapture": 4000,
    "durationToCapture_ms": 4000,
    "framesToCapture": 40
    },
    "dataFormatConfig": {
    "MSBToggle": 0,
    "laneFmtMap": 0,
    "reorderEnable": 0,
    "dataPortConfig": [
    {
    "portIdx": 0,
    "dataType": "real"
    },
    {
    "portIdx": 1,
    "dataType": "complex"
    },
    {
    "portIdx": 2,
    "dataType": "real"
    },
    {
    "portIdx": 3,
    "dataType": "real"
    },
    {
    "portIdx": 4,
    "dataType": "complex"
    }
    ]
    }
    }
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Regards

  • Hello Alper,

    The json file seems to be fine. We have not seen this issue before.

    Could you try another experiment? In the Postproc folder of the mmwave studio there is a "DCA1000EVM_CLI_Control.exe" CLI executable. From the windows command prompt can you call the following command :

    C:\D\TI\mmwave_studio_02_01_00_00\mmWaveStudio\PostProc>DCA1000EVM_CLI_Control.exe fpga cf.json

    Keep the same Json file in the folder as you have attached. Power up the DCA1000 and connect the ethernet cable and try this. You need not open the mmwave studio for this experiment.

    If this also returns with a system disconnected error can you re install the mmwave studio in some other location like D: incase that is available on your PC?

    regards,

    Vivek

  • Hi Vivek,

    I tried the above two steps advised by you by the result is still the failure unfortunately. Following are the details:

    1-  I followed this advice from you :

     " In the Postproc folder of the mmwave studio there is a "DCA1000EVM_CLI_Control.exe" CLI executable. From the windows command prompt can you call the following command :

    C:\D\TI\mmwave_studio_02_01_00_00\mmWaveStudio\PostProc>DCA1000EVM_CLI_Control.exe fpga cf.json

    Keep the same Json file in the folder as you have attached. Power up the DCA1000 and connect the ethernet cable and try this. You need not open the mmwave studio for this experiment.  "

    The following screenshot i obtained on the command window.

    2-  Then, I installed mmwave studio 02.01.00.00 in another directory on my PC, i.e. D, but when I tried to use it, it gave same problem as I mentioned in my first post dated 18th Dec, 2019.

    Waiting for your further advice.

    Regards

  • Hello Alper,

    Thanks a lot for sharing the error details. It looks like the exe does not have permission to open the file and hence its no able to open the cf.json file.

    Can you right click on the DCA1000EVM_CLI_Control.exe and verify in the properties that read write permission are available to this exe? Maybe they have been blocked on your system.

    regards,

    Vivek

  • Hi Vivek,

    I checked the file permissions of file that you mentioned. I found that it has the relevant permissions. I am attaching the screen shot:

    Any further advice please?

    Regards

  • Hello Alper,

    Can you also check the cf.json file if there are all permissions available to access it?

    Regards,

    Vivek