我正在尝试在STM32f429I上运行NuttX。我已经构建了nuttX并将nuttx闪存到设备上。但是当我试图启动minicom闪烁后,它显示了这个问题
minicom: cannot open /dev/ttyUSB0: No such file or directory
我已经按照此How to connect to a terminal to Serial-USB device on Ubuntu 10.10?帖子中的所有步骤进行了操作。
我从minicom设置Serial Post后得到这个。
使用lsusb
使用dmesg | grep tty
我还检查了 ttyUSB1,ttyUSB2,ttyACM1,ttyACM0 等。
我正在关注this教程。我的机器是Ubuntu 16.04LTE
编辑:
~/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
答案 0 :(得分:0)
你有没有理由看到/ dev / ttyUSB0?您是否配置了CDC / ACM设备类?您的配置用于串行控制台的是什么?我希望它会使用STLink-VCOM端口。除非你以这种方式完全配置,否则不会有任何USB连接。