2023-12-12 07:20 PM
Hi everyone.
I'm using STM32H7B3I-DK.
I want to save configuration to microSD or load configuration from microSD via user action on UI.
In this regard, the ToughGFX UI side has been checked, but the microSD side is not working.
Please check my configuration and action, let me know what is need to work.
I configured SDMMC1, FATFS on STM32CubeIDE as follow.
for SDMMC1
b
clock for SDMMC
for FATFS
Initialize code in Main() function
After starting FreeRTOS scheduler, only one task of FreeRTOS call this function.
Always i meet the error on f_open() function. The error code on f_open() is 1 or 13.
Please let me know what have to do.
Do I need to set up MDMA for SDMMC1 ?
Steve.cha
2024-01-30 06:15 AM
@steve_cha did you find a solution? I am also struggling with the uSD card on this board when setting it up using CubeMX in a similar configuration. Not sure why there aren't CubeMX examples associated with this eval board - it would certainly be helpful!