<?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 over CDC ACM very slow</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119362/dfu-over-cdc-acm-very-slow</link><description>Hello 
 I am doing a bluetooth dongle and I added MCUBOOT with CDC ACM to be able to update my app. 
 I find that the update takes a lot : 5+ min to update a 200kB application. 
 This is questionning me because I have an other bluetooth product with a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Mar 2025 14:08:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119362/dfu-over-cdc-acm-very-slow" /><item><title>RE: DFU over CDC ACM very slow</title><link>https://devzone.nordicsemi.com/thread/526972?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2025 14:08:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:014d8797-d820-4e92-9019-03ba6addd9b5</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Thibaud"]My update takes around 30s is there any kconfig option to make it even faster ?[/quote]
&lt;p&gt;For Serial Recovery, try to increase the MTU and UART baudrate. The MTU is configured in the client on the PC.&amp;nbsp;If you are not able to do this&amp;nbsp;with &amp;quot;nrfutil device&amp;quot;, you can do it with AuTerm (The one used&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/mcuboot-mcumgr-and-dfu-target/"&gt; here in the devacademy course on DFU&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;If you go through the course linked, you can find further details for the same.&lt;/p&gt;
&lt;p&gt;The baudrate must be configured for both the PC client and for the nRF. Also, you can take a look at the various &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/device_mgmt/smp_groups/smp_group_0.html"&gt;SMP commands&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over CDC ACM very slow</title><link>https://devzone.nordicsemi.com/thread/526778?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2025 14:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d14f884c-3d86-44f2-afe8-324b401f55e4</guid><dc:creator>Thibaud</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I am not using Nordic dongle but my own made from a nRF52840.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you say this command can only be used with nRF54H series so yes i can&amp;#39;t us it. But I am not able to use other commande like reset. Only device list et program are working.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;THibaud&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over CDC ACM very slow</title><link>https://devzone.nordicsemi.com/thread/526775?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2025 14:13:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fa5aa97-259f-4d49-94f0-7052aef672e9</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Since you are working with an nRF Dongle, I don&amp;#39;t think the &lt;code&gt;x-boot-mode-get&lt;/code&gt; command can be used. See the&amp;nbsp;&lt;a title="https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-device/changelog.html" href="https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-device/CHANGELOG.html" rel="noopener noreferrer" target="_blank"&gt;device command changelog&lt;/a&gt;. This is an experimental command, and it doesn&amp;#39;t work with the dongle (used with nRF54H series).&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over CDC ACM very slow</title><link>https://devzone.nordicsemi.com/thread/525567?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2025 15:32:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b74050c0-9882-4409-8159-7d1fa1c57714</guid><dc:creator>Thibaud</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What do I have to do so my application can support command&amp;nbsp;./nrfutil device x-boot-mode-get --traits mcuBoot&lt;/p&gt;
&lt;p&gt;Please not that my application support the&amp;nbsp;retention boot mode. I am able to reset in mcuBoot through a function in my app but I need an external event to trtigger my function. Being able to do it via nrfutil would be a monumental improvement for my application.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:36px;max-width:548px;" height="36" src="https://devzone.nordicsemi.com/resized-image/__size/1096x72/__key/communityserver-discussions-components-files/4/pastedimage1741015802361v1.png" width="548" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Thibaud&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over CDC ACM very slow</title><link>https://devzone.nordicsemi.com/thread/525455?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2025 09:18:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d70b0c9d-d0ee-48e5-acb4-c833b521ac79</guid><dc:creator>Thibaud</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve found this ticket :&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/96076/nrfutil-device-and-mcuboot-serial-recovery-mode"&gt;nrfutil device and mcuboot serial recovery mode&lt;/a&gt;&amp;nbsp; and after updating the VID &amp;amp; PID as indicate I have the mcuBoot trait.&lt;/p&gt;
&lt;p&gt;I am able to program the new firmware when my product is in bootloader.&lt;/p&gt;
&lt;p&gt;My update takes around 30s is there any kconfig option to make it even faster ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:127px;max-width:427px;" height="127" src="https://devzone.nordicsemi.com/resized-image/__size/854x254/__key/communityserver-discussions-components-files/4/pastedimage1740992116141v3.png" width="427" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Thibaud&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over CDC ACM very slow</title><link>https://devzone.nordicsemi.com/thread/525094?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 14:25:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fd55388-0095-40ab-bf95-3de42e04ab21</guid><dc:creator>Thibaud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I also tried to use USB DFU sample but here what the dfu-util command linedoes :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:124px;max-width:422px;" height="124" src="https://devzone.nordicsemi.com/resized-image/__size/844x248/__key/communityserver-discussions-components-files/4/pastedimage1740666272673v1.png" width="422" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there any reliable way to update an application through USB ?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Thibaud&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over CDC ACM very slow</title><link>https://devzone.nordicsemi.com/thread/524880?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 15:45:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92228c77-3392-4bd0-94fc-e2545142f690</guid><dc:creator>Thibaud</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am trying to use nrfutil but when I do device list I don&amp;#39;t have mcuboot in the traits of my product. Even if it is in MCUBOOT.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1st time my product is in app :&amp;amp; 2nd time it is in bootloader (MCUBOOT of course) :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:176px;max-width:454px;" alt=" " height="176" src="https://devzone.nordicsemi.com/resized-image/__size/908x352/__key/communityserver-discussions-components-files/4/pastedimage1740584738725v1.png" width="454" /&gt;&lt;/p&gt;
&lt;p&gt;This is what happen when I try to flash :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:38px;max-width:675px;" height="38" src="https://devzone.nordicsemi.com/resized-image/__size/1350x76/__key/communityserver-discussions-components-files/4/pastedimage1740585211848v1.png" width="675" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Thibaud&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over CDC ACM very slow</title><link>https://devzone.nordicsemi.com/thread/524849?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 14:32:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c0237f7-a5c0-43db-af0d-479db242aeef</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Here is the nRFUtil documentation:&lt;a href="https://docs.nordicsemi.com/bundle/nrfutil/page/README.html"&gt;https://docs.nordicsemi.com/bundle/nrfutil/page/README.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also,&amp;nbsp;The file path mentioned (&amp;quot;go\pkg\mod\mynewt.apache.org\newtmgr@v0.0.0-20201028150837-60b2da78788c\nmxact\nmserial&amp;quot;)&amp;nbsp;shows that&amp;nbsp;it&amp;#39;s likely a part of a Go module,&amp;nbsp;related to mcumgr. So you might need to modify&amp;nbsp;a Go source file - and this is&amp;nbsp;part of the mcumgr tool&amp;#39;s codebase. So I guess Zephyr support could be the experts here.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over CDC ACM very slow</title><link>https://devzone.nordicsemi.com/thread/524831?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 14:03:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7134a72-91c5-4452-afe5-6f5df04cb882</guid><dc:creator>Thibaud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will try it but if nrfutil is better than mcumgr why is it not mentionned anywhere in the docs.nordicsemi.com website ?&lt;/p&gt;
&lt;p&gt;In the link you sent me there is a link to an other ticket where the solution was to change a function in the &amp;quot;&lt;em&gt;serial_xport.go&amp;nbsp; found in&amp;nbsp;&lt;/em&gt;&lt;span&gt;&lt;em&gt;go\pkg\mod\mynewt.apache.org\newtmgr@v0.0.0-20201028150837-60b2da78788c\nmxact\nmserial\&lt;/em&gt;&amp;quot; do you have any idea wher I can find this file ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thibaud&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU over CDC ACM very slow</title><link>https://devzone.nordicsemi.com/thread/524825?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 13:51:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eef45bb3-fdf9-4170-bd7e-487084fb0f2c</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I understand your concerns. Could you maybe try, as mentioned in&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/101478/ncs-mcumgr-how-to-improve-the-upgrade-speed-of-serial-port-or-usb/434711"&gt; this ticket &lt;/a&gt;by a colleague of mine, to try with nrfutil?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>