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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Erik Malund
12/27/11 11:22
Read: 390 times
Mt Airy, Nc

#185220 - comments
Responding to: David Prentice's previous message
Another approach could be to maintain shadow pages in Flash. At power-up, you can test for equality.
a common approach, but at power-up, you do not "test for equality" you copy the flash to RAM

Another strategy might be to 'alloc' fresh eeprom until you run out. Then garbage collect.
a.k.a. a "walking write" you create a struct with an entry being a flag, if 'Flag" is 0xff you have found an unused struct.


List of 6 messages in thread
Strategy for 'FLASH' eeprom      David Prentice      12/27/11 08:17      
   depends      Jan Waclawek      12/27/11 10:59      
   comments      Erik Malund      12/27/11 11:22      
      Avoid flash if you can - unless having wear-leveling chip      Per Westermark      12/27/11 21:13      
         Thankyou for your input      David Prentice      12/28/11 13:39      
            poor tips and no tricks      Jan Waclawek      12/29/11 07:29      

Back to Subject List