Skip to main content
Visitor II
June 13, 2024
Question

Issue with MX_FMC_Init Causing Debugging to Get Stuck in MemManage_Handler

  • June 13, 2024
  • 1 reply
  • 834 views

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?

    This topic has been closed for replies.

    1 reply

    PMerv.1
    Associate
    July 1, 2024

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