<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPC MicrocontrollersのトピックRe: TrustZone-M: Working Principle and configuration</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/TrustZone-M-Working-Principle-and-configuration/m-p/1302673#M45761</link>
    <description>&lt;P&gt;Hello marvin,&lt;/P&gt;
&lt;P&gt;"The DAU performs a simple and fixed task of splitting addresses above 0x20000000 based on bit 28 into S and NS. Addresses below 0x20000000 are fixed NS when considering the IDAU only."&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;nbsp; Yes, below 0x20000000 always NS, above&amp;nbsp; 0x20000000 can config by IDAU. There is some error with&lt;/P&gt;
&lt;P&gt;Table 3 of UM.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Please refer to the below picture:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1625539374596.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148832iE1A027DCD1EBAC56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1625539374596.png" alt="Alice_Yang_0-1625539374596.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;About the detail , please first refer to the demo "Trustzone_example" under SDK , combine with UM.&lt;/P&gt;
&lt;P&gt;Download SDK from:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/en/select" target="_blank"&gt;https://mcuxpresso.nxp.com/en/select&lt;/A&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jul 2021 02:49:37 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2021-07-06T02:49:37Z</dc:date>
    <item>
      <title>TrustZone-M: Working Principle and configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/TrustZone-M-Working-Principle-and-configuration/m-p/1302058#M45732</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I &lt;EM&gt;really&lt;/EM&gt; like your TrustZone-M implementation.&lt;/P&gt;&lt;P&gt;I am currently wondering about some principles though and hope, you may be able to help me out with this.&lt;/P&gt;&lt;P&gt;I'm using the LPC55S69.&lt;BR /&gt;So, when reading its UserManual, there is the following graphic in Chapter 47:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="__marvin___0-1625329213920.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148720i9EE2823690F362D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="__marvin___0-1625329213920.png" alt="__marvin___0-1625329213920.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am assuming that the IDAU interface is defined by ARM themselves, while NXP has to implement the actual IDAU communicating with this interface, which you call DAU here.&lt;BR /&gt;The DAU performs a simple and fixed task of splitting addresses above 0x20000000 based on bit 28 into S and NS. Addresses below 0x20000000 are fixed NS when considering the IDAU only.&lt;/P&gt;&lt;P&gt;Does this mean, that the flash addresses -which are below 0x20000000- are split into Secure and Non-Secure only by SAU settings, when leaving all the SECURE_AHB_CONTROLLER settings aside?&lt;BR /&gt;I'm asking because in chapter 2.1.3: "TrustZone and system mapping on this device" of UM11126 the flash addresses seem to be fixed S and NS based on bit 28, too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the AHB_SECURE_CONTROLLER:&lt;/P&gt;&lt;P&gt;What would for example happen if there were no Master Security Wrappers (MSW's)?&lt;BR /&gt;Would any BusMaster, like Core1, USB, DMA etc. which does not know about the security extension be able to access both, secure and non-secure resources?&lt;/P&gt;&lt;P&gt;Are MISC_CTRL_REG and MISC_CTRL_REG_DP the single point to activate all the additional security defined by AHB_SECURE_CONTROL in general or would for example my flash security and privilege rules still protect me if these registers are unset?&lt;BR /&gt;I did not fully understand if these are the single -or actually double- point of failure. &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope to hear from you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp;&amp;amp; all the best,&lt;BR /&gt;marvin&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jul 2021 17:42:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/TrustZone-M-Working-Principle-and-configuration/m-p/1302058#M45732</guid>
      <dc:creator>__marvin__</dc:creator>
      <dc:date>2021-07-03T17:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: TrustZone-M: Working Principle and configuration</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/TrustZone-M-Working-Principle-and-configuration/m-p/1302673#M45761</link>
      <description>&lt;P&gt;Hello marvin,&lt;/P&gt;
&lt;P&gt;"The DAU performs a simple and fixed task of splitting addresses above 0x20000000 based on bit 28 into S and NS. Addresses below 0x20000000 are fixed NS when considering the IDAU only."&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;nbsp; Yes, below 0x20000000 always NS, above&amp;nbsp; 0x20000000 can config by IDAU. There is some error with&lt;/P&gt;
&lt;P&gt;Table 3 of UM.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Please refer to the below picture:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1625539374596.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148832iE1A027DCD1EBAC56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1625539374596.png" alt="Alice_Yang_0-1625539374596.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;About the detail , please first refer to the demo "Trustzone_example" under SDK , combine with UM.&lt;/P&gt;
&lt;P&gt;Download SDK from:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/en/select" target="_blank"&gt;https://mcuxpresso.nxp.com/en/select&lt;/A&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 02:49:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/TrustZone-M-Working-Principle-and-configuration/m-p/1302673#M45761</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-07-06T02:49:37Z</dc:date>
    </item>
  </channel>
</rss>

