<?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: S32k3 HSE firmware memory verification time in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1849858#M34356</link>
    <description>&lt;P&gt;1. Yes, the installation should take about 0.8s - 1s, so it's expected value. &lt;BR /&gt;2. The HSE FW is installed after first reset. To make it running, another reset is needed. And if you use AB SWAP version, one more reset is needed beucase HSE FW needs to be programmed also to passive block. &lt;BR /&gt;3. Once the HSE FW is installed, you need to always wait after reset till HSE_STATUS_INIT_OK bit is set before triggering a service request to HSE.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2024 11:36:33 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2024-04-18T11:36:33Z</dc:date>
    <item>
      <title>S32k3 HSE firmware memory verification time</title>
      <link>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1835495#M33465</link>
      <description>&lt;P&gt;1.My understanding of HSE is that HSE is a system with its own kernel(CM0+) and peripherals(RAM,ROM,crypto....),&lt;/P&gt;&lt;P&gt;So which module in the HSE subsystem use&amp;nbsp; the HSE_CLK?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="luhaiou_0-1711458167783.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270454iBD16CE8CB84E3179/image-size/medium?v=v2&amp;amp;px=400" role="button" title="luhaiou_0-1711458167783.png" alt="luhaiou_0-1711458167783.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2.HSE subsystem run before app kernal,&lt;/P&gt;&lt;P&gt;&amp;nbsp; The app clock configuration code hasn't run yet, when&amp;nbsp;HSE subsystem is running,&lt;/P&gt;&lt;P&gt;The secure boot run in HSE subsystem, so what is the running clock of the HSE at this time?&lt;/P&gt;&lt;P&gt;As shown in the figure below&lt;/P&gt;&lt;P&gt;CORE_CLOCK&amp;nbsp; is the&amp;nbsp; &lt;STRONG&gt;CM0+ in HSE subsystem&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp;or&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;application core (CM7)&lt;/STRONG&gt;&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;if HSE_CLK is &lt;SPAN&gt;configuration in APP code, then it is not useful in secure boot ,so I can not understand this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="luhaiou_2-1711458772915.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270459i3F27251A5EAC5B80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="luhaiou_2-1711458772915.png" alt="luhaiou_2-1711458772915.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 13:27:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1835495#M33465</guid>
      <dc:creator>luhaiou</dc:creator>
      <dc:date>2024-03-26T13:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: S32k3 HSE firmware memory verification time</title>
      <link>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1840184#M33773</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/62298"&gt;@luhaiou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;default source of clock is FIRC_CLK. The same clock is used for HSE. This is valid until you reconfigure the clocks by your application.&lt;/P&gt;
&lt;P&gt;If you want to speed the secure boot up, there's an option to configure clock and PLL before the secure boot. It's necessary to set PLL_ENABLE in Boot Configuration Word, then it's necessary to program FXOSC configuration to UTEST. This configuration is then used only when secure boot is enabled. See please HSE-B Firmware reference manual and S32K3 reference manual for details.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 12:10:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1840184#M33773</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-04-03T12:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32k3 HSE firmware memory verification time</title>
      <link>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1841790#M33888</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Lukas，&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your reply,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There is one more question I would like to ask,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="luhaiou_0-1712495142663.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/272338i2914A59F2FD61D2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="luhaiou_0-1712495142663.png" alt="luhaiou_0-1712495142663.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1. An individual DCF record can config&amp;nbsp;HSE_CLK_MODE,&lt;/P&gt;&lt;P&gt;the HSE_CLK_MODE_OPTION field in the DCMROF21 register in DCM&amp;nbsp; can also config&amp;nbsp;HSE_CLK_MODE, then which of the two ways has a higher priority&lt;/P&gt;&lt;P&gt;2.DCMROF21 is&amp;nbsp;&lt;STRONG&gt;Read-Only&amp;nbsp;&lt;/STRONG&gt;register ,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Read-Only GPR On Functional Reset 21 (DCMROF21)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So when is the value in the register set?&lt;/P&gt;</description>
      <pubDate>Sun, 07 Apr 2024 13:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1841790#M33888</guid>
      <dc:creator>luhaiou</dc:creator>
      <dc:date>2024-04-07T13:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: S32k3 HSE firmware memory verification time</title>
      <link>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1842009#M33900</link>
      <description>&lt;P&gt;As you mentioned, DCMROF21 is read only, so you can't write it directly. You can program corresponding DCF record and this record is then loaded to DCMROF21 during reset:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1712555050715.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/272398i352C165A38435BC2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1712555050715.png" alt="lukaszadrapa_0-1712555050715.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 05:44:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1842009#M33900</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-04-08T05:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32k3 HSE firmware memory verification time</title>
      <link>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1846077#M34134</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Lukas，&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have some doubts about the start-flow of the s32k3, and I hope to get your solution to it.&lt;/P&gt;&lt;P&gt;There is a machine that uses s32k314, &lt;STRONG&gt;HSE Firmware Usage feature flag(0x1B00,0000)&lt;/STRONG&gt; is &lt;STRONG&gt;not&lt;/STRONG&gt; program, &lt;STRONG&gt;HSE_FW is not installed&lt;/STRONG&gt;.And&amp;nbsp;&lt;STRONG&gt;the bit&amp;nbsp;&amp;nbsp;IVT_AUTH is set 0,&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;U&gt;&lt;EM&gt;BOOT_SEQ is set 1&lt;/EM&gt;&lt;/U&gt;, IVT.pHSE is set 0.&lt;/STRONG&gt;The machine is able to start normally.&lt;/P&gt;&lt;P&gt;I have some doubts about the&amp;nbsp;&lt;STRONG&gt;Start-up flow&amp;nbsp;&lt;/STRONG&gt;on the manual of&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;RM758222-HSE-B Firmware Reference Manual - V2.2(2.2).pdf.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="luhaiou_0-1712921106819.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/273444iF47A66CAE8AC6FB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="luhaiou_0-1712921106819.png" alt="luhaiou_0-1712921106819.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="luhaiou_1-1712921666972.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/273445iB1CAEBD251D6113D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="luhaiou_1-1712921666972.png" alt="luhaiou_1-1712921666972.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="luhaiou_3-1712921900128.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/273447i955A7F03DC14B5A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="luhaiou_3-1712921900128.png" alt="luhaiou_3-1712921900128.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1. Looking at the flowchart, the device should go into recovery mode, but my machine boots normally, why is this happening?&lt;/P&gt;&lt;P&gt;2.There is no mention of the judgment of &lt;STRONG&gt;HSE Firmware Usage feature flag (0x1B00,0000)&lt;/STRONG&gt; in the flowchart, I think this is a very important parameter, please help sort out its judgment logic&lt;/P&gt;&lt;P&gt;We look forward to hearing from you, thank you very much.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 11:56:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1846077#M34134</guid>
      <dc:creator>luhaiou</dc:creator>
      <dc:date>2024-04-12T11:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32k3 HSE firmware memory verification time</title>
      <link>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1846740#M34182</link>
      <description>&lt;P&gt;If HSE FW is not installed (HSE feature flag not set, HSE FW not installed etc.), the device won't enter recovery mode. That's possible only if HSE FW is installed. &lt;BR /&gt;I saw there are some internal documentation tickets related to these flowcharts, so it will be updated in the future. &lt;BR /&gt;Regards,&lt;BR /&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 05:49:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1846740#M34182</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-04-15T05:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: S32k3 HSE firmware memory verification time</title>
      <link>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1846821#M34189</link>
      <description>&lt;P&gt;Hi,&lt;SPAN&gt;Lukas&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your reply，&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For me, the startup flow is more complex and can involve a lot of logical judgment.&lt;/P&gt;&lt;P&gt;Can I understand this way, if&amp;nbsp;&lt;SPAN&gt;HSE FW is not installed (HSE feature flag not set, HSE FW not installed etc.)&lt;/SPAN&gt;, I don't need to care if the BOOT_SEQ bit is 0 or 1, the app core will start normally.&lt;/P&gt;&lt;P&gt;I ask this question because there are some machines that we provide to our customers that have no HSE FW installed,&lt;/P&gt;&lt;P&gt;and in order to avoid multiple software versions, we only provide one software version, which is signed and BOOT_SEQ bit is set 1.&lt;/P&gt;&lt;P&gt;I would like to confirm if there are any limitations in the startup flow for this version of the software on machines that HSE_FW are not installed.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Luhaiou&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 07:01:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1846821#M34189</guid>
      <dc:creator>luhaiou</dc:creator>
      <dc:date>2024-04-15T07:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: S32k3 HSE firmware memory verification time</title>
      <link>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1847804#M34244</link>
      <description>&lt;P&gt;I can't see problem here, the BOOT_SEQ will be ignored in this case.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 07:12:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1847804#M34244</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-04-16T07:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: S32k3 HSE firmware memory verification time</title>
      <link>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1848647#M34293</link>
      <description>&lt;P&gt;Hi,&lt;SPAN&gt;Lukas&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your reply，&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I would like to ask how long it takes to install HSE_FW.&lt;/P&gt;&lt;P&gt;According to my understanding,&lt;/P&gt;&lt;P&gt;when the HSE Firmware Usage feature flag (0x1B00,0000) and LOAD_ADDR are configured, reset the MCU, install the HSE_FW, and jump to APP core &lt;STRONG&gt;after the installation is complete&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;1. My actual test installation time is 1s, is this time correct&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="luhaiou_0-1713321373556.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/274184i7594F5378565F31E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="luhaiou_0-1713321373556.png" alt="luhaiou_0-1713321373556.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2.jump to APP core after the installation is complete,In this case, the value of FSR is 0, that is&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="luhaiou_2-1713323164387.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/274194i713824C5D0FFFA4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="luhaiou_2-1713323164387.png" alt="luhaiou_2-1713323164387.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="luhaiou_1-1713321947268.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/274189iBCE19F65CF115424/image-size/medium?v=v2&amp;amp;px=400" role="button" title="luhaiou_1-1713321947268.png" alt="luhaiou_1-1713321947268.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;after first reset&lt;/STRONG&gt; HSE_STATUS_INIT_OK is 0, &lt;STRONG&gt;after second reset&lt;/STRONG&gt; ,HSE_STATUS_INIT_OK is 1,Is this a normal phenomenon?Is this the internal logic of HSE_FW？&lt;/P&gt;&lt;P&gt;3.After the first reset, after jumping to APP core, whether the installation HSE_FW process has ended,&lt;/P&gt;&lt;P&gt;and Whether there is a need to wait for a certain amount of time before the second reset&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Luhaiou&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 03:34:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1848647#M34293</guid>
      <dc:creator>luhaiou</dc:creator>
      <dc:date>2024-04-17T03:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32k3 HSE firmware memory verification time</title>
      <link>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1849858#M34356</link>
      <description>&lt;P&gt;1. Yes, the installation should take about 0.8s - 1s, so it's expected value. &lt;BR /&gt;2. The HSE FW is installed after first reset. To make it running, another reset is needed. And if you use AB SWAP version, one more reset is needed beucase HSE FW needs to be programmed also to passive block. &lt;BR /&gt;3. Once the HSE FW is installed, you need to always wait after reset till HSE_STATUS_INIT_OK bit is set before triggering a service request to HSE.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 11:36:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1849858#M34356</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-04-18T11:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32k3 HSE firmware memory verification time</title>
      <link>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1849863#M34357</link>
      <description>&lt;P&gt;Thank you very much for your reply, your reply has helped me a lot&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 11:47:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k3-HSE-firmware-memory-verification-time/m-p/1849863#M34357</guid>
      <dc:creator>luhaiou</dc:creator>
      <dc:date>2024-04-18T11:47:43Z</dc:date>
    </item>
  </channel>
</rss>

