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.

IWR6843AOPEVM: Connecting mmWave Industrial Visualizer to target on Ubuntu

Part Number: IWR6843AOPEVM
Other Parts Discussed in Thread: UNIFLASH

I am using MMWAVEEICBOOST with IWR6843AOPEVM and my development platform is Ubuntu 22.04 LTS.

I was able to connect to the target from UniFlash and load out of box demo image.

I was able to launch the python app (gui_main.py) from mmwave_Industrial_toolbox_4_12_0/tools/Visualizer after making sure all the dependent modules have been installed. But, I am not able to connect to the target (/dev/ttyACM0 or /dev/ttyACM1). I am not sure what I should enter into CLI COM: or DATA COM:  entry fields. 

What am I doing wrong? Thanks for any help!

PS: I have added myself to the dialout group which I read somewhere on this forum is needed to get the permission to access the port.

  • Hello,

    When you do "ll /dev/", do you see ttyACM0 or ttyACM1 listed there? Do you possibly see ttyUSB0 instead?

    Best Regards,

    Pedrhom Nafisi

  • Hi Pedrhom, 

    Yes, I see ttyACM0 and ttyACM1 listed.

    And I don't see ttyUSB0.

    Thanks for your interest in helping me.

    Best Regards,

    Rama

  • This is I what I see when I launch the visualizer:

    rama@gram:~/ti/mmwave_industrial_toolbox_4_12_0/tools/Visualizer$ python3 gui_main.py
    Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
    Python is 64 bit
    Python version: sys.version_info(major=3, minor=10, micro=6, releaselevel='final', serial=0)

  • Hello Rama,

    Okay I wanted to confirm that your computer see the sensor and that the naming convention is correct. You will need to make slight modifications to gui_main.py for this to work on Linux/Ubuntu. These modifications involves looking at the correctly named port of the sensor. In windows, the ports are in the syntax of COM# where the # is whatever number the port ends up being. In Ubuntu it is completely different as serial ports do not come up as "COM" ports.  First thing is to comment the section under "for port in serialPorts:" found at line 240 which will crash due to it looking for a COM port. Then, go to line 921 to remove that automatic addition of COM. When the visualizer opens, within CLI COM you will put /dev/ttyACM0 and for DATA COM you will put /dev/ttyACM1. I have confirmed this fully functions on Ubuntu on my end.

    Best Regards,

    Pedrhom Nafisi

  • Hi Pefrhom, Thanks so much for your quick response. I will give this a try and let you know.

    Best Regards,

    Rama

  • Hi Pedrhom,  with the changes you asked me to make I am able to connect to the target. Again, thanks for your timely help.

    Best,

    Rama