I am using STM32L072( cortex M0+) with kel5.23 .
My application start address is not the default reset vector
It has been changed from 0x8000000 to 0x802000.
I have changed the startup file and target ROM location
but how to change reset address in debugger setting?
please provide solution.
Write the value to &SCB->VTOR either in the debugger's Data
Window, or via an Initialization Script.
The address of the register is 0xE000ED08
_WDWORD(0xE000ED08, 0x08002000); // VTOR to Image Base
Here is an example of an initialization file to set the Program
Counter, the Stack Pointer, and the Vector Table Offset register.
Read more about ini files at:
If you want to do this, make sure to turn off "Load application at
startup" in the options for target -> debug tab
See screenshots at:
If you want to read more about Vector Table Offset Register:
View all questions in Keil forum