cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with MX_FMC_Init Causing Debugging to Get Stuck in MemManage_Handler

sagarpatil
Associate

I am encountering an issue with my project where the program gets stuck in the MemManage_Handler(void) function while executing the MX_FMC_Init function during debugging. I have attached my project for your reference.

Could you please assist me in resolving this issue?

1 REPLY 1
PMerv.1
Associate II

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;
}