<?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>Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18188/unable-to-dfu-bootloader-nrf52</link><description>In order to perform dfu to softdevice S132 v3 sdk12 (secure bootloader) from sdk11 softdevice S132 v2 (legacy bootloader).I&amp;#39;ve change the legacy bootloader as it it says here:
 devzone.nordicsemi.com/.../ 
 The &amp;quot;fix_legacy_bootloader&amp;quot; works fine if</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Dec 2016 10:11:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18188/unable-to-dfu-bootloader-nrf52" /><item><title>RE: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70223?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 10:11:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b30abd52-f5f0-48fa-97d6-deb217668990</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Great! Im happy to help :) I would appreciate if you could mark the answer as correct by clicking the checkmark in the circle to the left of the answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70222?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 10:08:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b8cfcd6-c0e7-4c01-85cd-6fd67f3cac9b</guid><dc:creator>JosPasAl</dc:creator><description>&lt;p&gt;the problem it&amp;#39;s solved. I create a new image with the sofdecive S132V2.0.0 and the fixed legacy bootloader. I update the device with it and then dfu the S132V3.0.0+secure bootloader. Now I can update the sdk12.1 application developed.&lt;/p&gt;
&lt;p&gt;Thanks a lot for your time Bjørn Spockeli!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70221?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 09:14:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77512b02-7a78-4402-9504-763d9f56c493</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Ok, are you sure that the DFU transfer is completed, i.e. reaches 100%? Looking at the hex_dump I can see that the image in the swap area is only about 14-15kB and if the DFU was successful then it should be 24kb+112kB = 136kB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70220?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 08:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2bc88eb-d084-43fa-be54-8b33ed220214</guid><dc:creator>JosPasAl</dc:creator><description>&lt;p&gt;I&amp;#39;ve already attached it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70219?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 07:39:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c0463d6-4533-4085-a16b-fbab62272402</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Ok, could you read out the flash i.e.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog -f nrf52 --memread 0x00000000 --n 524288 &amp;gt;&amp;gt; nrf52_hexdump.txt
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;after the DFU of the Secure Bootloader and the S132 v3.0.0 SoftDevice? (Please attach it to your question)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70218?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 15:56:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0512262-dafd-4cd0-af09-31411c9d50dc</guid><dc:creator>JosPasAl</dc:creator><description>&lt;p&gt;I tried with the new dfu_dual_bank.c in an fresh example of the legacy bootloader and after dfu it I can see the device. But now, when I tried to dfu  the secure bootloader and SD132 v3.0.0. It happens the same as before when tried to update the fix legacy bootloader. The dfu process finishs properly but then I cannot see the device anymore.&lt;/p&gt;
&lt;p&gt;The secure bootloader and SD132 v3.0.0. image is generated as follows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfutil dfu genpkg out.zip --softdevice XXX.hex --bootloader YYY.hex --application-version 0xFFFFFFFF --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: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70217?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 14:59:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e53d3f68-6a54-4fff-829d-154479b5f13d</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Please see this &lt;a href="https://devzone.nordicsemi.com/question/105922/dfu-updating-from-legacysdk-v1100-bootloader-to-securesdk-v12x0-bootloader/?answer=105925#post-id-105925"&gt;post&lt;/a&gt;. It explains the necessary changes that must be done to the lagacy bootloader in order to update to the new Secure bootloader on the nRF52.&lt;/p&gt;
&lt;p&gt;Best regards
Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70216?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 13:34:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf69a38b-b56d-4160-b159-428bcaea8af3</guid><dc:creator>JosPasAl</dc:creator><description>&lt;p&gt;Yes, that&amp;#39;s correct!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70215?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 13:29:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a029f561-3235-4f40-95cf-ab72090b984e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I apologize for the confusion, for some reason I thought you were using the nRF51. Ok, so if you flash the fixed legacy bootloader(start address 0x78000) with a programmer then you&amp;#39;re able to update from the Legacy to the Secure bootloader? If you try to update the unfixed legacy bootloader(start address 0x7A000) to the fixed legacy bootloader(start address 0x78000) then the fixed legacy bootloader will not start after the DFU? Is this correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70214?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 13:04:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e479991b-24a6-4f29-8a1a-2b3e20de5375</guid><dc:creator>JosPasAl</dc:creator><description>&lt;p&gt;But I&amp;#39;m using the nrf52 as it says in the question title. I thing I dind&amp;#39;t explained well.&lt;/p&gt;
&lt;p&gt;The problem lays out when I tried to update with dfu from legacy bootloader with start address at 0x7A000 to fix legacy bootloader with start address at 0x78000. If I flash directly the fixed legacy bootloader with start address at 0x78000 with a programmer, I&amp;#39;m able to afterwards update to the secure bootloader adn SD132 v3.0.0.&lt;/p&gt;
&lt;p&gt;However that&amp;#39;s not possible If I tried to update thought dfu the fixed legacy bootloader. After the update if finished (it doesn&amp;#39;t give any error) I&amp;#39;m not able to see the device in the dfu menu in the nRF toolbox app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70213?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 12:54:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2509ca3-598e-48ff-a06a-0e5f28274ed7</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;That is not possible with the nRF51. It is only possible to update from the legacy bootloader to the secure bootloader if the legacy bootloader was flashed to the nRF51 device with a start address at 0x78000 using a programmer.
This is because the bootloader start address is written to the UICR register and they cannot be altered without erasing the entire chip and then reprogramming it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70212?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 12:45:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c05bd61f-e747-49f1-9a37-e03e794cf185</guid><dc:creator>JosPasAl</dc:creator><description>&lt;p&gt;Yes, just like that to after could update to  S132 v3.0.0 and Secure Bootloader&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70211?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 12:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9636edfe-8cdd-4f87-a791-1f3230ad1d6a</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Are you trying to update from an &amp;quot;unfixed&amp;quot; Legacy bootloader that starts at 0x7A000 to a &amp;quot;fixed&amp;quot; bootloader that starts at 0x78000?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70209?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 12:18:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fc0e24a-9dad-454b-ab61-099ff266927c</guid><dc:creator>JosPasAl</dc:creator><description>&lt;p&gt;By failed DFU you mean after dfu the &amp;quot;fix_legacy_bootloader.zip&amp;quot; or after flash the .hex with the programmer?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;
I create the S132 v3.0.0+Secure Bootloader firmware image, it was like that:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfutil dfu genpkg out.zip --softdevice XXX.hex --bootloader YYY.hex --application-version 0xFFFFFFFF --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: Unable to dfu bootloader nrf52</title><link>https://devzone.nordicsemi.com/thread/70210?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 11:56:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1011715-acf5-4ff8-8288-e400e91509a7</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Could you read out the flash after the failed DFU using the following command&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog -f nrf52 --memread 0x00000000 --n 524288 &amp;gt;&amp;gt; nrf52_hexdump.txt
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and attach the nrf52_hexdump.txt file to the question?&lt;/p&gt;
&lt;p&gt;Could you also post the command you used to create the S132 v3.0.0+Secure Bootloader firmware image?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>