<?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>DFU Bootloader with S120 config</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7975/dfu-bootloader-with-s120-config</link><description>Hello, 
 I started to make an app for a board with nRF51822 with softdevice S120 version 1.0.1. Now I would like to have the DFU implementation in it but I am stuck at the project configuration. 
 Still quite new and I don&amp;#39;t know how to solve this problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Jul 2015 11:13:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7975/dfu-bootloader-with-s120-config" /><item><title>RE: DFU Bootloader with S120 config</title><link>https://devzone.nordicsemi.com/thread/28575?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2015 11:13:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac865aff-d3de-4ed9-a3c6-d293b8614538</guid><dc:creator>Gabriel C.</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/users/598/hungbui/"&gt;@HungBui&lt;/a&gt; Finally I achieved to port the application to s120 V2.1.0 (which works great) and also managed to compile and run the bootloader you uploaded for s120. But now I have another problem. All the examples from SDK are for nRF51422 and I use a nRF51822. With the app I managed to make the proper changes and it works in my board but not the bootloaders. I have a 32MHz system clock in my board and for the soft device I use the default internal clock (NRF_CLOCK_LFCLKSRC_RC_250_PPM_TEMP_4000MS_CALIBRATION). Ports work good for the apps, but not for the bootloader. Both s120 and s130 bootloaders works in a dev board I have with 51422 but I am not able to port them to 51822. Any advice would be much appreciated. It is something in the bootloader related with ANT? Thank you...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader with S120 config</title><link>https://devzone.nordicsemi.com/thread/28574?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2015 07:59:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c13da3e1-4ed5-4c28-a24a-d4c5417eb034</guid><dc:creator>Gabriel C.</dc:creator><description>&lt;p&gt;Thank you! I will try to port it following the steps you mentioned!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader with S120 config</title><link>https://devzone.nordicsemi.com/thread/28573?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2015 13:48:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c66a6577-4017-45d5-9e11-1b59898af31a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@ Gabriel: Seems that you are using pack. The example I provided is with the .zip SDK, not the pack type.&lt;/p&gt;
&lt;p&gt;You can download the .zip SDK &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My example was based on SDK v8.0 and support S120 v2.0.0. You would need to port it to be compatible with S120 v1.0.0 or you can try to port your application to S120 v2.0.0. I would suggest you to do the latter one.
You can follow the migration guide in the S120 v2.0.0 zip file. It should be straight forward.&lt;/p&gt;
&lt;p&gt;To have the bootloader to work, you need to flash the sofdevice first, after that flash the bootloader. And use the bootloader to update the application firmware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader with S120 config</title><link>https://devzone.nordicsemi.com/thread/28572?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2015 12:38:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e417bbf-5b55-4b83-94fc-aea2cd85dfb0</guid><dc:creator>Gabriel C.</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/users/598/hungbui/"&gt;@Hung Bui&lt;/a&gt;, when I started to develop the app, there were no V2.0.0 yet. And all worked great till now, when I need to implement the DFU and I&amp;#39;m not able to adapt your example to my code. Also all the examples from SDK are not installed in &amp;quot;\SDKv8.0\examples\dfu&amp;quot; but in &amp;quot;C:\Programas\Keil\ARM\NordicSemiconductor\nRF_Examples\8.1.1\dfu&amp;quot; and when I copy there your folder it is missing all the files except &amp;quot;main&amp;quot; and &amp;quot;dfu_ble_svc&amp;quot;. Also, do I need to flash a bootloader.hex file when I flash softdevice? Does dfu_test_bootloader_b.hex work? Thank you and sorry for my ignorance. I&amp;#39;m having quite a bad time with it...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader with S120 config</title><link>https://devzone.nordicsemi.com/thread/28571?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2015 12:29:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fc9d7d7-3346-4b2d-8456-49fb2551f079</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Gabriel C. :&lt;/p&gt;
&lt;p&gt;Why do you want to use S120 v1.0.0 ? The latest one is S120 v2.0.0. And the S120 example I uploaded is for S120 v2.0.0.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t do any modification and do compilation do you have any error? I don&amp;#39;t know why you modified the IRAM1 setting ?&lt;/p&gt;
&lt;p&gt;The error:
&amp;quot;Erase Failed! Error: Flash Download failed - &amp;quot;Cortex-M0&amp;quot;&amp;quot; Could be that you haven&amp;#39;t given the algorithm to program the chip. Please check that in the Debug =&amp;gt; JLink setting =&amp;gt; Flash Download =&amp;gt; Select nRF51xxx&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>