<?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>How does SLM use RTT?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90899/how-does-slm-use-rtt</link><description>How does the slm routine of ncs1.9.1 use rtt log. Below is my configuration: 
 
 With the default configuration, there should be RTT log output, but nothing happens in the actual window.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Aug 2022 06:26:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90899/how-does-slm-use-rtt" /><item><title>RE: How does SLM use RTT?</title><link>https://devzone.nordicsemi.com/thread/381885?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 06:26:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8313af6-2011-4e3f-94b6-f6557ddc1158</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I can&amp;#39;t see no obvious reason for this from autoconf.h. When you are testing ncs2.0.0 and ncs1.9.0, are you testing both using nRF Connect for VS Code?&lt;/p&gt;
&lt;p&gt;I remembered one other thing that you can check. When you are using Segger Embedded Studio in NCS, you need to reload the project (close and re-open) whenever you change something in prj.conf (or other .conf files). Make sure that you try this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does SLM use RTT?</title><link>https://devzone.nordicsemi.com/thread/381880?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 05:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10dc070e-d5ed-4736-8fcc-6d1c5fe5491a</guid><dc:creator>xinjiang</dc:creator><description>&lt;p&gt;The RTT of ncs2.0.0 can output logs normally, but not of ncs1.9.1. This is my compiled configuration file, can you find the problem?&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0131.autoconf.h"&gt;devzone.nordicsemi.com/.../0131.autoconf.h&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does SLM use RTT?</title><link>https://devzone.nordicsemi.com/thread/381559?ContentTypeID=1</link><pubDate>Mon, 15 Aug 2022 11:56:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce4b2374-2862-421c-a2a1-897a773b7e41</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I don&amp;#39;t know exactly what&amp;#39;s going on. Can you please try to run the same sample using the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-vs-code"&gt;nRF Connect for VS Code&lt;/a&gt; extension tool for Visual Studio Code?&lt;/p&gt;
&lt;p&gt;I have not used SES in NCS, and it is now discontinued (since NCS v2.0.0). I see that you are using v1.9.1, but perhaps it (SES) was not set up correctly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So can you please try the VS Code &amp;quot;IDE&amp;quot;, and see if you can connect to the RTT Terminal either through nRF Connect for VS Code, or the RTT Viewer after programming via nRF Connect for VS Code?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does SLM use RTT?</title><link>https://devzone.nordicsemi.com/thread/381412?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 15:37:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eae2632c-307e-421d-b028-61664253522b</guid><dc:creator>xinjiang</dc:creator><description>&lt;p&gt;Yes, is 9160 DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does SLM use RTT?</title><link>https://devzone.nordicsemi.com/thread/381370?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 13:08:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b49a2d3-5388-4b50-b36b-976610e15863</guid><dc:creator>Edvin</dc:creator><description>[quote user="Edvin Holmseth"]&lt;p&gt;What HW are you running on?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;What HW are you running this on? A DK?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does SLM use RTT?</title><link>https://devzone.nordicsemi.com/thread/381291?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 08:24:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9981c681-122e-459a-8a65-4feff13107fb</guid><dc:creator>xinjiang</dc:creator><description>&lt;p&gt;SLM is&amp;nbsp;serial_lte_modem&amp;nbsp;demo.Can you try running it and see if there is any log output.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does SLM use RTT?</title><link>https://devzone.nordicsemi.com/thread/381290?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 08:17:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67374bd6-7a8a-4d8f-ab97-658c870df084</guid><dc:creator>Edvin</dc:creator><description>[quote user=""]How does the slm routine[/quote]
&lt;p&gt;What does &amp;quot;slm&amp;quot; stand for, by the way?&lt;/p&gt;
&lt;p&gt;Make sure that you try to connect the RTT viewer after (!) you have started the application.&lt;/p&gt;
&lt;p&gt;Did you try any of the unmodified NCS samples, such as NCS\nrf\samples\bluetooth\peripheral_uart? This uses the RTT backend for logging.&lt;/p&gt;
&lt;p&gt;What HW are you running on?&lt;/p&gt;
&lt;p&gt;Are you sure that your application is using logging at all? I see LOG_CORE_INIT() from your screenshot, but is there anything in your application, e.g. in main.c that indicates that something should be logged?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does SLM use RTT?</title><link>https://devzone.nordicsemi.com/thread/381273?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 06:40:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db514a37-2b64-430e-9698-7033ccde0b7b</guid><dc:creator>xinjiang</dc:creator><description>&lt;p&gt;RTT Viewer also has no log output.&lt;/p&gt;
&lt;p&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/pastedimage1660286382506v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does SLM use RTT?</title><link>https://devzone.nordicsemi.com/thread/381181?ContentTypeID=1</link><pubDate>Thu, 11 Aug 2022 11:48:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:628db847-623e-491e-8e1d-757f8033bfeb</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have actually not used Segger Embedded Studio with the nRF Connect SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you flash the sample you are running, and try to open Segger RTT Viewer after the application has started. Do you see the log in RTT Viewer?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>