<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to change start address in armgcc</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61866/how-to-change-start-address-in-armgcc</link><description>I&amp;#39;m trying to figure out how to change the start address of my application when chip has a bootloader flashed on it. 
 For example : 
 Bootloader address = 0x0 
 Main application = 0x01000 
 Do I have to add any flags on the makefile without modifying</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 May 2020 11:14:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61866/how-to-change-start-address-in-armgcc" /><item><title>RE: How to change start address in armgcc</title><link>https://devzone.nordicsemi.com/thread/252143?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 11:14:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c46a1c80-dec8-4894-a117-dd81b630b5ab</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Segger Embedded Studio uses the FLASH_START config to generate a linker script automatically. You can see the full linker-script in &amp;quot;Output\&lt;span&gt;[project_name]&lt;/span&gt;&amp;nbsp;[build_config_name]\Obj\[project_name].ld&amp;quot; from the ses project directory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change start address in armgcc</title><link>https://devzone.nordicsemi.com/thread/252046?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 19:27:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c40c416-5914-4525-85e0-2d2daa79d473</guid><dc:creator>George555</dc:creator><description>&lt;p&gt;I&amp;#39;m planning on making my own bootloader. I didn&amp;#39;t find any other way without modifying the linker script.&lt;/p&gt;
&lt;p&gt;There&amp;#39;s a parameter in Segger Embedded Studio &lt;em&gt;FLASH_START=0x0 &lt;/em&gt;which allows you to build and place the application starting at different address than 0x0.&lt;/p&gt;
&lt;p&gt;I guess modifying the linker script can give you the expected results but I was looking for a faster method maybe a parameter into the linker.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change start address in armgcc</title><link>https://devzone.nordicsemi.com/thread/251995?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 14:08:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be4572d0-d2b0-48bc-b801-88f379823dc2</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The bootloader is normally placed at the top of the flash, it is the MBR that is placed at the bottom, see&amp;nbsp;&lt;a title="Memory layout" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_bootloader.html?cp=7_1_3_5_0_7#lib_bootloader_memory"&gt;Memory layout&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Why do you not want to modify the linker script? There is a separate linker script in each project directory, so it will not affect other projects if you modify it. I&amp;#39;m not aware of any ways to move the flash start address without modifying the linker script.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>