I would like to use the following function to retrieve the current working directory: f_getcwd
TCHAR *filename; //Pointer to the buffer to receive the current directory string
//Get current working directory
fr = f_getcwd (filename,sizeof(filename));
After stepping over this line, the software goes to Default ISR.
I am not sure if I am defining the buffer correctly, there really isn't an example I can follow.
Has someone worked through this issue?