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: Usage with MMWAVEICBOOST and IWR6843ISK

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

Hi

I am trying to use DCA1000EVM with MMWAVEICBOOST and IWR6843ISK.

I have tried following quick start guide for DCA1000EVM (although quick start guide does not exactly cover MMWAVEICBOOST).

When I start mmWave Studio I eventually get:

&&&&&&&&&&&&&&&&&&&&
[17:43:58] ***Script FAILED!***
[17:43:58] &&&&&&&&&&&&&&&&&&&&
[17:43:58] Exception message is:
[17:43:58] Object reference not set to an instance of an object.

Can you suggest anything I can do to get DCA1000EVM working with mmWaveStudio?

Best Regards

David

  • Hi David,

    Can you please send me your entire output log?

    - Chloe

  • Hi Chloe

    Sorry for the slow reply.

    For me RadarAPI never loads, my complete output log is:

    GM: Constructor
    GM: Mon Apr 08 17:43:53 2019
    RSTD.Transmit("/Settings")
    [17:43:54]
    [17:43:54] ### Running Startup script: "C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###
    [17:43:54] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [17:43:54] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [17:43:54] Scripter ignored: Attempt to UnBuild() again or before Build.
    [17:43:54] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [17:43:54] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [17:43:54] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [17:43:54] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [17:43:54] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [17:43:54] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [17:43:54] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")
    [17:43:54] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [17:43:54] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [17:43:54] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [17:43:54] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [17:43:54] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [17:43:54] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [17:43:54] RSTD.Transmit("/")
    [17:43:54] RSTD.SaveSettings(): Settings saved to "C:\Users\davpac01\AppData\Roaming\RSTD\config.xml"
    [17:43:54] RSTD.Build()
    [17:43:54] RSTD.SaveSettings(): Settings saved to "C:\Users\davpac01\AppData\Roaming\RSTD\config.xml"
    [17:43:54] RSTD.Transmit("/")
    [17:43:54] RSTD.AL_Build()
    [17:43:54] RSTD.AL_LoadXml()
    [17:43:54] RSTD.Transmit("/")
    [17:43:54] RSTD.AL_Init()
    [17:43:54] RSTD.Clients_Build()
    [17:43:54] GM: Init
    [17:43:54] GM: Loaded 'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'
    [17:43:54] GM: 1 Guest (s) init
    [17:43:54] GM: 1 Module(s) init
    [17:43:54] GM: 2 Tab (s) init
    [17:43:54] RSTD.Client_LoadXml()
    [17:43:54] [RadarAPI]: Starting Matlab Engine..
    [17:43:58] [RadarAPI]: Matlab Engine Started!
    [17:43:58]
    [17:43:58] &&&&&&&&&&&&&&&&&&&&
    [17:43:58] ***Script FAILED!***
    [17:43:58] &&&&&&&&&&&&&&&&&&&&
    [17:43:58] Exception message is:
    [17:43:58] Object reference not set to an instance of an object

    The IWR6843ISK is flashed with the SDK demo

  • Hi Chloe

    Embarrassingly, it seems my original issue was with a faulty USB cable, I can now get a bit further:

    GM: Constructor
    GM: Fri Apr 12 11:45:05 2019
    RSTD.Transmit("/Settings")
    [11:45:06]
    [11:45:06] ### Running Startup script: "C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###
    [11:45:06] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
    [11:45:06] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
    [11:45:06] Scripter ignored: Attempt to UnBuild() again or before Build.
    [11:45:06] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")
    [11:45:06] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
    [11:45:06] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
    [11:45:06] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
    [11:45:06] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
    [11:45:06] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
    [11:45:06] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")
    [11:45:06] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
    [11:45:06] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
    [11:45:06] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
    [11:45:06] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
    [11:45:06] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
    [11:45:06] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
    [11:45:06] RSTD.Transmit("/")
    [11:45:06] RSTD.SaveSettings(): Settings saved to "C:\Users\davpac01\AppData\Roaming\RSTD\config.xml"
    [11:45:06] RSTD.Build()
    [11:45:06] RSTD.SaveSettings(): Settings saved to "C:\Users\davpac01\AppData\Roaming\RSTD\config.xml"
    [11:45:06] RSTD.Transmit("/")
    [11:45:06] RSTD.AL_Build()
    [11:45:06] RSTD.AL_LoadXml()
    [11:45:06] RSTD.Transmit("/")
    [11:45:06] RSTD.AL_Init()
    [11:45:06] RSTD.Clients_Build()
    [11:45:06] GM: Init
    [11:45:06] GM: Loaded 'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'
    [11:45:06] GM: 1 Guest (s) init
    [11:45:06] GM: 1 Module(s) init
    [11:45:06] GM: 2 Tab (s) init
    [11:45:06] RSTD.Client_LoadXml()
    [11:45:07] [RadarAPI]: Starting Matlab Engine..
    [11:45:11] [RadarAPI]: Matlab Engine Started!
    [11:45:14] [RadarAPI]: ar1.LoadSettings('C:\Users\davpac01\AppData\Roaming\RSTD\ar1gui.ini')
    [11:45:15] TESTING = false
    [11:45:15]
    [11:45:15] ***Script completed successfully.***
    [11:45:29] [RadarAPI]: Opening Gpio Control Port()
    [11:45:29] [RadarAPI]: Status: Passed
    [11:45:30] [RadarAPI]: Opening Board Control Port()
    [11:45:30] [RadarAPI]: Status: Passed
    [11:45:31] [RadarAPI]: ar1.FullReset()
    [11:45:31] [RadarAPI]: Status: Passed
    [11:45:31] [RadarAPI]: Closing Board Control Port()
    [11:45:31] [RadarAPI]: Status: Passed
    [11:45:31] [RadarAPI]: Closing Gpio Control Port()
    [11:45:31] [RadarAPI]: Status: Passed
    [11:45:31] [RadarAPI]: ar1.SOPControl(2)
    [11:45:31] [RadarAPI]: Status: Passed
    [11:45:37] [RadarAPI]: ar1.Connect(4,921600,1000)
    [11:45:39] [RadarAPI]: Error: Connection failed: Calling_ConnectTarget returned 3
    [11:45:39] [RadarAPI]: ar1.Calling_IsConnected()
    [11:45:39] [RadarAPI]: ar1.SaveSettings('C:\Users\davpac01\AppData\Roaming\RSTD\ar1gui.ini')

    I do have XDS110 Class Application/User UART (COM4) showing in Device Manager. Maybe I need to set the SOP jumpers to something?

     

    Best Regards

    David

     

  • Hi David,

    Yes, you will need to set the SOP jumpers to DCA mode.  This video goes through the steps for capturing with the DCA1000.  I've also attached an image of how to configure the boards.

    - Chloe

  • Hi Chloe

    Thanks this helped and I got a lot further but now have a new problem, which is that I am failing to connect to the DCA1000 over ethernet

    [16:58:15] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [16:58:17] ConnectRFDCCard Status: RFDCCARD_UDP_WRITE_ERR
    [16:58:17] Ethernet Cable is disconnected Please check.....!!!

    The ethernet cable is certainly not disconnected. My ARP table looks like this:

    Interface: 192.168.33.30 --- 0xb
    Internet Address Physical Address Type
    192.168.33.180 0c-22-38-4e-5a-0c dynamic
    192.168.33.255 ff-ff-ff-ff-ff-ff static
    224.0.0.22 01-00-5e-00-00-16 static
    224.0.0.251 01-00-5e-00-00-fb static
    224.0.0.252 01-00-5e-00-00-fc static
    239.255.255.250 01-00-5e-7f-ff-fa static

    Which seems to show the DCA1000 on the expected port number but not with the expected MAC address?

    Can you tell me is this expected or not, or anything I can do to debug this?

    Best Regards

    David

     

     

  • Hi David,

    Did you set the IP address as shown below in the network and sharing center?  Also, are you connecting directly through Ethernet to your PC or are you using an Ethernet-USB converter?  If you're using this, it could be causing an issue.

    -Chloe

  • Hi Chloe

    Yes the TCP/IP settings are exactly as in your picture, and the cable is directly into an ethernet port.

    Did you see my comment in the last post about the mismatching MAC addresses?

    Best

    Dave

  • Hi Dave,

    It looks like your MAC address is correct.  Can you please check that you have the correct mux settings on the DCA as shown in the picture below.  If this doesn't work, try swapping the ethernet cable in case this is the issue.

    -Chloe  

  • Hi Chloe

    Sorry for the slow reply, I checked the mux settings, one switch was set wrongly but correcting it has not solved anything.

    I have also spent a lot of time fiddling with Windows Defender in case that is blocking things somehow but everything I have tried, still no success on connecting the ethernet.

    Are there any other ideas you have to get it working?

    David

  • Hi David,

    Do you have access to another computer you could try this on to see if everything is working?

    Thanks,
    Chloe