How to read a big file form SD card using FATFS?
Let's say I have a buffer
uint8_t sdReadBuffer; and
f_read(&myFile, sdReadBuffer, sizeof(sdReadBuffer), bytesread); successfully reads 100bytes of data from the SDCard.
However, if 200 bytes of data is found in the file and I am not allowed to hold a 200byte sized buffer, how am I supposed to read the data using 100 byte frames?
I have looked at commands
f_lseek(&myFile, f_size(&myFile)) but I could not do it the right way to read consecutive frames.