Hi,
I'm using Keil v4 along with Cortex M4 (in this casa Freescal's K40) I have to create a project that will be linked and executed at address grater than 0 (0x400 to be exact).
It will help if I will be able to compile and build the Blinky sample at an address > 0. Simply changing the address in the TARGET page will result in a non functioning project (it will abort as soon as it will be executed on the target)
Thanks, Eitan.
It is working. But what have you done to make sure that you get your interrupt vector table mapped so that the processor can use it?
I guess this is main question, how can I remap the vector table to a different address?
how can I remap the vector table to a different address?
If you can't figure that on your own, using only the data sheets and other applicable documents, maybe you shouldn't be trying to write a bootloader.
You sound like a man with a charming personality :) Does anyone here have an example of how to relocate the interrupt vector table - Keil , Freescale K60?
Several examples have been posted on this forum, for specific processors.
void execute_user_code(void) { // remap interrupt vectors NVIC_SetVectorTable(NVIC_VectTab_FLASH, MAIN_BOOT_START_SECTOR); jump_to_application() ; }
Should work for you, if your into CMSIS.
<quote>Should work for you, if your into CMSIS.</quote>
Tapeer,
you're
Zeusti.