鱼香ROS社区
    • 版块
    • 最新
    • 未解决
    • 已解决
    • 群组
    • 注册
    • 登录
    紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
    提问前必看的发帖注意事项: 社区问答规则(小鱼个人)更新 | 高质量帖子发布指南

    MicroROS开发时将程序烧录失败错误代码

    已定时 已固定 已锁定 已移动
    MicroROS
    microros 烧录失败
    3
    7
    906
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 21865064802
      2186506480
      最后由 编辑

      使用的22.04ubuntu虚拟机humble
      开发板采用的是Arduino uno -R3
      波特率是115200
      串口没问题,只调用了这一个串口
      线好像也没问题
      能查到的解决办法都试过了,还没有解决
      正在文件夹 example01_helloworld 中执行任务: platformio run --target upload

      Processing 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

      1 条回复 最后回复 回复 引用 0
      • 28267785952
        无处在 ROS2开发者
        最后由 编辑

        解决了吗?我也遇到了这个问题。你考虑一下,开发板应该选择你使用的开发板。

        1 条回复 最后回复 回复 引用 0
        • 28267785952
          无处在 ROS2开发者
          最后由 编辑

          哥哥,我和你一模一样的报错,但是原因不同。我是因为显示ttys0,没有ttyUSB0
          已解决。
          方法:https://blog.csdn.net/qq_27865227/article/details/125538516

          28267785952 1 条回复 最后回复 回复 引用 0
          • 28267785952
            无处在 ROS2开发者 @2826778595
            最后由 编辑

            @2826778595 也可能是驱动太老了,我又重装了驱动。

            21865064802 1 条回复 最后回复 回复 引用 0
            • 21865064802
              2186506480 @2826778595
              最后由 编辑

              @2826778595 好的,我试下。谢谢哈

              26932262522 1 条回复 最后回复 回复 引用 0
              • 26932262522
                命里有我 @2186506480
                最后由 编辑

                @2186506480 重装驱动管用吗,我也是和你一样的问题

                21865064802 1 条回复 最后回复 回复 引用 0
                • 21865064802
                  2186506480 @2693226252
                  最后由 编辑

                  @2693226252 我这个后来发现不是驱动的问题

                  1 条回复 最后回复 回复 引用 0
                  • 第一个帖子
                    最后一个帖子
                  皖ICP备16016415号-7
                  Powered by NodeBB | 鱼香ROS