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 other Adesto ICs and a new function to unprotect a write protected chip #77

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ole00
Copy link

@ole00 ole00 commented Apr 10, 2021

No description provided.

Datasheet for AT25PE16 specifies the format of the ID1.
The capacity is encoded in 5 bottom bits of the ID1.
AT25SF641B and AT25SF128A both conform to that spec,
presumably other Adesto AT25 ICs as well.
This function will unset the read only status of the
whole flash. This is handy if you want to use an IC from a
salvaged board that has the flash content write protected.
Tested on Winbond 8 MByte IC.
This allows to write files without knowing their file-size
beforehand. When the auto-growing file is being written
no other file can be written. It is important to close
the auto-growing file when the writing is finished.
To create autogrowing file pass 0 as its length.
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.

1 participant