2024-03-03 08:26 PM
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
2024-03-04 12:33 AM
Hello @JJAYAR, check option bytes or BOOT0 pin
also which IDE are you using?
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-03-04 05:45 PM
Hi Sarra
I should have mentioned this
Using STM Cube IDE 1.14.0