2024-06-12 09:08 PM
2024-07-01 02:17 AM
I have similar problem:
it stucked in MX_FMC_Init () (in while noted below), it seems there is some problem with RTOS timining ( HAL__GetTick()) :
* @brief This function provides accurate delay (in milliseconds)
* @PAram Delay: specifies the delay time length, in milliseconds
* @retval MT48LC4M32B2_OK
*/
static int32_t MT48LC4M32B2_Delay(uint32_t Delay)
{
uint32_t tickstart;
tickstart = HAL_GetTick();
while((HAL_GetTick() - tickstart) < Delay)
{
}
return MT48LC4M32B2_OK;
}