<?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>Is there a way to truly hard reset the nRF9160 without power cycling?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74757/is-there-a-way-to-truly-hard-reset-the-nrf9160-without-power-cycling</link><description>Hi, 
 We have several hundred devices in real time deployment and find the typical DNS/Cellular connectivity issues during the day that we generally solve with delayed connection retries, up to and including ultimately resorting to automatically soft</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 May 2024 16:45:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74757/is-there-a-way-to-truly-hard-reset-the-nrf9160-without-power-cycling" /><item><title>RE: Is there a way to truly hard reset the nRF9160 without power cycling?</title><link>https://devzone.nordicsemi.com/thread/485494?ContentTypeID=1</link><pubDate>Wed, 22 May 2024 16:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b1fd9d4-df98-4c35-a103-795937e72bd8</guid><dc:creator>Sashi</dc:creator><description>&lt;p&gt;I also still see the issue, I don&amp;#39;t think this is a new one, and if there is anything to resolve the issue, it would be ideal to post it here.&amp;nbsp; I worked around this in hardware by adding some circuits that are able to to a true power cycle, but a software only solution is still needed.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to truly hard reset the nRF9160 without power cycling?</title><link>https://devzone.nordicsemi.com/thread/485487?ContentTypeID=1</link><pubDate>Wed, 22 May 2024 15:54:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ae3047d-8570-45b6-a454-2ba9f2217308</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/annaq"&gt;AnnaQ&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;I recommend that you open a new ticket, as there has been a lot of changes and improvements in the last two years, so while the symptoms might be similar, it can still be a different problem.&lt;/p&gt;
&lt;p&gt;One thing you can check before you open a new ticket is if you have triggered the &lt;a href="https://docs.nordicsemi.com/bundle/nwp_042/page/WP/nwp_042/intro.html"&gt;modem&amp;#39;s reset loop restriction&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to truly hard reset the nRF9160 without power cycling?</title><link>https://devzone.nordicsemi.com/thread/484911?ContentTypeID=1</link><pubDate>Mon, 20 May 2024 09:23:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51194924-e764-4ad8-9ea3-dfe4749708f6</guid><dc:creator>AnnaQ</dc:creator><description>&lt;p&gt;Hello, we are experiencing the same problem.&amp;nbsp;We have tested with both mfw 1.3.5 and 1.3.6. We have several units out on the field that need a power cycle to reconnect to the network. Have any of you others &lt;a href="https://devzone.nordicsemi.com/members/stratosphere"&gt;Stratosphere&lt;/a&gt;&amp;nbsp;, &lt;a href="https://devzone.nordicsemi.com/members/sashi"&gt;Sashi&lt;/a&gt;&amp;nbsp; or &lt;a href="https://devzone.nordicsemi.com/members/gjsea"&gt;GJSea&lt;/a&gt;&amp;nbsp;found a solution? Do you have any input &lt;a href="https://devzone.nordicsemi.com/members/didrik-rokhaug"&gt;Didrik Rokhaug&lt;/a&gt;&amp;nbsp;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to truly hard reset the nRF9160 without power cycling?</title><link>https://devzone.nordicsemi.com/thread/456003?ContentTypeID=1</link><pubDate>Thu, 16 Nov 2023 14:19:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:006724ed-5928-44d4-980c-2bde17de8898</guid><dc:creator>Stratosphere</dc:creator><description>&lt;p&gt;It seems the issue is still there with modem fw. 1.3.4&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;after a certain number of connects/disconnects the modem is not able to connect at all, even after waiting for hours and trying again and agian with a few seconds/minutes gap in between. A hard power reset fixes the issue right away.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to truly hard reset the nRF9160 without power cycling?</title><link>https://devzone.nordicsemi.com/thread/364021?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 15:53:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac2edbce-f09c-42cf-9956-1930bd8d6151</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/sashi"&gt;Sashi&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;As I said in my previous reply to &lt;a href="https://devzone.nordicsemi.com/members/gjsea"&gt;GJSea&lt;/a&gt;, I will need a &lt;a href="https://infocenter.nordicsemi.com/topic/ug_trace_collector/UG/trace_collector/intro.html"&gt;modem trace &lt;/a&gt;to be able to look further into the cause of the lock ups you are seeing.&lt;/p&gt;
&lt;p&gt;Please also include which SDK and modem FW versions you are using, as they might not be the same as it was a year ago.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to truly hard reset the nRF9160 without power cycling?</title><link>https://devzone.nordicsemi.com/thread/363394?ContentTypeID=1</link><pubDate>Mon, 18 Apr 2022 21:29:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7539dc79-b7fb-4629-aa74-62bace1d4995</guid><dc:creator>Sashi</dc:creator><description>&lt;p&gt;I tried using sys_power(1)&amp;nbsp; &amp;nbsp;as well as toggling the with&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;AT+CFUN=4&amp;nbsp; and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;AT+CFUN=1&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;I do have a theory that perhaps the sim card gets to a weird state, and the resetting the sim card is needed with a&amp;nbsp;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;AT+CFUN=4 command. but I have not idea what the modem code is doing, so just taking stabs into the black box and hoping for a good result.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to truly hard reset the nRF9160 without power cycling?</title><link>https://devzone.nordicsemi.com/thread/363392?ContentTypeID=1</link><pubDate>Mon, 18 Apr 2022 20:50:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8be11b34-8435-4389-bbd0-28476e8d1dc7</guid><dc:creator>GJSea</dc:creator><description>&lt;p&gt;Agreed, there&amp;#39;s a definite flaw in the system if we&amp;#39;re both seeing this. &lt;a href="https://devzone.nordicsemi.com/members/didrik-rokhaug"&gt;Didrik Rokhaug&lt;/a&gt; any more ideas what might be going on in our situations, whereby a power cycle immediately&amp;nbsp;addresses the connectivity issues the SOC experiences?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to truly hard reset the nRF9160 without power cycling?</title><link>https://devzone.nordicsemi.com/thread/363296?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2022 23:48:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5221ea8f-143d-41f8-88cb-c3ffe4cef12e</guid><dc:creator>Sashi</dc:creator><description>&lt;p&gt;So We are seeing something similar. where a sys_reboot does not recover the device.&amp;nbsp; But simply cutting power and re powering restores the device instantly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The device can stay connected for say 10-12 hours, but if there is an issue, the device can sys_reboot all day long after timing out over and over again. But the second the device is power cycled it connects and starts working again like nothing is wrong.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There must be another command that allows your to restore the modem state the same as coming out of a power cycle.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to truly hard reset the nRF9160 without power cycling?</title><link>https://devzone.nordicsemi.com/thread/310485?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 13:35:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd4dce90-05b5-49fc-b060-46373ba87ca2</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi, and sorry for the late reply.&lt;/p&gt;
&lt;p&gt;The modem should be reset in a similar fashion when doing a soft reset as when doing a power reset. The only exception I have been able to find would be the RAM.&lt;/p&gt;
&lt;p&gt;Unfortunately, without a modem trace, we are not able to say anything more about the cause of this problem. Are you able to reproduce this in a lab, or set up a device with modem tracing enabled in the field?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to truly hard reset the nRF9160 without power cycling?</title><link>https://devzone.nordicsemi.com/thread/308605?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 16:30:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90477cff-c9df-40c9-ab18-8ae35122d3b4</guid><dc:creator>GJSea</dc:creator><description>&lt;p&gt;These devices are deployed in public spaces in the field so modem trace capture isn&amp;#39;t possible. However we have advanced flash storage logging capability so when the device does finally connect to the cloud, we get an upload of the application level firmware activity.&lt;/p&gt;
&lt;p&gt;For a given device, Signal strength around -80 dBm.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;- mqtt_connect()&amp;nbsp;underlying socket connect blocks for an unacceptably long time (we cant have the CPU be at non PSM power state for too long otherwise the battery levels will drop off), so after an application timeout period such as 120 seconds we&amp;nbsp;&lt;span&gt;sys_reboot the device. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- We then sleep for 60m in case it is a cellular network or cloud outage.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Try connecting again, LTE network acquisition successful, mqtt_connect to the cloud backend, socket connection block, so&amp;nbsp;sys_reboot.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- We&amp;#39;re then in a loop of socket connect blocks and reboots. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Finally someone goes to the device and powers it off and on from the enclosure exterior with a magnet and hall sensor switch, and lo and behold the device connects instantly to the network and the socket connect succeeds to the cloud backend. The device works normally for some period again (say for 10 hours&amp;nbsp;at 10 connections per hour), then ends up socket connect blocking again.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So my question is what does the power cycling do in terms of resetting &amp;#39;something&amp;#39; that clears the indefinite socket connect blocking attempts? Dozens of other devices are in the same neighborhood so area cellular connectivity and cloud backend aren&amp;#39;t a factor, perhaps specific tower connectivity is.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What would really be handy is getting a debug stream of say the last 20 events from modem AT+ calls, otherwise&amp;nbsp;deployed modem diagnosis simply isn&amp;#39;t possible,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to truly hard reset the nRF9160 without power cycling?</title><link>https://devzone.nordicsemi.com/thread/308595?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 15:15:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75bd75ff-39d9-47e5-877b-08932c1eae14</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;sys_reboot should do a soft reset of the modem, as well as of the application.&lt;/p&gt;
&lt;p&gt;The modem team would like a modem trace to investigate what happens both during your &amp;#39;DNS/cellular connectivity issues&amp;#39;, and during the reset.&lt;/p&gt;
&lt;p&gt;Could you capture a &lt;a href="https://infocenter.nordicsemi.com/topic/ug_trace_collector/UG/trace_collector/intro.html"&gt;modem trace&lt;/a&gt; for them to analyze?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to truly hard reset the nRF9160 without power cycling?</title><link>https://devzone.nordicsemi.com/thread/308407?ContentTypeID=1</link><pubDate>Wed, 05 May 2021 17:51:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:780d19cc-74c7-4119-a3b3-0b5fe80b1edd</guid><dc:creator>GJSea</dc:creator><description>&lt;p&gt;I&amp;#39;m using modem firmware 1.2.2. I&amp;#39;m not doing anything specific to turn off the modem, is there an AT+ command way to reboot it? Does sys_reboot reboot the&amp;nbsp;modem or sys_reboot only reboot the firmware running on the program side of the CPU?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a way to truly hard reset the nRF9160 without power cycling?</title><link>https://devzone.nordicsemi.com/thread/308378?ContentTypeID=1</link><pubDate>Wed, 05 May 2021 14:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ffa3a8e-60b7-4d80-a941-bd85195cb27e</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have forwarded your question to our modem team.&lt;/p&gt;
&lt;p&gt;What modem firmware version are you using?&lt;/p&gt;
&lt;p&gt;How do you turn off the modem before the reset?&lt;/p&gt;
&lt;p&gt;If you turn it off with AT+CFUN=0, it will store the current network parameters to flash, to speed up future connection attempts.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>