<?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>Problems with OTA DFU in a 128kb chip</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3925/problems-with-ota-dfu-in-a-128kb-chip</link><description>Hi 
 My aim is to be able to update the application code OTA in a 128kb chip (version nRF51822 QFABB0). First, I want to use the nordic original code to discard any other issue (SDK 6.1.0.0). I am going to explain in step by step guide what I&amp;#39;ve been</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Oct 2014 09:02:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3925/problems-with-ota-dfu-in-a-128kb-chip" /><item><title>RE: Problems with OTA DFU in a 128kb chip</title><link>https://devzone.nordicsemi.com/thread/14125?ContentTypeID=1</link><pubDate>Thu, 30 Oct 2014 09:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09b70d1b-1309-44db-a49a-2dd3ecf554dd</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;@Michael, I would ask yo to open a new case here on DevZone with your setup and questions. Include chip revisions, SDK versions , which softdevice and other tools you&amp;#39;re using. We try to keep the forum to one poster and avoid multiple questionnaires in one case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with OTA DFU in a 128kb chip</title><link>https://devzone.nordicsemi.com/thread/14124?ContentTypeID=1</link><pubDate>Wed, 22 Oct 2014 22:43:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df88dd77-f947-4f33-8a19-13dc9c3494c3</guid><dc:creator>Michael Gauland</dc:creator><description>&lt;p&gt;I haven&amp;#39;t been able to get this to work on the QFAB--when I try to install it, either with nrfjprog or the MCP, I am told:&lt;/p&gt;
&lt;p&gt;ERROR: Hex file(s) contain addresses outside the code, RAM and UICR areas.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with OTA DFU in a 128kb chip</title><link>https://devzone.nordicsemi.com/thread/14126?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2014 16:25:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a00af9f9-a630-47e8-b9b9-1f59c9e79170</guid><dc:creator>Ignacio Lopez</dc:creator><description>&lt;p&gt;Thanks for your help Stefan. I have modified the size in the bootloader project to 0x3800(14kb) instead of 0x6000.&lt;/p&gt;
&lt;p&gt;I have flashed the s110_nrf51822_7.0.0_softdevice.hex and also the bootloader from the last project you &lt;a href="https://github.com/NordicSemiconductor/nRF51-SingleBankDFU-BLE/tree/SDKv6.0.0_S110v7.0.0_nRF51822QFAB"&gt;sent&lt;/a&gt;. I have manage to upload the application code ble_app_hrs_dfu.hex through the nrFToolbox for Android and then it works. The device starts advertising as the app code &amp;#39;Nordic_HRM&amp;#39;. That&amp;#39;s good progress, although I have tried to carry out another OTA DFU after the first one and the nRFToolbox prompted a &amp;#39;GATT 133&amp;#39; error. After trying the second OTA DFU, the device does not advertise neither as a &amp;#39;DfuTarg&amp;#39; nor as a &amp;#39;Nordic_HRM&amp;#39;. If I power cycle the board it starts advertising again as &amp;#39;Nordic_HRM&amp;#39; and trying another OTA DFU will prompt the same error.&lt;/p&gt;
&lt;p&gt;Although I know the single-bank bootloader wont work with the DFU MCP. I wanted to see the DFU steps and  I can see the error comes after sending the 0x01 command to the DFU control point. It seems that the bootloader cannot handle a DFU reset.&lt;/p&gt;
&lt;p&gt;Could you test this on your side? Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with OTA DFU in a 128kb chip</title><link>https://devzone.nordicsemi.com/thread/14123?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2014 13:06:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0975bd6b-f49a-457a-8143-4bafa25274a6</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Ignacio&lt;/p&gt;
&lt;p&gt;I have uploaded a new single-bank bootloader variant that should be compatible with the QFAB 128kB chip. The link to it is &lt;a href="https://github.com/NordicSemiconductor/nRF51-SingleBankDFU-BLE/tree/SDKv6.0.0_S110v7.0.0_nRF51822QFAB"&gt;here&lt;/a&gt;. I have only tested it on QFAA 256kB hardware, so please test the bootloader on your QFAB chip and give your feedback to this thread. The bootloader is compressed as much as possible and it occupies 14kB on the chip, leaving 26kB free for the application.&lt;/p&gt;
&lt;p&gt;I have uploaded application code with nRFToolbox for Android. As the Readme on Github says, you can not currently use the DFU function in Master Control Panel on Win PC for the application upload.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 16.10.2014&lt;/strong&gt;
I have tested the bootloader to work on 128kB nRF51822-QFAB variant. I found out that 1 page of the application space is reserved for PStorage swap area and 1 page additionally is reserved by default for bonding information, so the application code maximum size is 24kB.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 23.10.2014&lt;/strong&gt;
The &lt;a href="https://github.com/NordicSemiconductor/nRF51-SingleBankDFU-BLE/tree/SDKv6.0.0_S110v7.0.0_nRF51822QFAB"&gt;QFAB bootloader&lt;/a&gt; is tested with Android nRFToolbox v1.10.0 and IOS Toolbox v1.3.  It does not work with Master Control Panel provided for Windows, at least not yet with the latest version 3.7.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with OTA DFU in a 128kb chip</title><link>https://devzone.nordicsemi.com/thread/14121?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2014 12:07:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:618d922e-6176-4cb0-8d5f-2170aba46f17</guid><dc:creator>Ignacio Lopez</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. It seems that the single bank code takes 13.29kb and the bootloader coming with the SDK 6.1.0 takes 14.42kb. It is an improvement although the code is ready to work with a 256kb chip. Could you send the single bank bootloader and the hrm application code ready to work with the 128kb version? That would be very helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with OTA DFU in a 128kb chip</title><link>https://devzone.nordicsemi.com/thread/14120?ContentTypeID=1</link><pubDate>Tue, 30 Sep 2014 15:50:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:507e7e36-7d70-4a8d-a10b-90105405c304</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Have you looked at &lt;a href="https://github.com/NordicSemiconductor/nRF51-SingleBankDFU-BLE"&gt;this single bank code&lt;/a&gt;? I think it would fit better to 128kB flash chip. However, it is ported to the SDK v5.2.0 and SD 6.0.0. The new S110 softdevice v7.0.0 is 88 kB , so there is only 40 kB available for bootloader, application and application data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with OTA DFU in a 128kb chip</title><link>https://devzone.nordicsemi.com/thread/14122?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 11:15:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:010844f6-6600-416c-87b5-ad9b8f630f9e</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/17037/issues-with-dfu-for-sd-v7/?comment=17157#comment-17157"&gt;Please see the comments in this thread.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It sounds like you are using the 128 kB version of the nRF51822 and this does not support softdevice update and the bootloader project would have to be moved so that it fits within the memory space of the 128 kB. By default it is set up to run on the 256 kB version and hence will be written to memory outside what&amp;#39;s available on your chip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems with OTA DFU in a 128kb chip</title><link>https://devzone.nordicsemi.com/thread/14119?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 10:18:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76d1b172-7776-4907-88b4-a3f3284c2306</guid><dc:creator>Nikita</dc:creator><description>&lt;p&gt;Describe all your steps in more detail.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>