File I/O
Posted: Sat Oct 11, 2014 7:30 pm
Hello,
I am wondering if the following File functions are reliably working and were tested:
- file and directory creation
- file open with append flag
- file seek
- file flush
- file close
I did some timing measurement, it seems that most of these functions take about 40ms to execute. I am curious why the timings are so similar
Are there any particular SD cards that could behave differently? Does capacity matter?
I have a logging function writing to the SD card, it is rare but occasionally the files become corrupt.
If someone has made some tests, I would be interested to know the results.
Thank you.
I am wondering if the following File functions are reliably working and were tested:
- file and directory creation
- file open with append flag
- file seek
- file flush
- file close
I did some timing measurement, it seems that most of these functions take about 40ms to execute. I am curious why the timings are so similar
Are there any particular SD cards that could behave differently? Does capacity matter?
I have a logging function writing to the SD card, it is rare but occasionally the files become corrupt.
If someone has made some tests, I would be interested to know the results.
Thank you.