??? 04/12/10 19:01 Read: times |
#175005 - an alternate suggestion (which I use) Responding to: ???'s previous message |
leave the EEPROM as all FF and make the entered data be structures
{ char //anything but ff .. .. .. } then, to store 'next data' pointer = start of area loop: if * (pointer +1) == ff write here, exit loop else add struct_size to pointer loop Erik |
Topic | Author | Date |
Loading Flash EEPROM with defaults | 01/01/70 00:00 | |
this seems to work - any improvements | 01/01/70 00:00 | |
Always a key requirement! | 01/01/70 00:00 | |
toolchain dependent | 01/01/70 00:00 | |
A couple of points | 01/01/70 00:00 | |
volatile | 01/01/70 00:00 | |
separate source | 01/01/70 00:00 | |
So subtle | 01/01/70 00:00 | |
Excel is (also) among your friends | 01/01/70 00:00 | |
Yes missing initialisers do default to 0 | 01/01/70 00:00 | |
My Method... | 01/01/70 00:00 | |
an alternate suggestion (which I use) | 01/01/70 00:00 | |
That uses more memory | 01/01/70 00:00 | |
Oliver ??? | 01/01/70 00:00 | |
I believe that is what most devices do..![]() | 01/01/70 00:00 |