Not able to enable TIM4 interrupt in NUCLEO-F756ZG
Trying out a simple timer w/ interrupt
I am using the below code to enable interrupt
However during debug when ever I go to
NVIC_SetVector(....)
or
TIM4->CR1 |= TIM_CR1_CEN; ;//-> CEN=1;//Start Timer4
I get an error
'Break at address "0x80009b0" with no debug information available, or outside of program code.'
// Enable TIM4 interrupt
//error occurs here
// NVIC_SetVector(TIM4_IRQn, (uint32_t)&TIM4_IRQHandler);
NVIC_SetPriority(TIM4_IRQn, 0); // Set priority
NVIC_EnableIRQ(TIM4_IRQn); // Enable interrupt
TIM4->DIER |= TIM_DIER_UIE;
//error occurs here
TIM4->CR1 |= TIM_CR1_CEN; ;//-> CEN=1;//Start Timer4
wondering if anyone has previous experience with a similar error
ANy comments welcome
Thanx in advance
Jay Jayaram
