<?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 reset main embedded application within nRF52810 without resetting flash or powering off the MCU?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77126/how-to-reset-main-embedded-application-within-nrf52810-without-resetting-flash-or-powering-off-the-mcu</link><description>Hi all, the application i&amp;#39;m using nRF52810 for requires that I keep the device powered on all the time. However, in the case of errors (tolerable within my application) I would like the nRF52810 to soft reset itself. This means reset the main() application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Jul 2021 06:13:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77126/how-to-reset-main-embedded-application-within-nrf52810-without-resetting-flash-or-powering-off-the-mcu" /><item><title>RE: How to reset main embedded application within nRF52810 without resetting flash or powering off the MCU?</title><link>https://devzone.nordicsemi.com/thread/319060?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 06:13:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76c85976-fd19-4f5a-b0b2-d365ce407e5a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;If you look at &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52810%2Fpower.html&amp;amp;cp=4_5_0_4_2_7&amp;amp;anchor=unique_993072812"&gt;this &lt;/a&gt;table which explains peripherals behavior at different reset, you can notice that a soft-reset (NVIC_Reset) will reset the GPIO peripheral resettings its configuration and states. The table also shows that during deep sleep and wake up from deep sleep, the GPIO module is not reset as you noticed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset main embedded application within nRF52810 without resetting flash or powering off the MCU?</title><link>https://devzone.nordicsemi.com/thread/319036?ContentTypeID=1</link><pubDate>Wed, 07 Jul 2021 20:31:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5939548-81dd-4604-a8cb-5001f1a489ef</guid><dc:creator>Noah</dc:creator><description>&lt;p&gt;Okay great, thank you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What is the behavior for GPIO? I control various digital logic blocks with GPIO outputs (HIGH or LOW). Even if sd_nvic_systemreset() is called, I need to ensure that the GPIO levels (for configured pins) do not change even briefly during the reset. I know that if I go to deep sleep and am holding a GPIO at LOW output, it will remain this way in and out of whatever sleep I want to do (besides full shut down of course). Is this the same for nvic_systemreset?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I set the pin logic right at the beginning of my main application, so restarting the main application code would not change the pin logic output levels (as they&amp;#39;d just get set to what they were set to already). however, if the GPIO outputs change or become undefined temporarily during the sd_nvic_systemreset, this is bad for my application.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you please share some documentation on to what sd_nvic_systemreset does? What does it mean to &amp;quot;reset&amp;quot; in this fashion, what things are reset and what kind of things happen before the application is restarted?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset main embedded application within nRF52810 without resetting flash or powering off the MCU?</title><link>https://devzone.nordicsemi.com/thread/318884?ContentTypeID=1</link><pubDate>Wed, 07 Jul 2021 06:34:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c492fe2-3d09-42e5-be64-8c48c6688d1a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Noah,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I do not think that using NVIC_SystemReset() API will cause any flash corrupted for an already written data. However it is good practice to always use SD provided API for &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s112%2FSDS%2Fs1xx%2Fsd_resource_reqs%2Fhw_block_interrupt_vector.html&amp;amp;cp=4_7_0_0_6_0"&gt;restricted peripheral access&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset main embedded application within nRF52810 without resetting flash or powering off the MCU?</title><link>https://devzone.nordicsemi.com/thread/318867?ContentTypeID=1</link><pubDate>Tue, 06 Jul 2021 23:48:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d445377-3759-480a-af0d-5956bb0e7cdc</guid><dc:creator>Noah</dc:creator><description>&lt;p&gt;I believe I need to use sd_nvic_systemreset() instead, which I am now trying. I use the soft device s112, my application is constructed on top of the uart example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>