Skip to main content
leojo
Visitor II
November 13, 2019
Question

Interrupt vector relocation in stm8

  • November 13, 2019
  • 1 reply
  • 1116 views

Hi,

​I​ am developing an IAP for one of my project.

In that the bootloader and the application using interrupt vectors.How can I seperate the ​interrupt vectors for application as well as bootloader. How to relocate the interrupt vectors in STM8?

​

Thanks

Raja.D​

    This topic has been closed for replies.

    1 reply

    Philipp Krause
    Senior II
    November 25, 2019

    The interrupt table is at a fixed address.

    So you'll have to go from there, e.b. by placing indirect jumps in asm there (or just write stub interrupt handlers in C that contain an if to call the appropriate handler function).