Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/23/08 12:43
Read: times


 
#156977 - walking writes are dead simple
Responding to: ???'s previous message
write an array x with a 'flag byte'
make the memoty an aray y of arrays x
Erased the flag byte will be a knownvalue (0xff if flash)
the below assumes that erased = 0xff
to write: read arrays x till one with flag 0xff is found and write there while clearing the flag
to read: read arrays x till one with flag 0xff is found and read the one before
when at end of memory, erase the whole kit and kaboodle and start over

Erik

List of 19 messages in thread
TopicAuthorDate
incrementing a large number in assembly            01/01/70 00:00      
   Wear and tear            01/01/70 00:00      
      The EEPROM is            01/01/70 00:00      
      F-RAM            01/01/70 00:00      
         F-RAM problem            01/01/70 00:00      
            what's the problem?            01/01/70 00:00      
               found a substitute            01/01/70 00:00      
   first do it in C, then            01/01/70 00:00      
      Load/Save in loop            01/01/70 00:00      
   To Answer Your Question ...            01/01/70 00:00      
      Thanks Russ - slow event            01/01/70 00:00      
   A sample code for your task            01/01/70 00:00      
      Sample code irrelevant            01/01/70 00:00      
         Socketed EEPROM?            01/01/70 00:00      
            walking writes are dead simple            01/01/70 00:00      
               Larger EEPROM = simple code            01/01/70 00:00      
            the counter is            01/01/70 00:00      
         good point            01/01/70 00:00      
            Blinkers            01/01/70 00:00      

Back to Subject List