<?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 Example] DTR Issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112927/cdc-acm-usb-example-dtr-issue</link><description>Hello, 
 I am programming BLE with the nRF52840-DK. [Toolchain Manager: v1.3.0, IDE: Visual Studio Code (VSCode), SDK: ncs v2.6.0, window11 pro] 
 I&amp;#39;m studying the CDC_ACM Example to increase the data rate between the PC and nRF52840dk. However, I&amp;#39;m facing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Jul 2024 08:25:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112927/cdc-acm-usb-example-dtr-issue" /><item><title>RE: [CDC ACM USB Example] DTR Issue</title><link>https://devzone.nordicsemi.com/thread/496145?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2024 08:25:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad3c18fe-bbf9-46e0-a644-0709bd0b0923</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I would say that using DSR/DTR as flow control is not very common (using RTS/CTS is common if flow control is used). By default,&amp;nbsp;the serial teminal software (e.g putty, tera term and others)&amp;nbsp;raises the DTR line when a serial connection is established, indicating that it is ready for communication (this happens for instance automatically if DSR/DTR flow control is not used). If you want to enable flow control of the DTR line from the serial terminal software I recommend to refer to the specific software for help.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CDC ACM USB Example] DTR Issue</title><link>https://devzone.nordicsemi.com/thread/494949?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2024 01:07:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a529bd1f-8400-4ca4-a817-22ee4de53833</guid><dc:creator>seongmincho</dc:creator><description>&lt;p&gt;In my case, COM12 is indentified as&amp;nbsp;&lt;span&gt;&amp;#39;Zephyr CDC ACM sample&amp;#39;. so, I connected to COM12 for PuTTY and set the log debugging to COM10&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The CDC_ACM example works very well. However, what I am curious about is that if I set the flow control to DSR/DTR in PuTTY, it does not proceed to DTR set. Currently, I am programming with the flow control set to None.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CDC ACM USB Example] DTR Issue</title><link>https://devzone.nordicsemi.com/thread/494853?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2024 15:26:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43a4289f-ef77-4ee1-9102-c7739870bb58</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could you please show &amp;#39;&amp;#39;&lt;span&gt;&amp;nbsp;In my case, COM11 was identified as &amp;#39;Zephyr CDC ACM sample&amp;#39;. I connected to COM11 using PuTTY and set the log debugging to COM6.&amp;#39;&amp;#39; this, how you have implemented this on putty?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CDC ACM USB Example] DTR Issue</title><link>https://devzone.nordicsemi.com/thread/494054?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2024 07:11:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04cb931f-35d3-4073-b931-cc8381fb12f8</guid><dc:creator>seongmincho</dc:creator><description>&lt;p&gt;I think we shouldn&amp;#39;t set the flow control in PuTTY to &amp;#39;DSR/DTR&amp;#39; because we have configured it with the code below. This is just my personal theory.&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uart_line_ctrl_get(dev, UART_LINE_CTRL_DTR, &amp;amp;dtr);
uart_line_ctrl_set(dev, UART_LINE_CTRL_DCD, 1);
uart_line_ctrl_set(dev, UART_LINE_CTRL_DSR, 1);
uart_line_ctrl_get(dev, UART_LINE_CTRL_BAUD_RATE, &amp;amp;baudrate);
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CDC ACM USB Example] DTR Issue</title><link>https://devzone.nordicsemi.com/thread/493783?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 01:44:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42a4b048-5f7b-4432-b7be-295a1a9625e8</guid><dc:creator>seongmincho</dc:creator><description>&lt;div class="flex-shrink-0 flex flex-col relative items-end"&gt;
&lt;div class="pt-0.5 juice:pt-0"&gt;
&lt;div class="gizmo-bot-avatar flex h-6 w-6 items-center justify-center overflow-hidden rounded-full juice:h-8 juice:w-8"&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;&lt;/div&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;[quote userid="15146" url="~/f/nordic-q-a/112927/cdc-acm-usb-example-dtr-issue/493781"]Do you see any difference if you change flow control setting in PuTTy?[/quote]&lt;/div&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;If the Flow Control is not set to &amp;#39;DSR/DTR&amp;#39;, it proceeded to DTR set!&amp;nbsp;&lt;/div&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;Isn&amp;#39;t this contradictory?&lt;/div&gt;
&lt;/div&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;hmm... what&amp;#39;s wrong?&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CDC ACM USB Example] DTR Issue</title><link>https://devzone.nordicsemi.com/thread/493781?ContentTypeID=1</link><pubDate>Sun, 14 Jul 2024 23:30:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c22c295d-fded-42aa-8b65-2f5d0ec12ba7</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Ok, so now you are interfacing with the right COM port. Do you see any difference if you change flow control setting in PuTTy?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CDC ACM USB Example] DTR Issue</title><link>https://devzone.nordicsemi.com/thread/493651?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2024 13:54:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d507c12f-11c5-4211-a835-27b691b36b7b</guid><dc:creator>seongmincho</dc:creator><description>&lt;p&gt;thank you for answer!&amp;nbsp;I feel that your help is invaluable.&lt;br /&gt;but..&amp;nbsp;In my case, COM11 was identified as &amp;#39;Zephyr CDC ACM sample&amp;#39;. I connected to COM11 using PuTTY and set the log debugging to COM6. Despite this, I couldn&amp;#39;t get past the while loop.&lt;br /&gt;&lt;br /&gt;-Blow is log debugging:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v3.5.99-ncs1 ***
[00:00:00.250,518] &amp;lt;inf&amp;gt; cdc_acm_echo: Device name: cdc_acm_uart0
[00:00:00.250,549] &amp;lt;inf&amp;gt; cdc_acm_echo: Device config address: 0x20000438
[00:00:00.250,549] &amp;lt;inf&amp;gt; cdc_acm_echo: Device API address: 0xbae4
[00:00:00.250,579] &amp;lt;inf&amp;gt; cdc_acm_echo: Device state address: 0x2000026c
[00:00:00.250,579] &amp;lt;inf&amp;gt; cdc_acm_echo: Device private data address: 0x20000000
[00:00:00.250,762] &amp;lt;inf&amp;gt; cdc_acm_echo: usb_enable &amp;gt;&amp;gt;&amp;gt;&amp;gt; err:0
[00:00:00.250,762] &amp;lt;inf&amp;gt; cdc_acm_echo: Wait for DTR
[00:00:00.250,793] &amp;lt;inf&amp;gt; cdc_acm_echo: uart_line_ctrl_get &amp;gt;&amp;gt;&amp;gt; err:0
[00:00:00.250,793] &amp;lt;inf&amp;gt; cdc_acm_echo: DTR &amp;gt;&amp;gt;&amp;gt;:0
[00:00:00.254,791] &amp;lt;inf&amp;gt; usb_cdc_acm: Device suspended
[00:00:00.350,860] &amp;lt;inf&amp;gt; cdc_acm_echo: uart_line_ctrl_get &amp;gt;&amp;gt;&amp;gt; err:0
[00:00:00.350,891] &amp;lt;inf&amp;gt; cdc_acm_echo: DTR &amp;gt;&amp;gt;&amp;gt;:0
[00:00:00.352,874] &amp;lt;inf&amp;gt; usb_cdc_acm: Device resumed
[00:00:00.450,958] &amp;lt;inf&amp;gt; cdc_acm_echo: uart_line_ctrl_get &amp;gt;&amp;gt;&amp;gt; err:0
[00:00:00.450,958] &amp;lt;inf&amp;gt; cdc_acm_echo: DTR &amp;gt;&amp;gt;&amp;gt;:0
[00:00:00.551,055] &amp;lt;inf&amp;gt; cdc_acm_echo: uart_line_ctrl_get &amp;gt;&amp;gt;&amp;gt; err:0
[00:00:00.551,055] &amp;lt;inf&amp;gt; cdc_acm_echo: DTR &amp;gt;&amp;gt;&amp;gt;:0
[00:00:00.587,097] &amp;lt;inf&amp;gt; usb_cdc_acm: Device configured
[00:00:00.651,153] &amp;lt;inf&amp;gt; cdc_acm_echo: uart_line_ctrl_get &amp;gt;&amp;gt;&amp;gt; err:0
[00:00:00.651,153] &amp;lt;inf&amp;gt; cdc_acm_echo: DTR &amp;gt;&amp;gt;&amp;gt;:0
[00:00:00.751,251] &amp;lt;inf&amp;gt; cdc_acm_echo: uart_line_ctrl_get &amp;gt;&amp;gt;&amp;gt; err:0
[00:00:00.751,281] &amp;lt;inf&amp;gt; cdc_acm_echo: DTR &amp;gt;&amp;gt;&amp;gt;:0
[00:00:00.851,348] &amp;lt;inf&amp;gt; cdc_acm_echo: uart_line_ctrl_get &amp;gt;&amp;gt;&amp;gt; err:0
[00:00:00.851,348] &amp;lt;inf&amp;gt; cdc_acm_echo: DTR &amp;gt;&amp;gt;&amp;gt;:0
[00:00:00.951,446] &amp;lt;inf&amp;gt; cdc_acm_echo: uart_line_ctrl_get &amp;gt;&amp;gt;&amp;gt; err:0
[00:00:00.951,446] &amp;lt;inf&amp;gt; cdc_acm_echo: DTR &amp;gt;&amp;gt;&amp;gt;:0
[00:00:01.051,544] &amp;lt;inf&amp;gt; cdc_acm_echo: uart_line_ctrl_get &amp;gt;&amp;gt;&amp;gt; err:0
[00:00:01.051,544] &amp;lt;inf&amp;gt; cdc_acm_echo: DTR &amp;gt;&amp;gt;&amp;gt;:0
[00:00:01.151,641] &amp;lt;inf&amp;gt; cdc_acm_echo: uart_line_ctrl_get &amp;gt;&amp;gt;&amp;gt; err:0
[00:00:01.151,641] &amp;lt;inf&amp;gt; cdc_acm_echo: DTR &amp;gt;&amp;gt;&amp;gt;:0&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Blow is&amp;nbsp;&lt;span&gt;Device Manager:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1720792441572v1.png" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CDC ACM USB Example] DTR Issue</title><link>https://devzone.nordicsemi.com/thread/493498?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 16:32:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fefebdee-da7d-4969-a7ae-ee7696e20a3b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;1) Make sure that you have connect the USB cable to USB port on the long side of the DK named &amp;quot;nRF USB&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2) COM10 is wrong, since that&amp;#39;s the J-link port.&lt;/p&gt;
&lt;p&gt;It should be the USB Serial Device, that have Bus reported device description &amp;quot;&lt;span&gt;Zephyr CDC ACM sample&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1720715393913v6.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>