-
Notifications
You must be signed in to change notification settings - Fork 190
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
Write protected EEPROMS from China #11
Comments
Have you tried disabling the write-protect?
|
I had the same problem and believe the issue is that in order to remove SDP you not only need to write the disable byte sequence, but you have to do it within a paged operation (If you think about it, the only way the chip knows you're writing the code sequence is if it sees them all at once). Anyway, Ben's code uses high-level Arduino functions, which are fine if your chip is unlocked, but these are terribly inefficient (Arduino's fault - not Ben's) and can't write multiple bytes within the 150us timeframe allowed. When I re-wrote my version of the programmer to use port manipulation instead I received a huge performance boost, and successfully removed SDP. Now I can write whatever data I like. I've only just achieved this but wanted to help others ASAP because I know how frustrating it is to be locked out. Here's my code, warts and all: https://github.com/jfigge/arduino-28c256-programmer Good luck, and this comes with no warrantees (but is free to use and abuse :) ) |
I'm having the same problem. I think I accidentally destroyed one of two eeprom's while testing. I ordered new ones, but they need some time to arrive... If I have time, I am going to checkout jfigge's programmer... |
Hi,
I've received several EEPROMs from Ebay, but I'm only able to program one of seven AT28C256.
Of course these are weird fakes or old dead ones, but I have tried to software erase those or disable protection. No luck yet. Am I doing it right?
Docs:
CHIP erase - http://ww1.microchip.com/downloads/en/Appnotes/doc0544.pdf
Protection - http://ww1.microchip.com/downloads/en/Appnotes/DOC0543.PDF
It finished in 12 ms as I have reduced WRITE_EN cycle:
Any thoughts?
The text was updated successfully, but these errors were encountered: