??? 09/30/06 10:19 Read: times |
#125426 - 2x 2k Responding to: ???'s previous message |
I would suggest you use 2 buffers of 2kB and alternate between them if you cannot tolerate power loss during writing the buffer. Write in one buffer, use the other, when new data has been written, switch. At powerup detect which buffer has the latest correct data. You may miss the latest information but hey that got lost in the power failure, but you still have a valid message.
Maarten |