I am working on interfacing micro SD card with Nucleo-F746ZG through SDMMC peripheral. The SDMMC Block device is created as in https://github.com/JojoS62/COMPONENT_SDIO. The block device is functioning well and I am able to read the card details. The problem is trying to use FatFileSystem with block device. For instance the file is created and writing file returns successful but I cannot find anything written while reading in PC. The file size shows as 0kb. Repeating by formatting the SD card, often the mount returns an error (-22).
The guidance to solve this issue will be a great help.