<?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>Firmware upgradable over USB based on nRF52840 with NCS/Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64167/firmware-upgradable-over-usb-based-on-nrf52840-with-ncs-zephyr</link><description>Hi 
 My goal is to create a USB HCI firmware that works on any custom board that exposes the USB port of a nRF52840. Based on the requirement for USB HCI it was clear to use NCS/Zephyr which has a working example for USB HCI. The problems cam in when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Sep 2020 08:54:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64167/firmware-upgradable-over-usb-based-on-nrf52840-with-ncs-zephyr" /><item><title>RE: Firmware upgradable over USB based on nRF52840 with NCS/Zephyr</title><link>https://devzone.nordicsemi.com/thread/268676?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2020 08:54:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7769a1e9-e6a4-4e0f-918e-549495d2d36f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi Adrian,&lt;/p&gt;
&lt;p&gt;Based on the&amp;nbsp;discussion in Zephyr issue&amp;nbsp;#23337, there does not seem to be any workaround for this.&lt;/p&gt;
&lt;p&gt;I know about 2 different ways to do USB DFU/recovery in nRF Connect SDK and Zephyr.&lt;/p&gt;
&lt;p&gt;1)&amp;nbsp;MCUBoot Serial Recovery over USB CDC ACM. But, AFAIK it will just overwrite the first slot. This is used on e.g. the Thingy:91 &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/master/applications/asset_tracker"&gt;asset tracker application&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;2) DFU over HID, with B0 bootloader. This is the approach we are using in the &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/master/applications/nrf_desktop"&gt;nRF Desktop&lt;/a&gt;&lt;span&gt;&amp;nbsp;reference design&lt;/span&gt;. Documentation &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf_desktop/README.html#nrf-desktop-bootloader-background-dfu"&gt;here&lt;/a&gt; and &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/hid_configurator/README.html"&gt;here&lt;/a&gt;. From the first link, &lt;em&gt;&amp;ldquo;The update image is transmitted in the background through the Configuration channel. The configuration channel data is transmitted either through USB or over Bluetooth, using HID feature reports. This allows the device to be used normally during the whole process (that is, the device does not need to enter any special state in which it becomes non-responsive to the user).&amp;rdquo;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware upgradable over USB based on nRF52840 with NCS/Zephyr</title><link>https://devzone.nordicsemi.com/thread/264650?ContentTypeID=1</link><pubDate>Fri, 14 Aug 2020 14:17:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:593823e6-5395-4aed-a69d-8ad20f0e8785</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;Did anybody else observe the same issue? Does anyone have a solution for this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>