Skip to main content
SS.Sagar
Associate III
June 11, 2016
Question

some basic doubts from CubeMX

  • June 11, 2016
  • 1 reply
  • 454 views
Posted on June 11, 2016 at 20:40

Hi,

i m using 103RB nucleo board and keil compiler. 

I have configured code for one interrupt. 

CubeMX is generated code for handler also. But i m not able to find out how handler function is linked to vector address..

I used LPC2148 also, in that we can give the handler address to vector address. 

but here it makes me confused that when interrupt occur, how controls goes to handler.

#handler #interrupt #usart #stm32 #stm32f103
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
June 12, 2016
Posted on June 12, 2016 at 04:27

The vector table, and function names associated with the individual vector entries, are generally in the startup_xxx.s

The vector table address (SCB->VTOR) is usually reconfigured in SystemInit() in system_xxx.c

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..