ulysses_g
ulysses_g

Reputation: 113

How can I create a backup copy of an existing FatFs partition?

I'm working on a project which uses FatFs lib to mount a partition in an External Flash memory, to store image and audio files. The application, anyway, is vehicular, and the file system sometimes looses its memory references due to the unavoidable electrical noise and oscillation of this kind of environment.

(That is: The files are still there, but no one can see any of them - or sometimes, can see only some of them! - if they can manage to mount the FAT partition again).

One of the solutions I came up with to deal with this problem is to create a backup copy of the partition, so I can restore it automatically if the file system looses its references.

Could anyone help me or shed some light on how I could manage to do this?

Upvotes: 0

Views: 243

Answers (0)

Related Questions