<?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 to enable JLINK RTT modem trace for the at_client sample in NCS  v3.2.3?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127323/how-to-enable-jlink-rtt-modem-trace-for-the-at_client-sample-in-ncs-v3-2-3</link><description>Hi nordic support: 
 Our product uses the nRF9151 and prepare for GCF certification testing , which need to capturing LTE mode trace log . 
 We first intend to try running the NCS v3.2.3&amp;#39;s at_client sample program on the nRF9160DK , and capture the trace</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Mar 2026 10:31:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127323/how-to-enable-jlink-rtt-modem-trace-for-the-at_client-sample-in-ncs-v3-2-3" /><item><title>RE: How to enable JLINK RTT modem trace for the at_client sample in NCS  v3.2.3?</title><link>https://devzone.nordicsemi.com/thread/564019?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2026 10:31:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e9b9b96-926c-4a46-aab2-30424fe486ba</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello, I am not aware of any levels needed to be set for GCF Certification tests, but the numbers seem sufficient. If you can collect modem traces correctly, this should correct.&lt;/p&gt;
&lt;p&gt;Kind regards,&amp;nbsp;&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable JLINK RTT modem trace for the at_client sample in NCS  v3.2.3?</title><link>https://devzone.nordicsemi.com/thread/563747?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2026 09:05:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1284d6c-be32-43c9-a6e4-43c8fa453af6</guid><dc:creator>RongLinQin</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/oys"&gt;&amp;Oslash;yvind&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Thanks for your help.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; We tried modifying the following two configuration options. After increasing &lt;span&gt;TRACE_BACKEND_RTT_BUF_SIZE and&amp;nbsp;TRACE_STACK_SIZE&lt;/span&gt;, we can capture logs normally now.&amp;nbsp;Could you help check what values should be set for these two&amp;nbsp;configuration and the MODEM TRACE LEVEL for&amp;nbsp;&amp;nbsp;GCF certification test?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CONFIG_NRF_MODEM_LIB_TRACE_BACKEND_RTT_BUF_SIZE=16384&lt;br /&gt;CONFIG_NRF_MODEM_LIB_TRACE_STACK_SIZE=8192&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Thanks!&lt;/p&gt;
&lt;p&gt;BRs&lt;/p&gt;
&lt;p&gt;Qin, Rong-Lin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable JLINK RTT modem trace for the at_client sample in NCS  v3.2.3?</title><link>https://devzone.nordicsemi.com/thread/563635?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2026 07:43:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a44629d-3362-4fc3-8d39-1e38ae88a45c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello, I have been asked to follow-up on your ticket while Benjamin is out of office.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you please share the logs that you are able to capture? This way we can see if it is sufficient or not.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable JLINK RTT modem trace for the at_client sample in NCS  v3.2.3?</title><link>https://devzone.nordicsemi.com/thread/563280?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2026 07:29:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e855a27d-ea81-4345-ae55-7466b4d46e82</guid><dc:creator>RongLinQin</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Benjamin:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for your help!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;After&amp;nbsp;added the &lt;strong&gt;-RTTChannel&lt;/strong&gt; parameter to the JlinkRTTLogger command, LTE RTT trace log could be&amp;nbsp;captured.&amp;nbsp; Following is the command parameters we used:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;JlinkRTTLogger -Device nRF9160_xxAA -If SWD -Speed 4000 -RTTChannel 1 e:\ch1.bin&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;However, the current speed of capturing&amp;nbsp; jlink RTT is slow,&amp;nbsp; the maximum speed of our board is about 70 KB/s. Capturing logs for a single LTE network&amp;nbsp;attachment operation takes more than ten minutes. Sometimes the captured logs cannot be decoded by wireshark, and we are not sure if this is due to incomplete log capture caused by the slow speed. Could you&amp;nbsp;give us some guidance on optimizing the JLink RTT capture log speed?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; thanks.&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BRs&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Qin, Rong-Lin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable JLINK RTT modem trace for the at_client sample in NCS  v3.2.3?</title><link>https://devzone.nordicsemi.com/thread/563026?ContentTypeID=1</link><pubDate>Wed, 11 Mar 2026 13:05:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d05b235-cdc6-4c88-877a-d948880881f7</guid><dc:creator>Benjamin</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;The Cellular Monitor application does not support RTT directly.&amp;nbsp;You will first need to capture the trace as a .log file using&amp;nbsp;&lt;span&gt;the J-Link RTT logger software&lt;/span&gt;&amp;nbsp;and then convert it using Cellular Monitor as described&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/modem/nrf_modem_lib/nrf_modem_lib_trace.html#modem_tracing_with_rtt"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4760.SCR_2D00_20260311_2D00_mnuo.png" /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Benjamin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable JLINK RTT modem trace for the at_client sample in NCS  v3.2.3?</title><link>https://devzone.nordicsemi.com/thread/562871?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2026 07:18:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00c02b2c-0df4-4a47-bea3-a48aec73c762</guid><dc:creator>RongLinQin</dc:creator><description>&lt;p&gt;Hi HungBui:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for your help!&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I tried added these RTT trace configurations in&amp;nbsp; at_client&amp;#39;s prj.conf as picture &amp;quot;prj_conf.png&amp;quot;.&amp;nbsp; Then build the project and download&amp;nbsp; the &amp;quot;merged.hex&amp;quot; to nRF9160DK.&amp;nbsp; Then use JLinkRTTLogger command to capture modem trace rtt log as picture &amp;quot;rtt_log.png&amp;quot;. When&amp;nbsp; I start Cellular Monitor and Refresh dashboard, some AT commands can be seen being sent in the Serial Terminal, but no data is captured by JLinkRTTLogger. Could you help us to check it ?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:134px;max-width:153px;" height="134" src="https://devzone.nordicsemi.com/resized-image/__size/306x268/__key/communityserver-discussions-components-files/4/5040.prj_5F00_conf.png" width="153" alt=" " /&gt;&lt;img style="max-height:126px;max-width:223px;" height="126" src="https://devzone.nordicsemi.com/resized-image/__size/446x252/__key/communityserver-discussions-components-files/4/rtt_5F00_log.png" width="223" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:129px;max-width:176px;" height="129" src="https://devzone.nordicsemi.com/resized-image/__size/352x258/__key/communityserver-discussions-components-files/4/celular_5F00_dashboard.png" width="176" alt=" " /&gt;&lt;img style="max-height:151px;max-width:220px;" height="151" src="https://devzone.nordicsemi.com/resized-image/__size/440x302/__key/communityserver-discussions-components-files/4/2818.terminal.png" width="220" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BRs&lt;/p&gt;
&lt;p&gt;Qin, Rong-Lin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable JLINK RTT modem trace for the at_client sample in NCS  v3.2.3?</title><link>https://devzone.nordicsemi.com/thread/562813?ContentTypeID=1</link><pubDate>Mon, 09 Mar 2026 12:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1024d682-c26e-4c5e-8831-b5fd60ceee0d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ronglin,&amp;nbsp;&lt;br /&gt;Have you followed the guide here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/modem/nrf_modem_lib/nrf_modem_lib_trace.html#modem_tracing_with_rtt"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/modem/nrf_modem_lib/nrf_modem_lib_trace.html#modem_tracing_with_rtt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Or you can use the snippet as described here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf91/nrf91_snippet.html#nrf91-modem-trace-rtt-snippet"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/nrf91/nrf91_snippet.html#nrf91-modem-trace-rtt-snippet&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Basically it&amp;#39;s these configurations:&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NRF_MODEM_LIB_TRACE=y

# Modem trace RTT backend
CONFIG_NRF_MODEM_LIB_TRACE_BACKEND_RTT=y

# RTT configuration
CONFIG_USE_SEGGER_RTT=y
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>