<?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 example not working</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45261/dfu-example-not-working</link><description>Hi, 
 Recently we upgraded from NRF52832 to NRF52840, and as the Development seems to come to an end, one of the last features we need is OTA capability. 
 currently I am trying to Implement DFU on my application, but I am struggeling. 
 I downloaded</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 May 2019 10:17:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45261/dfu-example-not-working" /><item><title>RE: DFU example not working</title><link>https://devzone.nordicsemi.com/thread/188504?ContentTypeID=1</link><pubDate>Wed, 22 May 2019 10:17:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd53a9bf-4175-4462-b8f5-9b876a1f9fd0</guid><dc:creator>Moritz</dc:creator><description>&lt;p&gt;Ran into the same problem and managed to resolve it quickly thanks to this answer. Shouldn&amp;#39;t the makefiles for the dfu examples be adjusted accordingly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU example not working</title><link>https://devzone.nordicsemi.com/thread/185174?ContentTypeID=1</link><pubDate>Fri, 03 May 2019 12:14:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7346b22c-888b-4dda-82b5-926ca89b7a0e</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;As mentioned &lt;a href="https://devzone.nordicsemi.com/support-private/support/228037"&gt;here&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/support-private/support/227515"&gt;here&lt;/a&gt;, nRFgo Studio is outdated and we are not working on the app anymore. Does it work to program the bootloader with nRF Connect for desktop and the programmer app?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU example not working</title><link>https://devzone.nordicsemi.com/thread/184168?ContentTypeID=1</link><pubDate>Sat, 27 Apr 2019 19:15:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d237e472-0e84-42bf-8b55-a44a76b9689b</guid><dc:creator>Keith Wakeham</dc:creator><description>&lt;p&gt;Is nrfgo going to be updated to fix this problem because right now the &amp;quot;program bootloader&amp;quot; tab just got useless.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU example not working</title><link>https://devzone.nordicsemi.com/thread/180780?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 13:11:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dff92fb3-155b-477c-9470-23e9b5958fa3</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;I was using S140 5.0.2alpha, but I have updated my main app to use S140 V6.0 and used the bootloader from SDK 15.0, now everything works as expected! :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU example not working</title><link>https://devzone.nordicsemi.com/thread/180777?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 13:08:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0be9622f-873b-4716-a80b-7acac51e9489</guid><dc:creator>Simon</dc:creator><description>[quote user="jonas.woerner"]but my application uses the alpha version of the SD140, and the bootloader uses the normal SD140.[/quote]
&lt;p&gt;Could you specify exactly what SoftDevice you are using for respectively the bootloader and the application.&amp;nbsp;When changing the SoftDevice for an application you may have to do some API related changes to your code. The migration guides can be found along with the SoftDevice after downloading it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU example not working</title><link>https://devzone.nordicsemi.com/thread/179938?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 10:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51305c73-eafc-40dc-b7c2-9e7c70803842</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;ok,&lt;/p&gt;
&lt;p&gt;I have different revisions of the nrf52840, but even the old one seems to work with the new softdevice, is that expected?&lt;/p&gt;
&lt;p&gt;I will try to use SD16.1.1 ifor future, but Im still intereset in how I can build the examples for another SD...&lt;/p&gt;
&lt;p&gt;I tried changing the FLASH origin in th elinker settings to the flash start of the corresponding softdevice, but that didnt do the trick..?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU example not working</title><link>https://devzone.nordicsemi.com/thread/179506?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 12:53:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86542e8e-36e2-4d5f-8461-6893b6447490</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;What revision of nRF52840 are you using?&amp;nbsp;What SDK are you using, and what softDevice version are you using? Check the &lt;a href="https://www.nordicsemi.com/DocLib/Content/Comp_Matrix/nRF52840/latest/COMP/nrf52840/nRF52840_ic_rev_sdk_sd_comp_matrix"&gt;Compatibility matrix&lt;/a&gt; on what to go for. If you have the newest nRF52840 I would recommend you to use SDK 15.3.0 and SoftDevice S140 v6.1.1 for both the bootloader and the application.&lt;/p&gt;
&lt;p&gt;Check out &lt;a href="https://devzone.nordicsemi.com/tutorials/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;this&lt;/a&gt; tutorial regarding adjustments of RAM&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU example not working</title><link>https://devzone.nordicsemi.com/thread/179212?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 11:57:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e3746b2-1b01-4430-881d-cc1f06877a25</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;wow, thats a really good answer, thanks!&lt;/p&gt;
&lt;p&gt;I still have some questions left though ;)&lt;/p&gt;
&lt;p&gt;in order to use the bootloader with my application, both have to be compiled for the same softdevice, but my application uses the alpha version of the SD140, and the bootloader uses the normal SD140.&lt;/p&gt;
&lt;p&gt;also, I tweaked my RAM addresses of my application to give the softdevice more ram.&lt;/p&gt;
&lt;p&gt;How can I compile the DFU bootloader with the other Softdevice and also give it more ram?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU example not working</title><link>https://devzone.nordicsemi.com/thread/178253?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 08:34:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:133379f3-8b7e-4f04-9690-b3961a416bef</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;In SDK 15.3 the bootloader start address is stored in the MBR section instead of the UICR (since UICR cannot be protected by ACL/BPROT), and that causes problem in the makefile, where the nrfjprog command &lt;em&gt;sectorerase&lt;/em&gt; is used, let me explain.&lt;/p&gt;
&lt;p&gt;If you take a look at the makefile of the BLE DFU bootloader examples, you can see that the bootloader is flashed first, and the bootloader start address is stored in the MBR section. Then the Softdevice is flashed onto the chip using nrfjprog and the sectorerase command. The problem here is that sectorerase command will erase&amp;nbsp;the bootloader start address before flashing the MBR.&lt;/p&gt;
&lt;p&gt;Some solutions are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Merge the Softdevice and the bootloader&lt;/li&gt;
&lt;li&gt;Flash it in the following manner&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;nrfjprog -f nrf52 --program s140_nrf52_6.1.0_softdevice.hex --chiperase&lt;/li&gt;
&lt;li&gt;nrfjprog -f nrf52 --program nrf52840_xxaa_s140.hex -r&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU example not working</title><link>https://devzone.nordicsemi.com/thread/178106?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2019 12:54:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53ca3414-974b-4bdf-8ef9-1b8c1ec6da87</guid><dc:creator>jonas.woerner</dc:creator><description>&lt;p&gt;Update: when I use mergehex to merge softdevice and bootloader and application, it works, but if I program it after another it doesnt...?!&lt;/p&gt;
&lt;p&gt;Update2: when I compile and merge the debug bootloader, it works, but not with the non-debug version. also the non debug version is significantly smaller when compiled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>