<?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 from SD130 v1.0.0 to SD130 v2.0.3 on nRF51822 with CLENR0 set</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35751/dfu-from-sd130-v1-0-0-to-sd130-v2-0-3-on-nrf51822-with-clenr0-set</link><description>Good morning, 
 
 I&amp;#39;ve inherited a line of nRF51822-powered products that are currently running firmware based on SDK10 and SD130 v1.0.0. UICR-&amp;gt; BOOTLOADERADDR is set to 0x3b000, so there is room for the Secure Bootloader. UICR-&amp;gt;CLENR0 is set to 0x1c000</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Jun 2018 15:53:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35751/dfu-from-sd130-v1-0-0-to-sd130-v2-0-3-on-nrf51822-with-clenr0-set" /><item><title>RE: DFU from SD130 v1.0.0 to SD130 v2.0.3 on nRF51822 with CLENR0 set</title><link>https://devzone.nordicsemi.com/thread/137739?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 15:53:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8082dfe-51c5-4491-ba3a-091ee00d2d6a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Will,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for sharing the solution. I was thinking the size of the S130 v2 should be bigger than S130 v1.x. But it&amp;#39;s the opposite. Your solution looks good.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from SD130 v1.0.0 to SD130 v2.0.3 on nRF51822 with CLENR0 set</title><link>https://devzone.nordicsemi.com/thread/137738?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 15:45:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:106d7c23-8670-481b-9143-5862556bed76</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Will,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Using the softdevice with the CLENR0 pointing to the middle of the softdevice is not recommended. If you have read back protection of the code region 0, code in code region 1 won&amp;#39;t be able to read the code in region 0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But if you don&amp;#39;t have read back protection, I think it should still work. S130 and the bootloader in SDK v12 doesn&amp;#39;t use CLENR0 to jump to the bootloader.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What you would need to test is to test the application first, just test it the new softdevice and the chip with wrong CLENR0 , no bootloader, to see if it can operate.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then you can try to test with the bootloader. If you still have the issue, you would need to check what doesn&amp;#39;t work. If&amp;nbsp;it stuck at the bootloader, or it crash when in the application, or if it&amp;#39;s the softdevice doesn&amp;#39;t function properly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can also test to update a very simple application, just blinking an LED, to make sure the bootloader can receive the image and switch to the application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from SD130 v1.0.0 to SD130 v2.0.3 on nRF51822 with CLENR0 set</title><link>https://devzone.nordicsemi.com/thread/137737?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 15:45:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aefd4b94-a069-4222-b030-e2188b32faae</guid><dc:creator>Will Dimmit</dc:creator><description>&lt;p&gt;To anyone else who runs across this; it can be done, but it requires:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Relocating the application to 0x1c000 from the default 0x1b000&lt;/li&gt;
&lt;li&gt;Redefining MAIN_APPLICATION_START_ADDR to 0x1c000&lt;/li&gt;
&lt;li&gt;Redefining CODE_REGION_1_START to 0x1c000&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;With these changes, DFU works normally - you just lose those pages of flash between 0x1b000 and 0x1c000.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Will&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from SD130 v1.0.0 to SD130 v2.0.3 on nRF51822 with CLENR0 set</title><link>https://devzone.nordicsemi.com/thread/137528?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 17:38:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bcf6f30-d849-416d-a28d-871b53473926</guid><dc:creator>Will Dimmit</dc:creator><description>&lt;p&gt;*Should be SD130 v2.0.1 in the above description&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>