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.

AWR2944EVM: Using local Visualizer for a personal configuration file (a long-range application)

Part Number: AWR2944EVM
Other Parts Discussed in Thread: UNIFLASH, AWR2944

Tool/software:

Hi, 

after I was able to run the web-based visualizer with my specific .cfg file (aiming to utilize a long-range application), I want to do the same with a local python visualizer tool - to be able to go out-of-lab for testing (is it possible at all?).

I will list the step that I have accomplished:

1. Using Uniflash I successfully flashed the following files into 2944EVM:

- SBL (mmwave_mcuplus_sdk_<ver>\mmwave_mcuplus_sdk_<ver>\tools\awr2944\sbl_qspi.release.tiimage) 

- Application image (mmwave_mcuplus_sdk_<ver>\mmwave_mcuplus_sdk_<ver>\ti\demo\awr2944\mmw\awr2944_mmw_demoDDM.appimage)

2. I rised \radar_toolbox_3_10_00_05\tools\visualizers\Automotive_Visualiser\gui_main_py Visualizer

3. I was able to connect successfully the Visualizer via COM ports.

Now, I don't understand for which .cfg file this application fits. - When I am loading the one that I used for the on-line Visualizer, I got the following output:

"ERROR: No data detected on COM Port, read timed out
Be sure that the device is in the proper mode, and that the cfg you are sending is valid"

So, I miss something. Please explain.

  • Hi,

    Can you share the steps that you followed to run the python visualizer?

    Regards,

    Samhitha

  • Hi,

    I debugged the communication protocol in your python and found several bugs. Now I'm sure that the configuration is loaded to the chip and chip starts working.

    When I load an official configuration provided in the configuration file 

     profile_3d_3Azim_1ElevTx_DDMA_awr2944_highRange.cfg, I start seeing figures updated. (I chose Demo "AWR2944 Object detection").

    But when I load my configuration which works fine in the web visualizer, here I don't see any figures' updates.

    My configuration is:

    sensorStop
    flushCfg
    dfeDataOutputMode 1
    channelCfg 15 15 0
    adcCfg 2 0
    adcbufCfg -1 1 1 0 1
    lowPower 0 0
    profileCfg 0 77 10 10 190 0 0 1.5 1 384 2500 0 0 30
    chirpCfg 0 5 0 0 0 0 0 15
    frameCfg 0 5 64 0 834 100 1 0
    lowPower 0 0
    guiMonitor -1 0 0 0 0 1 0
    antGeometryCfg 1 0 1 1 1 2 1 3 0 2 0 3 0 4 0 5 1 4 1 5 1 6 1 7 1 8 1 9 1 10 1 11 0.5 0.8
    cfarCfg -1 0 3 16 0 0 1 15 0 7 0 1
    cfarCfg -1 1 3 16 0 0 1 15 0 7 0 1
    compressionCfg -1 1 0 0.5 8
    intfMitigCfg -1 15 18
    localMaxCfg -1 6 40
    ddmPhaseShiftAntOrder 0 2 3 1
    antennaCalibParams 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
    measureRangeBiasAndRxChanPhase 0 1.5 0.2
    aoaFovCfg -1 -90 90 -90 90
    calibData 0 0 0
    sensorStart

    What is the reason that my configuration doesnt work in the locan python-base visualizer and what should I change so it will work there?

  • The steps that I hanlde are: 1. Define the com ports and connect. 2. Stop the sensor. 3. Choose the cfg file. 4. Load cfg file and start the sensor

  • Hi Arie,

    Which version of SDK are you using?

    Regards,

    Samhitha

  • mmwave_mcuplus_sdk_04_07_00_01

  • Hi Arie,

    Thank you for bringing this to my attention. Let me check and get back to you in a week. In the meantime, you can use the demo visualizer instead of python visualizer.

    Regards,

    Samhitha

  • Hi Arie,

    There is no issue with the Python visualizer. I noticed that transmission of detected objects is disabled in the guiMonitor CLI command.

    You can use the following CLI command "guiMonitor -1 2 0 0 0 0 0" to transmit Object Data over UART.

    Even when you use the demo visualizer, you wouldn't have observed the plot showing the detections (i.e 3D plot with x,y,z coordinates of the objects).

    Regards,

    Samhitha

  • Hi Samhitha,

    thank you for help.

    Yes, the guiMonitor was defined wrong and this helped.

    Now, another relevant question:

    when I load FW as written in SDK from:

    mmwave_mcuplus_sdk_<ver>\mmwave_mcuplus_sdk_<ver>\ti\demo\awr2944\mmw\awr2944_mmw_demoDDM.appimag

    The local python visualizer (radar_toolbox_3_10_00_05\tools\visualizers\Automotive_Visualiser) works,

    but if I load appimag from the Radar Toolbox:

    radar_toolbox_3_10_00_05\source\ti\examples\Out_Of_Box_Demo\prebuilt_binaries\out_of_box_2944.appimage

    the loading of a configuration is stacked (usually on CFAR configuration). What is wrong?

    As I wrote before, I use the latest SDK mmwave_mcuplus_sdk_04_07_00_01, so the SBL I still take from the same location:

    SBL (mmwave_mcuplus_sdk_<ver>\mmwave_mcuplus_sdk_<ver>\tools\awr2944\sbl_qspi.release.tiimage) 

  • Hi Arie,

    Can you create a new E2E for this question as this is a new question?

    Regards,

    Samhitha