[En-Nut-Discussion] How to store dynamic data to flash/file? serializing?

Ralf Spettel r.spettel at raumcomputer.com
Fri Jun 30 10:49:40 CEST 2006


Hello,
im looking for C code to store a pointer-list of structures to flash or 
file and also read back to memory

In OO-programming this ist called serializing [ serialize(); ] and 
deserializing [ deserialize(); ] of objects.

The idee is to store all runtime data in a linked list of (also differend) 
structures to the heapmem and then place a serialized version of this list 
and there data to flash/file.
After reboot I want to rebuild the list and fill the stored data back to 
the structures. To find the correct struct-type a identifier and the lenght 
of the Structure must be stored also.

Does anywhere use such system, knows a code or have any suggestions ?

Thx
  Ralf




More information about the En-Nut-Discussion mailing list