<?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>enable modem trace logs.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111908/enable-modem-trace-logs</link><description>Hi, i want collect modem trace logs for nRF9160, can you please help with steps how to collect modem trace logs 
 
 BR, 
 Pradeep Gamidi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Jun 2024 10:29:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111908/enable-modem-trace-logs" /><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/491283?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 10:29:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b44eb8c6-d116-4696-8779-949520fd7535</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/pradeep-gamidi"&gt;Pradeep Gamidi&lt;/a&gt;&amp;nbsp;did you run modem trace as instructed in my last comment? See below.&lt;br /&gt;&lt;pre class="ui-code" data-mode="powershell"&gt;nrfjprog --reset &amp;amp;&amp;amp; &amp;quot;C:\Program Files\SEGGER\JLink_V794e\JLinkRTTLogger.exe&amp;quot; -Device NRF9160_XXAA -If SWD -Speed 5000 C:\Temp\Support\328159\modemtrace.bin&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Please provide the modem trace here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/491027?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 08:22:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:059c4517-764c-457c-ab0d-072287a1bdf0</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Happy to hear! Are the modem&amp;nbsp;trace usable as well? Is the information you need in the trace?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/491001?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 07:05:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f81ec7e1-bbbf-4ef0-b360-bd0338316c3b</guid><dc:creator>Pradeep Gamidi</dc:creator><description>&lt;p&gt;Hi &amp;Oslash;yvind,&lt;/p&gt;
&lt;p&gt;After adding &lt;code&gt;CONFIG_RTT_CONSOLE=n&lt;/code&gt;, I was able to collect the modem trace. Thank you for your support.&lt;/p&gt;
&lt;p&gt;Thanks and Regards,&lt;br /&gt;Pradeep Gamidi&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/489679?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2024 10:44:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e8777fd-0a73-4feb-a932-1b5763297f5d</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;I did some testing on my side. Building the asset tracker v2 application from NCS v1.7.1 and adding the following configurations to the prj.conf&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Segger RTT
CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=n
CONFIG_LOG_BACKEND_RTT=y
CONFIG_UART_CONSOLE=n
CONFIG_LOG_BACKEND_UART=n

CONFIG_NRF_MODEM_LIB_TRACE_ENABLED=y
CONFIG_NRF_MODEM_LIB_TRACE_MEDIUM_RTT=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then I started the Segger RTT Logger application with the following command in command line (Windows):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog --reset &amp;amp;&amp;amp; &amp;quot;C:\Program Files\SEGGER\JLink_V794e\JLinkRTTLogger.exe&amp;quot; -Device NRF9160_XXAA -If SWD -Speed 5000 C:\Temp\Support\328159\modemtrace.bin&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You may need to change the path to JLinkRTTLogger.exe, but everything else should be the same.&lt;/p&gt;
&lt;p&gt;The modemtrace.bin that was the output provided me with correct information and a working modem trace.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/489644?ContentTypeID=1</link><pubDate>Thu, 20 Jun 2024 08:48:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0788b94-c8b3-4350-bc0c-489cc2ced262</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Runar had to prioritize another issue and asked me to handle this ticket for him. There might have been an issue with the modem trace that you provided, as we are not able to convert it correctly. Seems to be corrupted and very short.&lt;/p&gt;
&lt;p&gt;In your prj.conf can you please test with the following change:&lt;br /&gt;&lt;span&gt;&lt;span dir="ltr"&gt;CONFIG_RTT_CONSOLE=n&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/489473?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2024 10:37:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c3f7815-a099-4875-962b-83cd635a6cfa</guid><dc:creator>Pradeep Gamidi</dc:creator><description>&lt;p&gt;Hi Runar,&lt;/p&gt;
&lt;p&gt;We are not using Turkcell; we are working with Cat M1 and enabling eDRX feature.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/489286?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2024 12:02:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a2ab0fb-2ae2-4fc8-9a15-1df694401f40</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Could you confirm a thing for me. Are you connect to turkcell over NB-Iot? If so set&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;AT%XEPCO=0 as Turkcell do not support ePCO. If you run into issues after that you can provide a new trace.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;What is the issues you are experiencing?&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Try&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Regards&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Runar&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/489240?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2024 09:32:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68e890ca-7658-4d1f-93b2-91ed77c4258b</guid><dc:creator>Pradeep Gamidi</dc:creator><description>&lt;p&gt;Hi Runar,&lt;/p&gt;
&lt;p&gt;As mentioned, I have saved the log file with a .bin extension. However, when I loaded this file into the Cellular Monitor, it did not display any data. I am attaching the log file for your reference.&lt;/p&gt;
&lt;p&gt;Could you please assist in resolving this issue?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/datalog.bin"&gt;devzone.nordicsemi.com/.../datalog.bin&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/489109?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 13:06:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fad61c7e-c6e4-4c2b-8460-6fe8b4045b60</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi Pradeep&lt;/p&gt;
&lt;p&gt;Did you save the log as .bin as I wrote in the instructions? Just renmae the file from logfile.log to logfile.bin&lt;/p&gt;
[quote user="runsiv"]&lt;ul&gt;&lt;li&gt;Use the J-Link RTT logger to collect the trace or traces and save in binary (&lt;code&gt;.bin&lt;/code&gt;) format.&lt;br /&gt;See&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/"&gt;SEGGER Real Time Transfer (RTT)&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more information.&lt;/li&gt;
&lt;li&gt;Load and playback the trace in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Cellular Monitor&lt;/strong&gt;.&lt;br /&gt;See&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-cellularmonitor/page/loading.html"&gt;Loading modem traces for playback&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more information.&lt;/li&gt;&lt;/ul&gt;[/quote]
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/489031?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 08:57:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e18bb276-e922-4d6b-8dd0-b0dca79e3d07</guid><dc:creator>Pradeep Gamidi</dc:creator><description>&lt;p&gt;Hi Runar,&lt;/p&gt;
&lt;p&gt;The log file generated contains unreadable data and cannot be imported into the Cellular Monitor because it is saved with a .log extension. Could you please provide guidance on how to generate a log file that can be used with the Cellular Monitor?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/488988?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2024 06:51:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9522d99-7729-4f52-97a2-20c0189c7fd5</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi Pradeep&lt;/p&gt;
&lt;p&gt;Was there anything in the log file? What did you see when you tried to import the log file into cellular monitor?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/488953?ContentTypeID=1</link><pubDate>Sat, 15 Jun 2024 17:09:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2331bbd2-b6c0-49ac-996f-c24da33d12bc</guid><dc:creator>Pradeep Gamidi</dc:creator><description>&lt;p&gt;Hi Runar,&lt;/p&gt;
&lt;p&gt;I have attempted to use the Segger RTT viewer for capturing logs, but I am not receiving all the logs. I have attached a screenshot for your reference.&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1718471322441v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/488798?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 06:58:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30e37ac4-9f4f-45e1-9cb0-f590626ece7e</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Since you are using RTT, could you try to use Segger RTT viewer and use log to file, and then import it into Cellular Monitor?&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/pastedimage1718348283713v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/488789?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 05:11:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca3488a0-f038-4a81-b269-2c4a8c231227</guid><dc:creator>Pradeep Gamidi</dc:creator><description>&lt;p&gt;Hi Runar,&lt;/p&gt;
&lt;p&gt;As mentioned in the Minimum Requirements and Limitations, my modem firmware version is 1.3.1 and SDK version is 1.7.0, which do not meet the minimum requirements for modem trace logging.&lt;/p&gt;
&lt;p&gt;We are currently blocked by an eDRX issue and urgently need modem trace logs to resolve it. Could you please suggest any alternative methods to obtain these logs? If necessary, we can arrange a call to discuss this high-priority issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/488607?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 08:15:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d682ec4-d57d-489e-bdf4-a6eeed7fa3d8</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;In the current release of Cellular Monitor, the RTT interface is not supported for traces capture. You can only view RTT modem traces captured outside of the tool.&lt;/p&gt;
&lt;p&gt;To view RTT modem traces captured outside of the tool in Cellular Monitor, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Enable the RTT trace backend in your device’s application using the Kconfig option&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.4.2/page/kconfig/index.html#CONFIG_NRF_MODEM_LIB_TRACE_BACKEND_RTT"&gt;&lt;code&gt;CONFIG_NRF_MODEM_LIB_TRACE_BACKEND_RTT&lt;/code&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;in the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;prj.conf&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;file.&lt;/li&gt;
&lt;li&gt;Ensure your device is running supported modem firmware, see&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-cellularmonitor/page/requirements.html"&gt;Minimum requirements and limitations&lt;/a&gt;, and note the version for playback.&lt;/li&gt;
&lt;li&gt;Use the J-Link RTT logger to collect the trace or traces and save in binary (&lt;code&gt;.bin&lt;/code&gt;) format.&lt;br /&gt;See&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/"&gt;SEGGER Real Time Transfer (RTT)&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more information.&lt;/li&gt;
&lt;li&gt;Load and playback the trace in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Cellular Monitor&lt;/strong&gt;.&lt;br /&gt;See&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-cellularmonitor/page/loading.html"&gt;Loading modem traces for playback&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;for more information.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/488589?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 05:04:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2bc2c47-ede4-48f1-8dcf-0b864981f128</guid><dc:creator>Pradeep Gamidi</dc:creator><description>&lt;p&gt;Thanks to your guidance, I successfully enabled modem trace logging on the nRF9160 by updating the configuration with &lt;code&gt;CONFIG_LOG_BACKEND_RTT=y&lt;/code&gt;. The build and flash processes completed successfully.&lt;/p&gt;
&lt;p&gt;Following the instructions in Lesson 7: Debugging with a Modem Trace, I performed the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Built and flashed the firmware from my workspace.&lt;/li&gt;
&lt;li&gt;Sent the AT command &lt;code&gt;AT%XMODEMTRACE=1,2&amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Downloaded the Cellular Monitor application from nRF Connect for Desktop to decode trace logs.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;However, the Cellular Monitor application is not detecting the COM port for my device. Could you please assist me in resolving this issue so I can view the trace logs?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/488304?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 11:43:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fd52853-e3ca-432b-9282-d85167dee16f</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Could you try to enable CONFIG_LOG_BACKEND_RTT? According to this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91053/testing-location-sample-using-custom-nrf9160-boards-failed/383971"&gt;case &lt;/a&gt;it might fix the issue&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/488262?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 09:11:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be8dfc61-ff23-43c6-9384-80ac24456c27</guid><dc:creator>Pradeep Gamidi</dc:creator><description>&lt;p&gt;Yes i have tested &amp;#39;&lt;span&gt;CONFIG_NRF_MODEM_LIB_TRACE_ENABLED=y&amp;#39; ,I am encountering error as shown below, posted prj.cnf&amp;nbsp; for reference .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;ERROR&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;c:/h565935/cl5g_r200/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: modules/nrf/lib/nrf_modem_lib/lib..__nrf__lib__nrf_modem_lib.a(nrf_modem_os.c.obj): in function `nrf_modem_os_trace_put&amp;#39;:&lt;br /&gt;C:/H565935/CL5G_R200/nrf/lib/nrf_modem_lib/nrf_modem_os.c:706: undefined reference to `SEGGER_RTT_ASM_WriteSkipNoLock&amp;#39;&lt;br /&gt;collect2.exe: error: ld returned 1 exit status&lt;br /&gt;[381/394] No install step for &amp;#39;mcuboot_subimage&amp;#39;&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\H565935\CL5G_R200\toolchain\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;C:\H565935\CL5G_R200\cp_r200_app\build&amp;#39;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/25318.prj.conf"&gt;devzone.nordicsemi.com/.../25318.prj.conf&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/488239?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 08:00:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92f26d7c-d8c6-4c13-88df-f26c7d46d7d6</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Could you post your prj.conf?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Since the issue seems to be related to RTT, do it work if you do not output the modem trace over RTT? Did you also test with&amp;nbsp;&lt;span&gt;CONFIG_NRF_MODEM_LIB_TRACE_ENABLED=y?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Runar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/488227?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2024 07:15:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5015d74-20c4-4e1b-be60-cdb820c3cc6d</guid><dc:creator>Pradeep Gamidi</dc:creator><description>&lt;p&gt;Hi Runar,&lt;br /&gt;&lt;br /&gt;can you please suggest a solution for solving this issue.&lt;br /&gt;&lt;br /&gt;Thanks and Regards,&lt;br /&gt;Pradeep Gamidi.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/488152?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 13:20:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da58ec9b-1914-470b-ba1f-807d1cd09129</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I need to check regarding the&amp;nbsp;&lt;span&gt;SEGGER_RTT_ASM_WriteSkipNoLock. However regarding&amp;nbsp;CONFIG_NRF_MODEM_LIB_TRACE_ENABLED=y is not the same as&amp;nbsp;CONFIG_NRF_MODEM_LIB_TRACE=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Runar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/488101?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 11:12:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03196a29-7d8b-4cf5-98f2-c0f22a218deb</guid><dc:creator>Pradeep Gamidi</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;As mentioned above i have used&amp;nbsp;&lt;span&gt;CONFIG_NRF_MODEM_LIB_TRACE_ENABLED&amp;nbsp; and&amp;nbsp;CONFIG_NRF_MODEM_LIB_TRACE_MEDIUM_RTT, but i was facing below error&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Error&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;c:/h565935/cl5g_r200/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: modules/nrf/lib/nrf_modem_lib/lib..__nrf__lib__nrf_modem_lib.a(nrf_modem_os.c.obj): in function `nrf_modem_os_trace_put&amp;#39;:&lt;br /&gt;C:/H565935/CL5G_R200/nrf/lib/nrf_modem_lib/nrf_modem_os.c:706: &lt;span style="background-color:#ffff00;"&gt;undefined reference to `SEGGER_RTT_ASM_WriteSkipNoLock&amp;#39;&lt;/span&gt;&lt;br /&gt;collect2.exe: error: ld returned 1 exit status&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\H565935\CL5G_R200\toolchain\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;C:\H565935\CL5G_R200\cp_r200_app\build&amp;#39;&lt;br /&gt;&lt;br /&gt;It appears that the linker is unable to locate the &lt;code&gt;SEGGER_RTT_ASM_WriteSkipNoLock&lt;/code&gt; function, can you help to solve this issue.&lt;br /&gt;&lt;br /&gt;Thanks and Regards,&lt;br /&gt;Pradeep Gamidi.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/488064?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 09:10:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4676572c-e190-4f87-b117-f9a893284f01</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Try to use&amp;nbsp;&lt;span&gt;&lt;span dir="ltr"&gt;CONFIG_NRF_MODEM_LIB_TRACE_ENABLED instead of&amp;nbsp;CONFIG_NRF_MODEM_LIB_TRACE. If you want RTT you can use&amp;nbsp;CONFIG_NRF_MODEM_LIB_TRACE_MEDIUM_RTT&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Regards&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Runar&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/488012?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 05:26:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7682b2b4-4c40-4963-9ef3-db495de6fe09</guid><dc:creator>Pradeep Gamidi</dc:creator><description>&lt;p&gt;Thanks Runar for update,&lt;br /&gt;I&amp;#39;m currently working on enabling modem trace logs for the nRF9160 using nRF Connect SDK version 1.7.0 and modem firmware version 1.3.0. I&amp;rsquo;ve followed the recommended configurations by adding the following macros to my &lt;code&gt;prj.conf&lt;/code&gt; file:&lt;/p&gt;
&lt;div&gt;
&lt;div class="flex items-center relative text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md"&gt;&lt;span&gt;&lt;/span&gt;&lt;code class="!whitespace-pre hljs language-plaintext"&gt;# Enable modem trace
CONFIG_NRF_MODEM_LIB_TRACE=y

# Select the backend for trace output
CONFIG_NRF_MODEM_LIB_TRACE_BACKEND_RTT=y
&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;However, I am encountering the following errors:&lt;/p&gt;
&lt;div&gt;
&lt;div class="flex items-center relative text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md"&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="overflow-y-auto p-4" dir="ltr"&gt;&lt;code class="!whitespace-pre hljs language-plaintext"&gt;prj.conf:189: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol NRF_MODEM_LIB_TRACE

error: Aborting due to Kconfig warnings

CMake Error at C:/H565935/CL5G_R200/zephyr/cmake/kconfig.cmake:268 (message):
command failed with return code: 1
Call Stack (most recent call first):
C:/H565935/CL5G_R200/zephyr/cmake/app/boilerplate.cmake:554 (include)
C:/H565935/CL5G_R200/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
C:/H565935/CL5G_R200/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
CMakeLists.txt:31 (find_package)

-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: &amp;#39;C:\H565935\CL5G_R200\toolchain\opt\bin\cmake.EXE&amp;#39; &amp;#39;-DWEST_PYTHON=C:\H565935\CL5G_R200\toolchain\opt\bin\python.exe&amp;#39; &amp;#39;-BC:\H565935\CL5G_R200\cp_r200_app\build&amp;#39; &amp;#39;-SC:\H565935\CL5G_R200\cp_r200_app&amp;#39; -GNinja -DBOARD=nrf9160_cl5gmns
&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;It appears that the &lt;code&gt;NRF_MODEM_LIB_TRACE&lt;/code&gt; and &lt;code&gt;NRF_MODEM_LIB_TRACE_BACKEND_RTT&lt;/code&gt; symbols are not recognized. Could you please provide guidance on how to properly enable modem trace logging with this SDK version? If these features are not supported in SDK 1.7.0, is there an alternative approach.&lt;/p&gt;
&lt;p&gt;Thank you for your assistance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: enable modem trace logs.</title><link>https://devzone.nordicsemi.com/thread/487833?ContentTypeID=1</link><pubDate>Fri, 07 Jun 2024 07:06:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbe64c23-518a-4882-9f18-11b10ea9a949</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi Gamidi&lt;/p&gt;
&lt;p&gt;Please see &lt;a href="https://academy.nordicsemi.com/courses/cellular-iot-fundamentals/lessons/lesson-7-cellular-fundamentals/topic/lesson-7-modem-trace/"&gt;Lesson 7 Debugging with a modem trace&lt;/a&gt;&amp;nbsp;on our Cellular IoT Fundamentals course&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>