cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L010R8 Interrupt Vector Mapping from Boot Area to App area

veeravs
Visitor

We need support with the interrupt vector mapping for the STM32L010R8 SoC, specifically from the Boot area to the Application area (Flash/SRAM).

 

We are currently developing a custom boot loader for the STM32L010R8 series and are not using the ROM-based boot loader. The issue we are encountering occurs when we jump from the Boot area (0x08000000 - 0x08001FFF) to the Application area (0x08002000). The interrupt vector table is not mapping correctly into the application flash area.

 

We have tried two approaches: one is direct mapping to the Flash area, and the other is mapping to a specific RAM area. According to the .map file, the mapping appears correct, but during execution, the interrupts are not being triggered, and the code is not running as expected.

 

Could you please provide support for this vector mapping issue? If you have any sample projects or code snippets available, please share them with us. Alternatively, if possible, could you forward this issue to the relevant application engineer for further assistance?

2 REPLIES 2
gbm
Lead III

You mean this:

SCB->VTOR = APP_BASE;

?

If not, why don't you describe your problem in a way someone could understand what it really is?

Also, there are dozens of topics in this forum on bootloader & app stuff. Just read them.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
Billy OWEN
ST Employee

Hi @veeravs 

 

This post has been escalated to the ST Online Support Team for additional assistance.  We'll contact you directly.

 

Regards,

Billy