cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to enable TIM4 interrupt in NUCLEO-F756ZG

JJAYAR
Associate II

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

 

 

 

 

2 REPLIES 2
Sarra.S
ST Employee

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.

JJAYAR
Associate II

Hi Sarra

I should have mentioned this

Using STM Cube IDE 1.14.0