Hello,
I would like some assistance with storing information on a SD card in the format of a text file. This SD card is connected to a 8051 microcontroller. Communication with the card is done via the SPI. I'd really appreciate some sort of #include file or anything that lets me have access to functions such as fprintf and fscanf, fopen, fclose. Also if anyone can tell me weather FATfs (elm-chan.org/.../00index_e.html) files are ok to compile on a 8051.
It's possible to store data on a memory card, EEPROM, ... without the use of any file system.
But then it is up to you to figure out how much area you have filled, so you know where to continue adding data.
For memory cards, the controller inside the card normally handles wear leveling. But you have to take care of any problems with power losses when you are busy writing data.