<?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>Error in Linker script setup for SD110 v8, SDK v8.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7168/error-in-linker-script-setup-for-sd110-v8-sdk-v8-1</link><description>Hello, 
 Some questions regarding the linker script for the 8.1 SDK for SD110. 
 I was able to get an environment set up with ARM GCC, Make, etc. and compiled my program using the V7 SDK (for which it was written). I was able to resolve all of the issues</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 May 2015 22:09:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7168/error-in-linker-script-setup-for-sd110-v8-sdk-v8-1" /><item><title>RE: Error in Linker script setup for SD110 v8, SDK v8.1</title><link>https://devzone.nordicsemi.com/thread/25334?ContentTypeID=1</link><pubDate>Wed, 20 May 2015 22:09:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83012c77-02e6-441a-b4a5-6fb11da989d9</guid><dc:creator>chalecampb</dc:creator><description>&lt;p&gt;OK. Everything I did was correct, but the .ld file that I had copied into my project directory and modified, somehow un-modified itself, so it wasn&amp;#39;t actually using any of the values I entered. I am not even sure how that happened.&lt;/p&gt;
&lt;p&gt;Thanks Anshul for the help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in Linker script setup for SD110 v8, SDK v8.1</title><link>https://devzone.nordicsemi.com/thread/25333?ContentTypeID=1</link><pubDate>Wed, 20 May 2015 20:10:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fa60d20-a074-440b-9ef7-36ab4ca96ed9</guid><dc:creator>chalecampb</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This also doesn&amp;#39;t work. See output here - &lt;a href="http://paste.ofcode.org/SskDupXwQCBCSaeJEKPrbZ"&gt;paste.ofcode.org/SskDupXwQCBCSaeJEKPrbZ&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also, how did you get to the 0x2000 value for the RAM length? I am reading nRF51822 S110 SoftDevice Specification - v3.1, which was updated to cover the S110 v8 soft device. Page 34, it states that the RAM for the SD (MBR) starts at 0x20000000 and ends at APP_RAM_BASE - which is 0x20002000. The rest belongs to the application, AFAIK - so, up until 0x20000000 + 0x8000. This length is from 0x2000 to 0x8000, or 0x6000. Why would it be only 0x2000 in your example?&lt;/p&gt;
&lt;p&gt;Also, while the numbers are correct, 88kB for SD v8 sounds incorrect. If I flash it through nRFgo Studio, it says 96kB - which is 0x18000 start address. Was that just an outdated comment?&lt;/p&gt;
&lt;p&gt;Thanks,
-Alex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in Linker script setup for SD110 v8, SDK v8.1</title><link>https://devzone.nordicsemi.com/thread/25332?ContentTypeID=1</link><pubDate>Wed, 20 May 2015 19:46:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2273d779-749e-4307-9efb-8d2a99daa262</guid><dc:creator>Anshul</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt;Yes, the SD v8 and SDK v8.0 are compatible . The memory map settings are FLASH (rx) : ORIGIN = 0x00018000, LENGTH = 0x28000 /* 96 kB is taken by S110, 160 kB available for application. */ SRAM (rwx) : ORIGIN = 0x20002000, LENGTH = 0x02000 / 8 kB, 8 kB is taken by S110. */
You need to change the Length of RAM to 0x2000&lt;/p&gt;
&lt;p&gt;I had not updated the comment, it was referring to the previous version of the SD. From your screenshot, it looks like that you are trying to erase the memory while programming the hex file. But you should not do that. After programming the soft device, you need to just set the speed, enable writing and write to the address 0x00018000&lt;/p&gt;
&lt;p&gt;device nrf51822
speed 1000
w4 4001e504 1
loadbin $(BUILD)/$(PROJECT).bin 0x00018000
r
g
exit&lt;/p&gt;
&lt;p&gt;Hope it resolves your issue.&lt;/p&gt;
&lt;p&gt;Anshul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in Linker script setup for SD110 v8, SDK v8.1</title><link>https://devzone.nordicsemi.com/thread/25331?ContentTypeID=1</link><pubDate>Wed, 20 May 2015 19:46:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e5e793c-92c1-40cf-b31c-a0454037d137</guid><dc:creator>Anshul</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt;Yes, the SD v8 and SDK v8.0 are compatible . The memory map settings are
FLASH (rx) : ORIGIN = 0x00018000, LENGTH = 0x28000  /* 88 kB is taken by S110, 168 kB available for application. &lt;em&gt;/
SRAM (rwx) : ORIGIN = 0x20002000, LENGTH = 0x02000  /&lt;/em&gt; 8 kB, 8 kB is taken by S110. */&lt;/p&gt;
&lt;p&gt;You need to change the Length of RAM to 0x2000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>