It already works with fopen/fwrite and friends. Here's the sample program:
SDFileSystem sd(p11, p12, p13, p27, "sd");
int main() {
printf("Hello World!\n");
FILE *fp = fopen("/sd/sdtest.txt", "w");
if(fp == NULL) {
error("Could not open file for write\n");
}
fprintf(fp, "Hello fun SD Card World!");
fclose(fp);
printf("Goodbye World!\n");
}
Or did you mean something else?
Has anyone modified the SDCard code to work similar to the local file system? The local file system is fine but I need something that works without the "magic" part of the board. It seems like some modification of the sectoring would accomplish this. Something that may require us to wire up a seperate at45db chip in place of the SD card would be fine.
regards;