AnsweredAssumed Answered

Program stuck in startup_stm32f4xx.s

Question asked by lieber.sommer on Aug 28, 2015
Latest reply on Aug 28, 2015 by lieber.sommer
I am trying to run an existing code developed in Eclipse + GCC in IAR workbench. After making all the related changes, the code compiles successfully. Now when I try to run the program, at the point where there is a call to 'Init_TIM' in main.c, which in turn calls HAL_TIM_Base_Start_IT(&TimHandle); This evidently ends up in reaching 
 /* Enable the Peripheral */
  __HAL_TIM_ENABLE(htim);
this point in stm32f4xx_hal_tim.c file. After this the program hangs without any further execution. When I break the debugging, I see that the program is currently stuck at TIM3_IRQHandler 
        B TIM3_IRQHandler
in the startup_stm32f4xx.s file. I have tried searching online for any help but couldn't find anything. I might be missing something quite simple but I don't realize what it is.

Outcomes