<?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>nRF Profiler scripts can&amp;#39;t seem to handle different RTT backend channel from default.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110573/nrf-profiler-scripts-can-t-seem-to-handle-different-rtt-backend-channel-from-default</link><description>Development Setup: 
 - nRF Connect SDK v2.6.0 - Custom nRF9160 board - OS: Debian Bookworm (running scripts in python virtual enviroment) Currently application uses Shell and Logging both with RTT backend. SHELL_BACKEND_RTT_BUFFER=0 and LOG_BACKEND_RTT_BUFFER</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Apr 2024 11:24:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110573/nrf-profiler-scripts-can-t-seem-to-handle-different-rtt-backend-channel-from-default" /><item><title>RE: nRF Profiler scripts can't seem to handle different RTT backend channel from default.</title><link>https://devzone.nordicsemi.com/thread/481053?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 11:24:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:121086b4-50d5-44c6-bff8-a2d86e8c2eea</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Matthijs&lt;/p&gt;
&lt;p&gt;Okay, I understand. I have reached out to the devs behind the nRF Profiler now, and will get back to you when I hear from them. I agree that this sounds like either a bug or a feature that hasn&amp;#39;t been added to the Profiler yet.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Profiler scripts can't seem to handle different RTT backend channel from default.</title><link>https://devzone.nordicsemi.com/thread/480667?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 11:44:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7857b2f4-3fce-4f40-bb29-58d4b6597036</guid><dc:creator>mattheis</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t tried the Profiler sample, it looks like it also doesn&amp;#39;t use the same configuration I&amp;#39;m trying to use for my application.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll try to give a better description of the problem:&lt;br /&gt;&lt;br /&gt;The nRF Profiler, Application Event Manager profiler tracer, shell and logging&amp;nbsp;libraries all work independently.&lt;br /&gt;&lt;br /&gt;To use the Shell and Logging feature at the same time I&amp;#39;m using RTT buffer(channel) 0 for the shell and RTT buffer(channel) 1 for the logging.&lt;br /&gt;&lt;br /&gt;When you add in the nRF Profiler part code compiles fine and has been verified working. Only the scripts in nrf/scripts/nrf_profiler/ don&amp;#39;t seem to work with the Logging on a different channel than the default (channel 0).&lt;br /&gt;&lt;br /&gt;Shell also provides a means to handle logging using CONFIG_SHELL_LOG_BACKEND=y; Even though this works on RTT channel 0; the nrf_profiler scripts seemingly can&amp;#39;t handle the SHELL_LOG_BACKEND, but only the standard Zephyr Logging library.&lt;br /&gt;&lt;br /&gt; So to further reply to your question. RTT functions correctly and I am able to use Shell, Logging and Profiler using the RTT backend, only it breaks when using them either all at the same time or in specific configurations.&lt;br /&gt;&lt;br /&gt;The thing that breaks is the nrf_profiler scripts so my assumption was that they can&amp;#39;t handle different RTT channels. I&amp;#39;ve opened the support ticket to get confirmation on if this might be a bug or a missing feature.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your time and best regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Matthijs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Profiler scripts can't seem to handle different RTT backend channel from default.</title><link>https://devzone.nordicsemi.com/thread/480640?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 10:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95009da2-ccd0-45b4-b6fe-2c7f49fc6a96</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I assume you mean the Profiler sample that demonstrates the nRF Profiler subsystem, correct?&lt;/p&gt;
&lt;p&gt;The error message you&amp;#39;re seeing is that the RTT can&amp;#39;t find properly configured channels. The RTT runs on the SWDIO pins, so if those are not connected to your USB/serial connector, then I assume this is the error message you&amp;#39;ll see.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>