<?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>Disable Softdevice sandboxing in fault handler</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53248/disable-softdevice-sandboxing-in-fault-handler</link><description>Hello Nordic team, 
 In our project we have a requirement to write a log record to flash sector when any fault occured (hardfault or SD fault callback), so we can download and analyze it later. Device can be in any state before this - in interrupt handler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Oct 2019 19:46:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53248/disable-softdevice-sandboxing-in-fault-handler" /><item><title>RE: Disable Softdevice sandboxing in fault handler</title><link>https://devzone.nordicsemi.com/thread/215163?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 19:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea3242ef-8ed5-4a10-9ba1-9fe929627089</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Thanks Vidar!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disable Softdevice sandboxing in fault handler</title><link>https://devzone.nordicsemi.com/thread/215049?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 11:30:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a14a3205-1ac8-4fdf-8994-6a6b8a57e2cd</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It is possible to disable sandboxing of the NVMC by writing to the MWU. Below is an example to disable it just for this peripheral.&lt;/p&gt;
&lt;p&gt;NRF_MWU-&amp;gt;PREGION[0].SUBS &amp;amp;= ~(MWU_PREGION_SUBS_SR30_Include &amp;lt;&amp;lt; MWU_PREGION_SUBS_SR30_Pos);&lt;br /&gt; __DSB(); // barrier to ensure register is set before accessing NVMC.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>