I've been reading all I can find on data logging to an SD card, and subsequent uploading of data to a PC. Is there an issue with logging in binary form rather than ascii?
I plan to save 16 bit values in buffers of 256 entries. When a buffer is full, it shall be passed to f_write. I have no need of any data delimiters (TAB, comma, etc.).
I don't need to worry about sector allocation or about maintaining the FAT. The FatFs does all that for me. Once I open a file I can keep calling f_write until the entire card is full.
Uploading of data to a Windows PC will be primarily via uart transfer logged to a PC data file. (Not my decision.) I do need to worry about ordering of data (eg lsb first, endian) over the serial line.
Parsing the data from the PC file should not be a problem as long as the parser uses 16 bit access.
Have I forgotten something? I do apologize for asking you to verify my design. I have worked primarily with ascii data files recently and am feeling a bit rusty.
I appreciate any constructive comments you may have.