Skip to content
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

Support for 64MB+ mbit flashes (ESPTOOL-500) #769

Closed

Conversation

johnboiles
Copy link
Contributor

This change adds support for 64MB (512mbit) and above flashes which (strangely) eschew the convention that goes from 0x12 - 0x19 for 256KB - 32MB flashes and jumps to 0x20 - 0x22 for 64MB - 256MB flashes. This pattern has been confirmed for Micron, Winbond, and Gigadevice flashes.

See related IDF PRs for further discussion: espressif/esp-idf#9381 espressif/esp-idf#9566

I have tested this change with W25Q512JVEQ chips (64MB) on ESP32-S3.

@github-actions github-actions bot changed the title Support for 64MB+ mbit flashes Support for 64MB+ mbit flashes (ESPTOOL-500) Aug 18, 2022
@radimkarnis
Copy link
Collaborator

Hello @johnboiles,

thanks for contributing!
You are right that some of GD/Winbond/Micron eschew this convention, but I am pretty sure I've seen also GD chips counting in hex (hence the existing 0x1A: "64MB" pair).

I will verify this and put this PR through our internal review queue!

@johnboiles
Copy link
Contributor Author

🎉

@radimkarnis
Copy link
Collaborator

@johnboiles thanks again for bringing this up!

@johnboiles
Copy link
Contributor Author

Thanks for getting this in quickly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants