<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>setting reset vector address for ST-Link debugger in keil</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/36332/setting-reset-vector-address-for-st-link-debugger-in-keil</link><description> 
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</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: setting reset vector address for ST-Link debugger in keil</title><link>https://community.arm.com/thread/70686?ContentTypeID=1</link><pubDate>Wed, 02 May 2018 20:36:21 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:662f0c52-e086-4b3c-911e-509161a40e06</guid><dc:creator>Kevin</dc:creator><description>&lt;p&gt;&lt;p&gt;
Here is an example of an initialization file to set the Program
Counter, the Stack Pointer, and the Vector Table Offset register.&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/forum/19320/problem-with-debugger-start-address/#/Msg100486"&gt;
&lt;a href="http://www.keil.com/forum/19320/problem-with-debugger-start-address/#/Msg100486"&gt;www.keil.com/.../&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
Read more about ini files at:&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/docs/3156.htm"&gt;http://www.keil.com/support/docs/3156.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
If you want to do this, make sure to turn off &amp;quot;Load application at
startup&amp;quot; in the options for target -&amp;gt; debug tab&lt;/p&gt;

&lt;p&gt;
See screenshots at:&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/docs/3697.htm"&gt;http://www.keil.com/support/docs/3697.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
=====&lt;/p&gt;

&lt;p&gt;
If you want to read more about Vector Table Offset Register:&lt;/p&gt;

&lt;p&gt;

&lt;a href="http://www.keil.com/pack/doc/CMSIS/Core/html/using_VTOR_pg.html"&gt;www.keil.com/.../using_VTOR_pg.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/docs/3913.htm"&gt;http://www.keil.com/support/docs/3913.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/forum/19866/how-to-relocate-the-cortex-m3-vector-table/"&gt;
&lt;a href="http://www.keil.com/forum/19866/how-to-relocate-the-cortex-m3-vector-table/"&gt;www.keil.com/.../&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: setting reset vector address for ST-Link debugger in keil</title><link>https://community.arm.com/thread/86325?ContentTypeID=1</link><pubDate>Tue, 17 Apr 2018 08:33:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c065bf9a-3a8e-40a1-b061-30a39e19c28b</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
Write the value to &amp;amp;SCB-&amp;gt;VTOR either in the debugger&amp;#39;s Data
Window, or via an Initialization Script.&lt;/p&gt;

&lt;p&gt;

&lt;a href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0662a/Ciheijba.html"&gt;infocenter.arm.com/.../index.jsp&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
The address of the register is 0xE000ED08&lt;/p&gt;

&lt;p&gt;
_WDWORD(0xE000ED08, 0x08002000); // VTOR to Image Base&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>