<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>nRF52840 call DFU from own application</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88241/nrf52840-call-dfu-from-own-application</link><description>Hi everyone. I am writing to have an important info, that is, is it possible to load a .hex file, preloaded in an external flash, to program from my application in the nRF52840 flash? 
 I need to change firmware while an application is already running</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Wed, 25 May 2022 15:30:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88241/nrf52840-call-dfu-from-own-application" /><item><title>RE: nRF52840 call DFU from own application</title><link>https://test-devzone.nordicsemi.com/thread/369597?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 15:30:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d10ff8ad-fb32-4d7e-9255-6f1b36359fa1</guid><dc:creator>user14926</dc:creator><description>&lt;p&gt;Note that the documentation in&amp;nbsp;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/ug_bootloader_external_flash.html"&gt;Using external flash memory partitions&lt;/a&gt;&lt;span&gt;&amp;quot; is applicable for nRF Connect SDK/MCUboot only. For nRF5 SDK, you will have to write the support for external flash yourself, as we do not have any examples of this in the bootloader.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 call DFU from own application</title><link>https://test-devzone.nordicsemi.com/thread/369547?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 13:16:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c564b1b-9fae-4f7c-99c2-95189bdc2217</guid><dc:creator>user103636</dc:creator><description>&lt;p&gt;HI&lt;/p&gt;
&lt;p&gt;very thanks.&lt;/p&gt;
&lt;p&gt;Ok ok, I work with:&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a title="nRF5 SDK v17.1.0" href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_nrf5_latest.html?cp=8_1"&gt;nRF5 SDK v17.1.0&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I check code for bootloader and &amp;quot;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/ug_bootloader_external_flash.html"&gt;Using external flash memory partitions&lt;/a&gt;&amp;quot;, after I try to merge it..&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;fpol&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 call DFU from own application</title><link>https://test-devzone.nordicsemi.com/thread/369526?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 12:25:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:720c409d-c191-47ca-86dd-69862c670ec0</guid><dc:creator>user14926</dc:creator><description>&lt;p&gt;Segger Embedded Studio can be used both with nRF5 SDK and nRF Connect SDK, see:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a title="Getting started with nRF5 SDK and SES (nRF51 &amp;amp; nRF52 Series)" href="https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/intro.html?cp=1_0_2"&gt;Getting started with nRF5 SDK and SES (nRF51 &amp;amp; nRF52 Series)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="nRF5 SDK v17.1.0" href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_nrf5_latest.html?cp=8_1"&gt;nRF5 SDK v17.1.0&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="Getting started with nRF Connect SDK (nRF52 Series)" href="https://infocenter.nordicsemi.com/topic/ug_gsg_ncs52/UG/gsg/intro.html?cp=1_0_1"&gt;Getting started with nRF Connect SDK (nRF52 Series)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/index.html" rel="noopener noreferrer" target="_blank"&gt;nRF Connect SDK v1.9.1 documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 call DFU from own application</title><link>https://test-devzone.nordicsemi.com/thread/369499?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 11:19:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1065a0a-2ba6-42fe-9625-9eecfe86f745</guid><dc:creator>user103636</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I use Segger Embedded Studio&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and then IDE: Integrated study SEGGER for ARM&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version 5.42a Build 2021040600.45790&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Windows x64&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is nRF5 SDK?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Tnks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 call DFU from own application</title><link>https://test-devzone.nordicsemi.com/thread/369481?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 10:14:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03e1e73f-a403-481f-92da-696e8f3bfa13</guid><dc:creator>user14926</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I depends on what SDK you are using.&lt;/p&gt;
&lt;p&gt;For nRF5 SDK, the bootloader example projects can be found in&amp;nbsp;examples\dfu\secure_bootloader. The source code of the bootloader/DFU modules are found in&amp;nbsp;components\libraries\bootloader.&lt;/p&gt;
&lt;p&gt;For nRF Connect SDK, the bootloader source code can be found in&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-mcuboot"&gt;https://github.com/nrfconnect/sdk-mcuboot&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 call DFU from own application</title><link>https://test-devzone.nordicsemi.com/thread/369451?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 08:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f61bbcd-dbe3-4692-8b2d-a023c38dbd50</guid><dc:creator>user103636</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;any news?&lt;/p&gt;
&lt;p&gt;How to proceed?&lt;/p&gt;
&lt;p&gt;Very thanks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;fpol&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 call DFU from own application</title><link>https://test-devzone.nordicsemi.com/thread/369337?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 14:50:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c5d66f0-b4b5-47b7-a170-d70d35835b6c</guid><dc:creator>user103636</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you so much for your answer.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I use HW:&amp;nbsp;&lt;span style="font-family:inherit;"&gt;NRF52840-DK&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;and then IDE: Integrated study SEGGER for ARM&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Version 5.42a Build 2021040600.45790&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Windows x64&lt;/p&gt;
&lt;p&gt;Can you help me understand where to find the bootloader source code and how to edit?&lt;/p&gt;
&lt;p&gt;Thank you in advance.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;fpol&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 call DFU from own application</title><link>https://test-devzone.nordicsemi.com/thread/369327?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 14:29:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1fe517a-d8e7-453b-a33a-e38f8d2df3f7</guid><dc:creator>user14926</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We do not have any examples showing how to do this, but it should be possible if you rewrite the bootloader to check the external flash for a valid firmware to be activated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you using nRF5 SDK, or nRF Connect SDK? The latter have support for external flash, which can be used for firmware updates (see&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/ug_bootloader_external_flash.html"&gt;Using external flash memory partitions&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 call DFU from own application</title><link>https://test-devzone.nordicsemi.com/thread/369230?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 09:47:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f9274e1-4eda-4093-9fd7-e6ebf0271f67</guid><dc:creator>user103636</dc:creator><description>&lt;p&gt;HI thanks for the reply.&lt;br /&gt;So, I don&amp;#39;t use neither UART nor BLE, I preload an external flash and then from my application I have to take files and overwrite the nRF52840 in flash.&lt;/p&gt;
&lt;p&gt;fpol&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 call DFU from own application</title><link>https://test-devzone.nordicsemi.com/thread/369229?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 09:44:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad61f2b2-c5fc-49e4-9a34-b3e4e47a7f55</guid><dc:creator>user116408</dc:creator><description>&lt;p&gt;You Update firmware via BLE or Serial?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>