 | Discussion Forum |  |
|
|
STM32 shared interrupt vectorNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Dave E Posted 27-Nov-2008 10:21 GMT Toolset ARM |  STM32 shared interrupt vector Dave E 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 | | Read-Only Author Andy Neil Posted 27-Nov-2008 10:44 GMT Toolset ARM |  RE: STM32 shared interrupt vector Andy Neil Look-up NVIC_SetVectorTable in the ST FWLib... | | Read-Only Author Dave E Posted 27-Nov-2008 11:20 GMT Toolset ARM |  RE: STM32 shared interrupt vector Dave E 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? | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|