<?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>Disconnect while download .zip file from bootloader in nRF51822...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55435/disconnect-while-download-zip-file-from-bootloader-in-nrf51822</link><description>Hello, 
 I am working on nRF51822 using SDK 12.3.0 in IAR embedded workbench. 
 I added dfu service and one custom service in my application. 
 my problem is when I download .zip file through bootloader at that time code is not getting download successfully</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Dec 2019 11:58:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55435/disconnect-while-download-zip-file-from-bootloader-in-nrf51822" /><item><title>RE: Disconnect while download .zip file from bootloader in nRF51822...</title><link>https://devzone.nordicsemi.com/thread/225614?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 11:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f82f61fe-5bc7-4ee9-99de-1ecd0b933074</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What error message do you see if you try using this address? Is your application using the SoftDevice or not?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, you should be able to implement DFU/bootloader in your chip. As explained in my first reply, the bootloader address should be set at &amp;quot;the top&amp;quot; of your RAM/Flash memory in order to give as much space as possible for the application (and SoftDevice if used).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect while download .zip file from bootloader in nRF51822...</title><link>https://devzone.nordicsemi.com/thread/225529?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 05:49:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfb38d43-041b-489e-9a89-3506d6ac12bb</guid><dc:creator>Urvisha Andani</dc:creator><description>[quote userid="75734" url="~/f/nordic-q-a/55435/disconnect-while-download-zip-file-from-bootloader-in-nrf51822/225141"]Is your application using a SoftDevice? If so, please follow the &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;RAM/Flash adjustment guide&lt;/a&gt; to see what start addresses you should use.&amp;nbsp;The guide also explains what to set these values for if you&amp;#39;re using just an MBR or nothing at all in addition to your application as well.[/quote]
&lt;p&gt;In this, bootloader RAM address is not mention so I am not able to download bootloader in my device.&lt;/p&gt;
&lt;p&gt;I am also try below starting address mention in image,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img alt=" " height="250" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8688.RAM.png" width="443" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But with this address I am not able to run application in my device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So my question is, can I implement DFU in nRF51822-QF-AAFQ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect while download .zip file from bootloader in nRF51822...</title><link>https://devzone.nordicsemi.com/thread/225141?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2019 12:01:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c98ffb0-de14-43a5-9ee8-3b25dd98eb61</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Is your application using a SoftDevice? If so, please follow the &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;RAM/Flash adjustment guide&lt;/a&gt; to see what start addresses you should use.&amp;nbsp;The guide also explains what to set these values for if you&amp;#39;re using just an MBR or nothing at all in addition to your application as well.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect while download .zip file from bootloader in nRF51822...</title><link>https://devzone.nordicsemi.com/thread/225137?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2019 11:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97068dcc-35a6-4a06-bd37-ef915218fe7d</guid><dc:creator>Urvisha Andani</dc:creator><description>&lt;p&gt;Thanks for reply.&lt;/p&gt;
&lt;p&gt;I changed Starting and ending RAM address in bootloader code as shown below which is discus&amp;nbsp;&lt;strong&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/47100/debugging-dfu-in-iar---sdk12-3-0" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ROM start: 0x3ac00 ROM end: 0x3fbff&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;RAM start: 0x20002500 RAM end: 0x20004000&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Can you suggest Starting and ending address for application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disconnect while download .zip file from bootloader in nRF51822...</title><link>https://devzone.nordicsemi.com/thread/224731?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2019 12:39:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2db0a8d-f538-4340-ac38-b4172ed8ce9e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You should set the application RAM and ROM end addresses to end before the RAM and ROM start addresses of your bootloader. It seems here like the addresses are overlapping. RAM and ROM start is best to set at a start address = RAM total size - RAM bootloader size, and ROM total size -&amp;nbsp; ROM bootloader size. Then you should make sure that the application RAM and ROM end ends earlier than the bootloader&amp;#39;s start addresses.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>