AnsweredAssumed Answered

IAP doesn't go to IRQ

Question asked by on Apr 10, 2013
Latest reply on Apr 11, 2013 by Clive One
I make an IAP where my Boot start on 0x08000000, and my application on 0x08010000.
The Boot make the jump correctly and by using LED signals I see it start O.K. But when I get to the first IRQ request and not continue( look that it didn't map the vactor table correct).
The settimg I made:
In the icf I do :

for the interrupt vector
define symbol __ICFEDIT_intvec_start__ = 0x08010000;// start main APP on sector 4

place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };

I don't see where I have define for intvec?

For the application
define symbol __ICFEDIT_region_ROM_start__ = 0x08010000; // start main APP on sector 4
define symbol __ICFEDIT_region_ROM_end__   = 0x080FFFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
//define symbol __ICFEDIT_region_RAM_end__   = 0x20020000;// STM32F205ZG
define symbol __ICFEDIT_region_RAM_end__   = 0x20018000; // STM32F205ZC

In the Application I add after operate startup_stm32f2xx.s:
NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x10000); 

And that all.

1. Did I miss some setting?
2. I read somewhere taht it is not goot to operate startup_stm32f2xx.s twice (in the Boot and then the APP). But if it is right how I block it in my APP (it is get automatic by the IDE [IAR])?