AnsweredAssumed Answered

Interrupts Vector Table

Question asked by salam.mark on Apr 3, 2017
Latest reply on Apr 7, 2017 by salam.mark

Hi,

 

I am using STMF103R8. I developed a bootloader, which jump to main application. Everything works fine.

 

Because I made two programs: one for the bootloader and one for the application, I see that the flash is programmed with an Interrupt Vector Table which starts at 0x08000000 for the bootloader and another one which starts at 0x08002000 for the main application. These vector tables take big amount of memory, even if I use only:

  • for the bootloader

SysTick_Handler,

USB_LP_CAN_RX0_IRQHandler,

  • for the main application

SysTick_Handler,

EXTI9_5_IRQHandler,

EXTI1_IRQHandler,

EXTI4_IRQHandler,

ADC1_2_IRQHandler,

TIM2_IRQHandler,

USB_LP_CAN_RX0_IRQHandler.

 

Unfortunately I am running out of flash memory and I would like to save space taking out what is unnecessary. 

 

Would it be possible to have two tables with only the entries I need and taking out all the others entries?

 

Thanks,

 

Marco

Outcomes