I am using STM32L072( cortex M0+) with kel5.23 . My application start address is not the default reset vector address. It has been changed from 0x8000000 to 0x802000. I have changed the startup file and target ROM location accordingly. 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.
infocenter.arm.com/.../index.jsp
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.
www.keil.com/.../
Read more about ini files at:
http://www.keil.com/support/docs/3156.htm
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:
http://www.keil.com/support/docs/3697.htm
=====
If you want to read more about Vector Table Offset Register:
www.keil.com/.../using_VTOR_pg.html
http://www.keil.com/support/docs/3913.htm