We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
Look-up NVIC_SetVectorTable in the ST FWLib...
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?