<?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>S32K中的主题 Re: S32K358 - SMR installation for advanced Secure Boot -  HSE_SRV_RSP_NOT_ALLOWED</title>
    <link>https://community.nxp.com/t5/S32K/S32K358-SMR-installation-for-advanced-Secure-Boot-HSE-SRV-RSP/m-p/1980521#M42446</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/235856"&gt;@fp-theophile&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since hseAttrSmrCoreStatus_t only returns 0, it indicates the following information:&lt;/P&gt;
&lt;P&gt;- smrStatus[2U] &amp;gt; [0].bit : 0 - SMR Not verified&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [1].bit : 0 - SMR verification fail&lt;/P&gt;
&lt;P&gt;- smrEntryInstallStatus &amp;gt; 0 - SMR entry not installed&lt;/P&gt;
&lt;P&gt;- coreBootStatus[2U] &amp;gt; [0].bit :&amp;nbsp;0 - Core Not booted&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [1].bit : 0 - Core booted with alternate/backup reset address&lt;/P&gt;
&lt;P&gt;Have you tried any of the Advanced Secure Boot projects shared above?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2024 22:08:39 GMT</pubDate>
    <dc:creator>VaneB</dc:creator>
    <dc:date>2024-10-23T22:08:39Z</dc:date>
    <item>
      <title>S32K358 - SMR installation for advanced Secure Boot -  HSE_SRV_RSP_NOT_ALLOWED</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-SMR-installation-for-advanced-Secure-Boot-HSE-SRV-RSP/m-p/1972210#M41955</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to install a SMR with advanced secure boot mod, I get the following response from the HSE: HSE_SRV_RSP_NOT_ALLOWED. I know it is not related to my LC State, I don't what I am missing. The ECDSA signature for the region is written in internal Flash memory.&lt;/P&gt;&lt;P&gt;Here is my code for the configuration:&lt;/P&gt;&lt;P&gt;hseSmrDecrypt_t smrDecrypt = {HSE_SMR_DECRYPT_KEY_HANDLE_NOT_USED, 0, 0, NULL, 0};&lt;BR /&gt;hseEcdsaScheme_t ecdsaScheme = {HSE_HASH_ALGO_SHA2_256, NULL};&lt;/P&gt;&lt;P&gt;hseSignScheme_t cryptoScheme;&lt;BR /&gt;cryptoScheme.signSch = HSE_SIGN_ECDSA;&lt;BR /&gt;cryptoScheme.sch.ecdsa = ecdsaScheme;&lt;/P&gt;&lt;P&gt;hseAuthScheme_t authScheme;&lt;BR /&gt;authScheme.sigScheme = cryptoScheme;&lt;/P&gt;&lt;P&gt;hseSmrEntry_t hseEntry;&lt;/P&gt;&lt;P&gt;hseEntry.pSmrsrc=COM_FLS_u32ActivePhysicalStartAddr;&lt;BR /&gt;hseEntry.smrSize = 0X200000U;&lt;BR /&gt;hseEntry.pSmrDest = NULL;&lt;BR /&gt;hseEntry.configFlags = 0U;&lt;BR /&gt;hseEntry.checkPeriod = 0U;&lt;BR /&gt;hseEntry.authKeyHandle = 0x00010000U;&lt;BR /&gt;hseEntry.authScheme = authScheme;&lt;BR /&gt;hseEntry.smrDecrypt = smrDecrypt;&lt;BR /&gt;hseEntry.versionOffset = HSE_SMR_VERSION_NOT_USED;&lt;/P&gt;&lt;P&gt;hseSmrEntryInstallSrv_t hseInstallSmr;&lt;BR /&gt;hseInstallSmr.accessMode = HSE_ACCESS_MODE_ONE_PASS;&lt;BR /&gt;hseInstallSmr.entryIndex = 0u;&lt;BR /&gt;hseInstallSmr.pSmrEntry = (HOST_ADDR) &amp;amp;hseEntry;&lt;BR /&gt;hseInstallSmr.pSmrData = COM_FLS_u32PassivePhysicalStartAddr;&lt;BR /&gt;hseInstallSmr.smrDataLength = 0X200000U;&lt;BR /&gt;hseInstallSmr.pAuthTag[0U] = (HOST_ADDR) COM_FLS_u32PhysicalAdressSignature;&lt;BR /&gt;hseInstallSmr.pAuthTag[1U] = (HOST_ADDR) COM_FLS_u32PhysicalAdressSignature + 32U;&lt;BR /&gt;hseInstallSmr.authTagLength[0U] = HSE_BYTES_TO_BITS(32U);&lt;BR /&gt;hseInstallSmr.authTagLength[1U] = HSE_BYTES_TO_BITS(32U);&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 13:45:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-SMR-installation-for-advanced-Secure-Boot-HSE-SRV-RSP/m-p/1972210#M41955</guid>
      <dc:creator>fp-theophile</dc:creator>
      <dc:date>2024-10-11T13:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358 - SMR installation for advanced Secure Boot -  HSE_SRV_RSP_NOT_ALLOWED</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-SMR-installation-for-advanced-Secure-Boot-HSE-SRV-RSP/m-p/1972324#M41962</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/235856"&gt;@fp-theophile&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To better understand the Secure Boot we provide an application note including demo projects which explains all the steps in detail. It can be downloaded from:&lt;BR /&gt;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/s32-automotive-platform/s32k-auto-general-purpose-mcus/s32k3-microcontrollers-for-automotive-general-purpose:S32K3?SAMLart=ST-AAF0E3YJDJej%2BJVBprc7Vu5rkUdezyXV53MMPGkpoghMIvu%2FgsHCmHCe" target="_blank" rel="noopener nofollow noreferrer"&gt;S32K3 Microcontrollers for Automotive General Purpose&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Application note can be found here:&lt;BR /&gt;Documentation -&amp;gt; Secure Files -&amp;gt; Secure Boot Application note v0.1.1.0 (AN744511)&lt;/P&gt;
&lt;P&gt;Associated demo project can be downloaded here:&lt;BR /&gt;Design Resources -&amp;gt; Software -&amp;gt; Secure Files -&amp;gt; SecureBootAppNoteDemo (SW745310)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Additionally, example codes are available without RTD that provide different use case scenarios to show the capabilities of the HSE FW.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=S32K3_HSE_DemoExamples" target="_blank" rel="noopener nofollow noreferrer"&gt;S32K3 MCUs for General Purpose HSE Demo Examples&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 18:34:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-SMR-installation-for-advanced-Secure-Boot-HSE-SRV-RSP/m-p/1972324#M41962</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-10-11T18:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358 - SMR installation for advanced Secure Boot -  HSE_SRV_RSP_NOT_ALLOWED</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-SMR-installation-for-advanced-Secure-Boot-HSE-SRV-RSP/m-p/1973128#M42022</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt;&amp;nbsp;for these documents, I have been through them and did not find anything conclusive&lt;/P&gt;&lt;P&gt;My question was specifically on the error response&amp;nbsp;&lt;SPAN&gt;HSE_SRV_RSP_NOT_ALLOWED, I am not sure about what can cause this error in case of a SMR installation request.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 08:27:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-SMR-installation-for-advanced-Secure-Boot-HSE-SRV-RSP/m-p/1973128#M42022</guid>
      <dc:creator>fp-theophile</dc:creator>
      <dc:date>2024-10-14T08:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358 - SMR installation for advanced Secure Boot -  HSE_SRV_RSP_NOT_ALLOWED</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-SMR-installation-for-advanced-Secure-Boot-HSE-SRV-RSP/m-p/1973539#M42049</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/235856"&gt;@fp-theophile&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help me check what hseAttrSmrCoreStatus_t is returning.&lt;/P&gt;
&lt;P&gt;Also could you verify if the problem is not caused by data cache? This is the most common issue when HSE_SRV_RSP_NOT_ALLOWED is returned even if everything seems to be correct. You can try to disable the data cache completely to check if this is the case.&lt;/P&gt;
&lt;P&gt;Otherwise SMR can be erased by service HSE_SRV_ID_SMR_ENTRY_ERASE. Notice that super user rights are needed.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 18:11:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-SMR-installation-for-advanced-Secure-Boot-HSE-SRV-RSP/m-p/1973539#M42049</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-10-14T18:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358 - SMR installation for advanced Secure Boot -  HSE_SRV_RSP_NOT_ALLOWED</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-SMR-installation-for-advanced-Secure-Boot-HSE-SRV-RSP/m-p/1979250#M42380</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have only 0s in&amp;nbsp;&lt;SPAN&gt;hseAttrSmrCoreStatus_t. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also now I have&amp;nbsp;HSE_SRV_RSP_INVALID_PARAM as a response from the hse without changing parameters except trying to change key flags, I don't really know what is going on. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;About the cache memory I disabled it so I know it is not the problem. And also I checked I had the user rights.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 12:56:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-SMR-installation-for-advanced-Secure-Boot-HSE-SRV-RSP/m-p/1979250#M42380</guid>
      <dc:creator>fp-theophile</dc:creator>
      <dc:date>2024-10-22T12:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358 - SMR installation for advanced Secure Boot -  HSE_SRV_RSP_NOT_ALLOWED</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-SMR-installation-for-advanced-Secure-Boot-HSE-SRV-RSP/m-p/1980521#M42446</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/235856"&gt;@fp-theophile&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since hseAttrSmrCoreStatus_t only returns 0, it indicates the following information:&lt;/P&gt;
&lt;P&gt;- smrStatus[2U] &amp;gt; [0].bit : 0 - SMR Not verified&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [1].bit : 0 - SMR verification fail&lt;/P&gt;
&lt;P&gt;- smrEntryInstallStatus &amp;gt; 0 - SMR entry not installed&lt;/P&gt;
&lt;P&gt;- coreBootStatus[2U] &amp;gt; [0].bit :&amp;nbsp;0 - Core Not booted&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [1].bit : 0 - Core booted with alternate/backup reset address&lt;/P&gt;
&lt;P&gt;Have you tried any of the Advanced Secure Boot projects shared above?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 22:08:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-SMR-installation-for-advanced-Secure-Boot-HSE-SRV-RSP/m-p/1980521#M42446</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-10-23T22:08:39Z</dc:date>
    </item>
  </channel>
</rss>

