<?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 lockup after 24 hours, occasional random resets</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87423/nrf9160-modem-lockup-after-24-hours-occasional-random-resets</link><description>Hello, 
 We designed a custom board with nrf9160 (modem firmware v1.3.1) that runs an asset tracker type application. 
 The application uses both, LTE and GNSS: 
 
 logs sensor data at a defined rate to onboard storage 
 turns on GNSS every 15min to get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 May 2022 11:20:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87423/nrf9160-modem-lockup-after-24-hours-occasional-random-resets" /><item><title>RE: nrf9160 modem lockup after 24 hours, occasional random resets</title><link>https://devzone.nordicsemi.com/thread/368303?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 11:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b5483d2-a0eb-49c8-8bcd-2b7eb37fa45c</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Next release should be public during this week. MFW 1.3.2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 modem lockup after 24 hours, occasional random resets</title><link>https://devzone.nordicsemi.com/thread/367714?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 20:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cc4ebba-cd2a-43c7-9dda-ab236c68b2eb</guid><dc:creator>amessner</dc:creator><description>&lt;p&gt;Also, I had mentioned that I&amp;#39;ve been seeing random resets:&lt;/p&gt;
&lt;p&gt;These random resets wouldn&amp;#39;t show on certain boards at all, but on some almost once an hour.&lt;/p&gt;
&lt;p&gt;After enabling the logs in the SPM and disabling the automatic resets on hard fault (CONFIG_RESET_ON_FATAL_ERROR) I finally got some insight on where those random resets are coming from. The AT command thread causes a hard fault.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been using nRF Connect SDK 1.8.0 and the AT command interface (CONFIG_AT_CMD).&lt;/p&gt;
&lt;p&gt;After looking through the documentation I noticed that the&amp;nbsp;AT command interface is deprecated&amp;nbsp;and one should use the AT interface API instead. So I updated the nRF Connect SDK to 1.9.1 and switched to the AT interface API and the resets went away.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyways, I just wanted to add this info in case it helps someone...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 modem lockup after 24 hours, occasional random resets</title><link>https://devzone.nordicsemi.com/thread/367713?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 20:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aed2b7fd-7799-48a4-a592-091ba31fdf04</guid><dc:creator>amessner</dc:creator><description>&lt;p&gt;Thanks for looking into this Hakon. What is the timeline for the next modem release?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 modem lockup after 24 hours, occasional random resets</title><link>https://devzone.nordicsemi.com/thread/367355?ContentTypeID=1</link><pubDate>Wed, 11 May 2022 09:24:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e362477-4c10-4fc6-bf43-01d4bcbd3ee5</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Yes, the modem team has confirmed there will be a fix next release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 modem lockup after 24 hours, occasional random resets</title><link>https://devzone.nordicsemi.com/thread/366526?ContentTypeID=1</link><pubDate>Thu, 05 May 2022 14:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab0fb2f3-8c09-4ec0-a00d-8117b82fe1f2</guid><dc:creator>amessner</dc:creator><description>&lt;p&gt;Any updates on this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 modem lockup after 24 hours, occasional random resets</title><link>https://devzone.nordicsemi.com/thread/365662?ContentTypeID=1</link><pubDate>Sun, 01 May 2022 11:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8de6c2ae-95f7-4d38-bdc9-6d3e36766409</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I will have the modem team look at this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 modem lockup after 24 hours, occasional random resets</title><link>https://devzone.nordicsemi.com/thread/365627?ContentTypeID=1</link><pubDate>Fri, 29 Apr 2022 15:17:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a97e37e-4572-4548-a0e8-080691c43a97</guid><dc:creator>amessner</dc:creator><description>&lt;p&gt;Just adding a bit more information:&lt;/p&gt;
&lt;p&gt;We tried different SIMs (eSIM and SIM cards) of different network operators, but the issue didn&amp;#39;t go away.&lt;/p&gt;
&lt;p&gt;I parsed the last 3h of the modem trace I attached using the Trace Collector V2:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1651244761526v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;I marked the position where the problem starts.&amp;nbsp;There should be a TLS handshake after the successful TCP handshake, but the&amp;nbsp;nrf9160 drops the TCP connection and sends a FIN 10s after the successful TCP handshake with our server. Could this be a potential TLS (TLS sockets are offloaded to the modem) issue?&lt;/p&gt;
&lt;p&gt;After that there are a bunch of RCCConnectionReconfiguration events and finally a RCCConnectionRelease.&lt;/p&gt;
&lt;p&gt;Then the connection gets re-established. While all this re-configuration/re-establishment is happening the application carries on (not being aware of the connection issues) and obviously keeps failing to talk to the server. It finally tries to disconnect the LTE network, but then something goes wrong - half of the usual disconnect messages are missing:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1651245142006v3.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>