I've a problem with NVIC_Init function. When I use NVIC_Init for USART1 it works correctly. But when I use it with USART2, I get a hardfault - why? I'm searching now for about 2 hours, but I can't find the problem. My Code:
I also found a post in here, which said, that I should rebuild the whole project - this also does not work. thanks for help Andi [ This message was edited by: anm on 18-02-2009 21:32 ] [ This message was edited by: anm on 18-02-2009 22:07 ]
I deleted the whole Code in USART1 and USART2 Interrupt Handler. The Error occurs at the Init - I stepped through the program - but he does not go over the Init function. Does it help, when I post my Interrupt-Handlers? Thanks!