2017-11-21 10:38 AM
Solved! Go to Solution.
2017-11-21 01:35 PM
You're looking at errors at the top level where all detail has been lost, ie FATFS reports a 'Not Working' error.
In the FATFS model the block storage device being used is being mediated through the DISKIO.C file (or equivalent) providing the read/write functionality to the file system. To debug underlying failures of the layers below you should instrument the calls here. ie Report what you're reading/writing, and the errors/status of those operations.
Forum traffic suggests there have been significant issues with the code for the MMC/SDIO layer.
2017-11-21 11:19 AM
There are a lot of reports of issues, but it is not FATFS that is the problem, it simply passes status/failure from the subsystem below. You should instrument the SDIO access routines at the diskio.c interface to them.
2017-11-21 12:47 PM
Evening Clive,
Firstly thank you for the quick reply.
I wanted to know if you could please expand on this:
You should instrument the SDIO access routines at the diskio.c interface to them
I'm not entirely sure what you mean? Should I initialize the system using LL code?
Regards,
Piet
2017-11-21 01:35 PM
You're looking at errors at the top level where all detail has been lost, ie FATFS reports a 'Not Working' error.
In the FATFS model the block storage device being used is being mediated through the DISKIO.C file (or equivalent) providing the read/write functionality to the file system. To debug underlying failures of the layers below you should instrument the calls here. ie Report what you're reading/writing, and the errors/status of those operations.
Forum traffic suggests there have been significant issues with the code for the MMC/SDIO layer.
2017-11-23 02:37 AM
Hi,
watch out here:
https://community.st.com/0D50X00009XkX6HSAV
Best regards
Stefan2017-11-23 08:04 AM
2017-11-23 08:05 AM
Good day Stefan,
Thank you for the input. i did the change, although I did not get any closure as it still fails. I completely missed the fact that it didn't initialize! thanks for pointing that out.
2017-11-26 12:29 AM
Good day Clive,
I've realized I have the exact same issue as the following person,although I can't seem to find a solution.
https://community.st.com/0D50X00009XkX1QSAV
Is there any known solution for this?
Regards,
Piet