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.

AWR2243BOOST: mmwavelink_example.exe with DCA1000EVM and AWR2243BOOST

Part Number: AWR2243BOOST
Other Parts Discussed in Thread: DCA1000EVM, UNIFLASH, AWR2243

Hi,

I have the AWR2243BOOST and the DCA1000EVM connected together as explained in this tutorial:

https://training.ti.com/dca1000-training-video?keyMatch=dca1000&tisearch=Search-EN-Everything

I am able to capture data with mmWaveStudio and to visualize the data with PostProc

However I would like to capture data without mmWaveStudio. I try to use mmwave_dfp  but unfortunately, I'm stuck with this error when I execute mmwavelink_example.exe

"mmWave Device Power on failed for deviceMap 1 with error -8"

I have try the NRST button on the AWR2243BOOST and the RST button on the DCA1000EVM.

Regards,

Stephane

  • Hi,

    There is a new tool we just released that should help you capture raw data without studio gui

    Please take a look at the mmWave Platform Toolbox

    Thank you

    Cesar

  • Hi Cesar,

    I have the same error with studio_cli

    Thank you,

    Stéphane

  • Hi,

    Maybe the problem is related with the port.  When I try to run a format with UniFlash, the progress bar is not moving.

    What confuses me is that mmWave Studio is working well.

    Thanks,

    Stéphane

  • Stéphane,

    In Windows, only one application can access the COM port for the radar device at a time. So when you are attempting to run the demo, you may have another Windows application that already has control of the COM port. Please close all other applications before attempting to erase the flash using the Uniflash tool.

    Regards,

    Kyle

  • Kyle,

    I have reboot multiple times my computer and I also try with another. I still have the same problem.

    However I able to upload the firmware with mmWaveStudio. Do I really need to do it with UniFlash?

    My goal is still to be able to capture data without mmWaveStudio. Unfortunately,  I still stuck with the "mmWave Device Power on failed for deviceMap 1 with error -8" error with studio_cli.

    I have also debug mmwave_studio_cli with Visual Studio,  the error code "-8" come from the timeout.

    File: mmw_spi_comm.c

    int MMWL_powerOnMaster(unsigned char deviceMap, int deviceType)
    {
    ....
        retVal = rlDevicePowerOn(deviceMap, *clientCtx);
    
        /*  \subsection     porting_step9     step 9 - Test if porting is successful
        Once configuration is complete and mmWave device is powered On, mmWaveLink driver receives
        asynchronous event from mmWave device and notifies application using
        asynchronous event callback.
        Note: In case of AWR2243 ES1.0, Host needs to wait for MSS CPU Fault as well, with current 
        ROM version this MSS CPU fault async-event sent by AWR device which Host needs to ignore.
    
        Refer to \ref MMWL_asyncEventHandler for event details
        */
    
        retVal = 0;
        while ((mmwl_bInitComp == 0U) || (mmwl_bMssCpuFault == 0))
        {
            osiSleep(1); //Sleep 1 msec
            timeOutCnt++;
            if (timeOutCnt > MMWL_API_INIT_TIMEOUT)
            {
                retVal = RL_RET_CODE_RESP_TIMEOUT;
                break;
            }
        }
    ...
        return retVal;
    }


    This issue is a major roadblock for me. I am stuck here. Hoping to hear a concrete solution from your side.

    Thank you,

    Stéphane

  • Stéphane,

    You should not be using Uniflash for the mmWave Link example on AWR2243. The firmware metaimage is downloaded over SPI and then the application is launched. You should make sure your EVM is set to SOP4 mode where jumpers are placed on SOP0 and SOP1.

    You should see the following screenshots when running the mmWave Link example program:

    Please also make sure the S1 switch on the AWR2243BOOST EVM is set to the SPI position and not in the CAN position is set at the midway point.

    Regards,
    Kyle

  • Hi Kyle,

    Yes, my jumpers are placed on SOP0 and SOP1 (Dev mode) and the S1 switch is set to SPI.

    If the AWR2243BOOST and the DCA1000EVM were incorrectly connected/configured, the data captured with "mmWave Studio GUI" would not work. But as I said in my first post, I am able to capture data with mmWaveStudio and to visualize the data with PostProc.

    I'm still having the error with "mmwave_studio_cli.exe" or "mmwavelink_example.exe".   

    Should I set the jumpers in functional mode?

    Thank you,

    Stéphane

  • Stephane,

    Try setting the jumpers in functional mode with only SOP0 tied across with a jumper.

    Make sure to use Uniflash to erase the sFlash on the AWR2243BOOST EVM.

    Regards,
    Kyle

  • Hi,

    Yes, with the jumpers in functional mode (mode 4), "mmwavelink_example.exe" is working well.

    The only way I found to erase the sFlash with Uniflash is with the jumpers set in Flash programming (mode 5).

    I'm still not able to use "mmwave_studio_cli.exe"  to capture raw data,  but I'm able with the combination of "mmwavelink_example.exe" and "DCA1000EVM_CLI_Control.exe".

    And I'm using "mmwave_postproc.exe" from mmwave_platform_toolbox_1_0_0 to visualize the data.

    Regards,

    Stephane