<?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 using USB mass storage on nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121265/dfu-using-usb-mass-storage-on-nrf52840</link><description>My product has nrf52840 with usb mass storage configured using 8MB QSPI flash (same chip as the nrf52840dk - MX25R64) 
 I would like to allow users to upgrade firmware by dropping files onto the usb mass storage flash disk. 
 Is there an example for nrf52840</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 May 2025 06:31:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121265/dfu-using-usb-mass-storage-on-nrf52840" /><item><title>RE: DFU using USB mass storage on nrf52840</title><link>https://devzone.nordicsemi.com/thread/535010?ContentTypeID=1</link><pubDate>Tue, 13 May 2025 06:31:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc8a025b-ac4b-496c-95d1-6a9dd1a7d59e</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="JasonR"]I will&amp;nbsp;work on a solution based on the code from the devzone post and I will try to remember to update this page with the nrf52840 solution (in case it&amp;#39;s useful to anyone)[/quote]
&lt;p&gt;That would be really helpful for future incoming users, and I wish you great success with your development. In case you struggle at some point, don&amp;#39;t hesitate to ask in DevZone.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using USB mass storage on nrf52840</title><link>https://devzone.nordicsemi.com/thread/534954?ContentTypeID=1</link><pubDate>Mon, 12 May 2025 17:23:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:140ab18c-2bfa-4650-bd31-ac6b672f83aa</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;thank you!&lt;/p&gt;
&lt;p&gt;Sometimes it&amp;#39;s not easy to find the right example, so it&amp;#39;s best to ask.&lt;/p&gt;
&lt;p&gt;I will&amp;nbsp;work on a solution based on the code from the devzone post and I will try to remember to update this page with the nrf52840 solution (in case it&amp;#39;s useful to anyone)&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;-Jason&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using USB mass storage on nrf52840</title><link>https://devzone.nordicsemi.com/thread/534666?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 12:57:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fbacf79-3857-4863-b24f-d8ed4825161a</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]Is there an example for nrf52840? I can&amp;#39;t find it.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There is no official sample showcasing USB Mass Storage DFU. However, there are &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/subsys/usb/cdc_acm/README.html#usb-cdc-acm"&gt;some examples using USB CDC ACM&lt;/a&gt;, which provides a serial port over USB, similar to a USB-to-serial adapter, but not like a USB flash drive. See the&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/connectivity/usb/device/usb_device.html#cdc_acm"&gt; &lt;em&gt;USB Device Support&lt;/em&gt;&lt;/a&gt; section for more details.&lt;/p&gt;
[quote user=""]I believe there is an nrf52840 UF2 bootloader from adafruit, I&amp;#39;ve not tried to use it yet. I would prefer to use the nordic recommended approach.[/quote]
&lt;p&gt;This is true and an approachable method. UF2 is a USB Mass Storage-based bootloader, where you can simply drop &lt;code&gt;.uf2&lt;/code&gt; files onto a drive that appears as a USB mass storage device. I have not personally tried this, and it is not officially supported, as it is not based on MCUboot. You can find more information about &lt;a href="https://github.com/adafruit/Adafruit_nRF52_Bootloader"&gt;this here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>