2017-09-25 04:56 AM
Hi everyone,
lately I had got some trouble with SDIO + Fatfs + FreeRTOS.
Sometimes f_write did not work and, after 100 (more or less) file write the SDIO halted.
Following this linkhttps://community.st.com/docs/DOC-1546-cubemx-sdio-dma-fatfs-configuration
I discovered that the solution is to introduce DMA on SDIO and, with this configuration:STM32Cube FW_F7 V1.7.0+FatFS version 0.11it works!!!
Last week ST released a new update for STMCube, so I migrate my project to the new library:
STM32Cube FW_F7 V1.8.0+FatFS version 0.12cI noticed that in STM32Cube there is a new option 'DMA Template' for FatFs so I think 'wow! now the write DMA is fixed!'
Instead with new FW package all the FatFs instruction for SDIO (like f_mount or f_open) reach the timeout.
I can make a step back and use the older version (STM32Cube FW_F7 V1.7.0) but I want to understand if there is something more to do in order to have SDIO works properlyThanks in advice,
Samuele