<?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 Re: LPC55S69 : privileged or not ? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-privileged-or-not/m-p/986173#M38891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are checking this internally, I will update you as soon as possible,&lt;/P&gt;&lt;P&gt;have a nice day&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Soledad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jan 2020 14:57:33 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2020-01-20T14:57:33Z</dc:date>
    <item>
      <title>LPC55S69 : privileged or not ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-privileged-or-not/m-p/986172#M38890</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 have FreeRTOS on nonsecure side and tasks' with user privileges is running there.&lt;/P&gt;&lt;P&gt;Task with user privileges call NSC function and on Secure side I have analyze CONTROL register:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int inPrivilegedMode(void)&lt;BR /&gt;{&lt;BR /&gt; return !(__get_CONTROL() &amp;amp; 0x1);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;And looks like code on Secure side is continue execution with user privileges as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it able to call FlashErase function from ROM and ROM area are marked as S-Priv by using MPC secure gates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this right assumption that NSC call is not modify privilege level and code continue execution on Secure side with the same privileges ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or some settings should be forced in MISC_CTRL registers for be sure if secure side starts to distinguish privileged&amp;nbsp;&lt;/P&gt;&lt;P&gt;and user states ?&amp;nbsp;&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>Wed, 08 Jan 2020 18:42:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-privileged-or-not/m-p/986172#M38890</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-01-08T18:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : privileged or not ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-privileged-or-not/m-p/986173#M38891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are checking this internally, I will update you as soon as possible,&lt;/P&gt;&lt;P&gt;have a nice day&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Soledad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 14:57:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-privileged-or-not/m-p/986173#M38891</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2020-01-20T14:57:33Z</dc:date>
    </item>
  </channel>
</rss>

