ESP32-DevKitc开发板烧写突然异常导致无法烧写
Posted: Tue Jun 18, 2019 6:43 am
我新采购回来的8个开发板,第一次烧写固件之后均正常,当make menuconfig保存参数之后再次烧写固件时,8个中的一个提示一直无法烧写成功;其余7个烧写提示正常信息如下:
$ make erase_flash flash
/bin/sh: 第 0 行 D:xxxx-mdf: No such file or directory
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
Python requirements from D:/xxxx/esp/esp-mdf/esp-idf/requirements.txt are satisfied.
Erasing entire flash...
esptool.py v2.6
Serial port COM7
Connecting....
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 24:6f:28:f0:09:68
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 8.8s
Hard resetting via RTS pin...
Flashing binaries to serial port COM7 (app at offset 0x10000)...
esptool.py v2.6
Serial port COM7
Connecting.....
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 24:6f:28:f0:09:68
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 31...
Wrote 8192 bytes (31 compressed) at 0x0000d000 in 0.0 seconds (effective 5486.9 kbit/s)...
Hash of data verified.
Compressed 23136 bytes to 13703...
Wrote 23136 bytes (13703 compressed) at 0x00001000 in 1.2 seconds (effective 152.7 kbit/s)...
Hash of data verified.
Compressed 1455344 bytes to 884093...
Wrote 1455344 bytes (884093 compressed) at 0x00010000 in 78.1 seconds (effective 149.1 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 162...
Wrote 3072 bytes (162 compressed) at 0x00008000 in 0.0 seconds (effective 1071.4 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
另外的一个始终无法再次烧写成功的开发板提示异常信息如下:
$ make erase_flash flash
/bin/sh: 第 0 行 D:xxxx-mdf: No such file or directory
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
Python requirements from D:/xxxx/esp/esp-mdf/esp-idf/requirements.txt are satisfied.
Erasing entire flash...
esptool.py v2.6
Serial port COM7
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
make: *** [/d/xxxx/esp/esp-mdf/esp-idf/components/esptool_py/Makefile.projbuild:78:erase_flash] 错误 2
我烧写的固件是mdf中的liht的例程,烧写方法与固件类型所有的8个开发板都一样的,但是不知道为什么有一个开发板会出问题,希望帮我解决下这个问题,少一个开发板组网时一直无法看到变化后的组网新形式
$ make erase_flash flash
/bin/sh: 第 0 行 D:xxxx-mdf: No such file or directory
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
Python requirements from D:/xxxx/esp/esp-mdf/esp-idf/requirements.txt are satisfied.
Erasing entire flash...
esptool.py v2.6
Serial port COM7
Connecting....
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 24:6f:28:f0:09:68
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 8.8s
Hard resetting via RTS pin...
Flashing binaries to serial port COM7 (app at offset 0x10000)...
esptool.py v2.6
Serial port COM7
Connecting.....
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 24:6f:28:f0:09:68
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 31...
Wrote 8192 bytes (31 compressed) at 0x0000d000 in 0.0 seconds (effective 5486.9 kbit/s)...
Hash of data verified.
Compressed 23136 bytes to 13703...
Wrote 23136 bytes (13703 compressed) at 0x00001000 in 1.2 seconds (effective 152.7 kbit/s)...
Hash of data verified.
Compressed 1455344 bytes to 884093...
Wrote 1455344 bytes (884093 compressed) at 0x00010000 in 78.1 seconds (effective 149.1 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 162...
Wrote 3072 bytes (162 compressed) at 0x00008000 in 0.0 seconds (effective 1071.4 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
另外的一个始终无法再次烧写成功的开发板提示异常信息如下:
$ make erase_flash flash
/bin/sh: 第 0 行 D:xxxx-mdf: No such file or directory
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
Python requirements from D:/xxxx/esp/esp-mdf/esp-idf/requirements.txt are satisfied.
Erasing entire flash...
esptool.py v2.6
Serial port COM7
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
make: *** [/d/xxxx/esp/esp-mdf/esp-idf/components/esptool_py/Makefile.projbuild:78:erase_flash] 错误 2
我烧写的固件是mdf中的liht的例程,烧写方法与固件类型所有的8个开发板都一样的,但是不知道为什么有一个开发板会出问题,希望帮我解决下这个问题,少一个开发板组网时一直无法看到变化后的组网新形式