<?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>DFU bootloader not getting along with softdevice and the app</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59839/dfu-bootloader-not-getting-along-with-softdevice-and-the-app</link><description>I am having trouble with the DFU/bootloader. I have built a board using the nRF52832 chip which I can program using SES using JLink connection, using SDK 16 and s132. I now want to be able to update my app with DFU. 
 I am able to flash the bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Apr 2020 09:21:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59839/dfu-bootloader-not-getting-along-with-softdevice-and-the-app" /><item><title>RE: DFU bootloader not getting along with softdevice and the app</title><link>https://devzone.nordicsemi.com/thread/244366?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 09:21:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02c54e15-62ba-479c-b4a7-14ac6d1b7ef0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Meme,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry for late response. I was on Easter vacation.&amp;nbsp;&lt;br /&gt;To rule out any issue with your app, could you try updating the default hrs example or a blinky example ?&amp;nbsp;&lt;br /&gt;Please make sure the app works fine when you simply flash it with the softdevice (no bootloader) before testing.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU bootloader not getting along with softdevice and the app</title><link>https://devzone.nordicsemi.com/thread/243466?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 20:26:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fe8a5df-43bf-42b1-9c72-209efa861ae2</guid><dc:creator>meme</dc:creator><description>&lt;p&gt;Thanks Hung Bui. &amp;nbsp;Yes, I already read in implemented&amp;nbsp;your excellent tutorial to get to this stage. &amp;nbsp;It is well written and I followed it fully.&lt;/p&gt;
&lt;p&gt;I tried the following based on your suggestions:&lt;/p&gt;
&lt;p&gt;- erased the device fully, then flashed the bootloader from V16. &amp;nbsp;The device reboots into DFU mode and advertises as dfutarg.&lt;/p&gt;
&lt;p&gt;- I used DFU in the iPhone app to then just flash the app. &amp;nbsp;The app uploads without any error but the app fails to run.&lt;/p&gt;
&lt;p&gt;- I then erased everything, put in the bootloader, then DFU&amp;#39;d the soft device (s132) and the device rebooted into bootloader mode&lt;/p&gt;
&lt;p&gt;- I then DFU&amp;#39;d the app alone and the headset reboots but the app does not run. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;For all the above I set the hw-version to 52. &amp;nbsp;In the sdk_config.h file of the bootloader example I am using this is set to 34; that&amp;#39;s why I originally used 34 in the nrfutil task. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Perhaps what is wrong is that the destination address of my app, or SD are in error now that I have a bootloader loaded. &amp;nbsp;Can you explain how these destinations are chosen, or where I can inspect them? &amp;nbsp;Are they the prefixes in the .hex files?&lt;/p&gt;
&lt;p&gt;Thank you for your time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU bootloader not getting along with softdevice and the app</title><link>https://devzone.nordicsemi.com/thread/243412?ContentTypeID=1</link><pubDate>Fri, 03 Apr 2020 13:24:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1579ab56-70b5-4a5c-8c8e-55be3d74a852</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Meme,&lt;/p&gt;
&lt;p&gt;Have you tried to test DFU just the app first before testing with app+softdevice. Would DFU only app works ?&amp;nbsp;&lt;br /&gt;I assume when you test DFU softdevice+app you were updating the same softdevice ?&amp;nbsp;&lt;br /&gt;Why did you use hw-version 34 ? By default the hw-version would be either 52 (nRF52) or 51 (nRF51).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s possible to debug the bootloader by removing the optimization , set it to 0. But you would need to change the start address of your bootloader to move it down to make more space for it (make sure you do an erase all before re-testing)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I have a step by step guide here for DFU, maybe you can have a look ?&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>