<?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>Bootloader starting never ends</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5555/bootloader-starting-never-ends</link><description>When I try to update the application on the nRF51422 chip over DFU, I have trouble with the bootloader. 
 I use the nRF Toolbox app to do the firmware update. I can select the nRF51422 Device and my File which I want to load on the Chip. 
 When I click</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Feb 2015 09:58:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5555/bootloader-starting-never-ends" /><item><title>RE: Bootloader starting never ends</title><link>https://devzone.nordicsemi.com/thread/19448?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2015 09:58:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eafcf205-8d87-4b42-9e45-f944b56cc41b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;That&amp;#39;s good to know. If the issue comes back, let me know. Could you accept the answer for now or create your own answer to close the case ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader starting never ends</title><link>https://devzone.nordicsemi.com/thread/19447?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2015 09:43:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:707dc464-3a56-4a2d-9942-072387b3ed6d</guid><dc:creator>Inspectron</dc:creator><description>&lt;p&gt;Yes it works now. I just build the project new and then it worked. I didnt change anything just a rebuild fixed the problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader starting never ends</title><link>https://devzone.nordicsemi.com/thread/19446?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2015 09:35:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:727f964a-ef24-4298-9401-5a5ab4150d38</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I got this from you in my inbox &amp;quot;Strange. Now it works. I dont know why...But if I find it out I will let you know what the problem was&amp;quot;
I thought that the bootloader worked for you at some point ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader starting never ends</title><link>https://devzone.nordicsemi.com/thread/19445?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2015 09:33:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:928b7bd8-3240-4af6-8de8-4fc71fe856e7</guid><dc:creator>Inspectron</dc:creator><description>&lt;p&gt;Update for what? The Log?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader starting never ends</title><link>https://devzone.nordicsemi.com/thread/19444?ContentTypeID=1</link><pubDate>Wed, 18 Feb 2015 09:31:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aac19594-399d-4646-b77f-85859628d2a7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Inspectron: I heard from your message that you had it working. Could you have an update  ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader starting never ends</title><link>https://devzone.nordicsemi.com/thread/19443?ContentTypeID=1</link><pubDate>Mon, 16 Feb 2015 13:01:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59d3aae1-4127-4c7c-9ec5-8b25d6cacdd6</guid><dc:creator>Inspectron</dc:creator><description>&lt;p&gt;there is only one difference between these 2 application: The output pins are diffrent. I did remove a few #ifdef BLE_DFU_APP_SUPPORT but I think that this cant be the reason for this error. Well its not realy an error because it doesnt appear an error message. It just starts the bootloader but nothing happens anymore. It loads and loads until I cancel the upload&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader starting never ends</title><link>https://devzone.nordicsemi.com/thread/19442?ContentTypeID=1</link><pubDate>Mon, 16 Feb 2015 12:51:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d217501-9a2e-41e7-a3e8-4dc6f33f581f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Inspectron: Is there any difference between the working application and your application ?&lt;/p&gt;
&lt;p&gt;I think you would need to start debug the bootloader to see where it stuck. I assume that you don&amp;#39;t see the bootloader advertising after you write 0x01 to the DFU control point ?  To debug with the bootloader you would need to remove the optimization (set optimization to 0), remove Cross-Module Optimization. Then increase the size of the bootloader, move the address lower maybe to 0x3A000 and update BOOTLOADER_REGION_START to match with the updated address. Remember to completely erase the chip before you program the new bootloader. Then you can debug and set breakpoint, etc.&lt;/p&gt;
&lt;p&gt;If it does advertise, you can try to record a sniffer trace to see what happens when the DFU app connect to the bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader starting never ends</title><link>https://devzone.nordicsemi.com/thread/19441?ContentTypeID=1</link><pubDate>Mon, 16 Feb 2015 12:17:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5761132d-ac54-4636-bcad-6341863c7561</guid><dc:creator>Inspectron</dc:creator><description>&lt;p&gt;I know that the device will disconnect when it switchs to bootloader mode. The Problem is when it start the booatloader it never ends to load. I have also other applilcation which works fine with the DFU service and the bootloader start without problems. But in this application it doesnt want to work. And I can not find out what is missing or wrong with the DFU part.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader starting never ends</title><link>https://devzone.nordicsemi.com/thread/19440?ContentTypeID=1</link><pubDate>Mon, 16 Feb 2015 11:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15d74418-830b-4dcd-8f74-8c8155487e74</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Inspectron,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s normal to have the device disconnected because it&amp;#39;s switched to bootloader mode after you write 0x01 to the DFU control point. After that you supposed to reconnect to the DFU bootloader and do the firmware update.&lt;/p&gt;
&lt;p&gt;If you use Master Control Panel (or nRFToolbox), when you connect to your application you don&amp;#39;t have to write the DFU control point manually, the app will do that for you. You just have to select the firmware you want to update and the app will write 0x01 to control point then wait for the bootloader to start, then connect to bootloader and update the firmware.&lt;/p&gt;
&lt;p&gt;I just tested with the bootloader and the ble_app_hrs_dfu app from SDK v6.1 and it worked fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader starting never ends</title><link>https://devzone.nordicsemi.com/thread/19439?ContentTypeID=1</link><pubDate>Mon, 16 Feb 2015 06:53:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8332aa92-d8f5-4ebc-92bd-d972e153bd34</guid><dc:creator>Inspectron</dc:creator><description>&lt;p&gt;Is the code for the DFU part right? Because I already worked with the DFU service and never had this problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader starting never ends</title><link>https://devzone.nordicsemi.com/thread/19438?ContentTypeID=1</link><pubDate>Fri, 13 Feb 2015 12:38:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2e9bc77-005a-4809-99f2-b5776c51ef52</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Inspectron: Could you use the nRFMaster Control Panel app, do DFU and capture a log (swipe right) ?
A sniffer trace would also be very useful. Have you modified the bootloader example ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader starting never ends</title><link>https://devzone.nordicsemi.com/thread/19437?ContentTypeID=1</link><pubDate>Fri, 13 Feb 2015 12:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce243730-6312-47ea-943b-e1791ff9cc23</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Inspectron,&lt;/p&gt;
&lt;p&gt;Please let me know your nRFToolbox app version and DFU&amp;#39;s SDK version ? If you use new DFU from SDK v7.x you would need to update the nRFToolbox app to the latest version v1.5&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>