重启信息如下:
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
烧录配置信息如下
spispeed=40M /DIO/115200/crystalFRQ=40M
ESP32-DEVKITC V4烧录无效,点击flash擦除后一直重启,请问是什么问题
Moderator: ESP_Bob
-
- Posts: 4
- Joined: Mon May 27, 2019 9:30 am
-
- Posts: 786
- Joined: Wed Nov 14, 2018 8:45 am
Re: ESP32-DEVKITC V4烧录无效,点击flash擦除后一直重启,请问是什么问题
如果你的问题是烧录无效,那请确认你的烧录过程,参考:https://docs.espressif.com/projects/esp ... -and-flash 及熟悉 Get Started 相关过程。
因为 esp32 在上电后需要从 flash 的 0x1000 加载二级 bootloader,从而再引导用户程序。如果你擦除了 flash,那 0x1000 地址开始就全是 0xFF,esp32 芯片 rom bootloader 在从 0x1000 地址加载二级 bootloader 就会出错。从而出现你现在的 error log。
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
因为 esp32 在上电后需要从 flash 的 0x1000 加载二级 bootloader,从而再引导用户程序。如果你擦除了 flash,那 0x1000 地址开始就全是 0xFF,esp32 芯片 rom bootloader 在从 0x1000 地址加载二级 bootloader 就会出错。从而出现你现在的 error log。
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
Re: ESP32-DEVKITC V4烧录无效,点击flash擦除后一直重启,请问是什么问题
[Codebox=text file=Untitled.txt][/Codebox]我用的 ESP-WROVER-KIT 板子,编译什么都正常,出现make flash 下载不了固件,尝试过更换波特率,还是不能下载;
我的系统是macOS
以下是错误信息:
WARNING: Toolchain version is not supported: 1.22.0-75-gbaf03c2
Expected to see version: 1.22.0-80-g6c4433a
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
WARNING: Toolchain version is not supported: 1.22.0-75-gbaf03c2
Expected to see version: 1.22.0-80-g6c4433a
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
Flashing binaries to serial port /dev/cu.usbserial-00002014B (app at offset 0x10000 )...
esptool.py v2.6
Serial port /dev/cu.usbserial-00002014B
Connecting.....
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, BLK3 partially reserved, Coding Scheme 3/4
MAC: 30:ae:a4:c9:f8:b0
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 21248 bytes to 12534...
Writing at 0x00001000... (100 %)
A fatal error occurred: Timed out waiting for packet header
make: *** [flash] Error 2
我的系统是macOS
以下是错误信息:
WARNING: Toolchain version is not supported: 1.22.0-75-gbaf03c2
Expected to see version: 1.22.0-80-g6c4433a
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
WARNING: Toolchain version is not supported: 1.22.0-75-gbaf03c2
Expected to see version: 1.22.0-80-g6c4433a
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
Flashing binaries to serial port /dev/cu.usbserial-00002014B (app at offset 0x10000 )...
esptool.py v2.6
Serial port /dev/cu.usbserial-00002014B
Connecting.....
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, BLK3 partially reserved, Coding Scheme 3/4
MAC: 30:ae:a4:c9:f8:b0
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 21248 bytes to 12534...
Writing at 0x00001000... (100 %)
A fatal error occurred: Timed out waiting for packet header
make: *** [flash] Error 2
Who is online
Users browsing this forum: No registered users and 6 guests