<?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>Software Reset to imitate Pin Reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125975/software-reset-to-imitate-pin-reset</link><description>Hello, 
 
 We have a small number of returns for our product, where the modem has gotten into some sort of strange state, and almost seems like it is unresponsive, or blocked from connecting to any network. It&amp;#39;s very difficult to debug as most of them</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Dec 2025 11:15:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125975/software-reset-to-imitate-pin-reset" /><item><title>RE: Software Reset to imitate Pin Reset</title><link>https://devzone.nordicsemi.com/thread/556780?ContentTypeID=1</link><pubDate>Thu, 11 Dec 2025 11:15:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c7db823-ae9c-4f5e-a89c-a857d6ad2ed6</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="DamoL"]I take it this means there is no other way of triggering a hard (pin) reset through software?[/quote]
&lt;p&gt;Commonly you would need to bind pin activation to something that would act as trigger.&amp;nbsp;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Reset to imitate Pin Reset</title><link>https://devzone.nordicsemi.com/thread/556595?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 17:25:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8362e75-19ff-4a07-8bf0-d3472aff5dea</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Some designs&amp;nbsp;implement a software-triggered power-on reset&amp;nbsp;by mistake, a feature usually discovered after a few thousand devices are in the field; note this feature is heavily dependent on the power source and current capability of the source. Tie two or more GPIO pins together on the board and first set both (all) outputs low then configure all to High-Drive outputs. When a reset is required at some future time or event set one (or more) pin high, either in software or hardware via PPI from an impossible Event such as timer overflow or (say) push-button input.&lt;/p&gt;
&lt;p&gt;Not a Nordic-supported solution, I should add :-)&lt;/p&gt;
&lt;p&gt;Edit: After re-reading the original post I see this is not an option, but maybe since ram is a suspect set all RAM[].POWER to power down all ram, then without using the stack wait for a large number of CPU cycles then again without using the stack issue a soft reset. Hopefully the ram will have decayed. Other option is to zero all ram without using the stack then issue the soft reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Reset to imitate Pin Reset</title><link>https://devzone.nordicsemi.com/thread/556590?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 17:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e803343-9a5f-48d7-8609-f15dc0dea0a2</guid><dc:creator>DamoL</dc:creator><description>&lt;p&gt;We already configure and start the watchdog at the start of the program. The point is you cannot reconfigure after that. Not necessarily a problem, we will just have to find another way of working with the watchdog.&amp;nbsp;&lt;br /&gt;I take it this means there is no other way of triggering a hard (pin) reset through software?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Reset to imitate Pin Reset</title><link>https://devzone.nordicsemi.com/thread/556581?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 15:21:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d270eb95-ec9a-49bc-b92d-286d74f727ab</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Damien,&lt;/p&gt;
[quote user="DamoL"]Doesn&amp;#39;t look like you can reconfigure during runtime without reset.&amp;nbsp;[/quote]
&lt;p&gt;Can you elaborate on this?&amp;nbsp;You could try to configure WDT before it is started. Is this valid option for you?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Reset to imitate Pin Reset</title><link>https://devzone.nordicsemi.com/thread/556526?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 08:33:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1767926-1714-447f-971b-dafa3c1bf14d</guid><dc:creator>DamoL</dc:creator><description>&lt;p class="p"&gt;&lt;em&gt;&amp;quot;The watchdog must be configured before it is started. After it is started, the watchdog&amp;rsquo;s configuration registers, which comprise registers CRV, RREN, and CONFIG, will be &lt;strong&gt;blocked&lt;/strong&gt; for further configuration. ... When the device starts running again, after a reset, or waking up from OFF mode, the watchdog configuration registers will be available for configuration again.&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/em&gt;Doesn&amp;#39;t look like you can reconfigure during runtime without reset.&amp;nbsp;&lt;/p&gt;
&lt;p class="p"&gt;Thanks,&amp;nbsp;&lt;/p&gt;
&lt;p class="p"&gt;Damien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Reset to imitate Pin Reset</title><link>https://devzone.nordicsemi.com/thread/556330?ContentTypeID=1</link><pubDate>Fri, 05 Dec 2025 13:25:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3efa539-9e24-41d7-8875-98308e3fc1d8</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Damien,&lt;/p&gt;
[quote user="DamoL"]What I thought I could try, is disabling it, setting it to a shorter period, then enabling it, but I unless I am doing something else wrong, I don&amp;#39;t think reconfiguring the interval is allowed.&amp;nbsp;[/quote]
&lt;p&gt;It should be possible to reconfigure WDT. Please refer to nrf9160&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf9160/page/wdt.html"&gt;WDT&lt;/a&gt; documentation.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Reset to imitate Pin Reset</title><link>https://devzone.nordicsemi.com/thread/556259?ContentTypeID=1</link><pubDate>Thu, 04 Dec 2025 14:55:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99a94f06-8fd3-41b4-b248-67f9441593b8</guid><dc:creator>DamoL</dc:creator><description>&lt;p&gt;Hi Dejans,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, the watchdog definitely works. I block it and it resets after 5 minutes. We already use this feature, specifically for the rare case where something goes wrong, the modem gets turned on, but never turned off.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I thought I could try, is disabling it, setting it to a shorter period, then enabling it, but I unless I am doing something else wrong, I don&amp;#39;t think reconfiguring the interval is allowed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The main point though, is that I need a way to imitate doing a Pin Reset (holding nRESET line low), in software, I figured WDT reset is probably the closest, unless there is another way?&lt;/p&gt;
&lt;p&gt;Thanks,&amp;nbsp;&lt;br /&gt;Damien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Software Reset to imitate Pin Reset</title><link>https://devzone.nordicsemi.com/thread/556254?ContentTypeID=1</link><pubDate>Thu, 04 Dec 2025 14:22:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e46af47-837a-4fec-a858-323557826e64</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Damien,&lt;br /&gt;&lt;br /&gt;Are you trying to disable watchdog, reconfigure it to a shorter interval and then trigger the reset this way?&lt;br /&gt;&lt;br /&gt;If the device resets after 5 minutes, you might try&amp;nbsp;to enable watchdog timer expiry after some shorter time, for example 5 seconds. Can you verify that when you block feeding the watchdog for 5 minutes device restarts?&lt;br /&gt;&lt;br /&gt;Best regards, &lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>