<?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>CDC ACM usb problem.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87429/cdc-acm-usb-problem</link><description>Hello all, 
 I have 2 problem that I can not understand why. 
 1) Now cdc_acm isn&amp;#39;t working anymore, but until 2 days ago it was working perfectly. I didn&amp;#39;t change nothing. When I plug the USB cable to NRF52833DK in the NRF teminal I have the following</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 May 2022 10:30:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87429/cdc-acm-usb-problem" /><item><title>RE: CDC ACM usb problem.</title><link>https://devzone.nordicsemi.com/thread/366164?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 10:30:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae17235c-ff43-4761-a72a-89b58c0b3554</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m glad to hear that the issue was worked around.&lt;/p&gt;
&lt;p&gt;If you change the usb descriptor while developing, these issues will occur. You can try to delete the usb enumeration history on your old PC (search on google for &amp;quot;windows delete usb device history&amp;quot; or similar to find a guide)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDC ACM usb problem.</title><link>https://devzone.nordicsemi.com/thread/366150?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 09:36:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bc5a22b-fe3f-410b-9325-addb1388bac8</guid><dc:creator>Epasta</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;i changed pc where I develop and it is fixed.&lt;br /&gt;I can not undestand why my old pc is still unavailable, but does not matter i have new one pc and it is working.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDC ACM usb problem.</title><link>https://devzone.nordicsemi.com/thread/365708?ContentTypeID=1</link><pubDate>Mon, 02 May 2022 09:19:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea1c99b9-c033-4617-ac31-0838cfa705b3</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Enrico"]&lt;p&gt;For issue #1: NO i didn&amp;#39;t change the&amp;nbsp;&lt;span&gt;CONFIG_USB_DEVICE_PID. &lt;br /&gt;CONFIG_USB_DEVICE_PID Now is 0x0001 in cdc_acm sample and 0x0005 id dfu sample.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It is okay?&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;As long as you change one of them, it should trigger a full enumeration (ie. a new caching of the descriptors). You could just increment the PID for simplicity.&lt;/p&gt;
&lt;p&gt;Have you changed the usb descriptor in any way? If you haven&amp;#39;t done any changes to the usb descriptor, then you should not need to do this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDC ACM usb problem.</title><link>https://devzone.nordicsemi.com/thread/365617?ContentTypeID=1</link><pubDate>Fri, 29 Apr 2022 14:03:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87342b98-2f32-40aa-8288-07da20a6f264</guid><dc:creator>Epasta</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;For issue #2 i wil try as soon as my DK will be available again! and thanks for that suggestion.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;For issue #1: NO i didn&amp;#39;t change the&amp;nbsp;&lt;span&gt;CONFIG_USB_DEVICE_PID. &lt;br /&gt;CONFIG_USB_DEVICE_PID Now is 0x0001 in cdc_acm sample and 0x0005 id dfu sample.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It is okay?&lt;br /&gt;Thanks best regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDC ACM usb problem.</title><link>https://devzone.nordicsemi.com/thread/365596?ContentTypeID=1</link><pubDate>Fri, 29 Apr 2022 12:58:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e98abb24-7bb0-4d6f-a535-3d190902d282</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;For issue #2: could you try to adjust &amp;quot;CONFIG_UART_0_NRF_TX_BUFFER_SIZE&amp;quot;?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For issue #1, have you changed the descriptor in any way? What happens if you try to change the PID (CONFIG_USB_DEVICE_PID)? Changing the usb descriptor on-the-fly without changing the PID can be problematic, as the OS caches the&amp;nbsp;first descriptor.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDC ACM usb problem.</title><link>https://devzone.nordicsemi.com/thread/365583?ContentTypeID=1</link><pubDate>Fri, 29 Apr 2022 12:18:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24fe1f8e-065c-45c9-afc5-d4840357e30c</guid><dc:creator>Epasta</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;Which version of ncs are you using? Have you tried using the stock (ie. unchanged) example and see if that works?&amp;quot;&lt;/span&gt;&lt;br /&gt;i&amp;#39;am using last version of NSC 1.9.1.&lt;br /&gt;Yes i have already tried with the unchanged example and still not working.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Which example is this? Are you using the connectivity_bridge example?&lt;br /&gt;No i have changed CDC_ACM. What I receive over USB I put it on the UART_0.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also DFU example &amp;quot;untouched&amp;quot; doesn&amp;#39;t work anymore. Same problem as above.&lt;br /&gt;Is there a way to force the installation of the driver?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CDC ACM usb problem.</title><link>https://devzone.nordicsemi.com/thread/365578?ContentTypeID=1</link><pubDate>Fri, 29 Apr 2022 12:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d1bcd7c-7241-4f85-b0b2-30545a46f260</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;p&gt;1)&amp;nbsp;Now cdc_acm isn&amp;#39;t working anymore, but until 2 days ago it was working perfectly. I didn&amp;#39;t change nothing. When I plug the USB cable to NRF52833DK in the NRF teminal I have the following message &amp;quot;usb_cdc_acm: Device Suspended&amp;quot; -&amp;gt; &amp;quot;&lt;span&gt;usb_cdc_acm&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;Device Resumed&amp;quot; -&amp;gt; &amp;quot;&lt;span&gt;usb_cdc_acm&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;Device Suspended&amp;quot;, and Windows show me alert &amp;quot;Unknown device, descriptor request failed, error code 43. I have already tried with different USB cable, in different USB port, on second PC, in second DK (52840) and I have always the same result.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Which version of ncs are you using? Have you tried using the stock (ie. unchanged) example and see if that works?&lt;/p&gt;
[quote user=""]2) The second problem is the following:&lt;br /&gt;I have second project on cdc_acm and when all worked goods, my purpose it was to pass &amp;quot;NRF USB&amp;quot; serial data to &amp;quot;UART_0&amp;quot; and viceversa (pass&amp;quot;UART_0&amp;quot; serial data to &amp;quot;NRF USB&amp;quot;). &lt;br /&gt;Everything it was good if I serial data gone from UART_0 to NRF USB. If the direction was the opposit (NRF USB to UART_0) i can see only the 32 byte and i can not understand why. I tried to change ring buffer size but without any result. My targhet is pass 128 byte in both direction.[/quote]
&lt;p&gt;Which example is this? Are you using the connectivity_bridge example (&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/applications/connectivity_bridge"&gt;https://github.com/nrfconnect/sdk-nrf/tree/main/applications/connectivity_bridge&lt;/a&gt;)?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>