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 Number of files captured is zero, with IWR1443BOOST

Part Number: DCA1000EVM
Other Parts Discussed in Thread: IWR1443BOOST

Hi,

I'm trying to use DCA1000EVM with IWR1443BOOST on mmWave Studio 2.1.0.0. I have installed all the relevant software in mmWave Studio user guide, and DCA1000EVM user guide. My computer is connected to both of the devices, with static IP configured as given, and firewall disabled. I'm trying to use DataCaptureDemo_xWR.lua, as specified in the quick setup guide. When I run the lua script, everything seems to be working until start_command is sent. Then, I receive no of files captured is zero error. Here is the relevant part of logs:

[16:53:24]  [RadarAPI]: ar1.CaptureCardConfig_StartRecord("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin", 1)
[16:53:24]  [RadarAPI]: Sending start_record command to DCA1000
[16:53:24]  [RadarAPI]: Status: Passed
[16:53:25]  [RadarAPI]: ar1.StartFrame()
[16:53:25]  [RadarAPI]: Status: Passed
[16:53:25]  Frame start async event received!
[16:53:25]  [RadarAPI]: Frame Ended
[16:53:25]  Frame End async event received!
[16:53:30]  Please wait for a few seconds for matlab post processing .....!!!!
[16:53:30]  [RadarAPI]: ar1.StartMatlabPostProc("C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Scripts\\..\\PostProc\\adc_data.bin")
[16:53:30]  [RadarAPI]: No of files Captured: 0, Total no of frames for each device : 8
[16:53:30]  Error : The number of files captured is zero!
[16:53:40]  
[16:53:40]

I've attached the rest of the logs as a separate file. This script automatically enables test source; by looking at some other threads on the forum, I've set disabled test source, and applied steps on SensorConfig page in the given order. I wait for a couple of seconds after clicking DCA1000ARM, and also tried adding RSTD.Sleep(2000) on Lua Shell after clicking  DCA100ARM button, but it does not show up on the output log screen, and it does not seem to have any effect. Any help is appreciated.

7183.output.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: Fri Nov 22 16:52:45 2019
RSTD.Transmit("/Settings")
[16:52:45]
[16:52:45] ### Running Startup script: "C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\Scripts\Startup.lua" ###
[16:52:45] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[16:52:45] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[16:52:45] Scripter ignored: Attempt to UnBuild() again or before Build.
[16:52:45] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\Clients\\\\LabClient.dll")
[16:52:45] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[16:52:45] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[16:52:45] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[16:52:45] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[16:52:45] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[16:52:45] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_01_00_00\\mmWaveStudio\\RunTime\\SAL.dll")
[16:52:45] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[16:52:45] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[16:52:45] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[16:52:45] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[16:52:45] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[16:52:45] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[16:52:45] RSTD.Transmit("/")
[16:52:45] RSTD.SaveSettings(): Settings saved to "C:\Users\******\AppData\Roaming\RSTD\config.xml"
[16:52:45] RSTD.Build()
[16:52:45] RSTD.SaveSettings(): Settings saved to "C:\Users\*******\AppData\Roaming\RSTD\config.xml"
[16:52:45] RSTD.Transmit("/")
[16:52:45] RSTD.AL_Build()
[16:52:45] RSTD.AL_LoadXml()
[16:52:45] RSTD.Transmit("/")
[16:52:45] RSTD.AL_Init()
[16:52:45] RSTD.Clients_Build()
[16:52:45] GM: Init
[16:52:45] GM: Loaded 'C:\ti\mmwave_studio_02_01_00_00\mmWaveStudio\Clients\\LabClient.dll'
[16:52:45] GM: 1 Guest (s) init
[16:52:45] GM: 1 Module(s) init
[16:52:45] GM: 2 Tab (s) init
[16:52:45] RSTD.Client_LoadXml()
[16:52:45] [RadarAPI]: ar1.selectRadarMode(0)
[16:52:45] [RadarAPI]: Status: Passed
[16:52:45] Matlab Runtime Engine is installed
[16:52:45] [RadarAPI]: Starting Matlab Engine..
[16:52:47] [RadarAPI]: Matlab Engine Started!
[16:52:48] [RadarAPI]: ar1.selectCascadeMode(0)
[16:52:48] [RadarAPI]: Status: Passed
[16:52:48] [RadarAPI]: ar1.LoadSettings('C:\Users\*******\AppData\Roaming\RSTD\ar1gui.ini')
[16:52:48] TESTING = false
[16:52:48] RstdNet: Port 2777: Listening..
[16:52:48]
[16:52:48] ***Script completed successfully.***
[16:52:57] [RadarAPI]: Opening Gpio Control Port()
[16:52:57] [RadarAPI]: Status: Passed
[16:52:57] [RadarAPI]: Opening Board Control Port()
[16:52:57] [RadarAPI]: Status: Passed
[16:52:58] [RadarAPI]: ar1.FullReset()
[16:52:58] [RadarAPI]: Status: Passed
[16:52:59] [RadarAPI]: Closing Board Control Port()
[16:52:59] [RadarAPI]: Status: Passed
[16:52:59] [RadarAPI]: Closing Gpio Control Port()
[16:52:59] [RadarAPI]: Status: Passed
[16:52:59] [RadarAPI]: ar1.SOPControl(2)
[16:52:59] [RadarAPI]: Status: Passed
[16:53:02] [RadarAPI]: ar1.Connect(3,921600,1000)
[16:53:04] [RadarAPI]: Warning: Connected with baudrate 115200
[16:53:05] [RadarAPI]: Warning: Disconnected existing BaudRate
[16:53:05] [RadarAPI]: Warning: Trying to connect with baudrate 921600
[16:53:07] [RadarAPI]: ar1.Calling_IsConnected()
[16:53:08] [RadarAPI]: ar1.SelectChipVersion("AR1243")
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hello,

        We are reviewing your log files, We will get back to your as soon as possible. 

    Thanks and regards,

    CHETHAN KUMAR Y.B. 

  • Hello,

        Could you please share how Ethernet is connected to PC? Could you please post the picture of the setup. 

    Was there any change in the jumper/switch settings on the the DCA1000 card. Also post the picture of the setup and  jumper settings on the DCA1000 card? 

    Could you please comment on the Power adapter used for the DCA1000? what is the current rating used?

    Please ensure firewall is disabled.

    Thanks and regards,

    CHETHAN KUMAR Y.B.

  • Hi Chethan,

    Thanks for your answer. Upon checking all the setup, I have found the mistake and I was able to run the demo. It turns out that Firewall should be completely disabled. Now, I can capture the result.

    For others who might run into the same problem, when I increase the number of frames to a high number (lets say 100), mmWave Studio gives the following error: 'Timeout Error: System disconnected'. Fixing the firewall issue solved this as well, as the connection (and data capture) can be carried on.

    Thanks,

    Mohammad.