<?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>Can&amp;#39;t enable segger RTT for console</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108829/can-t-enable-segger-rtt-for-console</link><description>I&amp;#39;m trying to add MCUboot to the zephyr hello world sample as shown in this post . However, after creating a workspace and loading the hello world sample, I&amp;#39;m unable to enable the segger RTT backend for logs. 
 This is my prj.conf: 
 
 When I hover over</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Mar 2024 19:43:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108829/can-t-enable-segger-rtt-for-console" /><item><title>RE: Can't enable segger RTT for console</title><link>https://devzone.nordicsemi.com/thread/472327?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2024 19:43:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c7fc7c5-b216-41a4-b713-22fe0f2d12f0</guid><dc:creator>zhsq6b</dc:creator><description>&lt;p&gt;I did get the expected result. I was just hoping there was some sort of explanation for the behavior.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't enable segger RTT for console</title><link>https://devzone.nordicsemi.com/thread/472306?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2024 17:24:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:461ee3d1-3f0b-4a0b-b098-a08da1e55c38</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Did you get the&lt;span&gt;&amp;nbsp;RTT log?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you could get the expected result, you could ignore it.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't enable segger RTT for console</title><link>https://devzone.nordicsemi.com/thread/472289?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2024 16:12:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3816689f-0f08-4d0b-a69a-8a93383d7be3</guid><dc:creator>zhsq6b</dc:creator><description>&lt;p&gt;So I am able to build and flash to the nrf52840dk. I&amp;#39;m still getting the dependency errors in my prf.conf file, but they don&amp;#39;t seem to actually have any effect on the building and flashing of the application. So is this just something in the extensions interpretation of the kconfig files?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't enable segger RTT for console</title><link>https://devzone.nordicsemi.com/thread/472148?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2024 23:01:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07d57fe6-dd07-431a-8e4f-da31c74fe1e6</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I use the config as that tutorial suggested and can get the RTT log on nRF52840DK. Could you test with nRF52840DK?&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Enable MCUBoot.
CONFIG_BOOTLOADER_MCUBOOT=y

# Enable flash operations.
CONFIG_FLASH=y

# Enable MCUmgr and dependencies.
CONFIG_MCUMGR=y
CONFIG_NET_BUF=y
CONFIG_ZCBOR=y
CONFIG_CRC=y
CONFIG_STREAM_FLASH=y
CONFIG_FLASH_MAP=y

# Enable most core commands.
CONFIG_IMG_MANAGER=y
CONFIG_MCUMGR_GRP_IMG=y
CONFIG_MCUMGR_GRP_OS=y

# Enable the serial mcumgr transport.
CONFIG_MCUMGR_TRANSPORT_UART=y
CONFIG_BASE64=y
CONFIG_CONSOLE=y

# Disable UART Console and enable the RTT console
CONFIG_UART_CONSOLE=n
CONFIG_RTT_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y

# Some command handlers require a large stack.
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096&lt;/pre&gt;&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/pastedimage1709593189912v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Please also make sure the toolchain and SDK version settings are correct.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is my test project&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/serial_5F00_dfu_5F00_hello_5F00_world.7z"&gt;devzone.nordicsemi.com/.../serial_5F00_dfu_5F00_hello_5F00_world.7z&lt;/a&gt; for NCS v2.5.2.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't enable segger RTT for console</title><link>https://devzone.nordicsemi.com/thread/472143?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2024 21:05:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60578a14-ba07-49bb-b579-fe5ee7f1bc06</guid><dc:creator>zhsq6b</dc:creator><description>&lt;p&gt;I have tried this on v2.5.2 and v2.5.1 and have had the same results. I used to work on v1.9.2 without issue, but have recently been trying to upgrade to the newer versions and utilize the workspace application structure that is recommended in the nRF Connect SDK documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't enable segger RTT for console</title><link>https://devzone.nordicsemi.com/thread/472140?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2024 20:38:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9f197ba-3201-4579-aa73-cc723ebdb197</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;What NCS version are you using?&lt;/p&gt;
&lt;p&gt;Could you try the last version v2.5.2?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't enable segger RTT for console</title><link>https://devzone.nordicsemi.com/thread/471884?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 22:29:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e6edfe0-37c7-41a6-9157-dfc4807672da</guid><dc:creator>zhsq6b</dc:creator><description>&lt;p&gt;I&amp;#39;m still getting this dependency error:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:176px;max-width:537px;" height="176" src="https://devzone.nordicsemi.com/resized-image/__size/1074x352/__key/communityserver-discussions-components-files/4/pastedimage1709331974200v1.png" width="537" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is what has been confusing me. I don&amp;#39;t see anything that should cause this dependency error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't enable segger RTT for console</title><link>https://devzone.nordicsemi.com/thread/471883?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 22:18:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88989a84-03c5-45e7-ab64-eaedb20dcf5b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="Zschrader98"]I&amp;#39;m still a bit confused on the reasoning for this.[/quote]
&lt;p&gt;You probably also need these confgs:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Config logger
CONFIG_LOG=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then, you would be able to see the RTT log from the application. If you want to see the RTT log from the mcuboot and the application together, please use UART due to the reason in that post.&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't enable segger RTT for console</title><link>https://devzone.nordicsemi.com/thread/471877?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 21:00:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9697c5c7-1665-467d-8c66-eddd16622960</guid><dc:creator>zhsq6b</dc:creator><description>&lt;p&gt;Thank you for the response.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m still a bit confused on the reasoning for this. Is there an issue because I&amp;#39;m trying to use MCUboot along with RTT logging?&lt;/p&gt;
&lt;p&gt;If this is the case, shouldn&amp;#39;t I be able to remove MCUboot from my application and configure RTT logging?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Zach&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't enable segger RTT for console</title><link>https://devzone.nordicsemi.com/thread/471875?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 20:49:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:212fbc5c-7f58-413a-9362-494d48a280bd</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please check &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/101881/rtt-viewer-doesn-t-show-any-mcuboot-log-messages/436513"&gt;this post&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>