-
Notifications
You must be signed in to change notification settings - Fork 7.6k
External flash write #8669
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
Comments
I don't think that it can be speeded up. External flash shall be erased and then written, sector by sector, in sequence. Anyway, this code is based on an IDF component. Maybe asking in the IDF Forum may be better. |
@savagerex which flash chip are you connecting? For example, GD25Q32 datasheet indicates a typical 50ms erase time for a single sector. So even without data transfer, write operation is limited by 4kB/50ms = 80kB/s. Which is very close to the speed you are getting. |
Based on the last related issue #8479 - it seems that the Flash chip is the W25Q256JV |
OK, Thanks |
Closing this as answered. |
Board
ESP32 Wrover e
Device Description
External flash
Hardware Configuration
NONE
Version
v2.0.11
IDE Name
Arduino IDE
Operating System
Windows 11
Flash frequency
80M
PSRAM enabled
yes
Upload speed
921600
Description
i use "fwrite"API to write flash about 1.7M.
it need 22 seconds.
I think it spends too much time.
Is there any other API that can be faster?
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: