<?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 K82 : disable write to AIPS1 and 2 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-disable-write-to-AIPS1-and-2/m-p/862379#M51605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to disable supervisor write access to AIPS0 and 1 most of the time and enable on the moment when I should&lt;/P&gt;&lt;P&gt;actually configure it with Supervisor privileges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it generate BusFault and may be it is not work as I understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Pseudo code&lt;/P&gt;&lt;P&gt;{ &amp;amp;(AIPS0-&amp;gt;PACRA), 0x50007000ul }, // Enable Supervisor RW AIPS0&lt;BR /&gt; { &amp;amp;(AIPS1-&amp;gt;PACRA), 0x50000000ul }, // Enable Supervisor RW AIPS1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... Enable/Disable peripherals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{ &amp;amp;(AIPS0-&amp;gt;PACRA), 0x70007000ul }, //&amp;nbsp; Supervisor RO AIPS0&lt;BR /&gt; { &amp;amp;(AIPS1-&amp;gt;PACRA), 0x70000000ul }, //&amp;nbsp;&amp;nbsp;Supervisor RO AIPS1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So may be Slot0 in PARCA can't be used for protect AIPSx itself ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How-to enable/disable write access to AIPS tables ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like this disabling , lock AIPS forever ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or for what reason AIPS slots mentioned in tables ? Just for enable access in User mode ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Mar 2019 15:18:46 GMT</pubDate>
    <dc:creator>EugeneHiihtaja</dc:creator>
    <dc:date>2019-03-01T15:18:46Z</dc:date>
    <item>
      <title>K82 : disable write to AIPS1 and 2</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-disable-write-to-AIPS1-and-2/m-p/862379#M51605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to disable supervisor write access to AIPS0 and 1 most of the time and enable on the moment when I should&lt;/P&gt;&lt;P&gt;actually configure it with Supervisor privileges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it generate BusFault and may be it is not work as I understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Pseudo code&lt;/P&gt;&lt;P&gt;{ &amp;amp;(AIPS0-&amp;gt;PACRA), 0x50007000ul }, // Enable Supervisor RW AIPS0&lt;BR /&gt; { &amp;amp;(AIPS1-&amp;gt;PACRA), 0x50000000ul }, // Enable Supervisor RW AIPS1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... Enable/Disable peripherals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{ &amp;amp;(AIPS0-&amp;gt;PACRA), 0x70007000ul }, //&amp;nbsp; Supervisor RO AIPS0&lt;BR /&gt; { &amp;amp;(AIPS1-&amp;gt;PACRA), 0x70000000ul }, //&amp;nbsp;&amp;nbsp;Supervisor RO AIPS1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So may be Slot0 in PARCA can't be used for protect AIPSx itself ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How-to enable/disable write access to AIPS tables ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like this disabling , lock AIPS forever ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or for what reason AIPS slots mentioned in tables ? Just for enable access in User mode ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 15:18:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-disable-write-to-AIPS1-and-2/m-p/862379#M51605</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-03-01T15:18:46Z</dc:date>
    </item>
  </channel>
</rss>

