EP32烧录失败,download也报错

dengbq
Posts: 38
Joined: Thu Mar 31, 2022 8:45 am

EP32烧录失败,download也报错

Postby dengbq » Wed Apr 06, 2022 2:35 am

capture01.png
capture01.png (66.02 KiB) Viewed 10027 times
ESP32板突然起不来,串口不停打印:
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun 8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun 8 2016 00:22:57

使用idf.py -p COM7 flash monitor烧录失败:
idf.py -p COM7 flash monitor
Executing action: flash
Running ninja in directory d:\deng\work\test\hello_world\build
Executing "ninja flash"...
[1/5] cmd.exe /C "cd /D D:\deng\work\test\hello_world\buil...e.bin D:/deng/work/test/hello_world/build/hello_world.bin"
hello_world.bin binary size 0x29730 bytes. Smallest app partition is 0x100000 bytes. 0xd68d0 bytes (84%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D D:\deng\work\test\hello_world\build\bootloader\esp-idf\esptool_py && D:\Espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe D:/Espressif/frameworks/esp-idf-v4.4/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 D:/deng/work/test/hello_world/build/bootloader/bootloader.bin"
Bootloader binary size 0x62b0 bytes. 0xd50 bytes (12%) free.
[2/3] cmd.exe /C "cd /D D:\Espressif\frameworks\esp-idf-v4.../esp-idf-v4.4/components/esptool_py/run_serial_tool.cmake"
esptool.py esp32 -p COM7 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x1000 bootloader/bootloader.bin 0x10000 hello_world.bin 0x8000 partition_table/partition-table.bin
esptool.py v3.2-dev
Serial port COM7
Connecting.....
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 94:b5:55:25:8c:40
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00010000 to 0x00039fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 25264 bytes to 15784...

A fatal error occurred: Packet content transfer stopped (received 8 bytes)
CMake Error at run_serial_tool.cmake:56 (message):
D:/Espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe
D:/Espressif/frameworks/esp-idf-v4.4/components/esptool_py/esptool/esptool.py
--chip esp32 failed


FAILED: CMakeFiles/flash

确定没有加密,尝试espefuse.py burn_efuse FLASH_CRYPT_CNT
后,使用downlader烧录,也失败。

哪位大神有遇到过类似问题不,前几天烧录一切正常。

dengbq
Posts: 38
Joined: Thu Mar 31, 2022 8:45 am

Re: EP32烧录失败,download也报错

Postby dengbq » Mon Apr 18, 2022 1:07 am

自己回好了,是fash坏了。

18070626350
Posts: 1
Joined: Tue Apr 19, 2022 6:31 am

Re: EP32烧录失败,download也报错

Postby 18070626350 » Tue Apr 19, 2022 6:44 am

你是怎么检测出是FLASH坏了的呢?所以你是自己换了一块芯片是吗?

ESP_Eavo
Posts: 186
Joined: Tue Jun 08, 2021 6:23 am

Re: EP32烧录失败,download也报错

Postby ESP_Eavo » Mon May 09, 2022 8:46 am

可以换一块模组试试来排除硬件问题。

ESP_QiChuan
Posts: 14
Joined: Tue Mar 05, 2019 6:35 am

Re: EP32烧录失败,download也报错

Postby ESP_QiChuan » Mon May 09, 2022 9:00 am

看起来是芯片外挂的flash无法访问了

Who is online

Users browsing this forum: No registered users and 7 guests