<?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>Logging over USB CDC ACM with nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113746/logging-over-usb-cdc-acm-with-nrf52840-dongle</link><description>Hello, 
 I&amp;#39;m currently running into issues when using the Logging Interface with USB CDC ACM. I tried to combine the cdc_acm sample and the console sample into one application with logging messages. The dongle gets recognized as a cdc acm device on my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Mar 2025 10:55:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113746/logging-over-usb-cdc-acm-with-nrf52840-dongle" /><item><title>RE: Logging over USB CDC ACM with nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/525939?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 10:55:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14265d4a-eaef-4329-a623-7228892d0b74</guid><dc:creator>Usha</dc:creator><description>&lt;p&gt;i can&amp;#39;t see any logs&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging over USB CDC ACM with nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/515186?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 17:34:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19a639ad-4b52-4477-b9e8-e610a47afc42</guid><dc:creator>lara</dc:creator><description>&lt;p&gt;hi &lt;span class="user-name"&gt;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/crexodon"&gt;Crexodon &lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;iam new to nrf52840 dongle,iam trying to read/write in it.but i kept on facing the error.but i cannot see the error in putty.iam compiling in vs code,uploading hex in programmer tool in nrf,seeing log in putty.but when i upload the nvs code some error is there ,the putty uart port cannot open.how to see the log in another way.also r u trying nvs in nrf52840 dongle? pls help me to debug&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nvs-_2800_2_2900_.zip"&gt;devzone.nordicsemi.com/.../nvs-_2800_2_2900_.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging over USB CDC ACM with nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/497648?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2024 13:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4be69347-dc74-40dc-ac25-af84b1418cb2</guid><dc:creator>Crexodon</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;thanks, this was the solution. Removing both the chosen and additional cdc acm device from the overlay and using the correct device in the main.c file results in the logger working on the nRF52840 Dongle!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging over USB CDC ACM with nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/497638?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2024 13:17:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:caf6ff5e-b382-41e7-bef7-479418f16aeb</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Crexodon,&lt;/p&gt;
&lt;p&gt;The nrf52840dongle_nrf52840 target already has a USB CDC ACM instance in its Devicetree by default.&amp;nbsp;With your overlay, another instance was created.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The logs go to the console output by default, and you have set it to your new instance, cdc_acm_uart0.&lt;/p&gt;
&lt;p&gt;Meanwhile, in main.c, you setup the echo behavior on&amp;nbsp;&lt;em&gt;&lt;/em&gt;&lt;em&gt;one&lt;/em&gt;&amp;nbsp;UART instance, and don&amp;#39;t care which. It seems that the&amp;nbsp;dongle&amp;#39;s default instance was selected here.&lt;/p&gt;
&lt;p&gt;That&amp;#39;s the nature of the issue. Here are a couple of immediate ways around this:&lt;/p&gt;
&lt;p&gt;- Remove&amp;nbsp;the new&amp;nbsp;CDC ACM UART device&lt;br /&gt;- In main.c, select the specific CDC ACM UART device you want instead of just any one of them&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging over USB CDC ACM with nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/497537?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 23:56:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b24cec58-e2c7-4645-b2aa-e276c97d266a</guid><dc:creator>Crexodon</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;here&amp;#39;s the .config and zephyr.dts for the dongle:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6036.zephyr.dts"&gt;devzone.nordicsemi.com/.../6036.zephyr.dts&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0285_2E00__5F00__2E00_config"&gt;devzone.nordicsemi.com/.../0285_2E00__5F00__2E00_config&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and here&amp;#39;s both files for the dk:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8475.zephyr.dts"&gt;devzone.nordicsemi.com/.../8475.zephyr.dts&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/_5F00__2E00_config"&gt;devzone.nordicsemi.com/.../_5F00__2E00_config&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m also on ncs version 2.4.3&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging over USB CDC ACM with nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/497465?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 10:16:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f740290-c028-4415-a4cf-4af82bb0349a</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Crexodon,&lt;/p&gt;
&lt;p&gt;Could you please share you compiled zephyr.dts and .config file?&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>