<?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>52840 USB Dongle and DFU (OTA) example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127115/52840-usb-dongle-and-dfu-ota-example</link><description>Looking for an example to adapt into my program. 
 I detect &amp;#39;smp_svr&amp;#39; but compiling it give me error, it seems I need a flash configuration in file pm_static.yml, but I have no idea on how to do it. One example - just to see if everything is OK for my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Feb 2026 09:42:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127115/52840-usb-dongle-and-dfu-ota-example" /><item><title>RE: 52840 USB Dongle and DFU (OTA) example</title><link>https://devzone.nordicsemi.com/thread/562199?ContentTypeID=1</link><pubDate>Fri, 27 Feb 2026 09:42:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a344059c-fd49-4b7e-b723-1374c1d03f05</guid><dc:creator>TheRaptus</dc:creator><description>&lt;p&gt;Thanks Einar for clarifications.&lt;br /&gt;And yes, my company used some USB donbgle for fast developing, and I&amp;#39;ve embed this inside the&amp;nbsp;box.&lt;/p&gt;
&lt;p&gt;Due to the FW upgrade I would like develop the OTA on this dongle. My idea was a double bootloader: the&amp;nbsp;USB launch the OTA bootloader and so on... IT seems&amp;nbsp;weird but is my&amp;nbsp;idea, because I can&amp;#39;t reopen the box and program the dongle with a JTAG, only USB connector is reachable.&lt;/p&gt;
&lt;p&gt;Now I&amp;#39;m adapting a connector for the JTAG and try to modify one dongle (I have 10 of them... !) . Fot the finale version (on a Nordic chip on a PCB) I plan to buy a dev kit.&lt;/p&gt;
&lt;p&gt;Now I have undestand why pm_static seems too complicate.&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;
&lt;p&gt;Massimo alias TheRaptus.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52840 USB Dongle and DFU (OTA) example</title><link>https://devzone.nordicsemi.com/thread/561839?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2026 13:24:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5efb971b-82bb-4679-9d1d-1658a2986b01</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What is the end goal? I ask because the nRF52840 Dongle is special in the sense that it &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/boards/nordic/nrf52840dongle/doc/index.html#option_1_using_the_built-in_bootloader_only"&gt;ships with an nRF5 SDK USB bootloader.&lt;/a&gt; As you want OTA (which is a bit odd on a dongle) I suspect you are using it as a development platform? If so, I would recommend that you use a development kit instead. That has a debugger, and importantly, does not have the existing nRF5 SDK bootloader that complicates things when developing other bootloaders.&lt;/p&gt;
&lt;p&gt;The default device tree memory layout for nRF52840 dongle&amp;nbsp;acomodates the MBR (which is the immutable part of the nRF5 SDK bootloadser), as it &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/fe4f0106803e28010088ef794f5b42b92d935a7f/boards/nordic/nrf52840dongle/nrf52840dongle_nrf52840.dts#L23"&gt;places MCUboot at 0x1000&lt;/a&gt;&amp;nbsp;instead 0x0, but you will need to add a pm_static.yml for this yourself. You can see an example &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/d98a2da65550014fba170bce8da513d57846c27a/samples/bluetooth/mesh/dfu/target/pm_static_nrf52840dongle_nrf52840.yml"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you are using an external debugger to program the nRF52840 dongle you can remove the bootloader that is on the device, so that it would be like any other nRF52840 device without the old nRF5 SDK bootloader and MBR. Then you would also need to modify the board files, most importantly remove &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/fe4f0106803e28010088ef794f5b42b92d935a7f/boards/nordic/nrf52840dongle/Kconfig.defconfig#L18"&gt;FLASH_LOAD_OFFSET&lt;/a&gt;&amp;nbsp;og set it to 0 as well as the dts (you can copy the memory related configurations from the nRF52840 DK in that case as that will be identical).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>