Question
[USB Host] After saving the data to the USB disk (Flash), is it necessary to read the files to confirm?
Hi,
I saw something that alerted me:
Disadvantages of using a flash drive for backup
- Reliability. We’ve touched upon this already but it’s worth mentioning again. USB flash drives were designed as a convenient tool for the consumer market. They’re not necessarily designed with enterprise use in mind. You need to bear in mind the limits we’ve mentioned (number or writes and physical USB insertions/removals). In addition to this, flash drives don’t typically give any indication that they’re about to fail. They just fail!
Source: https://www.datahoards.com/how-reliable-are-flash-drives-for-
So I would like to know about the reliability of the USB Host library data writing routine in conjunction with the reliability of a USB disk (Flash drive):
- Whenever I save data to usb disk, do I need to read the file contents to verify?
- Or if the writing routine does not fail, is it enough to consider that the data was saved correctly?
I am using STM32CubeIDE 1.7.0.
Thank you.
