widora-AIR esp32 make flash download failed



  • $ make flash
    /home/ChenFY/ESP/esp-idf/make/project.mk:60: esp-idf build system only supports MSYS2 in "MINGW32" mode. Consult the ESP-IDF documentation for details.
    /home/ChenFY/ESP/esp-idf/make/project.mk:60: esp-idf build system only supports MSYS2 in "MINGW32" mode. Consult the ESP-IDF documentation for details.
    Flashing binaries to serial port /dev/ttyS2 (app at offset 0x10000)...
    esptool.py v2.3.1
    Connecting.....................................................

    A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
    make: *** [/home/ChenFY/ESP/esp-idf/components/esptool_py/Makefile.projbuild:55:flash] 错误 2
    刚买的esp32板子,一直没下载成功,这个错误谁遇到过?求大神指导!!!


  • administrators

    @hand 一般这种错误是串口选择错误。
    使用 cat /dev/ttyS2 命令,按esp32板子复位看是否有数据输出。
    如果有,可能是msys2里驱动有些问题导致流控不起作用。手动按住LOAD键,再按一下RESET键后再放开LOAD键,测试看看make flash能否正常下载?


Log in to reply