<?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>USBD without logging</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29831/usbd-without-logging</link><description>Hello.
I have the problem with USB connection with NRF_LOG_ENABLED.
I am using my custom board, NRF52840 QIAABB version. I have enabled CLI over RTT, softdevice. I am using SDK14. I also use patch for error [187]. With NRF_LOG_ENABLED (with RTT backend</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Jan 2018 13:07:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29831/usbd-without-logging" /><item><title>RE: USBD without logging</title><link>https://devzone.nordicsemi.com/thread/118521?ContentTypeID=1</link><pubDate>Fri, 26 Jan 2018 13:07:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24d1f987-fd7f-4275-bc0d-a2ecf0812954</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It is hard to repoduce the issue from your description. Could you post the code related to power management and processing of log/cli/usb events? Ideally, if you could upload the entire project, that would be best. If you do not want to share it in public, you can create a new case on &lt;a href="https://www.nordicsemi.com/eng/nordic/mypage"&gt;MyPage&lt;/a&gt;, where you link to this thread and upload the project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD without logging</title><link>https://devzone.nordicsemi.com/thread/118523?ContentTypeID=1</link><pubDate>Thu, 18 Jan 2018 09:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:981f2e50-1b14-44a8-bcef-7df365a84249</guid><dc:creator>artrr</dc:creator><description>&lt;p&gt;I have updated to SDK14.2. Nothing change, the same issue... I&amp;#39;ve implemented some mechanism for logs filtering, so now I may leave NRF_LOG_ENABLED on. However this behavior (Softdevice on, logs disabled, USB not functional) looks very strange...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD without logging</title><link>https://devzone.nordicsemi.com/thread/118525?ContentTypeID=1</link><pubDate>Tue, 16 Jan 2018 14:53:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b81dfdf-2a49-45f0-8925-cdedf0676613</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Are you using SDK v14.0.0, or v14.1.0/14.2.0? There is a lot of fixes related to app_usbd library and nrf_drv_usbd in SDK v14.1.0 release (&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.1.0/index.html?cp=4_0_1_0"&gt;release notes&lt;/a&gt;). If you are not using the latest version, I would recommend you to try out the updated libraries.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD without logging</title><link>https://devzone.nordicsemi.com/thread/118524?ContentTypeID=1</link><pubDate>Tue, 16 Jan 2018 08:44:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ad1ed7b-0e34-4756-9b8e-7f63a7e09188</guid><dc:creator>artrr</dc:creator><description>&lt;p&gt;All initializations have APP_ERR_CHECK so even without logs I know that there are no errors. Software works because I have working CLI.
However I checked interactions between SW modules:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;NRF_LOG_ENABLE=1, softdevice active - USB works fine.&lt;/li&gt;
&lt;li&gt;NRF_LOG_ENABLE=0, softdevice active - USB doesn&amp;#39;t work.&lt;/li&gt;
&lt;li&gt;NRF_LOG_ENABLE=0, sofdevice NOT active - USB works fine.
So it looks that there is a problem when I have active softdevice (s140_nrf52840_5.0.0-2).&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USBD without logging</title><link>https://devzone.nordicsemi.com/thread/118522?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2018 13:37:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b7b0707-a7be-4c52-a0ff-95f9065d7db6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I&amp;#39;m not able to reproduce this issue using the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.0.0/examples_usb.html?cp=4_0_2_4_5_46"&gt;USB examples&lt;/a&gt; in the SDK. Have you checked if you see the same issue if you test with these? Have you tried debugging your application to see if the code is stuck somewhere, or if some functions return any error codes when logging is disabled? Note that there is &lt;a href="https://devzone.nordicsemi.com/question/163410/app_usbd-log-error-in-sdk1400/"&gt;a bug in the app_usbd library&lt;/a&gt; related to the logging module, but I don&amp;#39;t think this is related to your issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>