Hi,
I am using FatSD example from TI Resource Explorer/TI-RTOS/ARM/Tiva C Series/Tiva TM4C123GH6PGE/Examples...
My SD card using SSI3 interface. Here is the schematic:
So I just modified things related to SDSPI in the Board.h and EKS_LM4F232.c file to be adapted with SSI3 interface.
But when I run the example, it thrown out the error:
Drive 3 is mounted
Creating a new file "fat:3:input.txt"...Error: "fat:3:input.txt" could not be created
Aborting...
SDSPI_open return OK (drive mounted), but fopen(inputfile, "w+") did NOT work, so the file could not be created.
Anyone got this issue?
Btw, I have an unclear point with the definition of inputfile:
const Char inputfile[] = "fat:"STR(DRIVE_NUM)":input.txt";
Is it the mounted path?
Thanks,
Tin Phan

