<?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>Create a reset signal on nRF9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51748/create-a-reset-signal-on-nrf9160</link><description>Dear All, 
 
 On the http_application_update after the download is complete, in order to run the new firmware the user needs to press the reset button. 
 I would like to be able to reset the device automatically after the completion of the download. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Sep 2019 13:11:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51748/create-a-reset-signal-on-nrf9160" /><item><title>RE: Create a reset signal on nRF9160</title><link>https://devzone.nordicsemi.com/thread/207984?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2019 13:11:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1c19eac-cbb7-4bc5-b113-22576d05e4dd</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Giannis,&lt;/p&gt;
&lt;p&gt;Please include this in your main file:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;misc/reboot.h&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and use the function:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;sys_reboot(SYS_REBOOT_COLD);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;to restart the application.&lt;/p&gt;
&lt;p&gt;You also need to enable this functionality in the &lt;em&gt;prj.conf&lt;/em&gt; file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_REBOOT=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>