2014-08-05 03:50 AM
I imported an example with RTOS (FatFs_uSD_RTOS) and I found some bug. In function HAL_Init() is called HAL_SYSTICK_Config() but SysTick_Handler() call xPortSysTickHandler() before osKernelStart() so we have an HardFault_Handler.
The systick is configured also in function HAL_RCC_ClockConfig called by SystemClock_Config always before osKernelStart(). In addition the function HAL_IncTick() is not called in SysTick_Handler() and due the priority level is not possible add this funcion, #hal-rtos-bug2014-08-05 04:30 AM
Seem to recall this being brought up as an issue/bug in the forum where CUBE/HAL issues are normally discussed.
[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/AllItems.aspx]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/AllItems.aspx2014-08-05 05:28 AM
2014-08-05 07:50 AM
ST has a long history of broken SDIO libraries, it has a lot to do them using byte offset addressing for things which are inherently block addressed. A ''4GB'' cards is around 3.95GB in the 32-bit number space, larger cards need 64-bit byte addressing.
Someone reported an issue with the capacity computation needing 64-bit casting.2014-08-05 11:11 AM