【esp32】-bug -1 #无法烧录程序,报错Failed to connect to ESP32: No serial data received

项目场景:

利用VSCode基于ESP-IDF框架向esp32烧录程序。


问题描述

无法烧录程序,报错:

esptool.py v3.3-dev
Serial port COM14
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

原因分析:

ESP32开发板在使用串口烧录程序的时候需要进入烧录模式,也就是需要将默认高电平的IO0端口(BOOT按键)电压拉低。而ESP32自动下载电路时序有微小的不同步,导致复位后BOOT没有拉低。


解决方案:

在烧录程序时,按下开发板的boot键。

参考文献



(28条消息) A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header_闪烁shimmer的博客-CSDN博客

你可能感兴趣的:(esp32,bug,嵌入式硬件)