<?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>only update bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15781/only-update-bootloader</link><description>Hi,I&amp;#39;am try to update the bootloader. But it stop at 1%. I don&amp;#39;t what I miss. 
 james_boot.hex 
 james_bootloader.zip 
 Log 2016-09-06 11_36_54.txt 
 Dfu_bootloader_via_hex.txt 
 Dfu_application_via_zip.txt 
 james_bootloader_test.hex</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Sep 2016 07:36:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15781/only-update-bootloader" /><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60236?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2016 07:36:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4937890f-a4a1-4594-8e5c-6682ed672c97</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@James: Have you followed the guide I mentioned above ?
Which is the start address of your bootloader ? Could you attach your .zip after you modified ? You would need to movie down from address 0x3C000 to for example 0x3B000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60235?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2016 02:31:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8794dc5-7250-409d-8658-d6ef9ee992f5</guid><dc:creator>james</dc:creator><description>&lt;p&gt;Hi Hung,the size of zip alway  exceeds  the size limit of dfu ,no matter how much size I increase. I don&amp;#39;t know how to do with it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60233?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 13:54:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45ed7f91-3153-4e07-b710-4daff6819cbb</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@James: The problem is that the binary doesn&amp;#39;t have address. So if you have some code at address 0x3C000 and then some code at address 0x3FC00 (the bootloader setting) then the binary will be from 0x3C000 to 0x3FCFF.
If you change the start address to 0x3A000 for example the binary file will be increased from 0x3A000 to 0x3FCFF. It&amp;#39;s doesn&amp;#39;t matter if you have some blank pages in between, they will be 0xFFFFFF in the binary file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60234?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 08:05:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36c5cbc3-d971-4517-8877-0d3597c3c747</guid><dc:creator>james</dc:creator><description>&lt;p&gt;Hi Hung,
I had only modified the size configuration, and I hadn&amp;#39;t modified the content of hex.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60237?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 07:47:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e9d004e-ab37-4b5b-b690-a7df9542c1b8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;The zip contains the bootloader, I think it&amp;#39;s pretty straight forward that you increase the size of the hex file of the bootloader, you increase the .zip file&amp;#39;s size.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60229?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2016 07:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e271a37-83d0-4998-b96f-0465fa27fa14</guid><dc:creator>james</dc:creator><description>&lt;p&gt;Hi Hung,I had followed the guide.But I wonder why the size of zip will increase ,when I increase the size of bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60228?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2016 06:21:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3511045-f730-4c8b-bced-f80db24c5a4d</guid><dc:creator>james</dc:creator><description>&lt;p&gt;Thanks,Hung.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60232?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2016 07:26:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0ff3225-2ff9-4c55-a033-131cbc2404bf</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi James,
Which size went beyond the limit ? The size of the bootloader or the size of the image you want to update ?
If you want to increase the allowed size of the bootloader, please follow &lt;a href="https://devzone.nordicsemi.com/question/18039/bootloader-debugging/?answer=18051#post-id-18051"&gt;this guide&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60231?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2016 02:51:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78d0780a-d468-4e16-a7f0-60d190eb5532</guid><dc:creator>james</dc:creator><description>&lt;p&gt;Hi Hung,
I want to use the single bank, how should I do.I modify the double bank to single bank ,but the size  beyonds the limit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60230?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2016 01:10:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ecc4ed8-304b-4a5c-8c14-5aef595f7e95</guid><dc:creator>james</dc:creator><description>&lt;p&gt;Thank you, Hung.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60227?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2016 13:54:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:662b58f8-e840-4c15-a096-f269f7c783a8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi James,&lt;/p&gt;
&lt;p&gt;Thanks for the files. Looking at the files I can see that it exceed the maximum size of the bootloader. In your case your bootloader has the size of 0x4000 (16384) when the maximum size of the bootloader should only be &lt;code&gt;DFU_BL_IMAGE_MAX_SIZE (BOOTLOADER_SETTINGS_ADDRESS - BOOTLOADER_REGION_START)&lt;/code&gt;  In SDK v9, by default it&amp;#39;s 0x3C00. (1 page is used for bootloader setting)&lt;/p&gt;
&lt;p&gt;Which modification you added in your bootloader?&lt;/p&gt;
&lt;p&gt;If you need to extend the size of the bootloader, you would need to move it down from address 0x3C000 to make more room for the bootloader (when you would need to modify BOOTLOADER_REGION_START define in dfu_types.h accordingly)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60226?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2016 01:17:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d85159d-50c7-4c93-9c1e-62c648239130</guid><dc:creator>james</dc:creator><description>&lt;p&gt;Hi Hung,
I had uploader the hex and zip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60223?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2016 11:51:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7f14285-96d2-4497-841c-325ab45159e9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi James,&lt;/p&gt;
&lt;p&gt;The log tells that the bootloader refused because the size is too big.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;E	11:36:25.080	[DFU] Remote DFU error: REMOTE DFU DATA SIZE EXCEEDS LIMIT
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I tried your james_bootloader_test.hex, but it&amp;#39;s not the bootloader, it&amp;#39;s a normal BLE UART application.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m kind of lost on what you are planing to do. Please re-cap what are you trying to do, what is the problem. And provide the .zip file you are trying to update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60224?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2016 03:48:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9853bdec-d007-4cf1-8ab9-6b6f3115cf49</guid><dc:creator>james</dc:creator><description>&lt;p&gt;Hi Hung,
I&amp;#39;m sorry. I had a little busy last week. I had tried it today,but it still fail.
I had uploaded the log.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60220?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2016 08:42:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c265899-8856-4a5c-9243-aff7e92490e3</guid><dc:creator>james</dc:creator><description>&lt;p&gt;thanks Hung, I will try it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60222?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2016 07:54:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa8772fe-2b80-4de3-8edd-09a8bd4ccd60</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi James,&lt;/p&gt;
&lt;p&gt;Sorry that it&amp;#39;s a little bit hidden. We are gradually replacing Master Control Panel with nRF Connect.
You can find it &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF51822"&gt;here&lt;/a&gt; in the download tab , it&amp;#39;s called with acronym nRF-MCP&lt;/p&gt;
&lt;p&gt;Still, please update with a screenshot when the error occurs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60221?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2016 05:12:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b76f2083-a3fa-4b7e-87fc-aabd00b71237</guid><dc:creator>james</dc:creator><description>&lt;p&gt;Hung: Where can I download master control panel? I had search it on the Nordic websize, but I didn&amp;#39;t find it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60219?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2016 13:06:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79f4a316-fc68-45f8-a62d-baa52e4a2ab1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@James: the current version is v3.10 please use that. And please take a screenshot when you see the error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60225?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2016 01:09:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ea050e5-d362-4cf6-9a51-5d35b60e7d6e</guid><dc:creator>james</dc:creator><description>&lt;p&gt;Sorry so long to get back to you.I use version 3.8.0.7.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60218?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2016 08:57:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20067c30-5a63-4815-bb9c-cc26727e898d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@james: please take a screenshot of the error . Which MasterControlPanel version are you using ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60217?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2016 01:25:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e87d065-49cc-4850-9764-df2954fef2f2</guid><dc:creator>james</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I had tried the command,but it report invalid command.I also try the command like this:
nrf.exe dfu genpkg --dev-type 0xFFFF --dev-revision 0xFFFF --application-version 0xFFFF --sd-req 0xfffe --application XXX.hex XXX.zip.&lt;/p&gt;
&lt;p&gt;But it still reports invalid command. Could you tell me where I can download the nrfutil.exe?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60216?ContentTypeID=1</link><pubDate>Mon, 22 Aug 2016 11:39:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af739ca6-dbe0-434a-bc46-d03a5f100481</guid><dc:creator>james</dc:creator><description>&lt;p&gt;Thanks Hung,
I will try it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60215?ContentTypeID=1</link><pubDate>Mon, 22 Aug 2016 11:34:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b04f9dcc-5222-4a1e-be69-b979febe6214</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes, you can use nrfutil.exe (or nrf.exe for earlier MasterControlPanel version) to generate .zip file from the bootloader.hex. It&amp;#39;s pretty complex to make the .dat and it&amp;#39;s not recommended.
So I think it&amp;#39;s better to let the nrfutil.exe do the task.
You can use a command like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfutil.exe dfu genpkg bootloader.zip --bootloader yourbootloader.hex --application-version 0xffff --dev-revision 0xffff --dev-type 0xffff --sd-req 0xfffe
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60214?ContentTypeID=1</link><pubDate>Mon, 22 Aug 2016 08:25:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cabde23-101c-4815-8c25-c71e9c74a19e</guid><dc:creator>james</dc:creator><description>&lt;p&gt;Hi Hung:
I&amp;#39;m sorry.I had read the link,but I can&amp;#39;t follow it.Where can I find the .dat file? And I can use the nrfutil.exe to change the bootloader.hex into Zip file? I use the C:\Program Files\Nordic Semiconductor\Master Control Panel\3.8.0.7\nrf to change the application.hex into Zip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: only update bootloader</title><link>https://devzone.nordicsemi.com/thread/60213?ContentTypeID=1</link><pubDate>Mon, 22 Aug 2016 07:54:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c70d940-e774-49e9-ae97-dbd02e5c52f0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi James,&lt;/p&gt;
&lt;p&gt;From SDK v7.0 the init packet is required. So you would need either to provide the .dat file (as showed in the app after you select the .hex) or you need to generate and provide the .zip file.
I would suggest to use the .zip file (can be generated by nrfutil.exe) .&lt;/p&gt;
&lt;p&gt;You can read more about different version of the DFU bootloader &lt;a href="https://devzone.nordicsemi.com/blogs/696/compatibility-between-dfu-bootloader-and-dfu-maste/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>