<?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>Help with linker script for a S132 Bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29606/help-with-linker-script-for-a-s132-bootloader</link><description>Hi all, I&amp;#39;m currently building a bootloader suitable for Dual Channel DFU and SD132. It is on nrf52832, currently on PCA10040, using SDK 14.0.0. 
 Although the linker script works, and creates a hex file, I am left with an error_code 1 after nrf_sdh_enable_request</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Jul 2018 21:23:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29606/help-with-linker-script-for-a-s132-bootloader" /><item><title>RE: Help with linker script for a S132 Bootloader</title><link>https://devzone.nordicsemi.com/thread/140459?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 21:23:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86d191cb-cb34-4fe1-a61e-8b42213093af</guid><dc:creator>Arepa</dc:creator><description>&lt;p&gt;Hi @&lt;span class="user-name"&gt;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/alxtford"&gt;aTended&lt;/a&gt;&amp;nbsp;I know it is an old thread, but I was wondering why you wanted to create your own Linker Script? with your own&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SECTIONS, it does not increase the .hex/.bin size?&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with linker script for a S132 Bootloader</title><link>https://devzone.nordicsemi.com/thread/117632?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2018 15:46:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74af0772-8afd-4949-9bf2-a61710b0c481</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please step inside the nrf_sdh_enable_request code to see what throw 0x01 there.
Please post what you see when you compile the original DFU. Please use SDK v14.2 as it fixed the issue with DFU update SD+BL. Also please use the suggested gcc v4.9 2015q3&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with linker script for a S132 Bootloader</title><link>https://devzone.nordicsemi.com/thread/117631?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2018 14:52:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9adc29f7-b3a3-4bcf-8b9c-53dbe9f1e07c</guid><dc:creator>aTended</dc:creator><description>&lt;p&gt;Yes! I have updated the question to reflect that.&lt;/p&gt;
&lt;p&gt;The following code block is what returns err_code 1.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    ret_code_t err_code;

err_code = nrf_sdh_enable_request();
APP_ERROR_CHECK(err_code);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The script in the original question is an editted version of one from the DFU examples in SDK 14.0.0.&lt;/p&gt;
&lt;p&gt;When trying the stock examples,i get numerous linker errors telling of overlapping regions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with linker script for a S132 Bootloader</title><link>https://devzone.nordicsemi.com/thread/117630?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2018 13:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8e556f0-e225-46e0-8831-6592d6857bb7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;By LS, you mean Linker script ?&lt;/p&gt;
&lt;p&gt;Return code 0x01 from nrf_sdh_enable_request() is not expected. Are you sure it&amp;#39;s returned from that function ?&lt;/p&gt;
&lt;p&gt;Did you modify the DFU example  ? What happens if you compile the stock example ? Which SDK are you working on ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>