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: OOB Demo Ethernet Streaming No Response

Part Number: AWR2944EVM
Other Parts Discussed in Thread: AWR2944, , AWR2243BOOST, AWR2243, AM2732

Hi, 

I was trying to run the OOB demo with ethernet stream. I was not able to get data through the ethernet cable.

Here is what I did

(1) I flashed awr2944_mmw_demoTDMEnet.appimage successfully. 

(2) I powered on the device, then connect the usb cable and ethernet cable. 

(3) I connect the AWR2944EVM with mmWave Demo Visualizer, with Application port of 115200 and Auxillary Data port of 852272.

(4) I used "queryLocalIP" and got "169.254.243.236"

(5) I changed PC's static IP to "169.254.243.200" with subnet mask "255.255.255.0"

(6) In the terminal of PC, I could ping "169.254.243.236

(7) I changed the IP in profile "profile_Enet.cfg". Attached here.

% ***************************************************************
% Created for SDK ver:04.01
% Created using Visualizer ver:4.1.0.0
% Frequency:77
% Platform:AWR294X
% CFG Type: 2 Azim Tx
% ***************************************************************
sensorStop
flushCfg
dfeDataOutputMode 1
channelCfg 15 5 0
adcCfg 2 0
adcbufCfg -1 1 1 1 1
lowPower 0 0
profileCfg 0 77 267 7 57.14 0 0 70 1 656 13349 0 0 30
chirpCfg 0 0 0 0 0 0 0 1
chirpCfg 1 1 0 0 0 0 0 4
frameCfg 0 1 16 0 656 500 1 0
lowPower 0 0
guiMonitor -1 1 1 0 0 0 1
cfarCfg -1 0 2 8 4 3 0 15 1
cfarCfg -1 1 0 4 2 3 1 15 1
multiObjBeamForming -1 0 0.5
calibDcRangeSig -1 0 -5 8 256
clutterRemoval -1 0
compRangeBiasAndRxChanPhase 0.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 0
measureRangeBiasAndRxChanPhase 0 1.5 0.2
aoaFovCfg -1 -90 90 -90 90
cfarFovCfg -1 0 0 22.88
cfarFovCfg -1 1 -1 1.00
extendedMaxVelocity -1 0
calibData 0 0 0
enetStreamCfg 1 169 254 243 200
sensorStart

(8) I used mmWave Demo Visualizer to load this cfg file. I got result as below.

(9) I changed the HOST IP to "169.254.243.200" in tcpserver.py 

(10) Then, I run > python tcpserver.py, I got no prints, no response.

(11) I was not able to ping "169.254.243.236" any more. 

Could you give me some hints on which step I could do wrong?

Thanks a lot!

Best,

Hang

  • Hi Hang,

    After sending the configuration parameters (*.cfg), you should see some of data in the Profiling TAB and in the plot.

    Do you see that? Like this-

    Regards,

    Jitendra

  • Hi Jitendra,

    Thanks for reply. 

    (1) By using the "SEND CONFIG TO MMWAVE DEVICE" button in Configure tab, I can send configurations to the device and saw some detected targets. However, I believe this method was not for ethernet stream. 

    (2) By using the "LOAD CONFIG FROM PC AND SEND" button under Plots tab, I was not able to successfully load the cfg file.

    Two quick questions.

    (1) How did you load the cfg file for ethernet streaming?

    (2) Which cfg file did you use for ethernet streaming?

    Thank you so much!

    Best,

    Hang

  • You need to select C:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\ti\demo\awr294x\mmw\profiles\tdm_awr2944\profile_Enet.cfg under the PLOT tab of visualizer

  • Hi Jitendra,

    Thanks! Actually, I was using that file. 

    When I tried it again today, I was not able to queryLocalIp shown picture below.

    As you can see, I have successfully connect the device to AWR2944EVM. However, when I use command "queryLocalIp".

    It always returned an invalid Local IP address 0.0.0.0. Do you have an idea why?

    Thanks a lot!

    Best,

    Hang

  • Hi Jitendra,

    Finally, I figured out where I was wrong. 

    (1) I really need a multiport router instead of connect the AWR2944EVM to PC directly. 

    (2) I need to run tcpsever.py first, then send the cfg to the EVM. 

    Thanks a lot for the help!

    Best,

    Hang

  • Excuse me, may I ask how to solve it here, I still failed to download profile_Enet.cfg in Demo Visualizer, and there is no target output in python console.
    In addition, in profile_Enet.cfg enetStreamCfg 0 169 254 243 237, should <isEnabled> be set to 0?

    Thank you.

    Demo Visualizer:

    python console:

    enetStreamCfg:

  • Hi Kun, 

    First you need flash some binary files into AWR2944EVM to make it work with mmwave visualizer. Refer to this (C:/ti/mmwave_mcuplus_sdk_04_02_00_02/mcu_plus_sdk_awr294x_08_01_01_06/docs/api_guide_awr294x/EVM_SETUP_PAGE.html)

    Then, you need a router, and strictly stick to steps on page 37 of C:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\docs\mmwave_mcuplus_sdk_user_guide.pdf

    Best,

    Hang

  • Yes, I flashed the am273x_mmw_demoTDMEnet.appimage file. In mmwave visualizer, if load 'profile_2/3d_am273x.cfg', it can work normally, but load 'profile_enet.cfg' does not work.
    In addition, must an additional router be required here, can't it be directly connected to the PC via Ethernet?

    Thank you.

  • By the way, my hardware is AWR2243Boost+AM2732EVM, similar to AWR2944.

  • Hi,

    You need to connect device over router for ethernet connection. 

    Follow the steps provided in the SDK user guide for AM2732+AWR2243 setup.

  • Thank you for your reply, I have already connected the AM2732EVM to the PC through the router (why does it have to be a router here? Why can't it be directly connected to the PC through Ethernet), but still unsuccessful, mainly because the Load in MMWAVE Demo Visualizer config 'profile_enet.cfg' seems to be unsuccessful all the time. My configuration is as follows. Please help me to see if there is something wrong:

    1)、Firmware flashing: am273x_mmw_demoTDMEnet.appimage

    2)、Connect to MMWAVE Demo Visualizer and obtain the IP through queryLocalIP as Local IP is: 169.254.243.236

    3)、Change the Ethernet IP to 169.254.243.200 (connect through the router), modify HOST = '169.254.243.200' in tcpserver.py # Local IP Address

    4)、Run tcpserver.py as follows

    5)、Modify enetStreamCfg 0 169 254 243 200 in profile_enet.cfg (<isEnable> is set to 0), after LOAD config 'profile_enet.cfg' in MMWAVE Demo Visualizer, no configuration parameters are displayed, and there is no target output, python consoel is  also no corresponding target output, as follows, how can I load config 'profile_enet.cfg' correctly here?

    Thank you.

  • sorry, update the image in step5).

  • (1) To check whether it was the image issue or not, you can send a default cfg to AWR2944EVM through the USB cable under Configure tab. Although you flash the image for Ethernet, you should be able to see detections from GUIs.

    (2) It seems you have a weird IP address, when I didn't use a router I also had that. Usually, the gateway of a router is 192.168.x.x, from my experience you must use this domain, not 169.254.x.x. 

    Best,

    Hang

  • sorry for the late reply,

    For(1),It should be no problem if I try to configure it directly through Configure tab, as shown below

    For(2), I tried to change the IP of the PC to 192.168.0.82 (corresponding to the default HOST IP in E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\ti\demo\utils\tcpserver.py) as follows:

    Does the enetStreamCfg in the 'profile_enet.cfg' parameter configuration still need to be set to the same domain as the IP obtained by Status in the Demo Visualizer?

    Load 'profile_enet.cfg' has been unsuccessful, and the python console still has no target point output.

    In addition, I set the automatic IP to obtain 169.254.103.175, changed the HOST in tcpserver.py to 169.254.103.175, and then ran

    Then change the Ethernet IP in profile_enet.cfg to 169.254.103.175. After download through LOAD CONFIG FROM PC AND SEND in mmWave Demo Visualizer plots, the result of the below picture2 will appear. The setting of this IP address should be fine. The question is, why the download of profile_enet.cfg has been unsuccessful, I tried to download the profile_2/3d_am273x.cfg in profile_enet are all ok. profile_enet.cfg and profile_LVDS.cfg seem to be downloaded unsuccessfully.

    Do you have any other suggestions for downloading profile_enet.cfg?

    Thank you.

  • Hi Kun,

    My my personal experience if the IP address is not correct, the demo won't work. From your settings, if your router was set using 192.168.0.1, you can set you PC by using DHCP. Also, you might used a wrong port that between the PC and the router.  The AWR2944EVM and PC should be connected to the router with same color (LAN) port.

    Best,

    Hang