<?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>topic FRDM-K64F MPU doesn't take effect on some addresses in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-MPU-doesn-t-take-effect-on-some-addresses/m-p/1385162#M8117</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I was trying configure the access permission of peripheral address region (0x40000000 - 0x5FFFFFFF) as RW for&amp;nbsp;privileged mode and No Access for unprivileged mode via MPU (sysmpu). In most cases, accessing to these addresses in unprivileged mode successfully triggered BusFault exception, but I still found a subregion starts from 0x400FF000 can still be accessed by unprivileged mode and never trigger BusFault exception. It seems that MPU does not take effect in that subregion. I konw the address 0x400FF000 is mapped to GPIO, does that mean GPIO can always be accessed regardless of execution mode?&lt;/P&gt;&lt;P&gt;Is there anyone knows the reason?&lt;/P&gt;</description>
    <pubDate>Sat, 11 Dec 2021 18:03:09 GMT</pubDate>
    <dc:creator>jiameng</dc:creator>
    <dc:date>2021-12-11T18:03:09Z</dc:date>
    <item>
      <title>FRDM-K64F MPU doesn't take effect on some addresses</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-MPU-doesn-t-take-effect-on-some-addresses/m-p/1385162#M8117</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I was trying configure the access permission of peripheral address region (0x40000000 - 0x5FFFFFFF) as RW for&amp;nbsp;privileged mode and No Access for unprivileged mode via MPU (sysmpu). In most cases, accessing to these addresses in unprivileged mode successfully triggered BusFault exception, but I still found a subregion starts from 0x400FF000 can still be accessed by unprivileged mode and never trigger BusFault exception. It seems that MPU does not take effect in that subregion. I konw the address 0x400FF000 is mapped to GPIO, does that mean GPIO can always be accessed regardless of execution mode?&lt;/P&gt;&lt;P&gt;Is there anyone knows the reason?&lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:03:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-MPU-doesn-t-take-effect-on-some-addresses/m-p/1385162#M8117</guid>
      <dc:creator>jiameng</dc:creator>
      <dc:date>2021-12-11T18:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K64F MPU doesn't take effect on some addresses</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-MPU-doesn-t-take-effect-on-some-addresses/m-p/1385880#M8118</link>
      <description>&lt;P&gt;That is correct. This region you mention corresponds to a Bitband region for GPIO, so it should always be accessible. Please check Chapter 4 of the Reference Manual for more information about this. Here’s the link: &lt;A href="https://www.nxp.com/webapp/Download?colCode=K64P144M120SF5RM" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=K64P144M120SF5RM&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 21:46:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-MPU-doesn-t-take-effect-on-some-addresses/m-p/1385880#M8118</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2021-12-13T21:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-K64F MPU doesn't take effect on some addresses</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-MPU-doesn-t-take-effect-on-some-addresses/m-p/1385984#M8119</link>
      <description>&lt;P&gt;Hi EdwinHz,&lt;/P&gt;&lt;P&gt;Thank you for providing the reference manual. I still have some questions about the bit-banding.&lt;/P&gt;&lt;P&gt;1. I investigated the corresponding section, Besides 0x400FF000 for GPIOs, I found the addresses of 0x40000000, 0x40080000 are also bit-band region for AIPS0 and AIPS1 respectively, but accesses to these addresses can be restricted by MPU. Shouldn't they be always accessible since they are also bitbanding?&lt;/P&gt;&lt;P&gt;2. I need to make GPIOs inaccessible by the unprivileged code, is there any way to achieve this goal?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jiameng&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 02:33:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-K64F-MPU-doesn-t-take-effect-on-some-addresses/m-p/1385984#M8119</guid>
      <dc:creator>jiameng</dc:creator>
      <dc:date>2021-12-14T02:33:11Z</dc:date>
    </item>
  </channel>
</rss>

