iMX RT1064EVK board - Detected as ttyACM0 - not found in /dev - Ubuntu

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

iMX RT1064EVK board - Detected as ttyACM0 - not found in /dev - Ubuntu

跳至解决方案
1,223 次查看
GanesanGuru
Contributor IV

Hi fellas,

I'm using MCUXpresso IDE in Ubuntu 20.04. I was able to flash the board and all. In order to detect the serial comm, I was unable to detect the board @ /dev/ttyACM0.

While fro the dmesg logs, the EVK has been enumerated as ttyACM0. This has been a quite a issue and kindly aid to resolve it asap.

标记 (3)
0 项奖励
1 解答
1,085 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @GanesanGuru ,

You can search on internet. There is many discuss about /ttyACM0 not appear. It seems this problem is about driver.

 

Regards,

Jing

在原帖中查看解决方案

0 项奖励
9 回复数
1,206 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @GanesanGuru ,

My system is Ubuntu 20.04 too. But it seems work fine. I use Screen, no problem with it. Please check your system. 

When USB connected, it will also enmurate a virtual disk and pop up a bar inform that RT1010-EVK disk is connected. Do you see it?

 

Regards,

Jing

0 项奖励
1,197 次查看
GanesanGuru
Contributor IV

Hi @jingpan , 

 

The device is enumerated as follows:

[26164.502922] usb 3-1: SerialNumber: 02320000152ec3b700000000000000000000000097969905
[26164.505986] usb-storage 3-1:1.0: USB Mass Storage device detected
[26164.506065] scsi host0: usb-storage 3-1:1.0
[26164.507962] cdc_acm 3-1:1.1: ttyACM0: USB ACM device

 

But, when given, sudo screen /deV/ttyACM0, I'm getting Cannot execute '/de/ttyACM0' : No such file or directory and screen terminates.

0 项奖励
1,187 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @GanesanGuru ,

This is my screenshot.

jingpan_2-1700792753138.png

 

Regards,

Jing

 

0 项奖励
1,183 次查看
GanesanGuru
Contributor IV

It would be really helpful, if you've mentioned/shared screenshot of how did you managed to connect to DevKit via Screen in terminal, rather than depicting the devkit enumeration @jingpan 

0 项奖励
1,174 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @GanesanGuru ,

Same as you.

 >> screen /dev/ttyACM0 115200

 

Regards,

Jing

0 项奖励
1,171 次查看
GanesanGuru
Contributor IV

Hi @jingpan ,

The problem is that - /dev/ttyACM0 is not even detected in terminal search ?!!

Screenshot from 2023-11-24 14-44-04.png

 

0 项奖励
1,098 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @GanesanGuru ,

Sorry but in your first post you said "While fro the dmesg logs, the EVK has been enumerated as ttyACM0". What's it mean? Did you compare with my log?

 

Regards,

Jing

0 项奖励
1,091 次查看
GanesanGuru
Contributor IV

Hi @jingpan ,

The EVK is enumerated as ttyACM0, as shown in dmesg logs

image.png

Device is able to code & debug too, as shown in IDE,

image.png

When looking for ttyACM0 device @ /dev directory, there is nothing.

image.png

 

Later on debugging the IDE - Its showing as, 

image.png

 Hence, for the same /dev/hidraw0 -- "screen /dev/hidraw0 115200" results in screen is terminating

What am I missing here?!

 

0 项奖励
1,086 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @GanesanGuru ,

You can search on internet. There is many discuss about /ttyACM0 not appear. It seems this problem is about driver.

 

Regards,

Jing

0 项奖励