This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is fclose() or funmount() blocking or non-blocking?

Hello,

I use component File System 6.15.3 to write to a FAT32 eMMC from the microcontroller (STM32H7).

example sequence:


Is it save to shut down the system directly after fclose (or funmount())? Or can this potentially damage the file system because some data are still not completely written?

If  fclose()  / funmount() is a non-blocking function,  how do I know that all data is really written onto the memory card?

Maybe it is required to check the status from the MCI driver?

0