<?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: [Security] CSEC component invoke the eraseKeys interface problem in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Security-CSEC-component-invoke-the-eraseKeys-interface-problem/m-p/1905188#M37490</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218898"&gt;@Gideon&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1720601480488.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/287915i1C222B1DF1A9CA15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1720601480488.png" alt="lukaszadrapa_0-1720601480488.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Isn't just an additional reset needed? That's the only probable root cause I can see.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2024 08:52:16 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2024-07-10T08:52:16Z</dc:date>
    <item>
      <title>[Security] CSEC component invoke the eraseKeys interface problem</title>
      <link>https://community.nxp.com/t5/S32K/Security-CSEC-component-invoke-the-eraseKeys-interface-problem/m-p/1898980#M37161</link>
      <description>&lt;P&gt;Dear NXPs:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S32K146;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S32DS sample 《csec_keyconfig_s32k146》&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;NXP NVM has written the key. First burn the Clear Key project. After calling the bool eraseKeys(void) interface in csec_utils.c, the key is successfully erased. Burn the KeyLoad project again. Under IAR Debug, hardFault occurs in the first run. Reset (the greenbox is the IAR Debug reset button) and execute again. Key is written successfully. (Two projects are designed, one Clear key and one load key. When using them, it is found that after the Clear key project is running, the loadkey project is burned again. It is found that the loadkey project is not executed. IAR Debug finds that it has entered hardFault. The participation of IAR Debug is only a temporary solution). I need your help, please&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gideon_0-1720059096084.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/286987iDBE607C01A3EF532/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gideon_0-1720059096084.png" alt="Gideon_0-1720059096084.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 02:12:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Security-CSEC-component-invoke-the-eraseKeys-interface-problem/m-p/1898980#M37161</guid>
      <dc:creator>Gideon</dc:creator>
      <dc:date>2024-07-04T02:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: [Security] CSEC component invoke the eraseKeys interface problem</title>
      <link>https://community.nxp.com/t5/S32K/Security-CSEC-component-invoke-the-eraseKeys-interface-problem/m-p/1905188#M37490</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218898"&gt;@Gideon&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1720601480488.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/287915i1C222B1DF1A9CA15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1720601480488.png" alt="lukaszadrapa_0-1720601480488.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Isn't just an additional reset needed? That's the only probable root cause I can see.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 08:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Security-CSEC-component-invoke-the-eraseKeys-interface-problem/m-p/1905188#M37490</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-07-10T08:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: [Security] CSEC component invoke the eraseKeys interface problem</title>
      <link>https://community.nxp.com/t5/S32K/Security-CSEC-component-invoke-the-eraseKeys-interface-problem/m-p/1907517#M37648</link>
      <description>&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&lt;BR /&gt;Thank you for your strong support.I called the following function and found that it still didn't work.&lt;BR /&gt;void SystemSoftwareReset(void)&lt;BR /&gt;{&lt;BR /&gt;uint32_t regValue;&lt;BR /&gt;&lt;BR /&gt;/* Read Application Interrupt and Reset Control Register */&lt;BR /&gt;regValue = S32_SCB-&amp;gt;AIRCR;&lt;BR /&gt;&lt;BR /&gt;/* Clear register key */&lt;BR /&gt;regValue &amp;amp;= ~( S32_SCB_AIRCR_VECTKEY_MASK);&lt;BR /&gt;&lt;BR /&gt;/* Configure System reset request bit and Register Key */&lt;BR /&gt;regValue |= S32_SCB_AIRCR_VECTKEY(FEATURE_SCB_VECTKEY);&lt;BR /&gt;regValue |= S32_SCB_AIRCR_SYSRESETREQ(0x1u);&lt;BR /&gt;&lt;BR /&gt;/* Write computed register value */&lt;BR /&gt;S32_SCB-&amp;gt;AIRCR = regValue;&lt;BR /&gt;}</description>
      <pubDate>Sat, 13 Jul 2024 04:10:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Security-CSEC-component-invoke-the-eraseKeys-interface-problem/m-p/1907517#M37648</guid>
      <dc:creator>Gideon</dc:creator>
      <dc:date>2024-07-13T04:10:42Z</dc:date>
    </item>
  </channel>
</rss>

