i want to make use of usart2. After struggling some issues concerning baudrate settings i´m now facing the fact that i can´t get usart2 interrupt to work.
I followed several examples regarding interrupt setup with UTIL_SetIrqHandler
Here´s my code:
In my understanding UTIL_SetIrqHandler points the interruptvector for usart2 to the desired function. But UTIL_SetIrqHandler doesn´t change the vectortable in ram. I can´t even debug UTIL_SetIrqHandler.
Although OldHandler is declared, stepping through the code
gives me "not available" message if i want to have a look to the content of OldHandler
If i step through
looking at pHDL is not possible. If i add pHDL to the watch window i get "error(3): undefined symbol" ???
Does anybody know what´s going wrong?
The code for setting up usart2: