arduino的esp32程序无法上传,ESP32闪烁上载开始并因超时而失败

在尝试通过Arduino IDE上传ESP32-WROOM程序时遇到错误,包括连接超时和Flash大小检测失败。尝试将波特率改为115200并在串口监视器中观察到错误消息。问题可能是由于ESP32未进入正确的闪存模式。解决方案是通过在EN和GND之间添加10uF电解电容来自动进入闪存模式,确保注意电容极性,并可将其焊接到ESP32板上。
摘要由CSDN通过智能技术生成

I have an ESP32-WROOM, as seen here.

In the Arduino IDE, I compile and verify my sketch, and then attempt an upload.

I get the following error:

esptool.py v2.1

Connecting........___

Chip is ESP32D0WDQ6 (revision (unknown 0xa))

Uploading stub...

Running stub...

Stub running...

Changing baud rate to 921600

Changed.

Configuring flash size...

Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB

Compressed 8192 bytes to 47...

A fatal error occurred: Timed out waiting for packet content

A fatal error occurred: Timed out waiting for packet content

Invalid library found in /Users/me/Documents/Arduino/hardware/espressif/esp32/libraries/BLE: no headers files (.h) found in /Users/me/Documents/Arduino/hardware/espressif/esp32/lib

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值