Page 1 of 1

[Solved] FatFS/MMC and paths

Posted: Fri May 17, 2019 10:36 am
by permal
Hi,

Just throwing this out there, in case someone else have had the same issues and found a solution...

After successfully initializing a 32GB SD Card using the MMC driver and mounting it at/sdcard, I can access files directly in the root, such as /sdcard/index.htm. However, accessing files in a sub directory, such as /sdcard/web_root/index.htm fails. Neither fopen() nor stat() is able to access the file.

I have enabled long file names in menuconfig, still using default char set.

Is there another option that has to be enabled to support directories?

Re: FatFS/MMC and paths

Posted: Fri May 17, 2019 6:59 pm
by permal
No idea what went wrong yesterday, its all working now.