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

配置好了相关环境及套件,在进行程序烧录“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,解决!_第1张图片
经多方考证后原来是因为我另外打开用来打印串口数据的 “minicom”没有关闭,导致串口被占用,真的马虎不得!
关闭minicom之后,烧录正常!
Ubuntu 16.04下ESP32烧录出现A fatal error occurred: Timed out waiting for packet header,解决!_第2张图片

你可能感兴趣的:(从零开始的嵌入式开发生涯)