<?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>No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118870/no-rtt-output-when-enabling-mcuboot</link><description>I am working on a custom board featuring a nrf9160, when i run the zephyr hello_world application with: 
 
 Everything works and i can see the output in JLinkRTTViewer. But when i enable: 
 
 i get no output at all. The application seems to be running</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Mar 2025 15:47:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118870/no-rtt-output-when-enabling-mcuboot" /><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/525571?ContentTypeID=1</link><pubDate>Mon, 03 Mar 2025 15:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f79d0070-9b7c-4cfd-ae74-80ee98db43ef</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am sorry for the delay. Have you made any progess on this on your end?&lt;/p&gt;
&lt;p&gt;I do not see anything missing you your custom board build folder related to RTT logging, it all seems to be in place.&lt;/p&gt;
&lt;p&gt;I am also wondering about this strange RTT og with duplicated letters you are getting without bootloader, which I have not seen before. Just out of curiosity, would that look the asme if you set&amp;nbsp;CONFIG_RTT_TX_RETRY_CNT=3 (instad of 2 which is default)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/524122?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 14:36:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70bffbf3-1a19-4f87-9045-384e45c9cc96</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/combined_5F00_archive.tar.gz"&gt;devzone.nordicsemi.com/.../combined_5F00_archive.tar.gz&lt;/a&gt;Here are the build folders for&amp;nbsp; the custom board and thingy91&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/524111?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 14:06:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:894b7fcf-3e71-4dca-a98c-e86aac2d9b62</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/85949/building-a-custom-board-in-vs-code-for-nrf9160-and-getting-an-error/359637"&gt;RE: Building a custom board in VS Code for nRF9160, and getting an error&lt;/a&gt;&lt;br /&gt;I added the suggested mcuboot.conf to the hello_world project and tried again but got no output on rttViewer when i built for the custom board. &lt;br /&gt;But when i tried building for thingy91_9160_ns and flashing the file to the custom board i get output. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/524079?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 12:48:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a722191-9975-4b86-bc3b-0994d13161b9</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;******&amp;nbsp; BBoooottiinngg&amp;nbsp; nnRRFF&amp;nbsp; CCoonnnneecctt&amp;nbsp; SSDDKK&amp;nbsp; vv33..55..9999--nnccss11--11&amp;nbsp; ****** &lt;br /&gt;&amp;nbsp;&lt;br /&gt;II::&amp;nbsp; SSttaarrttiinngg&amp;nbsp; bboooottllooaaddeerr &lt;br /&gt;&amp;nbsp;&lt;br /&gt;II::&amp;nbsp; PPrriimmaarryy&amp;nbsp; iimmaaggee::&amp;nbsp; mmaaggiicc==uunnsseett,,&amp;nbsp; sswwaapp__ttyyppee==00xx11,,&amp;nbsp; ccooppyy__ddoonnee==00xx33,,&amp;nbsp; iimmaaggee__ookk==00xx33 &lt;br /&gt;&amp;nbsp;&lt;br /&gt;II::&amp;nbsp; SSeeccoonnddaarryy&amp;nbsp; iimmaaggee::&amp;nbsp; mmaaggiicc==uunnsseett,,&amp;nbsp; sswwaapp__ttyyppee==00xx11,,&amp;nbsp; ccooppyy__ddoonnee==00xx33,,&amp;nbsp; iimmaaggee__ookk==00xx33 &lt;br /&gt;&amp;nbsp;&lt;br /&gt;II::&amp;nbsp; BBoooott&amp;nbsp; ssoouurrccee::&amp;nbsp; nnoonnee &lt;br /&gt;&amp;nbsp;&lt;br /&gt;II::&amp;nbsp; IImmaaggee&amp;nbsp; iinnddeexx::&amp;nbsp; 00,,&amp;nbsp; SSwwaapp&amp;nbsp; ttyyppee::&amp;nbsp; nnoonnee &lt;br /&gt;&amp;nbsp;&lt;br /&gt;II::&amp;nbsp; BBoooottllooaaddeerr&amp;nbsp; cchhaaiinnllooaadd&amp;nbsp; aaddddrreessss&amp;nbsp; ooffffsseett::&amp;nbsp; 00xxcc000000 &lt;br /&gt;&amp;nbsp;&lt;br /&gt;II::&amp;nbsp; JJuummppiinngg&amp;nbsp; ttoo&amp;nbsp; tthhee&amp;nbsp; ffiirrsstt&amp;nbsp; iimmaaggee&amp;nbsp; sslloott &lt;br /&gt;&amp;nbsp;&lt;br /&gt;EE::&amp;nbsp; PPrrootteecctt&amp;nbsp; mmccuubboooott&amp;nbsp; ffllaasshh&amp;nbsp; ffaaiilleedd,,&amp;nbsp; ccaanncceell&amp;nbsp; ssttaarrttuupp.. &lt;br /&gt;&lt;br /&gt;I also get this sometimes when i run the build for the custom board on the DK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/524077?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 12:38:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6a34a37-b7c4-4209-87be-8228a8f13b9c</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;It seems like the application is never loaded after mcuboot. I sent you the board files in a private message. I have tried to change them to follow the thingy91 and also tried to make them more like nrf9160dk, but i cant get it to work. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/524072?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 12:18:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b5b072b-2736-4eda-9e22-452ac0d6f83e</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;When i use the partition conf from thingy91 i get that weird output and when i use the one from the DK i get nothing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/524068?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 11:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44c6d984-17af-4d6a-b463-49190d52a0a9</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;When using a custom nrf9160 board is it better to use the partition_conf from thingy91 or the DK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/524047?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 10:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bcb581a-9683-429b-8cf8-4452685ac9cd</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;I have noticed that when i remove CONFIG_BOOTLOADER_MCUBOOT=y from the custom boards _ns_defconfig but enable it in prj.conf i get this output in the RTTViewer, when i add CONFIG_BOOTLOADER_MCUBOOT=y back to the _ns_defconfig i get no output.&lt;pre class="ui-code" data-mode="text"&gt;******  BBoooottiinngg  nnRRFF  CCoonnnneecctt  SSDDKK  vv33..55..9999--nnccss11--11  ******

II::  SSttaarrttiinngg  bboooottllooaaddeerr

II::  PPrriimmaarryy  iimmaaggee::  mmaaggiicc==uunnsseett,,  sswwaapp__ttyyppee==00xx11,,  ccooppyy__ddoonnee==00xx33,,  iimmaaggee__ookk==00xx33

II::  SSeeccoonnddaarryy  iimmaaggee::  mmaaggiicc==uunnsseett,,  sswwaapp__ttyyppee==00xx11,,  ccooppyy__ddoonnee==00xx33,,  iimmaaggee__ookk==00xx33

II::  BBoooott  ssoouurrccee::  nnoonnee

II::  IImmaaggee  iinnddeexx::  00,,  SSwwaapp  ttyyppee::  nnoonnee

II::  BBoooottllooaaddeerr  cchhaaiinnllooaadd  aaddddrreessss  ooffffsseett::  00xx1100000000

II::  JJuummppiinngg  ttoo  tthhee  ffiirrsstt  iimmaaggee  sslloott&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/524028?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 09:05:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79ff0a1d-112e-4698-9af9-cf7d0106c801</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. Then this should really work on the custom board as well. At least from an RTT perspective, as that does not depend on&amp;nbsp;anything on the board (just the SoC itself and the debugger). Can you debug a bit further to verify that the application runs properly and that the code that should log to RTT runs successfully? Perhaps stepping down and verifying if things actually gets written to the RTT Buffer, or if not, why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/523802?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2025 06:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf2aa4c6-ea38-42a4-8b5d-feb96f3f890b</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;If i program the DK with the project built for the custom board i get&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt; &amp;quot;[Sec Thread] Secure image initializing!
TF-M isolation level is: 0x00000001
Booting TF-M v2.0.0&amp;quot;&lt;/pre&gt; &lt;br /&gt;in the serial terminal and then i get the &amp;quot;hello world&amp;quot; application output in the JLinkRTTViewer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/523705?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 13:08:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f776505-2def-4d4f-a43d-80b98eafb626</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Thanks. Looking at these files, in both cases the map files look good and same with regards to RTT, and also the configs. I do not see anything that explains this. What happens if you build and run the project built for the custom board on the DK (I assuem somethings will fail, but perhaps not until after something has been written to the RTT buffer). Do you get output then?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/523190?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2025 09:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52342d5b-f964-4d55-82c6-09b846967b26</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/build_5F00_folders.tar.gz"&gt;devzone.nordicsemi.com/.../build_5F00_folders.tar.gz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;quot;build&amp;quot; is the build folder for the custom board and &amp;quot;build_1&amp;quot; is for the devkit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/523188?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2025 08:53:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6580037e-1a64-4145-ac5d-fa4321a8eef5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. There must be something though, and I am not able to see what that oculd be.. Can you share your custom board files as well as the map file (or full build folder again) you bild for the DK (where you confirmed RTT works and the map file for your custom board (where it does not)? (same exact project, just built for the working and non-working board)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/522960?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 06:27:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59e3d463-6b8c-44f5-9721-801bd0091db2</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;The defconfigs are exactly the same as thingy 91 except that i have removed: &lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
&lt;/pre&gt;&lt;br /&gt;from both secure and non secure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/522912?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 15:16:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28c06108-38d1-4bfd-8c42-58886e7fa760</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. There should not be a fundamental difference between a DK and a custom board when it comes to RTT, as it is just a RAM buffer that is accessed by the degbugger, so I suspect a configuration issue of some sort. Can you share your board files for your custom board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/522901?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 14:44:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2820c894-660e-4811-83e7-e3d18206fc2a</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;I managed to fix the secure fault by adding some missing configurations in my boards defconfig files. But the main issue still remains, i cant see any logs on my custom board when mcuboot is enabled.&lt;br /&gt;&lt;br /&gt;this is my build folder now:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2630.build.tar.gz"&gt;devzone.nordicsemi.com/.../2630.build.tar.gz&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/522893?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 14:24:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3502879e-7f2c-456e-b410-ced63a9fd1ed</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;I tried to use your config but still got no output on my custom nrf9160 board. I got when i built and ran it for nrf9160 devkit like before. I also tried to run the build for the custom board on the devkit and then i got:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;[Sec Thread] Secure image initializing!
TF-M isolation level is: 0x00000001
Booting TF-M v2.0.0
FATAL ERROR: SecureFault
Here is some context for the exception:
    EXC_RETURN (LR): 0xFFFFFFBD
    Exception came from non-secure FW in thread mode.
    xPSR:    0x60000007
    MSP:     0x20000BF8
    PSP:     0x200018B8
    MSP_NS:  0x2000E770
    PSP_NS:  0x2000E590
    Exception frame at: 0x2000E590
        R0:   0x40000105
        R1:   0x020103F5
        R2:   0x2000E660
        R3:   0x2000E688
        R12:  0x00019850
        LR:   0x0001B78F
        PC:   0x00007C20
        xPSR: 0x61000000
    Callee saved register state:        R4:   0x00007C21
        R5:   0x40000105
        R6:   0x020103F5
        R7:   0x2000E660
        R8:   0x00000000
        R9:   0x00019850
        R10:  0x00019850
        R11:  0x00019850
    CFSR:  0x00000000
    BFSR:  0x00000000
    BFAR:  Not Valid
    MMFSR: 0x00000000
    MMFAR: Not Valid
    UFSR:  0x00000000
    HFSR:  0x00000000
    SFSR:  0x00000001
    SFAR: Not Valid&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;addr2line -e zephyr.elf 0x0001B78F&lt;br /&gt;/home/ncs/v2.6.1/zephyr/modules/trusted-firmware-m/interface/interface.c:60&lt;br /&gt;&lt;br /&gt;shows that it is coming from&lt;/p&gt;
&lt;div style="background-color:#1f1f1f;color:#cccccc;font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;" data-darkreader-inline-bgcolor="" data-darkreader-inline-color=""&gt;
&lt;div&gt;&lt;span style="color:#dcdcaa;" data-darkreader-inline-color=""&gt;tfm_ns_interface_dispatch&lt;/span&gt;()&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;and the line:&lt;/div&gt;
&lt;div&gt;
&lt;div style="background-color:#1f1f1f;color:#cccccc;font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;" data-darkreader-inline-bgcolor="" data-darkreader-inline-color=""&gt;
&lt;div&gt;&lt;span style="color:#9cdcfe;" data-darkreader-inline-color=""&gt;result&lt;/span&gt;&lt;span style="color:#cccccc;" data-darkreader-inline-color=""&gt; &lt;/span&gt;&lt;span style="color:#d4d4d4;" data-darkreader-inline-color=""&gt;=&lt;/span&gt;&lt;span style="color:#cccccc;" data-darkreader-inline-color=""&gt; &lt;/span&gt;&lt;span style="color:#9cdcfe;" data-darkreader-inline-color=""&gt;fn&lt;/span&gt;&lt;span style="color:#cccccc;" data-darkreader-inline-color=""&gt;(&lt;/span&gt;&lt;span style="color:#9cdcfe;" data-darkreader-inline-color=""&gt;arg0&lt;/span&gt;&lt;span style="color:#cccccc;" data-darkreader-inline-color=""&gt;, &lt;/span&gt;&lt;span style="color:#9cdcfe;" data-darkreader-inline-color=""&gt;arg1&lt;/span&gt;&lt;span style="color:#cccccc;" data-darkreader-inline-color=""&gt;, &lt;/span&gt;&lt;span style="color:#9cdcfe;" data-darkreader-inline-color=""&gt;arg2&lt;/span&gt;&lt;span style="color:#cccccc;" data-darkreader-inline-color=""&gt;, &lt;/span&gt;&lt;span style="color:#9cdcfe;" data-darkreader-inline-color=""&gt;arg3&lt;/span&gt;&lt;span style="color:#cccccc;" data-darkreader-inline-color=""&gt;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
here is the build folder: &lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0361.build.tar.gz"&gt;devzone.nordicsemi.com/.../0361.build.tar.gz&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/522890?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 14:10:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27ad390b-c453-4984-959c-c831a66ffb9d</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;It works for me aswell if i run it on nrf9160 devkit. It is on the custom board it is not working. I tried to copy your conf but still could not get any output.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/build.tar.gz"&gt;devzone.nordicsemi.com/.../build.tar.gz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have included my build folder that is not working.&lt;br /&gt;&lt;br /&gt;If i try to run the build for the custom board on the devkit i can see in serial terminal that i get:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;[Sec Thread] Secure image initializing!
TF-M isolation level is: 0x00000001
Booting TF-M v2.0.0
FATAL ERROR: SecureFault
Here is some context for the exception:
    EXC_RETURN (LR): 0xFFFFFFBD
    Exception came from non-secure FW in thread mode.
    xPSR:    0x60000007
    MSP:     0x20000BF8
    PSP:     0x200018B8
    MSP_NS:  0x2000E770
    PSP_NS:  0x2000E590
    Exception frame at: 0x2000E590
        R0:   0x40000105
        R1:   0x020103F5
        R2:   0x2000E660
        R3:   0x2000E688
        R12:  0x00019850
        LR:   0x0001B78F
        PC:   0x00007C20
        xPSR: 0x61000000
    Callee saved register state:        R4:   0x00007C21
        R5:   0x40000105
        R6:   0x020103F5
        R7:   0x2000E660
        R8:   0x00000000
        R9:   0x00019850
        R10:  0x00019850
        R11:  0x00019850
    CFSR:  0x00000000
    BFSR:  0x00000000
    BFAR:  Not Valid
    MMFSR: 0x00000000
    MMFAR: Not Valid
    UFSR:  0x00000000
    HFSR:  0x00000000
    SFSR:  0x00000001
    SFAR: Not Valid&lt;/pre&gt;&lt;br /&gt;repeatedly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/522881?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 14:03:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f15701c-2a2f-466c-9ee3-eb3964feed08</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. Can you share the exact project you are using with your changes? I ask because I am not able to reproduce. If I use the unmodified hello_world sample from SDK 2.6, and add this to prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_SEGGER_RTT_BUFFER_SIZE_UP=4096
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_PRINTK=y
CONFIG_UART_CONSOLE=n
CONFIG_CONSOLE=y
CONFIG_RTT_CONSOLE=y

CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUBOOT_BOOTUTIL_LIB=y
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I get this RTT output:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;SEGGER J-Link V8.12c - Real time terminal output
SEGGER J-Link (unknown) V1.0, SN=960061150
Process: JLinkExe
Hello World! nrf9160dk_nrf9160
*** Booting nRF Connect SDK v3.5.99-ncs1-2 ***&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Note that there is a difference in the config here, as with your config, the printf is not forwarded ot RTT (but you should stil see the bot banner (&amp;quot;*** Booting nRF Connect SDK v3.5.99-ncs1-2 ***&amp;quot;), and I do that if I test your exact configuration).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/522819?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 10:30:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a506a9ee-94da-4cac-a16b-9802fa348fef</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;nrfjprog --memrd 0x20000000 --n 0x40000 &amp;gt; full_ram_dump.txt i ran this&lt;/p&gt;
&lt;p&gt;and then used ctrl + F with &amp;quot;SE&amp;quot; and &amp;quot;RT&amp;quot; but could not find the magic string.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/522811?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 10:04:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d23a1fa-619d-40a9-87fc-b856c57527b2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. Can you dump the RAM of the device and search for the RTT buffer in it (see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/97415/no-log-in-rtt-viewer-but-segger-yes/414130"&gt;this post&lt;/a&gt;)? Do you find the magic string marking the start of the RTT buffer? Do you find only one instance or multiple? And does it work if you explicitly configure the RTT viewer to look in that address?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/522803?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 09:37:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ffadeac-aeac-47a7-b7bc-c3093b1e38c9</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;This is what i get when i connect via JLinkRTTViewer:&lt;br /&gt;LOG: Cortex-M: The connected J-Link (S/N 1050014356) uses an old firmware module: V1 (current is 2) &lt;br /&gt;LOG: Cortex-M (ARMv8-M and later): The connected J-Link (S/N 1050014356) uses an old firmware module that does not handle I/D-cache correctly. Proper debugging functionality cannot be guaranteed if cache is enabled &lt;br /&gt;LOG: FPUnit: 8 code (BP) slots and 0 literal slots &lt;br /&gt;LOG: Security extension: implemented &lt;br /&gt;LOG: Secure debug: enabled &lt;br /&gt;LOG: CoreSight components: &lt;br /&gt;LOG: ROMTbl[0] @ E00FF000 &lt;br /&gt;LOG: [0][0]: E000E000 CID B105900D PID 000BBD21 DEVARCH 47702A04 DEVTYPE 00 Cortex-M33 &lt;br /&gt;LOG: [0][1]: E0001000 CID B105900D PID 000BBD21 DEVARCH 47701A02 DEVTYPE 00 DWT &lt;br /&gt;LOG: [0][2]: E0002000 CID B105900D PID 000BBD21 DEVARCH 47701A03 DEVTYPE 00 FPB &lt;br /&gt;LOG: [0][3]: E0000000 CID B105900D PID 000BBD21 DEVARCH 47701A01 DEVTYPE 43 ITM &lt;br /&gt;LOG: [0][5]: E0041000 CID B105900D PID 002BBD21 DEVARCH 47724A13 DEVTYPE 13 ETM &lt;br /&gt;LOG: [0][6]: E0042000 CID B105900D PID 000BBD21 DEVARCH 47701A14 DEVTYPE 14 CSS600-CTI &lt;br /&gt;LOG: RTT Viewer connected. &lt;/p&gt;
&lt;p&gt;But i get no output.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I am using a nrf5340dk to communicate with the nrf9160. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/522641?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2025 12:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:426dd63e-8e18-4a0d-96b4-572d453f812b</guid><dc:creator>mackz</dc:creator><description>&lt;p&gt;I have confirmed that the application actually is started, i am reopening and reconnecting each time after flashing the device but I still get no output I even tried to set the adress manually from the output that I got from the objdump.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No RTT output when enabling mcuboot</title><link>https://devzone.nordicsemi.com/thread/522638?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2025 12:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a210a05d-5169-4c49-b47e-0ccd57faf5d6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you start by verifying that the application is actually started? For instance by toggling a GPIO, or checking something else that is observable from the outside?&lt;/p&gt;
&lt;p&gt;Other than that, RTT is tricky because it uses a buffer in RAM that is allocated build time, so it will typically move when you re-build the application. Therefore, you normally always need to open the RTT viewer again after flashign new firmware. (The RTT viewer seraches for a magic pattern, and decides on where the buffer is. It will not serch again automatically unless you re-open it).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>