<?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: LPC55S69 : Secure boot vs TrustZone</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Secure-boot-vs-TrustZone/m-p/1166776#M42546</link>
    <description>&lt;P&gt;Found it :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"enableTrustZone": true in the json configuration file&amp;nbsp;&lt;BR /&gt;Works now&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2020 13:57:43 GMT</pubDate>
    <dc:creator>trescurieux</dc:creator>
    <dc:date>2020-10-13T13:57:43Z</dc:date>
    <item>
      <title>LPC55S69 : Secure boot vs TrustZone</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Secure-boot-vs-TrustZone/m-p/1166640#M42545</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;* I have a simple FreeRTOS "blink" app, it works fine when flashed as plain app&amp;nbsp;&lt;/P&gt;&lt;P&gt;* If i sign it, flash it as signed app: It boots fine ( i have serial output), which leads me to believe the signing is ok. But it&amp;nbsp; crashes as soon as freeRTOS scheduler is started&lt;/P&gt;&lt;P&gt;Looking closer, the crash happens when doing the&amp;nbsp; EXC_RETURN call to switch to the 1st thread&lt;/P&gt;&lt;P&gt;The main difference i've spotted so far is that :&lt;/P&gt;&lt;P&gt;* The "plain app" is running with PSP=PSP_S =&amp;gt; Secure mode&lt;/P&gt;&lt;P&gt;* The "signed app" is running with PSP=PSP_NS =&amp;gt; unsecure mode&lt;/P&gt;&lt;P&gt;I tried doing the provisioning with elf2sb gui&amp;nbsp; with Use Header/TZ Enabled/TZ disabled =&amp;gt; not better&lt;/P&gt;&lt;P&gt;(with TZ enabled i dont even reach the serial output)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the question : Is there an assumption that TrustZone is enabled when using secure boot ?&lt;/P&gt;&lt;P&gt;What's the proper way to have it behave like "plain" app ? It helps as a first step to go the full trustZone way.&lt;/P&gt;&lt;P&gt;Any additional information would be appreciated&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;Tres&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 09:28:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Secure-boot-vs-TrustZone/m-p/1166640#M42545</guid>
      <dc:creator>trescurieux</dc:creator>
      <dc:date>2020-10-13T09:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : Secure boot vs TrustZone</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Secure-boot-vs-TrustZone/m-p/1166776#M42546</link>
      <description>&lt;P&gt;Found it :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"enableTrustZone": true in the json configuration file&amp;nbsp;&lt;BR /&gt;Works now&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 13:57:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-Secure-boot-vs-TrustZone/m-p/1166776#M42546</guid>
      <dc:creator>trescurieux</dc:creator>
      <dc:date>2020-10-13T13:57:43Z</dc:date>
    </item>
  </channel>
</rss>

