欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Ubuntu 16.04下ESP32烧录出现A fatal error occurred: Timed out waiting for packet header,解决!

程序员文章站 2024-02-24 09:02:52
...
配置好了相关环境及套件,在进行程序烧录“make flash”时出现了以下错误:
    Connecting........_____....._____.....___

A fatal error occurred: Timed out waiting for packet header
/work/esp32/sources/esp-idf/components/esptool_py/Makefile.projbuild:54: recipe for target 'flash' failed
make: *** [flash] Error 2

Ubuntu 16.04下ESP32烧录出现A fatal error occurred: Timed out waiting for packet header,解决!
经多方考证后原来是因为我另外打开用来打印串口数据的 “minicom”没有关闭,导致串口被占用,真的马虎不得!
关闭minicom之后,烧录正常!
Ubuntu 16.04下ESP32烧录出现A fatal error occurred: Timed out waiting for packet header,解决!

相关标签: ESP32 Ubuntu