<?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>Problems running code at 0x1C000 with S130 (nRF51822) SD</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15137/problems-running-code-at-0x1c000-with-s130-nrf51822-sd</link><description>Can someone confirm that all that needs to be changed to make code run with the SD installed is to change the linker to link to 0x1C000 instead of 0x00000 ? 
 To test, I have a very simple program that just flashes a LED attached to a pin. 
 I&amp;#39;m compiling</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Jul 2016 02:13:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15137/problems-running-code-at-0x1c000-with-s130-nrf51822-sd" /><item><title>RE: Problems running code at 0x1C000 with S130 (nRF51822) SD</title><link>https://devzone.nordicsemi.com/thread/57781?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 02:13:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f065c7d2-6052-4e02-9b87-03cae4b23cdf</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Its a mistake in this repo&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/sandeepmistry/arduino-nRF5/blob/master/cores/nRF5/SDK/components/softdevice/s130/toolchain/armgcc/armgcc_s130_nrf51822_xxaa.ld"&gt;github.com/.../armgcc_s130_nrf51822_xxaa.ld&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve raised an issue with the author, as it looks like the RAM start address and also the RAM length are both wrong&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems running code at 0x1C000 with S130 (nRF51822) SD</title><link>https://devzone.nordicsemi.com/thread/57780?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 01:25:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcdc1256-942a-4036-8552-389195897477</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Yes that&amp;#39;s very wrong, S130&amp;#39;s user ram start address is 0x20002800 (you missed a zero in your latest reply).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems running code at 0x1C000 with S130 (nRF51822) SD</title><link>https://devzone.nordicsemi.com/thread/57779?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 00:50:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:821addad-390a-47b3-81b0-6166342af668</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Edit&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;I think the issue is that the linker file is not allocating enough RAM to the SD.&lt;/p&gt;
&lt;p&gt;The RAM start address is being set to  0x20002080 , which I think is too small&lt;/p&gt;
&lt;p&gt;I think this is typo and the value should be 0x2002800&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll change this and try again&lt;/p&gt;
&lt;p&gt;Thanks for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems running code at 0x1C000 with S130 (nRF51822) SD</title><link>https://devzone.nordicsemi.com/thread/57778?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2016 00:29:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b72eaa89-e5fb-48d9-a0e6-f168f5b2100d</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;no that&amp;#39;s about it - change the flash start, change the ram start. If you&amp;#39;re using gcc just crib from one of the .ld scripts located in the examples directories.&lt;/p&gt;
&lt;p&gt;1c000 is right for the v1 softdevice, v2, just incase you loaded the wrong one, is 1b000.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>