Skip to main content
Dylan1
Associate
November 18, 2019
Question

The interrupt happend in APP but enter bootloader ISR

  • November 18, 2019
  • 2 replies
  • 912 views

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

This topic has been closed for replies.

2 replies

waclawek.jan
Super User
November 18, 2019

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.

Dylan1
Dylan1Author
Associate
November 18, 2019

understand, thanks.

I have changed my username

berendi
Principal
November 18, 2019

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.

Dylan1
Dylan1Author
Associate
November 18, 2019

thanks,I try to remap as your method