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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,197件の閲覧回数
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,059件の閲覧回数
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,180件の閲覧回数
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,171件の閲覧回数
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,161件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @GanesanGuru ,

This is my screenshot.

jingpan_2-1700792753138.png

 

Regards,

Jing

 

0 件の賞賛
1,157件の閲覧回数
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,148件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @GanesanGuru ,

Same as you.

 >> screen /dev/ttyACM0 115200

 

Regards,

Jing

0 件の賞賛
1,145件の閲覧回数
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,072件の閲覧回数
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,065件の閲覧回数
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,060件の閲覧回数
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 件の賞賛