[Solved] FatFS/MMC and paths

permal
Posts: 384
Joined: Sun May 14, 2017 5:36 pm

[Solved] FatFS/MMC and paths

Postby permal » Fri May 17, 2019 10:36 am

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?
Last edited by permal on Fri May 17, 2019 7:00 pm, edited 1 time in total.

permal
Posts: 384
Joined: Sun May 14, 2017 5:36 pm

Re: FatFS/MMC and paths

Postby permal » Fri May 17, 2019 6:59 pm

No idea what went wrong yesterday, its all working now.

Who is online

Users browsing this forum: No registered users and 161 guests