<?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>Change App address</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58777/change-app-address</link><description>We are using nrf52832 and S132 Softdevice. The app starts from 0x26000 and we want to change to some other location may be from 0x27000. We could see that SD is using the interrupt vectors starting at 0x26000. 
 Is there a way by which we can the app</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Mar 2020 20:37:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58777/change-app-address" /><item><title>RE: Change App address</title><link>https://devzone.nordicsemi.com/thread/241240?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2020 20:37:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e479467-7432-4c80-8795-fdc7d545a279</guid><dc:creator>Vu</dc:creator><description>&lt;p&gt;Thanks Justin!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change App address</title><link>https://devzone.nordicsemi.com/thread/241235?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2020 19:37:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62da656c-3af3-4995-92b0-c57e05963f84</guid><dc:creator>Justin</dc:creator><description>&lt;p&gt;I think these are free for users. Anything above 0x26000 till boot loader can be used by application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change App address</title><link>https://devzone.nordicsemi.com/thread/241233?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2020 19:01:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b774b9e-691b-4695-aa74-a7d66d74b793</guid><dc:creator>Vu</dc:creator><description>&lt;p&gt;Are these flash pages free for use by users or there are some &amp;quot;application data&amp;quot; there by default? In other words, can I write my own data there without worrying about accidentally overwrite some data necessary of the application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change App address</title><link>https://devzone.nordicsemi.com/thread/240916?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2020 15:16:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bff066e-b2f0-4705-99ce-f33916b92adb</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;If you want to retain application data then you need to place the data on the flash pages below the bootloader, see&amp;nbsp;&lt;a title="Preserving application data" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_bootloader_dfu_banks.html?cp=7_1_3_5_1_2_2#lib_bootloader_dfu_appdata"&gt;Preserving application data&lt;/a&gt;&amp;nbsp;in the bootloader documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change App address</title><link>https://devzone.nordicsemi.com/thread/240701?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2020 15:54:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c314ba68-2054-4d6b-951b-c48546e42ea7</guid><dc:creator>Vu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have the same question as OP. How do you retain the application data (plus a certain amount of space for&amp;nbsp;&lt;span&gt;proprietary information) through a firmware update? Should I just change the end address of the ROM (Flash) in the IDE? I am confused on what the FLASH region in the linker script is used for. Is it for the application only or for all the application area (including application data and free space)?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change App address</title><link>https://devzone.nordicsemi.com/thread/238955?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2020 23:18:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01aa849f-e188-4d42-a2db-7317f452c80d</guid><dc:creator>Justin</dc:creator><description>&lt;p&gt;Thanks for the clarification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change App address</title><link>https://devzone.nordicsemi.com/thread/238653?ContentTypeID=1</link><pubDate>Sun, 08 Mar 2020 08:55:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ab2d612-9a3f-49ae-840f-14b259f6c785</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Its not possible to place the application in another location as the SoftDevice assumes that the application vector table is located on the first flash page after the SoftDevice, i.e. it will forwards interrupts to the start address of first flash page after the SoftDevice.&amp;nbsp; Why cant you store this above the application? Our FDS module will place the application data at the end of memory( on the flash pages below the bootloader if a bootloader is present) and this data can be retained through a firmware update.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change App address</title><link>https://devzone.nordicsemi.com/thread/238577?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2020 15:29:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:181bb226-da0f-4b7c-8f6a-5fd593409adb</guid><dc:creator>Justin</dc:creator><description>&lt;p&gt;I am using 15.2 version of softdevice. I want to&amp;nbsp;push the app code to start from 0x27000 as at 0x26000 I am planning to store proprietary information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change App address</title><link>https://devzone.nordicsemi.com/thread/238526?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2020 13:07:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf02e112-4718-454f-b2d8-0b9d91200c0f</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Justin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;which version of the S132 SoftDevice are you using? The application should be placed directly above the SoftDevice in Flash. Do you want to reserve a flash page between the application and the SoftDevice?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>