Issue with MX_FMC_Init Causing Debugging to Get Stuck in MemManage_Handler
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-06-12 9:08 PM
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-07-01 2: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;
}
