I have an eMMC connected to an STM32H7 via the SDMMC1 interface and am using the File System component provided by Keil.
The eMMC registers as M0:. In the debugger, the File System window shows everything looks good.
finit() and fmount() both return fsOK.
However, after these, when I use fopen("Test.txt", "w") the result is always NULL.
I do not have access to the source code and there are no events generated when this call fails.
How can I debug this?
The picture should have been this one, it appears as if everything is configured correctly and the drive is formatted?
You'll notice in the event log that there are no events generated when fopen() fails.
The debug widow shows the file failed to open when I run:
Hans Schneebauer Do you have any further suggestions?
Try to increase mutex/event in rtx configuration file. I had the same problem.