<?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>DFU issue on custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17459/dfu-issue-on-custom-board</link><description>Hello, 
 I am using a custom board and my setup looks like this: 
 
 nrf51 chip 
 16KB RAM 
 256KB of Flash 
 external crystal of 32MHz 
 SDK12.1 
 Compiling on Linux using GCC 
 
 I am trying to port the bootloader_secure example to the custom</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Nov 2016 15:41:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17459/dfu-issue-on-custom-board" /><item><title>RE: DFU issue on custom board</title><link>https://devzone.nordicsemi.com/thread/67099?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2016 15:41:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4801d185-2f95-4779-bc01-5ab442c281f0</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I have updated the answer with proper values. Let me know if it doesn&amp;#39;t work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU issue on custom board</title><link>https://devzone.nordicsemi.com/thread/67098?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 12:33:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f655a0f3-9814-4b64-bfbf-0ba3e03cd014</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I forgot about the 16 kB RAM, so my suggestion will not work. I will have to look further into it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU issue on custom board</title><link>https://devzone.nordicsemi.com/thread/67097?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 11:49:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6adf7e7-b887-4c4a-8af8-841a92aca4a2</guid><dc:creator>Tanasis!</dc:creator><description>&lt;p&gt;Thx for the reply Kristin. I will try this hopefully in the afternoon. But one question:
Since I have 16KB of RAM, them this RAM has address region of 0x2000 0000 - 0x2000 4000 correct?
So, if I adjust the linker script for the length of 0x5A20, would be - at least in theory - incorrect? Or what is the idea here? Thx!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU issue on custom board</title><link>https://devzone.nordicsemi.com/thread/67096?ContentTypeID=1</link><pubDate>Fri, 04 Nov 2016 11:42:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52fc483c-254b-4f6c-83ad-f89c97f6ffa0</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;From the debug output, it looks like the problem is related to the amount of RAM allocated for the softdevice.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 07.11.2016:&lt;/strong&gt; The RAM settings for the 16 kB nRF51, optimization level 3 can set to the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;RAM start: 0x200025E0
RAM size/length: 0x1A20
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;04.11.2016:&lt;/strong&gt;
The output says:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; (softdevice_enable)     ram size should be adjusted to 0x5A20 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It means that the length of RAM in the linker file should be adjusted to at least 0x5A20:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;RAM (rwx) :  ORIGIN = 0x20002C00, LENGTH = 0x5A20
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Let me know if it still doesn&amp;#39;t work after changing the size/length.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>