cancel
Showing results for 
Search instead for 
Did you mean: 

The interrupt happend in APP but enter bootloader ISR

Dylan1
Associate II

MCU:STM32F030C8

Bootloader section:Flash: 0x08000000 - 0x08003FFF; RAM:0x20000000 - 0x200004FF

APP section: Flash:0x08004000 - 0x0800FFFF; RAM:0x20000500 - 0x20001FFF

Review the map file, the interrupt vector has remapped to APP flash, but when work in APP, the interrupt isr jump to bootloader isr

4 REPLIES 4

You can't remap the vector table in 'F0 as it's a Cortex-M0 core which does not have this remap - see the footnote in http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0321a/BIHHDGBC.html .

JW

PS. Please change your username to a normal nick.

berendi
Principal

As there is no SCB->VTOR register, in order to use a different vector table, you have to copy the new vector table to 0x20000000, then remap the internal SRAM to address 0, i.e. set SYSCFG->CFGR1|=0x03

See also chapter 2.5 Boot configuration in the reference manual.

understand, thanks.

I have changed my username

thanks,I try to remap as your method