<?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: Inquiry Regarding Firmware Integrity Verification After Bootloader Flashing and Porting Function in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Inquiry-Regarding-Firmware-Integrity-Verification-After/m-p/2079447#M47710</link>
    <description>Hi VaneB,&lt;BR /&gt;I wanted to express my gratitude for the information you provided. It has been extremely helpful to me. Thank you so much for your support!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;ChandlerX</description>
    <pubDate>Mon, 14 Apr 2025 01:06:35 GMT</pubDate>
    <dc:creator>ChandlerX</dc:creator>
    <dc:date>2025-04-14T01:06:35Z</dc:date>
    <item>
      <title>Inquiry Regarding Firmware Integrity Verification After Bootloader Flashing and Porting Functionalit</title>
      <link>https://community.nxp.com/t5/S32K/Inquiry-Regarding-Firmware-Integrity-Verification-After/m-p/2070863#M47301</link>
      <description>&lt;P class=""&gt;Dear NXP Support Team,&lt;/P&gt;&lt;P class=""&gt;I am currently working on a project involving the S32K146 microcontroller and the S32 Design Studio (S32DS) development environment. My question concerns two topics:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;After the Bootloader has successfully flashed the firmware, I would like to know if there is a way to verify the integrity of the firmware to ensure that it has been correctly written without any corruption. Could you provide guidance on any available methods or tools for achieving this firmware integrity verification?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;I am also attempting to port an existing MPC5606 project to the S32K146. Specifically, the original MPC5606 project uses the following code for section manipulation:&lt;FONT color="#FF0000"&gt;#pragma push&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;#pragma force_active on&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;#pragma section_sconst_type "_bblk_entry" "_bblk_entry"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;extern __asm void __start();&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;const uint32_t bblk_entry_addr = (uint32_t)__start; /*vcus*/&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;#pragma pop&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I would like to know how to implement similar functionality in the S32K146 environment. Could you provide guidance on how to achieve this in the S32K146?&lt;/P&gt;&lt;P class=""&gt;Thank you for your time and assistance. I look forward to your response.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Best regards,&lt;BR /&gt;ChandlerX&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 06:43:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Inquiry-Regarding-Firmware-Integrity-Verification-After/m-p/2070863#M47301</guid>
      <dc:creator>ChandlerX</dc:creator>
      <dc:date>2025-03-31T06:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Inquiry Regarding Firmware Integrity Verification After Bootloader Flashing and Porting Function</title>
      <link>https://community.nxp.com/t5/S32K/Inquiry-Regarding-Firmware-Integrity-Verification-After/m-p/2071356#M47326</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248711"&gt;@ChandlerX&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Please refer to the following link where this topic has been discussed, as it may be helpful to you:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/Secure-boot-implementation-for-boot-loader-as-well-as/td-p/1608925" target="_blank" rel="noopener"&gt;Secure boot implementation for boot loader as well as application image security&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. &lt;BR /&gt;To port the code from the MPC5606 to the S32K146, you will need to adjust it for the GCC compiler used in the S32K146 environment. Unlike the MPC5606, GCC does not use pragmas for section manipulation but instead relies on &lt;SPAN&gt;__attribute__((section(".user_section")))&lt;/SPAN&gt;. For further guidance, please refer to the following links:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html" target="_blank" rel="noopener"&gt;Common Function Attributes&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Place-custom-data-into-flash-memory/ta-p/1109178" target="_blank" rel="noopener"&gt;HOWTO: Place custom data into flash memory&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 18:34:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Inquiry-Regarding-Firmware-Integrity-Verification-After/m-p/2071356#M47326</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-03-31T18:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Inquiry Regarding Firmware Integrity Verification After Bootloader Flashing and Porting Function</title>
      <link>https://community.nxp.com/t5/S32K/Inquiry-Regarding-Firmware-Integrity-Verification-After/m-p/2079447#M47710</link>
      <description>Hi VaneB,&lt;BR /&gt;I wanted to express my gratitude for the information you provided. It has been extremely helpful to me. Thank you so much for your support!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;ChandlerX</description>
      <pubDate>Mon, 14 Apr 2025 01:06:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Inquiry-Regarding-Firmware-Integrity-Verification-After/m-p/2079447#M47710</guid>
      <dc:creator>ChandlerX</dc:creator>
      <dc:date>2025-04-14T01:06:35Z</dc:date>
    </item>
  </channel>
</rss>

