<?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: S32K388 HSE_SWT Reboot for Fresh Chip flashing</title>
    <link>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2398862#M60055</link>
    <description>&lt;P&gt;As a quick correction - I meant to write "HSE_CLK at 160MHz and AIPS_SLOW_CLK at 40MHz" for that last sentence in the above comment.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jul 2026 21:58:13 GMT</pubDate>
    <dc:creator>kscz</dc:creator>
    <dc:date>2026-07-24T21:58:13Z</dc:date>
    <item>
      <title>S32K388 HSE_SWT Reboot for Fresh Chip flashing</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2397906#M60001</link>
      <description>&lt;P&gt;I have a fresh S32K388 which I'm trying to flash with some from-scratch firmware (this is not AUTOSAR nor RTD). I have the IVT setup to only boot core0, and I have&amp;nbsp;hse_fw_header_start_address just set to zero.&lt;/P&gt;&lt;P&gt;It appears though that this configuration is leading to resets with the MC_RGM DES reporting:&lt;BR /&gt;0x00000041 and the MC_RGM FES reporting 0x00010000 which, based on my reading on the S32K3XXRM, implies that HSE watchdog timeouts are leading to a destructive reset based on escalation.&lt;/P&gt;&lt;P&gt;The interesting thing is that this behavior seems to go away when I connect with a j-link, but I can't seem to find a way to disable or service the SWT from my firmware. Do I need to download/install the standard HSE FW for the S32K388?&lt;/P&gt;&lt;P&gt;Is there a reason this is required on the S32K388 and not on the S32K344?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 21:12:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2397906#M60001</guid>
      <dc:creator>kscz</dc:creator>
      <dc:date>2026-07-22T21:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 HSE_SWT Reboot for Fresh Chip flashing</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2397922#M60002</link>
      <description>&lt;P&gt;With some further testing - if I clear all the flags in MC_RGM FES/DES after reading them (so they're not sticky across boots), the boot loop starts to return: FES: 0x00010000 and occasionally DES:&amp;nbsp;0x00000040 (but most of the time&amp;nbsp;DES:&amp;nbsp;0x00000000)&lt;/P&gt;&lt;P&gt;And for clarity for the original post, I have the boot configuration word in the IVT set to 0x00000001 - which would seem to imply, in my reading, that only&amp;nbsp;CM7_0_ENABLE is set and there shouldn't be any HSE/SWT_0 setting at all?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 21:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2397922#M60002</guid>
      <dc:creator>kscz</dc:creator>
      <dc:date>2026-07-22T21:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 HSE_SWT Reboot for Fresh Chip flashing</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2398811#M60044</link>
      <description>&lt;P&gt;Could you please provide:&lt;/P&gt;
&lt;P&gt;The exact S32K388 part number and chip revision being used.&lt;BR /&gt;Confirmation whether HSE firmware has ever been installed on the device (or whether this is a completely blank/factory-fresh device).&lt;BR /&gt;The IVT configuration, especially the values of hseFwHeaderStartAddr, appBootAddr, and any other HSE-related IVT fields.&lt;BR /&gt;The complete reset status register dump after the reset (MC_RGM_DES, MC_RGM_FES, and any other relevant reset registers).&lt;BR /&gt;Whether the issue occurs on multiple devices or only on a single board.&lt;BR /&gt;A minimal project/application that reproduces the issue, or at least the startup code sequence executed before the reset occurs.&lt;/P&gt;
&lt;P&gt;At the moment it is not clear whether the reset is caused by HSE/SBAF, an application issue, or a device configuration issue, so the above information will help identify the root cause.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2026 14:52:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2398811#M60044</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2026-07-24T14:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 HSE_SWT Reboot for Fresh Chip flashing</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2398827#M60046</link>
      <description>&lt;P&gt;Based on this post:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1955147" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1955147&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And this image of S32K3xx_DCF_clients.xlxs from an older version of the S32K3XXRM:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2090937/highlight/true?lightbox-message-images-2090937=336074i0A601700196531EB#M48394" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2090937/highlight/true?lightbox-message-images-2090937=336074i0A601700196531EB#M48394&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It appears I may have solved my problem by writing: 0x40000101 0x00100006 to 0x1B000770in the UTEST memory sector (putting "2" into HSE_CLK_MODE_AND_GSKT_CTRL).&lt;/P&gt;&lt;P&gt;In the current revision of&amp;nbsp;S32K3xx_DCF_clients.xlxs, the description of&amp;nbsp;HSE_CLK_MODE_AND_GSKT_CTRL is as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot From 2026-07-24 09-14-40.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/393169i88B08F362289A390/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot From 2026-07-24 09-14-40.png" alt="Screenshot From 2026-07-24 09-14-40.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But in the S32K3XXRM, I can't find a reference to what I should be configuring in the gasket configuration (the closest looks like "HSE_B" but the table refers to an impossible 1:1 configuration):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot From 2026-07-24 09-22-01.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/393170i66095E738A3017CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot From 2026-07-24 09-22-01.png" alt="Screenshot From 2026-07-24 09-22-01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this just a documentation update failure? Should I have a 1:4 ratio in&amp;nbsp;HSE_CLK_MODE_AND_GSKT_CTRL if I'm using Option A++ clocking (CORE_CLK at&amp;nbsp;160MHz,&amp;nbsp;AIPS_SLOW_CLK at 40MHz)?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2026 16:31:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2398827#M60046</guid>
      <dc:creator>kscz</dc:creator>
      <dc:date>2026-07-24T16:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 HSE_SWT Reboot for Fresh Chip flashing</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2398851#M60052</link>
      <description>&lt;P&gt;And just in case my other comment turns out to not be the solution:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The chip I am using is labelled S32K388HHMJBS 0P39J CTAJ2507E - let me know if you need me to read some registers for specific chip information&lt;/LI&gt;&lt;LI&gt;HSE Firmware has never been installed - this is a factory-fresh device which I have only flashed with my bare-metal code&lt;/LI&gt;&lt;LI&gt;For the IVT:&lt;UL&gt;&lt;LI&gt;hseFwHeaderStartAddr is zero&lt;/LI&gt;&lt;LI&gt;recovery_app_start_address is zero&lt;/LI&gt;&lt;LI&gt;I am uncertain which fields to provide from the IVT but everything is basically zero except the header set to&amp;nbsp;0x5AA55AA5, the boot_config set to 1, and the&amp;nbsp;cm7_0_start_address set to the interrupt vector table&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;I already provided the DES and FES I was getting in the original post, but let me know if those were unclear&lt;/LI&gt;&lt;LI&gt;I will try and get this uploaded - I need to get approval to post this code publicly&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 24 Jul 2026 19:58:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2398851#M60052</guid>
      <dc:creator>kscz</dc:creator>
      <dc:date>2026-07-24T19:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 HSE_SWT Reboot for Fresh Chip flashing</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2398862#M60055</link>
      <description>&lt;P&gt;As a quick correction - I meant to write "HSE_CLK at 160MHz and AIPS_SLOW_CLK at 40MHz" for that last sentence in the above comment.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2026 21:58:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2398862#M60055</guid>
      <dc:creator>kscz</dc:creator>
      <dc:date>2026-07-24T21:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 HSE_SWT Reboot for Fresh Chip flashing</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2400564#M60137</link>
      <description>&lt;P&gt;As far as we can tell - this has solved the issue. I would like to see the documentation updated to reflect that Option A++ requires this gasket change&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52613"&gt;@davidtosenovjan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2026 15:44:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-SWT-Reboot-for-Fresh-Chip-flashing/m-p/2400564#M60137</guid>
      <dc:creator>kscz</dc:creator>
      <dc:date>2026-07-30T15:44:17Z</dc:date>
    </item>
  </channel>
</rss>

