problem about hardware debugging of STM32 timer interrupt

I write a simple interrupt program about timer of STM32,when I debug this program with hardware debugging,it is correct if I step through the functions and there is a error if the program run at full speed. The program died at the start-up file at this moment.

I find the reason repeatedly.By searching the forums I know that one of the interrupt functions may not be implemented.I check the codes again and find the problem,

I find that interrupt of TIM3 is enabled in the NVIC and the interrupt request I have writed is about TIM2.

 

posted @ 2017-05-03 16:58  cumtchw  阅读(257)  评论(0编辑  收藏  举报