小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
MicroROS开发时将程序烧录失败错误代码
-
使用的22.04ubuntu虚拟机humble
开发板采用的是Arduino uno -R3
波特率是115200
串口没问题,只调用了这一个串口
线好像也没问题
能查到的解决办法都试过了,还没有解决
正在文件夹 example01_helloworld 中执行任务: platformio run --target uploadProcessing featheresp32 (platform: espressif32; board: featheresp32; framework: arduino)
Verbose mode can be enabled via
-v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/featheresp32.html
PLATFORM: Espressif 32 (6.0.1) > Adafruit ESP32 Feather
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:- framework-arduinoespressif32 @ 3.20006.221224 (2.0.6)
- tool-esptoolpy @ 1.40400.0 (4.4.0)
- tool-mkfatfs @ 2.0.1
- tool-mklittlefs @ 1.203.210628 (2.3)
- tool-mkspiffs @ 2.230.0 (2.30)
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 33 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Retrieving maximum program size .pio/build/featheresp32/firmware.elf
Checking size .pio/build/featheresp32/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [= ] 6.8% (used 22160 bytes from 327680 bytes)
Flash: [== ] 19.9% (used 261357 bytes from 1310720 bytes)
Configuring upload protocol...
AVAILABLE: cmsis-dap, esp-bridge, esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Auto-detected: /dev/ttyUSB0
Uploading .pio/build/featheresp32/firmware.bin
esptool.py v4.4
Serial port /dev/ttyUSB0
Connecting......................................
A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
*** [upload] Error 2 -
解决了吗?我也遇到了这个问题。你考虑一下,开发板应该选择你使用的开发板。
-
哥哥,我和你一模一样的报错,但是原因不同。我是因为显示ttys0,没有ttyUSB0
已解决。
方法:https://blog.csdn.net/qq_27865227/article/details/125538516 -
@2826778595 也可能是驱动太老了,我又重装了驱动。
-
@2826778595 好的,我试下。谢谢哈
-
@2186506480 重装驱动管用吗,我也是和你一样的问题
-
@2693226252 我这个后来发现不是驱动的问题