<?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>how to use USB DFU and CDC ACM at the same time.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112483/how-to-use-usb-dfu-and-cdc-acm-at-the-same-time</link><description>I found a similar thread, but it did not solve the problem. When CDC-ACM is enabled in Device Tree, the dfu-util application cannot find the USB port. The Bootloader started directly in nRF SDK5, is there same way to solve this in NCS?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Jul 2024 20:56:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112483/how-to-use-usb-dfu-and-cdc-acm-at-the-same-time" /><item><title>RE: how to use USB DFU and CDC ACM at the same time.</title><link>https://devzone.nordicsemi.com/thread/493522?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 20:56:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:097a1f17-2138-4c66-b48a-8a52a5f09299</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hello Yoshihiro,&lt;/p&gt;
&lt;p&gt;Am I right that you are refering to this sample: &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/zephyr/samples/subsys/usb/dfu/README.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/zephyr/samples/subsys/usb/dfu/README.html&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If so, then perhaps we have misunderstood you.&lt;/p&gt;
&lt;p&gt;Looking at the sample documentation, it seems that sample demonstrates &lt;a href="https://www.usb.org/sites/default/files/DFU_1.1.pdf"&gt;the USB DFU class&lt;/a&gt;.&lt;br /&gt;The dfu-util tool mentioned there is likely a correct tool to use with this solution then.&lt;/p&gt;
&lt;p&gt;The mcumgr tool that Edvin linked would not work with&amp;nbsp;the USB DFU class. That tool is intended to communicate with&amp;nbsp;the device&amp;#39;s&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/zephyr/services/device_mgmt/mcumgr.html"&gt;Zephyr&amp;#39;s management subsystem&lt;/a&gt;&amp;nbsp;(also referred to as MCUmgr) over &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.6.1/page/zephyr/services/device_mgmt/smp_protocol.html"&gt;the SMP protocol&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;However, it is this MCUmgr and SMP solution that we primarily recommend. As mentioned by Edvin, the solution works over multiple popular transports, such as UART, BLE, and USB.&lt;/p&gt;
&lt;p&gt;If you think the MCUmgr solution is suitable for your project,&amp;nbsp;you can refer to our online lesson here:&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to use USB DFU and CDC ACM at the same time.</title><link>https://devzone.nordicsemi.com/thread/492850?ContentTypeID=1</link><pubDate>Tue, 09 Jul 2024 04:44:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f37aa4c-8b41-45ed-99b4-6d96b80a36b7</guid><dc:creator>Yoshihiro Goto</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The readme.rst in the USB DFU sample project has a description of DFU using dfu-util. However, does this mean that Nordic does not recommend it?&lt;/p&gt;
&lt;p&gt;Also&amp;nbsp;I am learning about MCUMGR.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to use USB DFU and CDC ACM at the same time.</title><link>https://devzone.nordicsemi.com/thread/490966?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 22:47:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1523c13-2e05-49a6-b091-143a968ff686</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It is not completely clear to me what you are actually trying to do. dfu-util is a 3rd party tool that is not written, maintained, nor supported by us. Is this the tool you intend to use? Or did you mean &amp;quot;nrfutil&amp;quot;?&lt;/p&gt;
&lt;p&gt;If you are using NCS, then perhaps you want to look into the tool &amp;quot;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/device_mgmt/mcumgr.html"&gt;mcumgr&lt;/a&gt;&amp;quot;, which is the dedicated tool to communicate with the bootloader, either via USB or UART.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>