<?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>Downloading softdevice and application(using SDK) from Linux system to nrf51822 yunjia board.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8192/downloading-softdevice-and-application-using-sdk-from-linux-system-to-nrf51822-yunjia-board</link><description>hi , I am trying to download the softdevice(v8) and cross compiled application(using makefile in nrf51822 sdk v6) from my Linux PC using JLinkExe.
following is the memory layout of my softdevice : 
 
 following steps show how i downloaded the softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Jul 2015 13:51:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8192/downloading-softdevice-and-application-using-sdk-from-linux-system-to-nrf51822-yunjia-board" /><item><title>RE: Downloading softdevice and application(using SDK) from Linux system to nrf51822 yunjia board.</title><link>https://devzone.nordicsemi.com/thread/29455?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2015 13:51:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4ae6f8b-f674-4c51-82ae-41c7f349db1f</guid><dc:creator>akhil</dc:creator><description>&lt;p&gt;thank you for the thread regarding the application code base address.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Downloading softdevice and application(using SDK) from Linux system to nrf51822 yunjia board.</title><link>https://devzone.nordicsemi.com/thread/29454?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2015 12:27:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f4fa270-965b-4c1c-8b70-b624e2b79714</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;You can flash the softdevice directly using loadbin in JLinkExe:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;loadbin s110_nrf51_8.0.0_softdevice.hex 0x0  #flash in address location 0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Since you are using softdevice 8 the application should be flashed to location 0x18000. This is documented in the softdevice specification: &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.110.sds.v1.0.0/s110.html?cp=2_7_0"&gt;infocenter.nordicsemi.com/.../s110.html&lt;/a&gt; In section 11.2 &amp;quot;Memory resource map and usage&amp;quot; (&lt;strong&gt;APP_CODE_BASE&lt;/strong&gt;)&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;loadbin application.hex 0x18000  #flash in address location 0x18000
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Check out &lt;a href="https://devzone.nordicsemi.com/question/43992/upload-hex-on-nrf52-in-makefile/"&gt;this thread&lt;/a&gt; to see how to make a script that erase and flash SD and app (this is for nRF52, so just change device to nrf51822 and app address to 0x18000)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>