Esp32S3 : Virtual FileSystem component - CRC mechanism provided with the driver ?
Posted: Tue Jul 04, 2023 9:11 am
Good morning,
working on an Esp32S3 microcontroller, I am using the Virtual FileSystem component in order
to mount different filesystems on the Embedded Flash, on an external SD card.
This enables me to access the files on these filesystems using standard functions f_open, f_read, f_write, f_close.
I would like to know if the driver provides a mechanism that can be used in order to know if a file that has been written
on a filesystem is corrupted or not ?
For example, is there any CRC check mechanism embedded with the driver or something like that ?
The goal would be to write files on the different filesystems and to have the possibility to check periodically if these files (Or memory) have been corrupted or not.
Thank you for your help,
Best regards,
Thomas TRUILHE
working on an Esp32S3 microcontroller, I am using the Virtual FileSystem component in order
to mount different filesystems on the Embedded Flash, on an external SD card.
This enables me to access the files on these filesystems using standard functions f_open, f_read, f_write, f_close.
I would like to know if the driver provides a mechanism that can be used in order to know if a file that has been written
on a filesystem is corrupted or not ?
For example, is there any CRC check mechanism embedded with the driver or something like that ?
The goal would be to write files on the different filesystems and to have the possibility to check periodically if these files (Or memory) have been corrupted or not.
Thank you for your help,
Best regards,
Thomas TRUILHE