Erasing blocks of EPROM
Steel
Posts: 313
Is there a way to bulk-erase eeprom contents on BS2?
I am afraid of the program memory it will take to do "WRITE 0,FF,FF,FF...." throughout the eeprom...
I am not interested in removing the program that I write to the EEPROM.· I am saving a large amount of·information from 000 to 400 that I want the user to be able to Erase and overwrite at given times.
·
I am afraid of the program memory it will take to do "WRITE 0,FF,FF,FF...." throughout the eeprom...
I am not interested in removing the program that I write to the EEPROM.· I am saving a large amount of·information from 000 to 400 that I want the user to be able to Erase and overwrite at given times.
·
Comments
· FOR eeAddr = StartAddr TO EndAddr
··· WRITE eeAddr,·$FF
· NEXT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
lol
thanks, Jon.
This is not a problem if writing 5 times a day. But if writing once every millisecond, you can wear out a location in a week.
Just be careful.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com