<?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 s32k312 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/s32k312/m-p/1697583#M25708</link>
    <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;I wonder how S32k312 distinguishes which is active block and which is passive block with hse fw (ab_swap) installed&lt;/P&gt;</description>
    <pubDate>Wed, 02 Aug 2023 11:38:39 GMT</pubDate>
    <dc:creator>youxi</dc:creator>
    <dc:date>2023-08-02T11:38:39Z</dc:date>
    <item>
      <title>s32k312</title>
      <link>https://community.nxp.com/t5/S32K/s32k312/m-p/1697583#M25708</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;I wonder how S32k312 distinguishes which is active block and which is passive block with hse fw (ab_swap) installed&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 11:38:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312/m-p/1697583#M25708</guid>
      <dc:creator>youxi</dc:creator>
      <dc:date>2023-08-02T11:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312</title>
      <link>https://community.nxp.com/t5/S32K/s32k312/m-p/1699689#M25791</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;According to the description in chapter &lt;STRONG&gt;12.3 HSE Firmware update (AB_SWAP)&lt;/STRONG&gt;&amp;nbsp;of &lt;STRONG&gt;RM758221-HSE-B Firmware Reference Manual - V2.1(2.1)&lt;/STRONG&gt;:&lt;EM&gt;&lt;BR /&gt;The host (application) can read the DCM status register (&lt;STRONG&gt;DCMSTAT&lt;/STRONG&gt;) to identify which partition is Active and which partition is passive; For more information, refer to the DCM register DCMSTAT.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12.3 HSE Firmware update (AB_SWAP).png" style="width: 876px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/235217i3A6513787E0B0B9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="12.3 HSE Firmware update (AB_SWAP).png" alt="12.3 HSE Firmware update (AB_SWAP).png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;The bit 17 &lt;STRONG&gt;DCMOTAR&lt;/STRONG&gt; of&amp;nbsp; DCM register &lt;STRONG&gt;DCMSTAT&amp;nbsp;&lt;/STRONG&gt;will show whether it is currently &lt;STRONG&gt;active&lt;/STRONG&gt; at a &lt;STRONG&gt;high&lt;/STRONG&gt; or &lt;STRONG&gt;low address&lt;/STRONG&gt;.&amp;nbsp;&lt;BR /&gt;For the 2MB part number(S32K312), the low address is flash block 0, and the high address is 1.&amp;nbsp;&lt;BR /&gt;For the 4MB part number(S32K344), the low address is flash block 0, 1, and the high address is 2, 3.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14.2.4.5 DCM register DCMSTAT DCMOTAR.png" style="width: 858px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/235216i9A93DEEF354CFE35/image-size/large?v=v2&amp;amp;px=999" role="button" title="14.2.4.5 DCM register DCMSTAT DCMOTAR.png" alt="14.2.4.5 DCM register DCMSTAT DCMOTAR.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;According to the &lt;STRONG&gt;Figure 29. Output information of ab_swap demo&lt;/STRONG&gt; of &lt;STRONG&gt;AN744511-Secure Boot Application note v0.1.1.0(1.1):&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;Also, compared to the full-mem demo, the ab_swap demo will additionally output the AB-SWAP status when running, so that the user can know the &lt;STRONG&gt;active&lt;/STRONG&gt; partition(&lt;STRONG&gt;low address&lt;/STRONG&gt; or &lt;STRONG&gt;high address&lt;/STRONG&gt;) and some&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;prompt information, as the Figure 29 shows.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AN744511-Secure Boot Application note v0.1.1.0(1.1) know the active partition(low address or high address).png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/235219i0223A2A672877204/image-size/large?v=v2&amp;amp;px=999" role="button" title="AN744511-Secure Boot Application note v0.1.1.0(1.1) know the active partition(low address or high address).png" alt="AN744511-Secure Boot Application note v0.1.1.0(1.1) know the active partition(low address or high address).png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S32K344_SecureBootAppABSwap_Example_100_341_FW0110 DCMOTAR.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/235218iC15B11A1FC1F8DDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="S32K344_SecureBootAppABSwap_Example_100_341_FW0110 DCMOTAR.png" alt="S32K344_SecureBootAppABSwap_Example_100_341_FW0110 DCMOTAR.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2023 04:57:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312/m-p/1699689#M25791</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-08-06T04:57:44Z</dc:date>
    </item>
  </channel>
</rss>

