<?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>NRF9160 custom board RTT init fails</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113923/nrf9160-custom-board-rtt-init-fails</link><description>Hi, 
 I cannot resolve the problem while setting up modem trace RTT logging. I&amp;#39;m also unable to find up-to-date information on how to set this up. 
 I have connected DK as SWD bridge to my custom board, I also have USB-UART available via FTDI chip if</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Aug 2024 13:35:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113923/nrf9160-custom-board-rtt-init-fails" /><item><title>RE: NRF9160 custom board RTT init fails</title><link>https://devzone.nordicsemi.com/thread/499588?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 13:35:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:608ab425-91e3-4f25-a7d0-7456b2b58a9e</guid><dc:creator>lumdeveloper</dc:creator><description>&lt;p&gt;I got this sorted out but unfortunately, I don&amp;#39;t remember my solution any more so this ticket is useless now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 custom board RTT init fails</title><link>https://devzone.nordicsemi.com/thread/498229?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 09:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df70d689-c9e4-4645-881e-86d8a3512b70</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;p&gt;I cannot resolve the problem while setting up modem trace RTT logging. I&amp;#39;m also unable to find up-to-date information on how to set this up.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;The documentation for the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/modem/nrf_modem_lib/nrf_modem_lib_trace.html"&gt;modem trace module can be found here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
[quote user=""]My RTT init fails to this:[/quote]
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_ENOSYS&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;88&lt;/span&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /**&amp;lt; Functionality not supported */&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_EFAULT&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;14&lt;/span&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /**&amp;lt; Bad address */&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;What else do you have enabled in your project?&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Looking at e.g.&amp;nbsp;nrf\tests\lib\nrf_modem_lib\trace_backends\rtt\prj.conf it has the following configuration&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_USE_SEGGER_RTT=y
CONFIG_NRF_MODEM_LIB_TRACE=y
CONFIG_NRF_MODEM_LIB_TRACE_BACKEND_RTT=y&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&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></channel></rss>