<?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>nRF52832 MPU TEX,S,B,C bits setup</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17597/nrf52832-mpu-tex-s-b-c-bits-setup</link><description>I am having problems getting the memory protection to work. 
 I have not found a clear definition on how to configure the TEX,S,C &amp;amp; B bits for the various memory regions in the nRF52832. 
 Anyone with sample code or information on this?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Nov 2016 09:16:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17597/nrf52832-mpu-tex-s-b-c-bits-setup" /><item><title>RE: nRF52832 MPU TEX,S,B,C bits setup</title><link>https://devzone.nordicsemi.com/thread/67674?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2016 09:16:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bd18c5b-2faa-4733-aa58-ac3b1002e117</guid><dc:creator>tkorsdal</dc:creator><description>&lt;p&gt;The problem was incorrect setting of the size field.&lt;/p&gt;
&lt;p&gt;For TEX,S,B and C bits I went with the suggestions in section B3.1 of the ARMv7-M architecture reference manual:&lt;/p&gt;
&lt;p&gt;Code regions as WT (Write through) (TEX,S,B,C)=(110,1,1,0)
RAM Data regions as WBWA (Write-back, write-allocate). (TEX,S,B,C)=(101,1,0,1)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 MPU TEX,S,B,C bits setup</title><link>https://devzone.nordicsemi.com/thread/67673?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2016 09:06:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1f86c05-d3c1-44ae-9471-3c5adcd45c53</guid><dc:creator>tkorsdal</dc:creator><description>&lt;p&gt;@Hung Bui: Thank you. I have been studying the ARMv7-M-arm for MPU settings. How to set up cache for particular device is not described, and I could not find this information in the nRF52 documentation either. But the problem was elsewhere and I solved it. I will post the answer here and how my MPU settings ended up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 MPU TEX,S,B,C bits setup</title><link>https://devzone.nordicsemi.com/thread/67672?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2016 08:41:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d528c14-b851-4c60-a6ae-5158f36b268c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@tkorsdal: I&amp;#39;m afraid that we don&amp;#39;t have any example for the Cortex M4 MPU. The best source for explanation of the register should be from the &amp;quot;ARMv7-M Architecture Reference Manual&amp;quot; at section B3.5.9&lt;/p&gt;
&lt;p&gt;What exactly you want to do with the memory protection ? Would the BPROT and the MWU on the nRF52 can do the job ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>