赞
踩
ESP32烧录的时候报错:
Toolchain path: /home/pjw/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: esp-2020r3
Compiler version: 8.4.0
Python requirements from /home/pjw/ESP32/esp-idf/requirements.txt are satisfied.
App "test" version: 85b3cfc-dirty
Flashing binaries to serial port /dev/ttyUSB0 (app at offset 0x10000)...
esptool.py v2.8
Serial port /dev/ttyUSB0
Connecting........_____....
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 24:6f:28:47:de:3c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
A fatal error occurred: Invalid head of packet (0xE0)
/home/pjw/ESP32/esp-idf/components/esptool_py/Makefile.projbuild:88: recipe for target 'flash' failed
make: *** [flash] Error 2
烧录选择的波特率太高
make menuconfig
把烧录波特率改成115200
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。