<?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 modem connection issues on reboot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108787/nrf9160-modem-connection-issues-on-reboot</link><description>We&amp;#39;re seeing some interesting issues with the nRF9160 running MFW 1.3.5. Loading from a cold start the device connects without issue: 
 
 Hitting the reset button though results in a long extended search including finding the tower we were connected to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 17 Mar 2024 19:23:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108787/nrf9160-modem-connection-issues-on-reboot" /><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/474181?ContentTypeID=1</link><pubDate>Sun, 17 Mar 2024 19:23:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f36ba23f-b228-4781-9289-8b684cdb3c40</guid><dc:creator>Achim Kraus</dc:creator><description>[quote userid="73166" url="~/f/nordic-q-a/108787/invoking-button-reset-does-not-allow-nrf9160-modem-connection/473278"] Using the %XMONITOR is quite time critical (cannot guarantee it works 100%),[/quote]
&lt;p&gt;In my experience it doesn&amp;#39;t work at all. You always get a &amp;quot;%XMONITOR: 2&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/473290?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2024 18:05:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47f8dbc6-dfc4-4d64-b043-91594224300b</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Is there a way, that the application knows, if the reject was received non-integrity protected?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/473278?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2024 16:47:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:426c0a49-f467-4abc-8aea-7a65e2470018</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Their response;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;p&gt;The forbidden TAI lists (both “forbidden tracking areas for roaming” and “forbidden tracking areas for regional provision of service” specified by 3GPP) are cleared periodically once a day. In case the reject from network was received non-integrity protected, 3GPP allows clearing the forbidden TAI lists after random time between 30 to 60 minutes elapsed from the reject. The other options are power cycle or disconnecting the SIM card. In summary, the modem will recover from the sudden tracking area specific rejects from network, but it will take some time. Anyway, this kind of sudden reject from network doesn’t seem reasonable and it is not normal that the same cell some times rejects the Attach and some times not. The only reason I can come up with is that the network got too many Attach attempts and started to reject them on this tracking area, but this is just a guess as cannot find it specified by 3GPP. Please note that it is not the same thing to hard reset the device than doing power cycle gracefully. In the latter one modem initiates Detach procedure to network in which case the next device power up does not look to network like a new Attach attempt of a device already Attached. The operator should be able to answer why there are sudden Attach rejects with cause #15, if asked by customer. At first I would still try to see whether the problem is reproducible with graceful power cycles.&lt;/p&gt;
&lt;p&gt;In case there is a need to recover faster than what 3GPP has specified, application could subscribe +CEREG notifications and wait for tracking area specific reject cause to be received after which the current PLMN can be resolved using %XMONITOR. Using the %XMONITOR is quite time critical (cannot guarantee it works 100%), because modem will drop the cell quite soon for continuing scans after which the cell data is not anymore available. But looking at the provided log, there would have been enough time for resolving the PLMN. After the PLMN selection has been completed (subscribe %MDMEV notifications and wait for %MDMEV: SEARCH STATUS 2), application can check whether tracking area specific cause (e.g. #15) was earlier received from the problematic network 310 410. If it was, application can trigger reboot modem which will clear the forbidden TAI lists and initiate the PLMN selection again as normal.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/473126?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2024 09:40:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f70cf37-bb52-4083-9142-79c10d13d849</guid><dc:creator>Hakon</dc:creator><description>[quote user="jaredwolff"]Does the modem team have any suggestions on how to handle this condition?[/quote]
&lt;p&gt;I will ask them if they have any suggestion for this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/472235?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2024 13:20:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11afb059-e649-4cd7-afbd-41214e463dd8</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;I will agree with Achim here. The modem doesn&amp;rsquo;t seem to recover after the rejection. It&amp;rsquo;s very concerning since the MFW is a black box and if it&amp;rsquo;s on we expect it to work/connect. If I immediately reset the device again it connects so I&amp;rsquo;m not sure about your thesis about the tower rejecting the connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Additionally, it shouldn&amp;rsquo;t be incumbent on the customer who understands little how the firmware and device works to issue AT commands to get it to reliably connect. This is not acceptable.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does the modem team have any suggestions on how to handle this condition?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/472206?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2024 10:24:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01810eb9-ff59-4d94-80eb-30c108bb8381</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;The point will be:&lt;/p&gt;
&lt;p&gt;If the modem gets rejected with cause 15, does it do a retry with that network later? Or does it stick to the rejection, as mention in my ticket from last year (see my link above)?&lt;/p&gt;
&lt;p&gt;If it sticks, then we just get an other case, where the Nordic assumption/state &amp;quot;15 is permanent&amp;quot; seems to be wrong. Similar to the case I was reporting last year, when some MVNO hiccups showed the same behavior.&lt;/p&gt;
&lt;p&gt;And it also shows, that it&amp;#39;s very important for reliable applications, to know, which of such &amp;quot;reject codes&amp;quot; or &amp;quot;reject cases&amp;quot; are sticky and need a CFUN=0/CFUN=1 to overcome it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/472196?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2024 09:31:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6a944ca-78c2-4381-be25-922f57b081e8</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Some comments from the modem team;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes, network 310 410 starts rejecting Attach at one point with reject cause #15 &amp;quot;No suitable cells in tracking area&amp;quot;. Earlier the device was happily registered on the same network and cell. Could it be that network just got enough of repeated Attach attempts without Detach in between? Does this happen if customer shuts down the modem gracefully with CFUN=0? Without graceful shut down modem has no chance to store all kind of internal data (cell history etc.) to NVM which can affect to the next start up, too.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/472067?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2024 15:10:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad57fb88-c43c-4c84-a291-23668262e922</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Sorry about that! Here it is&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2024_2D00_03_2D00_02T02_2D00_19_2D00_51.847Z.mtrace"&gt;devzone.nordicsemi.com/.../trace_2D00_2024_2D00_03_2D00_02T02_2D00_19_2D00_51.847Z.mtrace&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/472054?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2024 14:33:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2103f6c4-3ee2-4861-92fc-015cfe29469e</guid><dc:creator>Hakon</dc:creator><description>[quote user="jaredwolff"]nrf9160-no-connect-on-reset-button.pcapng[/quote]
&lt;p&gt;Can you please also include the raw trace file? It should be .bin or mtrace file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/471904?ContentTypeID=1</link><pubDate>Sat, 02 Mar 2024 17:34:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c4d7764-72a3-4d7e-ab64-160729ebaaa4</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;&amp;gt; 302: at+CEREG: 2,&amp;quot;0608&amp;quot;,&amp;quot;00CC2911&amp;quot;,7,0,15&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s see, what Nordic writes this time on the reject 15 case.&lt;/p&gt;
&lt;p&gt;I sticked last year to sporadic and short term MVNO hiccups with &amp;quot;reject 15&amp;quot;, which prevents the modem from reconnect without switching off and on (see my ticket &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/103822/periodicsearchconf---relation-to-emm-reject-cause"&gt;%PERIODICSEARCHCONF - relation to EMM reject cause&lt;/a&gt; ). Unfortunately, my request for a list of sticky error codes was refused.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/471888?ContentTypeID=1</link><pubDate>Sat, 02 Mar 2024 02:33:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f234b34-2888-4a15-8f65-6611321e9320</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Here we go. At the beginning we get a successful connection. I removed the packets related to the application.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf9160_2D00_no_2D00_connect_2D00_on_2D00_reset_2D00_button.pcapng"&gt;devzone.nordicsemi.com/.../nrf9160_2D00_no_2D00_connect_2D00_on_2D00_reset_2D00_button.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Seems like I get a no suitable cell even though I had &lt;em&gt;just&lt;/em&gt; connected to it a reset earlier.&lt;/p&gt;
&lt;p&gt;Here is the log:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf9160_2D00_no_2D00_connect_2D00_on_2D00_reset_2D00_button.log"&gt;devzone.nordicsemi.com/.../nrf9160_2D00_no_2D00_connect_2D00_on_2D00_reset_2D00_button.log&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Invoking a soft reset seems to fix things (kernel reboot warm/cold command). Hitting the reset button may or may not get the device into a good state.&lt;/p&gt;
&lt;p&gt;I was thinking it was possibly an initialization issue but I reworked the code without any improvement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/471829?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 14:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcd59672-8bca-4434-9603-84c455b1b7a2</guid><dc:creator>Jared</dc:creator><description>[quote userid="73166" url="~/f/nordic-q-a/108787/invoking-button-reset-does-not-allow-nrf9160-modem-connection/471750"]can you reproduce and do modem trace?[/quote]
&lt;p&gt;I knew you were going to ask for that Hakon. ;) I&amp;#39;ll see what I can do. That UART is occupied by HCI UART.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/471828?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 14:24:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14eea768-7f63-4e08-8dec-d6f7723698ca</guid><dc:creator>Jared</dc:creator><description>[quote userid="5203" url="~/f/nordic-q-a/108787/invoking-button-reset-does-not-allow-nrf9160-modem-connection/471556"]By the way: battery or USB powered? [/quote]
&lt;p&gt;USB&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/471750?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 10:21:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0897dc8-d8ee-47c7-ac12-b04b424f47a5</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;can you reproduce and do modem trace?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/471568?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 14:15:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db573044-db13-4a87-96be-eb371f13aa4b</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Hm ... maybe you also try to report the network reject codes?&lt;/p&gt;
&lt;p&gt;Maybe the network rejects the modem, if it tries to register again too fast. But that should be then the same as switching it off/on also just a couple of seconds after connect.&lt;/p&gt;
&lt;p&gt;Anyway, maybe the reject code helps the find the cause.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/471556?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 13:59:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50c95537-44c8-4652-b427-3791df4a4130</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;By the way: battery or USB powered? &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/471555?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 13:58:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18187b05-49f7-4ed2-85dc-cfec3d9decce</guid><dc:creator>Achim Kraus</dc:creator><description>[quote userid="3604" url="~/f/nordic-q-a/108787/invoking-button-reset-does-not-allow-nrf9160-modem-connection/471525"]Are you initiating an lte_lc_connect()&amp;nbsp; near boot time?[/quote]
&lt;p&gt;At least, I assume so. I initialize my stack, some peripheral, then the modem and then &amp;quot;lte_lc_connect()&amp;quot; (Edited: it&amp;#39;s about 5s uptime, when I &amp;quot;connect&amp;quot;).&lt;/p&gt;
[quote userid="3604" url="~/f/nordic-q-a/108787/invoking-button-reset-does-not-allow-nrf9160-modem-connection/471525"]the RST button is noisy enough[/quote]
&lt;p&gt;Hm, that may be the cause. I usually don&amp;#39;t use the feather&amp;#39;s RST button too often, so maybe, if it&amp;#39;s more frequently used, it will be noisy. From other HW I&amp;#39;m used to have a internal filter on the reset line. So, yes, an answer from the&amp;nbsp;silicon/hardware engineers is needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/471525?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 12:37:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebf38064-a40e-494a-bf70-2dcac3135970</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Thanks &lt;a href="https://devzone.nordicsemi.com/members/achimkraus"&gt;Achim Kraus&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is something I&amp;#39;ve seen on and off previously. One of my other customers just &amp;quot;discovered&amp;quot; it again and it threw me for a loop.&lt;/p&gt;
&lt;p&gt;Ultimately I&amp;#39;ll probably need some feedback from the silicon/hardware engineers at Nordic about a resolution. My board does not have the RC filter on the reset line like the DK. My best guess is that the RST button is noisy enough to put the MFW in a weird state.&lt;/p&gt;
&lt;p&gt;Interesting to hear your V5 doesn&amp;#39;t have the problem though! Are you initiating an lte_lc_connect()&amp;nbsp; near boot time?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoking button reset does not allow nRF9160 modem connection</title><link>https://devzone.nordicsemi.com/thread/471472?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 08:42:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ffeaf57-4394-45b3-bd07-1a2681f3df54</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Not sure, what happens on your side. I&amp;#39;ve tested it right now with a nRF9160-DK and a (your) nRF9160 feather v5, both mfw 1.3.5 and I don&amp;#39;t get a difference.&lt;/p&gt;
&lt;p&gt;What my app does is saving the &amp;quot;settings&amp;quot; after the first successful connect by a &amp;quot;CFUN=0/CFUN=1&amp;quot; cycle. that speeds up a follow on start, either POR, reset-button or reboot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>