AnsweredAssumed Answered

STM32F100C4, TIM1 problem

Question asked by gubernatorov.alexey on Dec 16, 2012
Latest reply on Dec 18, 2012 by Clive One
Hello!
I've faced with next challenge: my STM32F100C4 freezes right after TIM1 interruption occurs. When I used simulator of Keil (this MCU isn't supported by simulator, so I specified STM32F103C8) I found place in startup file where program freezes:

startup_stm32f10x_ld_vl.s
<...>
; Dummy Exception Handlers (infinite loops which can be modified)
 
<...>
Default_Handler PROC
                ...
                EXPORT  %name of the peripheria interrupt handler%    [WEAK]
                ...
<...list of the interrupt names...>
                B       .         <-- this label
 
                ENDP
 
                ALIGN

Unfortunately, I still don't have any in-circuit debugger so I can diagnose something with one LED flashing or simulation result.
What can be a cause of this freezing?

Outcomes