<?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>Zephyr DFU over USB Not Swapping</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113404/zephyr-dfu-over-usb-not-swapping</link><description>I am using an NRF52840DK. 
 1. I erase the chip to start clean: 
 nrfjprog --eraseall 
 2. I flash the MCUboot bootloader: 
 ~/mcuboot/boot/zephyr$ west flash 
 The output from the console is OK as there is no image: 
 *** Booting MCUboot v2.1.0-43-g50f35144e4e4</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Aug 2024 23:50:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113404/zephyr-dfu-over-usb-not-swapping" /><item><title>RE: Zephyr DFU over USB Not Swapping</title><link>https://devzone.nordicsemi.com/thread/498927?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2024 23:50:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:872582b9-bc6a-4dff-bd6e-1884b17d95cb</guid><dc:creator>Alexander Feldman</dc:creator><description>&lt;p&gt;I finally, found it: dfu-util uses .bin format, instead of .hex. The right command line is:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;dfu-util --download zephyr.signed.bin --alt 1&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;not&lt;/p&gt;
&lt;p&gt;&lt;code&gt;dfu-util --download zephyr.signed.hex --alt 1&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr DFU over USB Not Swapping</title><link>https://devzone.nordicsemi.com/thread/495649?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 13:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c7690d9-426f-445d-b5c0-852a93944b3c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Check out this course&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/exercise-2-dfu-over-usb-adding-external-flash/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/exercise-2-dfu-over-usb-adding-external-flash/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you modify the updated image? If the content is the same, it will not update.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>