<?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>nRF52840-Dongle zephyr logging cdc acm composite</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85395/nrf52840-dongle-zephyr-logging-cdc-acm-composite</link><description>Hi, 
 I&amp;#39;m looking at the zephyr cdc_acm_composite example. 
 Is it possible to configure zephyr logging module to use the second usb as output? 
 
 Br</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Mar 2022 13:51:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85395/nrf52840-dongle-zephyr-logging-cdc-acm-composite" /><item><title>RE: nRF52840-Dongle zephyr logging cdc acm composite</title><link>https://devzone.nordicsemi.com/thread/358238?ContentTypeID=1</link><pubDate>Tue, 15 Mar 2022 13:51:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:578a1bdb-6ee1-44a8-b2b2-c5f4c52aa62a</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Dongle is not designed for debugging. You can find the tutorial of dongle here&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;nRF52840 Dongle Programming Tutorial - Getting Started - nRF5 SDK guides - Nordic DevZone (nordicsemi.com)&lt;/a&gt;. You better try this with nRF52840 DK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle zephyr logging cdc acm composite</title><link>https://devzone.nordicsemi.com/thread/357798?ContentTypeID=1</link><pubDate>Sun, 13 Mar 2022 11:36:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ab4f918-1b06-466b-841b-2eec2a95ca5b</guid><dc:creator>ppk2</dc:creator><description>&lt;p&gt;Hi, thank you! This worked, now I got both logging and printk working,&amp;nbsp;printing to either uart0 or uart1.&lt;/p&gt;
&lt;p&gt;Is there a way to&amp;nbsp;differentiate the two of them?&amp;nbsp;Make logging output to uart1 and printk output to uart0?&lt;/p&gt;
&lt;p&gt;Since I only have the dongle and no debug alternatives my goal is to use uart1 for logging and debugging, and uart0 for the actual application. I can&amp;nbsp;probably use the zephyr&amp;nbsp;UART API for uart0/application&amp;nbsp;but the functionality of printk makes everything much easier.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle zephyr logging cdc acm composite</title><link>https://devzone.nordicsemi.com/thread/356825?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 10:15:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2360856-8f95-4479-ab72-987cdf535b1f</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This is the example&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/reference/usb/uds_cdc_acm.html#console-over-cdc-acm-uart"&gt;https://docs.zephyrproject.org/latest/reference/usb/uds_cdc_acm.html#console-over-cdc-acm-uart&lt;/a&gt;&amp;nbsp;you can look at.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle zephyr logging cdc acm composite</title><link>https://devzone.nordicsemi.com/thread/356088?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 14:41:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:513d999c-83cd-4812-b909-46abcc1a6a5f</guid><dc:creator>ppk2</dc:creator><description>&lt;p&gt;Sorry was poorly explained by me. The cdc acm composite example creates two com ports from the dongle, I was wondering if there was any example that uses one of the uart/com-ports for the logging module?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I guess there is more to it than just setting:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_BACKEND_UART&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-Dongle zephyr logging cdc acm composite</title><link>https://devzone.nordicsemi.com/thread/356086?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 14:25:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:413c1630-1d82-4ba2-96f2-8bca44781bfb</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Our nRF52840 dongle had one USB output port. I am not sure what would you like to mean when you say &amp;#39;&amp;#39;second usb&amp;#39;&amp;#39;. Though nRF52840 DK has 2 USB outputs. Did you mean the DK?&lt;/p&gt;
&lt;p&gt;Thanking you.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>