我是 Arduino 的新手并使用 esp32,我正在使用 PlatformIO 通过 VSCode 在 C++ 中命令我的项目.我刚刚下载了我的项目文件夹并在 PlatformIO 中打开它并尝试运行旨在命令外骨骼的现有代码(超过 1000 行).但是,当我运行该程序时,出现错误消息,如下所示:
I am new to Arduino and using the esp32 and I am using PlatformIO to command my project in C++ through VSCode. I just downloaded my project folder and opened it in PlatformIO and attempted to run the existing code (over 1000 lines) which is meant to command an exoskeleton. When I run the program, however, I get error messages, as follows:
错误:未找到设备错误:无法在总线位置"打开带有 vid 0403、pid 6010、描述"、串行"的 ftdi 设备错误:未找到设备错误:无法打开带有 vid 0403、pid 6014、描述 ''、串行 '' 的 ftdi 设备,位于总线位置 ''
Error: no device found Error: unable to open ftdi device with vid 0403, pid 6010, description '', serial '' at bus location '' Error: no device found Error: unable to open ftdi device with vid 0403, pid 6014, description '', serial '' at bus location ''
我觉得我遗漏了一些非常基本的东西,但我搜索的所有内容都给我带来了非常高级的问题,我希望有人能帮我解决这个问题.
I feel like I am missing something very basic, but everything I search for gives me very advanced problems, and I am hoping someone could dumb this down for me.
感谢任何帮助,谢谢.
顺便说一句,我实际用的是Mac,输入ls -ls/dev/tty.usbserial-1410时的输出是:
By the way, I am actually using Mac, and the output when I enter the ls -ls /dev/tty.usbserial-1410 is:
0 crw-rw-rw- 1 根轮 18, 2 7 Dec 14:13/dev/tty.usbserial-1410
0 crw-rw-rw- 1 root wheel 18, 2 7 Dec 14:13 /dev/tty.usbserial-1410
您可能使用了与原始设计不同类型的 esp32 模块(市场上有很多变体).您有 2 个选择,
You may used a different type of esp32 module (there're lots of variants in the market) from the original design. You have 2 options,
更新usb串口绑定的程序,
The procedures to update usb serial binding,
lsusb
找出 vid/pidlsusb 命令/etc/udev/rules.d/
下.sudo udevadm control --reload-rules
以激活.lsusb
to find out vid/pid
lsusb commands/etc/udev/rules.d/
.sudo udevadm control --reload-rules
to activate.这篇关于PlatformIO 无法打开 ftdi 设备(带有 esp32 的 Arduino)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!