STM32H735 SDMMC Error FR_NO_FILESYS
I'm having trouble getting the on board SD card reader working properly. The board is the STM32H735G discovery kit.
When attempting to mount the disc it comes back with error FR_NO_FILESYSTEM. A closer investigation shows that when reading the first (or actually any) sector from disk, the first 12 bytes of the 512 byte sector are not transferred into memory. Whatever was in that place remains, the big rest of the sector comes inexactly like it is on disk.
I first thought it may be related to alignment of the buffer address, but it was 32-bit aligned and bringing it to a 64-bit alignment didn't change anything.
The read always completes without errors, it just fails as FATS cannot identify the filesystem missing the proper first 12 bytes. The signature at the sector end (55AA) is read correctly.
Tried several SD cards with no change. These cards also read fine on a different type of evaluation boards with sd_io.
The code for SDMMC was generated via CubeMX and I cannot find any settings that would cure the problem.
Any ideas?
