<?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>NRF52 and MWU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21095/nrf52-and-mwu</link><description>Hi, 
 I&amp;#39;ve been debugging my code and would like to use the Memory Watch Unit (MWU). I use SDK version 11, s132, and NRF52. 
 Could you point to an example of using MWU with SoftDevice enabled? Or any kind of example as I&amp;#39;ve not been able to find any</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Apr 2017 10:29:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21095/nrf52-and-mwu" /><item><title>RE: NRF52 and MWU</title><link>https://devzone.nordicsemi.com/thread/82505?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 10:29:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82ab3377-1fb8-41f1-bef9-3ed2415c3e93</guid><dc:creator>Kai</dc:creator><description>&lt;p&gt;@Sigurd - Thank you for this. I&amp;#39;ll have to continue on this some other way then.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 and MWU</title><link>https://devzone.nordicsemi.com/thread/82504?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 10:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29761ed2-83a2-4c02-8b8d-ecf03fbe7864</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The reason why the peripheral is &amp;quot;restricted&amp;quot; and not &amp;quot;blocked&amp;quot; is more technical, and has to do with how the SoftDevice enforces access restrictions on the peripheral. The SoftDevice is not designed with application MWU usage in mind. If you try it out you may see that it appears to be working, but there are no guarantees for anything. There is not sufficient information in the SDS regarding MWU usage restrictions, and the existing information is somewhat misleading. I will add a request to update the information. I would not recommend trying to use the MWU when the SoftDevice is enabled. Sorry for the inconvenience&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 and MWU</title><link>https://devzone.nordicsemi.com/thread/82503?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 05:25:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d02f0218-6f33-4423-806e-008963e9b6f3</guid><dc:creator>Kai</dc:creator><description>&lt;p&gt;@Sigurd - The table says the MWU is restricted, not blocked, and from the description of the restrictions those could be achieved by using one region protection. That would leave three unused and from what I&amp;#39;ve experimented now is that the #2 and #3 seem to be unused.&lt;/p&gt;
&lt;p&gt;When I make a deliberate write violation to the area I want to protect I  get a softdevice_fault_handler() call with id 1. Still not able to get that to go to the MWU handler. :(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 and MWU</title><link>https://devzone.nordicsemi.com/thread/82502?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 19:25:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:317ecf34-5ca9-43d6-800b-9744618e8204</guid><dc:creator>John</dc:creator><description>&lt;p&gt;@Kai, be sure to follow the links under note 2 in the table @Sigurd points to. It explains a lot as to why there are not sd_mwu_xxxx functions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 and MWU</title><link>https://devzone.nordicsemi.com/thread/82501?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 13:38:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c93c64f4-31e3-4c48-84e3-87f8e4e5ba0f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When the SoftDevice is enabled the MWU should not be used by the application. You can see in the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/sd_resource_reqs/hw_block_interrupt_vector.html?cp=2_3_0_0_6_0"&gt;Peripheral protection and usage by SoftDevice table&lt;/a&gt; that you don&amp;#39;t have open access to the MWU when the SoftDevice is enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>