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: Problem with using DCA1000 with AWR1443BOOST

Part Number: DCA1000EVM
Other Parts Discussed in Thread: AWR1443BOOST, MMWAVE-STUDIO, AWR1642BOOST

Hi,

I tried to connect an AWR1443Boost to a DCA1000 EVM and using mmWaveStudio

to get data. but after connecting to serial port I get an error that seems comes from MATLAB.

The output is like bellow:

[17:07:49] [RadarAPI]: ar1.Connect(19,115200,1000)
[17:07:50] [RadarAPI]: ar1.Calling_IsConnected()
[17:07:55] [RadarAPI]: Error: The type initializer for 'MathWorks.MATLAB.NET.Arrays.MWArray' threw an exception.
[17:07:55] Trace:
[17:07:55] at MathWorks.MATLAB.NET.Arrays.MWArray.op_Implicit(String value)
[17:07:55] at AR1xController.ScriptOps.SelectChipVersion(String chipName)
[17:07:55] [RadarAPI]: RS232 is not connected ..!!!!
[17:07:55] [RadarAPI]: ar1.frequencyBandSelection("77G")
[17:07:55] [RadarAPI]: ar1.SelectChipVersion("XWR1443")
[17:07:55] [RadarAPI]: Status: Failed
[17:07:55] Device Status : XWR1443/QM/SOP:2/ES:3
[17:07:56] [RadarAPI]: Error: The type initializer for 'MathWorks.MATLAB.NET.Arrays.MWArray' threw an exception.
[17:07:56] Trace:
[17:07:56] at MathWorks.MATLAB.NET.Arrays.MWArray.op_Implicit(String value)
[17:07:56] at AR1xController.ScriptOps.SelectChipVersion(String chipName)
[17:07:56] [RadarAPI]: ar1.SelectChipVersion("XWR1443")
[17:07:56] [RadarAPI]: Status: Failed
[17:07:56] Device Status : XWR1443/QM/SOP:2/ES:3
[17:07:56] [RadarAPI]: ar1.SaveSettings('C:\Users\mostafak\AppData\Roaming\RSTD\ar1gui.ini')

Also I should say that after loading binary files I can see BSS firmware version but MSS firmware version will be completely 0.

Best regards,

Mostafa

  • Hello Mostafa,
    From your error message, looks like RS232 connection is failed and without that connection firmware download won't hapen.

    I would request you to follow mmwave-studio user guide to get the right step to use mmwave-studio.

    Let me provide some of steps here as well
    1. Make sure you have set the EVM in development mode (i.e. two jumpers on SOP0 and SOP1)
    2. After you connect the EVM with PC over USB, you should get two COM port in the device manager.
    3. Install Matlab run time engine before starting mmwave studio, download link is provided in the mmwave-studio user guide.
    4. While connecting to RS232 from mmwave-studio GUI you need to choose 'XDS110 application/uart' COM port as populated in device manager.
    5. Then after RS232 connection established download BSS and MSS firware from 'rf_eval_firmware' directory.
    6. Now post file download go for SPI connection and device configuration.


    Regards,
    Jitendra
  • Hi Jitendra,

    As you can find from following images I have connection to RS232.

    Also I could load BSS, but I am suspected about MATLAB Run time.

    I have installed version 2018 b from MATHWORK, but couldn't find the link of it

    in the mmwave-studio user guide. Could you please send its link to me.

    FYI I have MATLAB 2018a on my computer installed.

    Best regards,

    Mostafa

    //**************************  After installing matlab run time 8.5.1 ****************************

    Hi again!

    I found the correct run time version for mmWavestudio 8.5.1 and installed it.

    Now I again can program the BSS but still not BSS.

    I got following output:

    [08:33:15] [RadarAPI]: ar1.Connect(19,115200,1000)
    [08:33:16] [RadarAPI]: ar1.Calling_IsConnected()
    [08:33:17] [RadarAPI]: ar1.SelectChipVersion("AR1243")
    [08:33:17] [RadarAPI]: Status: Passed
    [08:33:17] [RadarAPI]: ar1.SelectChipVersion("XWR1443")
    [08:33:17] [RadarAPI]: Status: Passed
    [08:33:17] Device Status : XWR1443/QM/SOP:2/ES:3
    [08:33:18] [RadarAPI]: ar1.SelectChipVersion("AR1243")
    [08:33:18] [RadarAPI]: Status: Passed
    [08:33:18] [RadarAPI]: ar1.SelectChipVersion("XWR1443")
    [08:33:18] [RadarAPI]: Status: Passed
    [08:33:18] Device Status : XWR1443/QM/SOP:2/ES:3
    [08:33:18] [RadarAPI]: ar1.SaveSettings('C:\Users\mostafak\AppData\Roaming\RSTD\ar1gui.ini')
    [08:33:28] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\radarss\\xwr12xx_xwr14xx_radarss.bin")
    [08:33:29] [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [08:33:36] [RadarAPI]: ar1.GetBSSFwVersion()
    [08:33:36] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [08:33:37] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [08:33:37] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
    [08:33:48] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\masterss\\xwr12xx_xwr14xx_masterss.bin")
    [08:33:48] [RadarAPI]: Downloading MSS RPRC Binary..
    [08:34:55] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [08:34:55] Status: Failed, Error Type: RESP TIMEOUT

    Best Regads,

    Mostafa

    ////****************************

  • Hi Jitendra,

    With correct MATLAB runtime version 8.5.1 I could connect but as I mentioned before the problem with SPI exists.
    I changed my AWR1443BOOST with AWR1642BOOST and it works. I could connect to it and do all steps until SetUp DCA1000.
    Then I found that it cant communicate with FPGA over ethernet. I tried to ping 192.168.33.180 but didnt get any reply as well.
    Please find the output of my mmwave studio as bellow:

    [08:57:29] [RadarAPI]: ar1.Connect(15,115200,1000)
    [08:57:30] [RadarAPI]: ar1.Calling_IsConnected()
    [08:57:32] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [08:57:32] [RadarAPI]: Status: Passed
    [08:57:32] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [08:57:32] [RadarAPI]: Status: Passed
    [08:57:32] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [08:57:33] [RadarAPI]: ar1.SelectChipVersion("AR1642")
    [08:57:33] [RadarAPI]: Status: Passed
    [08:57:33] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
    [08:57:33] [RadarAPI]: Status: Passed
    [08:57:33] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
    [08:57:33] [RadarAPI]: ar1.SaveSettings('C:\Users\mostafak\AppData\Roaming\RSTD\ar1gui.ini')
    [08:57:38] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin")
    [08:57:39] [RadarAPI]: Downloading BSS Patch RPRC Binary..
    [08:57:46] [RadarAPI]: ar1.GetBSSFwVersion()
    [08:57:46] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [08:57:47] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [08:57:47] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
    [08:57:50] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin")
    [08:57:51] [RadarAPI]: Downloading MSS RPRC Binary..
    [08:58:07] MSS power up done async event received!
    [08:58:07] [RadarAPI]: ar1.PowerOn(0, 1000, 0, 0)
    [08:58:07] [RadarAPI]: Status: Passed
    [08:58:13] [RadarAPI]: ar1.RfEnable()
    [08:58:13] BSS power up done async event received!
    [08:58:13] [RadarAPI]: Status: Passed
    [08:58:14] [RadarAPI]: ar1.GetBSSFwVersion()
    [08:58:14] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
    [08:58:14] [RadarAPI]: ar1.GetBSSPatchFwVersion()
    [08:58:14] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
    [08:58:50] [RadarAPI]: ar1.ChanNAdcConfig(1, 1, 0, 1, 1, 1, 1, 2, 2, 0)
    [08:58:50] [RadarAPI]: Status: Passed
    [08:59:51] [RadarAPI]: ar1.LPModConfig(0, 0)
    [08:59:51] [RadarAPI]: Status: Failed, Error Type: REGULAR ADC MODE NOT SUPPORTED IN 5 MHz PART VARIANT DEVICE
    [09:00:06] [RadarAPI]: ar1.LPModConfig(0, 1)
    [09:00:06] [RadarAPI]: Status: Passed
    [09:00:35] [RadarAPI]: ar1.RfInit()
    [09:00:35] RF Init async event received!
    [09:00:35] [RadarAPI]: Time stamp, Temperture: 142662,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: 0, 0; RxIQMM Status, Update: 1, 1;
    [09:00:35] [RadarAPI]: Status: Passed
    [09:00:46] [RadarAPI]: ar1.SetCalMonFreqLimitConfig(77,81)
    [09:00:46] [RadarAPI]: Status: Passed
    [09:00:58] [RadarAPI]: ar1.RfSetCalMonFreqTxPowLimitConfig(77, 77, 77, 81, 81, 81, 0, 0, 0)
    [09:00:58] [RadarAPI]: Status: Passed
    [09:01:35] [RadarAPI]: ar1.DataPathConfig(513, 1216644097, 0)
    [09:01:35] [RadarAPI]: Status: Passed
    [09:01:41] [RadarAPI]: ar1.LvdsClkConfig(1, 1)
    [09:01:41] [RadarAPI]: Status: Passed
    [09:01:44] [RadarAPI]: ar1.LVDSLaneConfig(0, 1, 1, 0, 0, 1, 0, 0)
    [09:01:44] [RadarAPI]: Status: Passed
    [09:02:18] [RadarAPI]: ar1.ProfileConfig(0, 77, 100, 6, 60, 0, 0, 0, 0, 0, 0, 29,982, 0, 256, 10000, 0, 0, 30)
    [09:02:18] [RadarAPI]: Status: Passed
    [09:02:52] [RadarAPI]: ar1.ChirpConfig(0, 3, 0, 0, 0, 0, 0, 1, 0, 0)
    [09:02:52] [RadarAPI]: Status: Passed
    [09:03:17] [RadarAPI]: ar1.ChirpConfig(0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
    [09:03:17] [RadarAPI]: Status: Passed
    [09:04:15] Test Source Already Disabled...!!!
    [09:04:15] [RadarAPI]: Status: Passed
    [09:04:15] [RadarAPI]: ar1.FrameConfig(0, 0, 8, 128, 40, 0, 1)
    [09:04:15] [RadarAPI]: Status: Passed
    [09:05:04] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [09:05:04] [RadarAPI]: passed
    [09:05:07] [RadarAPI]: StatusDCCard Event Registered
    [09:05:07] [RadarAPI]: Status: Passed
    [09:05:07] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [09:05:10] ConnectRFDCCard Status: RRFDCCARD_SUCCESS
    [09:05:10] Ethernet Cable is disconnected Please check.....!!!
    [09:07:07] [RadarAPI]: StatusDCCard Event Registered
    [09:07:07] [RadarAPI]: Status: Passed
    [09:07:07] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [09:07:10] ConnectRFDCCard Status: RFDCCARD_UDP_WRITE_ERR
    [09:07:10] Ethernet Cable is disconnected Please check.....!!!
    [09:08:28] [RadarAPI]: ar1.SelectCaptureDevice("DCA1000")
    [09:08:28] [RadarAPI]: passed
    [09:08:31] [RadarAPI]: StatusDCCard Event Registered
    [09:08:31] [RadarAPI]: Status: Passed
    [09:08:31] [RadarAPI]: ar1.CaptureCardConfig_EthInit("192.168.33.30", "192.168.33.180", "12:34:56:78:90:12", 4096, 4098)
    [09:08:34] ConnectRFDCCard Status: RFDCCARD_UDP_WRITE_ERR
    [09:08:34] Ethernet Cable is disconnected Please check.....!!!

    Best regards,
    Mostafa
  • Hi Mostafa,
    Could you check these point for DCA1000 network connection
    1. System IP address is set as required.
    2. Connect Ethernet to PC from DCA1000 before opening mmWave Studio GUI.
    3. Make sure that network ports 4098, 4096 are not blockec by system's firewall.
    4. On some of PC 100Mbps ethernet may not be supported for DCA1000 network connection, it should be 1Gbps ethernet hardware on the system.


    Regards,
    Jitendra
  • Hi Jitendra,

    I am sure about first 2 conditions and will check 3 later and my laptop is HP Ellitebook 840 with Intel(R) Ethernet Connection (4) I219-LM network adapter

    that is a 1Gbps adapter. Do you think it is the source of problem because it is not 100 Mbps?

    Do you know that if it is necessary that I should reprogram the FPGA on the DCA1000?

    Also could you please guide me how to run my AWR1443BOOST EVM as well because as I mentioned before I coudn't connect to that with DCA1000

    so I had to use AWR1642BOOST and it connects and I can program it.

    Best regards,

    Mostafa

  • Happy New Year.

    I am still looking forward to get a feedback from someone.

    This case is not closed.

    Best regards,

    Mostafa

  • Hi Mostafa,

    When you attempt to ping the DCA1000's IP address, you will not see a response - this is expected. But you should see the LED on the ethernet connector on the DCA1000 blink. Can you confirm if this is the case?

    Thanks,
    Anand
  • Hi Anand,

    An Orange LED is continuesely on and a green LED blinks randomly, I can say regardsless
    to my ping.

    Regards,
    Mostafa
  • Hi Mostafa,

    We have had a couple of other reports that the DCA1000 does not work with the Intel I219-LM ethernet adapter.

    This is being investigated, but it might take some time to debug.

    Would it be possible for you to try with another PC or with a different ethernet controller?

    Best Regards,
    Anand
  • Hi Anand,

    I just inform you here to be followed by others maybe later.
    I bought and EDIMAX USB to Ethernet converter and disabled my previous ethernet card.
    But again I got the same error.

    Regards,
    Mostafa
  • Hi Mostafa,

    Can you please share a link to the exact EDIMAX USB to Ethernet converter model that you bought?

    Thanks,
    Anand
  • Hi Anand,

    no.rs-online.com/.../

    Manufacturer's product number EU-4306

    Best regards,
    Mostafa
  • Hi Mostafa,

    In another thread on this topic, Chris Saleh discovered a solution - it appears that the Windows 10 firewall blocks traffic to the network adapter. He was able to get the Intel I219 working successfully with the DCA1000 by updating the firewall settings.

    Could you please check this thread and see if the solution works for you?
    e2e.ti.com/.../2802176

    Best Regards,
    Anand