<?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>Reset the board removing the firmware. and all data.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115224/reset-the-board-removing-the-firmware-and-all-data</link><description>Hi 
 I am using nrf52840 in my custom board. I have a gpio button which is assigned for as a factory reset button. So when i press the button the whole board needs toi be reseted removing firmware , data , configuration. How is that possible.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Oct 2024 12:00:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115224/reset-the-board-removing-the-firmware-and-all-data" /><item><title>RE: Reset the board removing the firmware. and all data.</title><link>https://devzone.nordicsemi.com/thread/505552?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 12:00:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ff2e0a8-5da6-4b3b-81e0-eebf0c7fd05f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Please open a new case for this new question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the board removing the firmware. and all data.</title><link>https://devzone.nordicsemi.com/thread/505543?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 11:47:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:900ea90e-ddb8-4856-b33e-6469b0545ba2</guid><dc:creator>cyriactoms</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for the reply&lt;/p&gt;
&lt;p&gt;what does the function bt_mesh_reset();&amp;nbsp; do.&lt;/p&gt;
&lt;p&gt;when i try to reset with the function i got an error&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:331&lt;br /&gt; command opcode 0x2042 timeout with err -11&lt;br /&gt;[00:00:28.807,586] &amp;lt;err&amp;gt; os: r0/a1: 0x00000003 r1/a2: 0x00000000 r2/a3: 0x00000002&lt;br /&gt;[00:00:28.807,617] &amp;lt;err&amp;gt; os: r3/a4: 0x20003038 r12/ip: 0x00000010 r14/lr: 0x00023585&lt;br /&gt;[00:00:28.807,617] &amp;lt;err&amp;gt; os: xpsr: 0x41000016&lt;br /&gt;[00:00:28.807,617] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0x00023590&lt;br /&gt;[00:00:28.807,647] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0&lt;br /&gt;[00:00:28.807,678] &amp;lt;err&amp;gt; os: Fault during interrupt handling&lt;/p&gt;
&lt;p&gt;[00:00:28.807,708] &amp;lt;err&amp;gt; os: Current thread: 0x200057e0 (idle)&lt;br /&gt;[00:00:28.918,579] &amp;lt;err&amp;gt; fatal_error: Resetting system&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset the board removing the firmware. and all data.</title><link>https://devzone.nordicsemi.com/thread/504883?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2024 15:47:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27b546c8-f644-46d9-838f-e2d671a7954b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;If you want to trigger a erase-all from FW:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_NVMC-&amp;gt;CONFIG = NVMC_CONFIG_WEN_Een;
NRF_NVMC-&amp;gt;ERASEALL = NVMC_ERASEALL_ERASEALL_Erase;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;See this page for more info:&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52840/page/nvmc.html#ariaid-title6"&gt;https://docs.nordicsemi.com/bundle/ps_nrf52840/page/nvmc.html#ariaid-title6&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>