2015-12-17 03:34 PM
Posted on December 18, 2015 at 00:34
Hi,Relates to CubeMX 4.12 Firmware Package 1.10.1As a newbie i guess that the code generated in STM32F4xx_hal_sd.c is not correct when using FreeRTOS.
HAL_Delay(1) is called from the function SD_PowerON(...)
This locks the system. I changed this to osDelay(1) and then it works.. Although mount errors exist after power up. A soft reset is needed to have the SD card mounted and functioningThanksUPDATE: Solution found:
<LINK NO LONGER ACTIVE>
2015-12-23 09:42 AM
Hi van_schelven.rob,
Great :)You can also refer to the example under STM32Cube_FW_F4_V1.10.0\Projects\STM324x9I_EVAL\Applications\FatFs\FatFs_uSD_RTOS.-Shahrzad-2015-12-24 11:16 PM
Thanks Shahrzad, thats a good source of information i didn't noticed yet.
Merry Christmas