I have been trying to incorporate a couple of functions into my ESD program to read and write a few text files from an SD card.
First I tried using the fopen() functions native to C. The program compiled and ran, but when I went to check the SD card's contents, the files were nowhere to be found.
Next I tired using the FatF header included in the SD card example in the Ft9XX Toolchain. I changed the functions over to the FatF commands, and included all of the files required in my ESD project.
For some reason, however, it refuses to recognize the typedefs for the various functions within the header (specifically the DSTATUS and DRESULT types in diskio.h), and claims a few variables/enums were undeclared because of this.
So my question is kind of two-fold: Is there an easy way to communicate with the SD card on the FT900 through ESD for non-bitmap files, and if it involves the ff.h header, what do I change to make it function?
For reference, I'm using the ME812A WH50R and MM900EV-LITE in ESD 4.5.