IMX8M plus SOM- USB Communication

Hi All,

We are trying to interface STM32 MCU with imx8m SOM Through USB port. Please find the following observations below

Observations:

  1. Concerned USB Port for STM32 has been detected as ttyACM port in imx, but we couldn’t open the port for further communication
  2. We tried with picocom and minicom serial tool to manually open the port, but still we got “operation not permitted” response for the concerned USB port

Kindly suggest any commands or solution to open the port for communication

Greetings @Sudharshan,

First of all, what OS are you using? Are you using TorizonCore? And what version are you using?

We tried with picocom and minicom serial tool to manually open the port, but still we got “operation not permitted” response for the concerned USB port

Sounds like a permission, issue perhaps. Have you tried accessing the port with higher privileges or as root? Also how exactly are you running picocom/minicom in this case? I don’t believe any of our default OS images have picocom or minicom installed by default.

Best Regards,
Jeremias

Hi jeremias,

Good day,

We are using torizon core platform version 6.2.0+build.2

OS is linux

We are connecting SOM through SSH in putty Software

We have installed picocom by giving " sudo apt install picocom" command

We are accessing the port with root privileges

Kindly suggest any solution ojn how to access the USB port and intiate communication


Please Find the images (terminal window)

Okay I see you have a container that you installed picocom in. How exactly are you starting this container? Does this container have the right permissions to access /dev/ttyACM0?

Best Regards,
Jeremias