<?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>Keil MDK - STM32 - How can I load independent programs</title><link>https://community.arm.com/developer/tools-software/tools/f/armds-forum/509/keil-mdk---stm32---how-can-i-load-independent-programs</link><description> Note: This was originally posted on 15th November 2011 at http://forums.arm.com Hi, I have two independent Keil-projects for Cortex M3 (STM32) : A bootloader and an application. With the help of a scatter file I can shift the bootloader to 0800D800.</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Keil MDK - STM32 - How can I load independent programs</title><link>https://community.arm.com/thread/1065?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2013 10:56:06 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8a46bf49-bba6-4907-bf16-a99d9cc4eb5b</guid><dc:creator>Joseph Yiu</dc:creator><description>&lt;div&gt;&lt;i&gt;Note: This was originally posted on 16th November 2011 at &lt;a href="http://forums.arm.com"&gt;http://forums.arm.com&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;The Cortex-M3 has a programmable register called Vector Table Offset Register (VTOR). &lt;/span&gt;&lt;br /&gt;&lt;span&gt;You can use this to define the vector table to a different location.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Since the STM32 start at 0x08000000, you have to put the boot loader vector table there.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;For your application, you can put the vector table somewhere else.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Inside your boot loader, you can program the VTOR so that it point to the address of the vector table&lt;/span&gt;&lt;br /&gt;&lt;span&gt;for your application, and then branch to the reset handler.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;In this way, the two vector tables co-exist, and no need to erase the flash during the boot process.&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Keil MDK - STM32 - How can I load independent programs</title><link>https://community.arm.com/thread/1063?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2013 10:56:06 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:04ebdfbf-97bf-497d-a853-13846d9d1c3c</guid><dc:creator>Alban Rampon</dc:creator><description>&lt;div&gt;&lt;i&gt;Note: This was originally posted on 15th November 2011 at &lt;a href="http://forums.arm.com"&gt;http://forums.arm.com&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Hi Detlef,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;I found a link for &lt;/span&gt;&lt;a href="http://forums.arm.com/forums/index.php?app=core&amp;amp;module=search&amp;amp;do=search" rel="nofollow"&gt;Search ARM Forums&lt;/a&gt;&lt;span&gt; and asked the admin if we could make it more obvious.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Kind regards, Alban&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>