AnsweredAssumed Answered

FatFs: trying to use f_getcwd, Default ISR

Question asked by Neil Porven on Sep 21, 2015
Latest reply on May 17, 2017 by prachipanse

Hi everyone,


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?