This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32 shared interrupt vector

Hi all,

in writting my orginal question, I found part of the anwser I was asking so what follows is the second part!

I need to do something similar to the following link relating to a C167 but on the STM32:
http://www.keil.com/support/docs/1075.htm

Could someone point me in the right direction (pun intended).

TIA, Dave

Parents
  • Thanks Andy, I had seen NIC_SetVectorTable but perhaps not fully assimilated it.

    In the boot loader I call

    SetVectorTable(NVIC_VectTab_FLASH,0);
    

    To call the user application:
    The bootloader jumps to the application base address, effectively its reset vector.

    SetVectorTable(NVIC_VectTab_FLASH, app_base_address - NVIC_VectTab_FLASH);
    

    (making sure the base address is on a 1k boundary)

    Is my thinking along the right lines?

Reply
  • Thanks Andy, I had seen NIC_SetVectorTable but perhaps not fully assimilated it.

    In the boot loader I call

    SetVectorTable(NVIC_VectTab_FLASH,0);
    

    To call the user application:
    The bootloader jumps to the application base address, effectively its reset vector.

    SetVectorTable(NVIC_VectTab_FLASH, app_base_address - NVIC_VectTab_FLASH);
    

    (making sure the base address is on a 1k boundary)

    Is my thinking along the right lines?

Children
No data