-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After first time flash i am not able to flash it again #10425
Comments
It certainly looks like it is not able to identify the chip after the bootloader hands off control to the main app. Does this work with a basic esp-idf app or a custom driver? |
I am able to flash again it was not entering auto download mode using rts and dtr so i enter manually but still it printing spi flash memory 0k and keep rebooting |
What do you get if you run |
Sure does sound like unsupported hardware. 4MBit is not enough to boot arduino-esp32. As suggested, compile a firmware in esp-idf, and then submit the issue upstream. |
How you guess flash size? |
I had tried idf it also give same error instead 4MB It gives 2MB error |
Currently it has this chip AT25SF041B-SSHB-B |
Look through IDF source code which flash chips are supported. |
W25Q80RVS will likely be recognized, but 2MB (16Mbit) is the smallest supported by the framework. |
How you know its unsupported and size of flash 4Mbit? |
1 similar comment
How you know its unsupported and size of flash 4Mbit? |
Board
ESP32-D0WD-V3
Device Description
it is custom design module
Hardware Configuration
There is external flash memory AT25SF041B-SSHB-B and 1 sd card port is connected using some shift register or some thing
Version
latest master (checkout manually)
IDE Name
Arduino IDE
Operating System
Window 11
Flash frequency
80Mhz
PSRAM enabled
no
Upload speed
921600
Description
When i get board it was giving invalid header which is normal to new board first time i am able to enter in download mode and i flashed empty sketch from arduino ide but after flash success it keep resetting and i am not able to enter in download mode again
Serial log
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) 11:03:55.274 -> configsip: 0, SPIWP:0xee 11:03:55.274 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 11:03:55.274 -> mode:DIO, clock div:1 11:03:55.274 -> load:0x3fff0030,len:1184 11:03:55.274 -> load:0x40078000,len:13260 11:03:55.274 -> load:0x40080400,len:3028 11:03:55.274 -> entry 0x400805e4 11:03:55.451 -> E (119) spi_flash: Detected size(0k) smaller than the size in the binary image header(4096k). Probe failed. 11:03:55.451 -> 11:03:55.451 -> assert failed: do_core_init startup.c:328 (flash_ret == ESP_OK) 11:03:55.451 -> E (141) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0 11:03:55.274 -> Rebooting... 11:03:55.274 -> ets Jul 29 2019 12:21:46
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: