<?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>custom memory layout</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45753/custom-memory-layout</link><description>Hi, there~ 
 I&amp;#39;m trying to make my own bootloader and starting with the secure bootloader sample code. 
 The problem is the orignal bootloader, that is compiled with secure bottloader sample code, almost reach the maximun size. 
 As I know, the size of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Apr 2019 05:47:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45753/custom-memory-layout" /><item><title>RE: custom memory layout</title><link>https://devzone.nordicsemi.com/thread/182976?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 05:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ad195b9-694e-4652-adfe-b538dc5a77e6</guid><dc:creator>Nandi</dc:creator><description>&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;Has been solved, using the S140 header file, the S340 header file is used to solve&lt;/span&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom memory layout</title><link>https://devzone.nordicsemi.com/thread/182967?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 03:29:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7722cc80-646e-4364-b303-642b770e8ace</guid><dc:creator>B.Ho</dc:creator><description>&lt;p&gt;Not yet. I just tested with s140.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom memory layout</title><link>https://devzone.nordicsemi.com/thread/182966?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 03:25:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cda9db6f-f75b-411f-ae3b-5c9d3b60f1a9</guid><dc:creator>Nandi</dc:creator><description>&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span title=""&gt;Can your bootloader work with s340_6.1.1?&lt;/span&gt; &lt;span class="" title=""&gt;My program debugging will return 0x40 error code in sd_softdevice_enable.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom memory layout</title><link>https://devzone.nordicsemi.com/thread/180276?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 10:50:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e953df96-987c-4545-83d4-a5cc996aab5d</guid><dc:creator>B.Ho</dc:creator><description>&lt;p&gt;Hi, Simonr~ Thanks for the&amp;nbsp;fast response~~!!!&lt;/p&gt;
&lt;p&gt;It&amp;#39;s work~ thanks again~~~&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom memory layout</title><link>https://devzone.nordicsemi.com/thread/180270?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 10:40:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6451e82-f63d-453b-9cb6-5e2bf9e723fc</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Sorry, yes it is, but thisisant has modified it implemented ANT functionalities into the s340. I have rephrased my previous reply to avoid confusion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom memory layout</title><link>https://devzone.nordicsemi.com/thread/180267?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 10:36:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5ec6e0b-70aa-4cb2-a099-8b5c94295bfa</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Off-topic: What? The softdevice is not developed by Nordic?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: custom memory layout</title><link>https://devzone.nordicsemi.com/thread/180264?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 10:33:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a469ec0-dac5-4dea-b931-1ccc40b2b371</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. You need to adjust IROM settings for the project.&amp;nbsp;If you&amp;nbsp;need more space for the bootloader you can allocate more by reducing the start address (IROM&amp;nbsp;start, and increase the size setting with the same amount). You can see an example on how this is done in the debug variant of the bootloader project.&amp;nbsp;Note that it is not possible to increase the bootloader size after initial programming without doing a full chip erase, since the bootloader start address is stored in the UICR register.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2.&amp;nbsp;You can find this documentation over at &lt;a href="https://www.thisisant.com/developer/components/nrf52832#tab_protocol_stacks_tab"&gt;thisisant&lt;/a&gt;&amp;#39;s web pages, but you have to register as a user, as they are responsible of the s340 SoftDevice. But the RAM start and Flash start values, as well as how to change these can be found here in our &lt;a href="https://devzone.nordicsemi.com/tutorials/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;memory adjustment tutorial&lt;/a&gt;. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Minimum RAM Start address: 0x20002000&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Flast Start address: 0x31000&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>