<?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>Duplicate RTT output from Thingy:91 X</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121475/duplicate-rtt-output-from-thingy-91-x</link><description>I&amp;#39;m developing code to run on the nRF5340 SoC in a Thingy:91 X and I am seeing duplicate RTT output. For example, if I look at the RTT output from the default &amp;#39;Connectivity Bridge&amp;#39; application, I see the following in VSCode and the same in RTT Viewer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Aug 2025 14:15:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121475/duplicate-rtt-output-from-thingy-91-x" /><item><title>RE: Duplicate RTT output from Thingy:91 X</title><link>https://devzone.nordicsemi.com/thread/544484?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2025 14:15:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d9e7959-2d44-4593-9508-23cea9288497</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/dm1"&gt;dm1&lt;/a&gt;&amp;nbsp;, please open a new ticket with more details on your setup.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Duplicate RTT output from Thingy:91 X</title><link>https://devzone.nordicsemi.com/thread/543360?ContentTypeID=1</link><pubDate>Wed, 23 Jul 2025 13:13:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08ccd410-96b8-49de-ae3b-d74ec8dbb124</guid><dc:creator>dm1</dc:creator><description>&lt;p&gt;I am having exactly the same issue and yes&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CONSOLE&lt;/span&gt;&lt;span&gt;&lt;span&gt;=n does stop this behavior however shouldn&amp;#39;t CONFIG_CONSOLE=y be the correct setting for log output as&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_RTT_CONSOLE=y depends on it.&lt;/span&gt;&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: Duplicate RTT output from Thingy:91 X</title><link>https://devzone.nordicsemi.com/thread/535954?ContentTypeID=1</link><pubDate>Mon, 19 May 2025 10:58:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30ce2d68-61c8-42fd-91f0-2a5632081da0</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello, that is good news.&amp;nbsp;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Duplicate RTT output from Thingy:91 X</title><link>https://devzone.nordicsemi.com/thread/535312?ContentTypeID=1</link><pubDate>Wed, 14 May 2025 11:53:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30a07122-e308-4352-8571-236da7e9c5d0</guid><dc:creator>Scott Grubb</dc:creator><description>&lt;p&gt;I think I&amp;#39;ve found the source of the duplicate RTT messages.&amp;nbsp; Disabling the console in the prj.conf file (&lt;span&gt;CONFIG_CONSOLE&lt;/span&gt;&lt;span&gt;=n) stops them.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Duplicate RTT output from Thingy:91 X</title><link>https://devzone.nordicsemi.com/thread/535298?ContentTypeID=1</link><pubDate>Wed, 14 May 2025 10:15:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af92ef50-72aa-4325-9faa-54bf70611849</guid><dc:creator>Scott Grubb</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi &amp;Oslash;yvind,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The code is indeed the Connectivity Bridge application.&amp;nbsp; It is unmodified.&amp;nbsp; I created a new application in nRF Connect for VSCode extension based on the sample in ncs 3.0.0 and built it for the thingy91x/nrf5340/cpuapp target.&amp;nbsp; I have not modified the sample in any way.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As I understand it, the Connectivity Bridge allows you to log from the nRF9151 SiP using USB but you still need to use RTT to log from the nRF5340 SoC.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The error originates from this block of code, which enables the USB subsystem when the filesystem and the bulk module are ready.&amp;nbsp; However, it seems that this block of code is being triggered twice.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m not too concerned about the error.&amp;nbsp; My main problem is with the duplicate RTT output.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1747217701618v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Duplicate RTT output from Thingy:91 X</title><link>https://devzone.nordicsemi.com/thread/535294?ContentTypeID=1</link><pubDate>Wed, 14 May 2025 09:51:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebaaa5ce-797b-41b6-9514-e7c2e9c83257</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;That is a very odd outcome. Are you able to share what exactly your code does i.e. what steps do I need to replicate the issue?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""] It&amp;#39;s also a bit concerning to see that the only sample app that is listed as compatible with the&amp;nbsp;&lt;span&gt;nRF5340 SoC&amp;nbsp;&lt;/span&gt;&lt;span&gt;in&amp;nbsp;&lt;/span&gt;&lt;span&gt;a Thingy:91 X generates run-time errors out of the box&lt;/span&gt;[/quote]
&lt;p&gt;What sample are you referring to? Do you mean the Connectivity Bridge? The Connectivity Bridge &lt;span&gt;acts as a USB composite device allowing users to connect to the nRF9151 using USB only, instead of RTT,&amp;nbsp;exposing two UART interfaces to a USB host as two CDC ACM devices&lt;/span&gt;&lt;/p&gt;
[quote user=""]I believe the error indicates that the USB subsystem is being enabled&amp;nbsp;twice.&amp;nbsp; Should this just be a warning?[/quote]
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_EALREADY&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;120&lt;/span&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/**&amp;lt; Connection already in progress */&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;From the looks of the provided logs it seems that you have logging activated twice in some way.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>