<?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 modem log in nRF9160?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47958/how-to-enable-modem-log-in-nrf9160</link><description>nRF9160 is scanning and but not latching to the network. 
 using &amp;quot;AT+COPS=1,2,&amp;quot;number&amp;quot;&amp;quot; to latch and it is not registering. 
 Verified the logs in server and nRF9160 dev kit is not hitting the server. 
 
 we need Detailed logging from nRF9160 modem for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Jul 2019 13:48:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47958/how-to-enable-modem-log-in-nrf9160" /><item><title>RE: How to enable modem log in nRF9160?</title><link>https://devzone.nordicsemi.com/thread/196025?ContentTypeID=1</link><pubDate>Tue, 02 Jul 2019 13:48:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eef5433f-8421-4814-a6ac-99a54423517c</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi TW,&lt;br /&gt;&lt;br /&gt;I would recommend that you test out the at_client sample and just run it with LTE Link Monitor.&lt;br /&gt;&lt;br /&gt;Please state which NCS tag you are using as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Some eNBs does not support&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fpacket_domain%2Fxepco_set.html&amp;amp;resultof=%22%65%70%63%6f%22%20"&gt; ePCO&lt;/a&gt; so I would recommend you to try to send the command:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT%XEPCO=0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;before you turn on the modem (at+cfun=1).&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Usually, you get more than enough information from the modem/network with the help from the at_host library and using the LTE Link Monitor.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable modem log in nRF9160?</title><link>https://devzone.nordicsemi.com/thread/190301?ContentTypeID=1</link><pubDate>Fri, 31 May 2019 13:27:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cbdf48a-5285-4d2c-a93b-59e943a87427</guid><dc:creator>Balamurugan</dc:creator><description>&lt;p&gt;Thanks!!.&lt;/p&gt;
&lt;p&gt;By following the above steps modem logging is enabled.&lt;/p&gt;
&lt;p&gt;Please help us parsing attached logs.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2019_2D00_05_2D00_31T13_2D00_00_2D00_11.411Z_5F00_NBIOT.bin"&gt;devzone.nordicsemi.com/.../trace_2D00_2019_2D00_05_2D00_31T13_2D00_00_2D00_11.411Z_5F00_NBIOT.bin&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2019_2D00_05_2D00_31T13_2D00_13_2D00_06.848Z_5F00_LTE_5F00_M.bin"&gt;devzone.nordicsemi.com/.../trace_2D00_2019_2D00_05_2D00_31T13_2D00_13_2D00_06.848Z_5F00_LTE_5F00_M.bin&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2019_2D00_05_2D00_31T09_5F00_40_5F00_05.445Z_2D00_log.txt"&gt;devzone.nordicsemi.com/.../2019_2D00_05_2D00_31T09_5F00_40_5F00_05.445Z_2D00_log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Below log is full sequence of log&amp;nbsp;powering on to network latching and getting IP address. but it is taking 10 to 20 mins to attach to network.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Could you parse/analyse attached log.&lt;/p&gt;
&lt;p&gt;Also would be possible to release tool to read&amp;nbsp;the modem log from our end.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Fill_5F00_seq_5F00_network_5F00_connect_5F00_3_2D00_6_2D00_19_5F00_3_5F00_09pm.bin"&gt;devzone.nordicsemi.com/.../Fill_5F00_seq_5F00_network_5F00_connect_5F00_3_2D00_6_2D00_19_5F00_3_5F00_09pm.bin&lt;/a&gt;&lt;/p&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;h3&gt;Modem Firmware&amp;nbsp;version:mfw_nrf9160_0.7.0-29.alpha&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;nrf dk version:v0.4.0-79-gee5cf34&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to enable modem log in nRF9160?</title><link>https://devzone.nordicsemi.com/thread/190142?ContentTypeID=1</link><pubDate>Fri, 31 May 2019 01:52:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6423103-e1ca-4fc2-bb22-eafa351ae115</guid><dc:creator>jbrzozoski</dc:creator><description>&lt;p&gt;There is a detailed blog post about it that was put up very recently here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/b/blog/posts/how-to-get-modem-trace-using-trace-collector-in-nrf-connect"&gt;https://devzone.nordicsemi.com/nordic/b/blog/posts/how-to-get-modem-trace-using-trace-collector-in-nrf-connect&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;That spits out a binary log that Nordic hasn&amp;#39;t given out a decoder for yet.&amp;nbsp; You&amp;#39;ll need a Nordic employee to help analyze it.&lt;/p&gt;
&lt;p&gt;In my own experience, you can usually get a quick idea why the cellular connection is failing to without going through all that, though.&amp;nbsp; While the modem is offline, send the command &amp;quot;AT+CEREG=5&amp;quot; to activate extra modem status messages, and then connect with the COPS command.&amp;nbsp; As the modem tries different towers, you will get CEREG messages from the modem.&amp;nbsp; Pay attention to the cause type and reject cause fields of any CEREG messages that appear. If you&amp;#39;re not getting *any* CEREG messages, that would imply the modem is not seeing any towers at all.&lt;/p&gt;
&lt;p&gt;Also, it sounds like this is your first time connecting, which implies you just got your dev kit.&amp;nbsp; They&amp;#39;ve upgraded the modem firmware a couple times recently and the new version is much better and also enables a lot more cellular bands than the old one (allowing you to see more towers).&amp;nbsp; You may want to check which version you&amp;#39;re running with &amp;quot;AT+CGMR&amp;quot; and download the newest version if you&amp;#39;re not already running it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>