简体   繁体   English

Minicom无法启动

[英]Minicom is not starting

I am trying to run NuttX on STM32f429I. 我正在尝试在STM32f429I上运行NuttX。 I have build nuttX and flashed the nuttx to the device. 我已经构建好nuttX,并将nuttx刷新到设备上。 But after flashing when i am trying to start minicom, it showing this problem 但是当我尝试启动minicom时闪烁后,它显示此问题

minicom: cannot open /dev/ttyUSB0: No such file or directory

I already followed all the steps given in this How to connect to a terminal to Serial-USB device on Ubuntu 10.10? 我已经按照本“ 如何将终端连接到Ubuntu 10.10上的Serial-USB设备”中的所有步骤进行操作了? post. 帖子。

I am getting this after Serial Post setup from minicom. 从minicom设置“串行开机自检”后,我得到了这个。

在此处输入图片说明

Checking with lsusb lsusb检查

在此处输入图片说明

Checking with dmesg | grep tty dmesg | grep tty检查dmesg | grep tty dmesg | grep tty

在此处输入图片说明

I have also checked with ttyUSB1,ttyUSB2, ttyACM1,ttyACM0 etc. 我还检查了ttyUSB1,ttyUSB2,ttyACM1,ttyACM0等。

result of sudo lsusb -v sudo lsusb -v结果 在此处输入图片说明

I am following this tutorial. 我正在关注教程。 My machine is Ubuntu 16.04LTE 我的机器是Ubuntu 16.04LTE

Edit: 编辑:

在此处输入图片说明

~/nuttxworkspace/nuttx$ dmesg | grep tty
[    0.000000] console [tty0] enabled
[    0.888895] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[25292.460385] cdc_acm 2-1.5:1.1: ttyACM0: USB ACM device

Is there some reason that you would expect to see /dev/ttyUSB0? 您是否有某些理由希望看到/ dev / ttyUSB0? Do you have CDC/ACM device class configured? 您是否配置了CDC / ACM设备类? What does your configuration use for a serial console? 您的配置对串行控制台使用什么? I would expect it would use the STLink-VCOM port. 我希望它会使用STLink-VCOM端口。 There won't be any USB connection unless you have full configured it that way. 除非您已完全配置USB连接,否则将不会有任何USB连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM