<?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 Porting from SDK 6.0.0 to SDK 6.1.0.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13224/dfu-bootloader-porting-from-sdk-6-0-0-to-sdk-6-1-0</link><description>Hi, 
 I want to add DFU OTA feature for my project, I use SDK 6.1.0 and S110 7.1.0, I found a sample Bootloader code for different version of SDK (SDK 6.0.0), from Github [https://github.com/NordicSemiconductor/nrf51-dfu-bootloader-for-gcc-compiler]</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Apr 2016 10:31:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13224/dfu-bootloader-porting-from-sdk-6-0-0-to-sdk-6-1-0" /><item><title>RE: DFU Bootloader Porting from SDK 6.0.0 to SDK 6.1.0.</title><link>https://devzone.nordicsemi.com/thread/50422?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2016 10:31:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e145dde-dd02-4480-8a3a-c77417c7c5ad</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Raghu,&lt;/p&gt;
&lt;p&gt;There is a chance that nRFToolbox for Android wasn&amp;#39;t made to work with hex file more than 127kB. I will check with developer. I hope everything goes fine with the .bin file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader Porting from SDK 6.0.0 to SDK 6.1.0.</title><link>https://devzone.nordicsemi.com/thread/50421?ContentTypeID=1</link><pubDate>Sat, 23 Apr 2016 05:51:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d950511-9dc5-4135-8736-15fbc9bc288c</guid><dc:creator>Raghu GS</dc:creator><description>&lt;p&gt;Thanks for the time working on that, I correctly included dfu_single_bank.c in Makefile, I was using hex file of my application, where sometimes nrf Tools Android App(Version 1.15.1) was not accepting all time, later tried with BIN files of the same project and was taking all time without fail and was uploading the application successfully, also tested with the max size of ~127KB application size, and was OK. Thanks for your assistance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader Porting from SDK 6.0.0 to SDK 6.1.0.</title><link>https://devzone.nordicsemi.com/thread/50420?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2016 12:19:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:825478d2-5aa3-4e23-893a-f64465217e02</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Raghu,&lt;/p&gt;
&lt;p&gt;I assume you have updated the makefile to include the dfu_single_bank.c instead of the dfu_dual_bank.c.
Anyway, I have tested and made a project based on the 2 examples on Github, please test and let me know if it works. The project is attached in the answer.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf51822_5F00_v6.0.0-_2D00_-GCC_5F00_Bootloader_5F00_singlebank.zip"&gt;nrf51822_v6.0.0 - GCC_Bootloader_singlebank.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader Porting from SDK 6.0.0 to SDK 6.1.0.</title><link>https://devzone.nordicsemi.com/thread/50414?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 12:45:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e959347a-a7ad-423c-a120-4b9849c40bd4</guid><dc:creator>Raghu GS</dc:creator><description>&lt;p&gt;Over flow error was due to allocating more memory of RAM in make file, I solved it, but didn&amp;#39;t help much, so I later tried to port the Dual Bank Project to Single bank by replacing the .c files from Single bank as you advised, Worked fine but not as expected, Total flash Size is 256Kb, in that
-&amp;gt;88K is for S110 (v7.1.0),
-&amp;gt;Bootloader of 40KB(altered the Bootloader Start Address to 0x00036000),
-&amp;gt;To store Bootloader settings 1 KB is allotted,
-&amp;gt;Application Data of 4KB(Assumed).
So remaining space is for Application ie, (256 - (88+40+1+5) ) which is equal to 122K, which means I can load the application of max size 122K, I have 2 application files of size(BIN File Size) 55474 bytes and 59300 bytes, 55474 bytes size file was successfully getting uploaded where the other (59300 bytes Bin file) was not. Is it that still I am using Dual Bank mode DFU, I didn&amp;#39;t include the Dual Bank c file in make file. So why the 59300 bytes Bin file didn&amp;#39;t successfully get uploaded ?, Is there anything to change in the DFU Project? or is there anything to change in the application part?.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader Porting from SDK 6.0.0 to SDK 6.1.0.</title><link>https://devzone.nordicsemi.com/thread/50419?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 08:05:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:828d058b-8d48-42de-84af-b581a786261e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Raghu,&lt;/p&gt;
&lt;p&gt;Could you explain the &amp;quot;region RAM Over flowed with stack&amp;quot; issue ? Could you take a screen shot ?&lt;/p&gt;
&lt;p&gt;Basically what you need to do is to base on the dual bank project, then use all the .c files in the bootloader-singleBankBLE project to replace the ones in dual bank project. Including the bootloader.c, bootloader_util_arm.c, dfu_single_bank.c, dfu_transport_ble.c and main.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader Porting from SDK 6.0.0 to SDK 6.1.0.</title><link>https://devzone.nordicsemi.com/thread/50418?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2016 12:06:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a432268-65c6-4737-af87-66ebd3d7db46</guid><dc:creator>Raghu GS</dc:creator><description>&lt;p&gt;Yeah I tried this before coming through Dual Bank example, Since I use Eclipse, I cant directly use the Single bank example that you have advised to, but also tried to add my own Makefile and finally made it compile and device gives an Error saying &amp;quot;region RAM Over flowed with stack&amp;quot;, so only I planned to convert the Dual Bank example to Single Bank Mode. S0, if I use the Single Bank Example how should I port it to work with GCC Compiler using Eclipse IDE ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader Porting from SDK 6.0.0 to SDK 6.1.0.</title><link>https://devzone.nordicsemi.com/thread/50417?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2016 15:52:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17a89141-430a-4bfc-b267-121143b37d7f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You can follow what I have done here: &lt;a href="https://github.com/NordicSemiconductor/nrf51-dfu-single-bank-ble"&gt;https://github.com/NordicSemiconductor/nrf51-dfu-single-bank-ble&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader Porting from SDK 6.0.0 to SDK 6.1.0.</title><link>https://devzone.nordicsemi.com/thread/50416?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2016 10:24:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa68673d-c9ca-4ba1-9de6-ca6217f0ff5d</guid><dc:creator>Raghu GS</dc:creator><description>&lt;p&gt;Thanks for the reply Hung Bui, Sorry I don&amp;#39;t have plan to change the SDK for now, But yeah I compiled the Github Example with no modification, it worked fine and changed the Make file to support PCA10001 development board, then too it went well, Now my real problem is how to port it to single Bank mode, since my application code size is relatively big. So, any procedure to be followed to make it work with Single Bank Mode?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Bootloader Porting from SDK 6.0.0 to SDK 6.1.0.</title><link>https://devzone.nordicsemi.com/thread/50415?ContentTypeID=1</link><pubDate>Fri, 15 Apr 2016 13:20:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b715f4b7-b8b3-4d52-ae6b-bbd18a16508f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Raghu,&lt;/p&gt;
&lt;p&gt;For new product development, I strongly suggest you to move to the latest SDK v11. You would need chip revision 3 to work with SDK v11 and S110 v8.0.0 or S130 v2.0.0 but that what you will have if you go to production.&lt;/p&gt;
&lt;p&gt;On newer SDK, gcc is supported natively for the bootloader. And to make single bank update work it&amp;#39;s very simple to replace the dfu_dual_bank.c with dfu_single_bank.c (it&amp;#39;s not the same if you use SDK v6.x).&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t plan to change, could you test with the github example with no modification , do you have any issue ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>