<?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 configure memory areas for Bootloader and App on an nrf51822_xxaa?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6176/how-to-configure-memory-areas-for-bootloader-and-app-on-an-nrf51822_xxaa</link><description>I need to know where and how much memory to allocate for the S110 Soft Device v8.0.0, the DFU Bootloader, and a firmware app. These all aren&amp;#39;t playing nicely together with the device memory. 
 What I believe/want to be true: 
 
 Does the Soft Device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Dec 2015 15:43:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6176/how-to-configure-memory-areas-for-bootloader-and-app-on-an-nrf51822_xxaa" /><item><title>RE: How to configure memory areas for Bootloader and App on an nrf51822_xxaa?</title><link>https://devzone.nordicsemi.com/thread/21636?ContentTypeID=1</link><pubDate>Tue, 29 Dec 2015 15:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:804ed052-779e-4bf2-92bf-8befd5a4754a</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;@Raj   I remember once that my device always started in bootloader mode after reset. The problem was that I had my DFU button configured incorrectly, so that the bootloader thought it was pressed, even though it was not pressed. The &lt;a href="https://devzone.nordicsemi.com/question/38589/resets-to-dfutarg/"&gt;device can normally be put into bootloader mode by pressing and holding a configured DFU button while resetting&lt;/a&gt;, which is BUTTON_4 on the nRF51-DK if I remember correctly. To see if that is the case, you can try to press the DFU button and see if it starts in application mode. To further investigate what is going on, you can debug the bootloader code, following the instructions given on &lt;a href="https://devzone.nordicsemi.com/question/18039/bootloader-debugging/"&gt;this thread&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure memory areas for Bootloader and App on an nrf51822_xxaa?</title><link>https://devzone.nordicsemi.com/thread/21635?ContentTypeID=1</link><pubDate>Tue, 29 Dec 2015 15:00:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fee2614-30ce-4368-8fd9-595accf4d8f7</guid><dc:creator>Raj</dc:creator><description>&lt;p&gt;Hi, I am using  the same chip set and memory configurations. Boot loader is working fine and application is updated through OAD,the  application is running fine, But whenever the  board is restart it directly entering to boot loader mode,I don&amp;#39;t known why the application image is failed while validating after the restart can any one help me. please.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure memory areas for Bootloader and App on an nrf51822_xxaa?</title><link>https://devzone.nordicsemi.com/thread/21634?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2015 12:28:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7eb89690-0040-4ff3-ae15-ba1d601012b2</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;I can also confirm that it is working on my side with&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;IROM1: 0x0003C000, 0x3C00
IRAM1: 0x20002C00, 0x1380
IRAM2: 0x20003F80, 0x80, NoInit
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I think the start of IRAM1 for the bootloader is set to 0x20002C00 in SDK 8 in order to be compatible with different stacks, but for S110, it should work equally well with with Kevin&amp;#39;s IRAM settings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to configure memory areas for Bootloader and App on an nrf51822_xxaa?</title><link>https://devzone.nordicsemi.com/thread/21633?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2015 22:28:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91abadd0-cd48-4bc8-bfe4-180ab827e11a</guid><dc:creator>Kevin Lee</dc:creator><description>&lt;p&gt;For the bootloader, I was able to use&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;IROM1: 0x0003C000, 0x3C00
IRAM1: 0x20002000, 0x1F80
IRAM2: 0x20003F80, 0x80, NoInit
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I am not sure why the start of IRAM1 is 0x2002C00 in the dfu examples.  Maybe someone from Nordic can comment on that.&lt;/p&gt;
&lt;p&gt;Using these settings, I am able to use Master Control Panel v3.8.0.7 to update an application image using the nrf51822_xxAA variant (PCA10001 board).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>