On 09/25/2010 09:07 AM, Bo Berglund wrote:

5) Can data be stored on memory cards/hard disk on an embedded system?


P.S.:
Not a Lazarus problem but...

Using Flash Cards on an embedded system is a huge security risk.

After writing to the card, same performs the storage procedure internally which 
takes a undefined amount of time and can't be watched from outside. So you 
don't know how long you need to apply power to the card after switching off the 
system. If you remove the power to the card too early, _all_ (even unrelated) 
data on the card might be lost. This is why using a special file system (a 
Flash File system and/or a journaling file system) does not help.

So only battery powered embedded systems (like cameras) are viable for writing 
to flash cards: they never switch off the power unexpectedly.

-Michael


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to