<?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>How to program application along with s110 softdevice ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6561/how-to-program-application-along-with-s110-softdevice</link><description>Hi, 
 I&amp;#39;m writing a sample application that uses the s110 softdevice (7.1.0) on Adafruit blefriend. I can program the softdevice using Segger J-Link and upload the application hex over DFU and it works. 
 However if I program the application directly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Aug 2016 18:20:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6561/how-to-program-application-along-with-s110-softdevice" /><item><title>RE: How to program application along with s110 softdevice ?</title><link>https://devzone.nordicsemi.com/thread/22899?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 18:20:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0185134-7045-46e1-bb7f-ce05d502c18d</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;help &lt;a href="https://devzone.nordicsemi.com/question/90085/undefined-reference-to-softdevice_handler_initnrf_clock_lf_cfg_t-void-unsigned-short-unsigned-long/s"&gt;devzone.nordicsemi.com/.../s&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program application along with s110 softdevice ?</title><link>https://devzone.nordicsemi.com/thread/22895?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 18:20:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4bf1746-76ee-45ca-bfde-db102f202e0a</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;help: &lt;a href="https://devzone.nordicsemi.com/question/90085/undefined-reference-to-softdevice_handler_initnrf_clock_lf_cfg_t-void-unsigned-short-unsigned-long/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program application along with s110 softdevice ?</title><link>https://devzone.nordicsemi.com/thread/22897?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 18:20:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cfaac26-6095-468b-9eb1-dfea7fa56dd1</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;help :&lt;a href="https://devzone.nordicsemi.com/question/90085/undefined-reference-to-softdevice_handler_initnrf_clock_lf_cfg_t-void-unsigned-short-unsigned-long/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program application along with s110 softdevice ?</title><link>https://devzone.nordicsemi.com/thread/22896?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2015 07:56:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a9cb199-2797-4e3f-b91c-3343a5b407f6</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;A good method to flash softdevice + bootloader + application with a programmer is described on &lt;a href="https://devzone.nordicsemi.com/question/22056/combining-sd-dfu-and-application-hex-and-programming/?answer=22246#post-id-22246"&gt;this thread&lt;/a&gt;. You can merge the files together in order to only flash once, or you can flash the files separately, see the latest updates on the thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program application along with s110 softdevice ?</title><link>https://devzone.nordicsemi.com/thread/22898?ContentTypeID=1</link><pubDate>Sun, 19 Apr 2015 02:57:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2b5afe2-e295-4a0d-9e6b-4a138432c175</guid><dc:creator>pixiedust</dc:creator><description>&lt;p&gt;Found the problem. The boot switch, DFU bootloader (that shipped along with blefriend) and bootloader settings was not programmed correctly (offset 0x3c000 - 0x3ffff)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program application along with s110 softdevice ?</title><link>https://devzone.nordicsemi.com/thread/22894?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2015 22:52:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:821ec67c-81cd-4bb5-8f1f-6918fc5eb4b9</guid><dc:creator>pixiedust</dc:creator><description>&lt;p&gt;The last page in the flash images I&amp;#39;ve uploaded are same, the first 88K (bootloader) is same as well. But the flash image with DFU updated application works while the other does not.&lt;/p&gt;
&lt;p&gt;It does not make sense.&lt;/p&gt;
&lt;p&gt;Edit: Both have the same application 11728 bytes at offset 0x16000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program application along with s110 softdevice ?</title><link>https://devzone.nordicsemi.com/thread/22893?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2015 12:24:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b0bf501-4bda-4304-a3d1-ffcbe3724728</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Usually it is the last page in the program memory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program application along with s110 softdevice ?</title><link>https://devzone.nordicsemi.com/thread/22892?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2015 12:19:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39f2df71-5a5d-40a0-983d-578ed2d36ce4</guid><dc:creator>pixiedust</dc:creator><description>&lt;p&gt;Do you know the flash address where the bootloader stashes the CRC ? Is it in the bootloader settings section ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program application along with s110 softdevice ?</title><link>https://devzone.nordicsemi.com/thread/22891?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2015 12:02:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73397029-eb09-41a4-a4dc-e5209195c251</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Once you do your first upgrade via DFU, it stashes a CRC of the application in flash. When you reprogram via the J-Link or other programmer the CRC of what you programmed will not match what the DFU has stored in flash. The bootloader will calculate the CRC of the application in memory and compare it to the stored value. If they  do not match it considers the application corrupt and will not jump into the application.&lt;/p&gt;
&lt;p&gt;The quick and dirty fix I do when this occurs is to reprogram the DFU with the programmer which also erases the stored CRC in flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>