<?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: How to program UTEST when installing HSE on S32K358</title>
    <link>https://community.nxp.com/t5/S32K/How-to-program-UTEST-when-installing-HSE-on-S32K358/m-p/2178699#M53196</link>
    <description>&lt;P&gt;I see. Current version of RTD is 6.0.0. I would recommend to use current version.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Oct 2025 09:55:10 GMT</pubDate>
    <dc:creator>davidtosenovjan</dc:creator>
    <dc:date>2025-10-01T09:55:10Z</dc:date>
    <item>
      <title>How to program UTEST when installing HSE on S32K358</title>
      <link>https://community.nxp.com/t5/S32K/How-to-program-UTEST-when-installing-HSE-on-S32K358/m-p/2178018#M53170</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Background:&lt;BR /&gt;I successfully ran the S32K344_HSE_FW_INSTALL demo project and was able to program the UTEST area on the S32K344 using the PFLASH driver.&lt;/P&gt;&lt;P&gt;Example (S32K344):&lt;/P&gt;&lt;P&gt;/* Unlock UTEST data flash sector */&lt;BR /&gt;PFLASH_Unlock(PFLASH_BL5, PFLASH_SS0, PFLASH_S0);&lt;/P&gt;&lt;P&gt;/* Write in UTEST sector using main interface */&lt;BR /&gt;status = FLASH_Write((uint32_t*)UTEST_BASE_ADDRESS,&lt;BR /&gt;hseFwFeatureFlagEnabledValue,&lt;BR /&gt;sizeof(hseFwFeatureFlagEnabledValue));&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Steps Tried on S32K358:&lt;BR /&gt;When moving to the S32K358, I switched to the C40 driver. The code I tried looks like this:&lt;/P&gt;&lt;P&gt;if (STATUS_C40_IP_SECTOR_PROTECTED == C40_Ip_GetLock(FLS_MAX_VIRTUAL_SECTOR)) {&lt;BR /&gt;C40_Ip_ClearLock(FLS_MAX_VIRTUAL_SECTOR, FLS_MASTER_ID);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;C40_Ip_MainInterfaceWrite(UTEST_BASE_ADDRESS,&lt;BR /&gt;sizeof(hseFwFeatureFlagEnabledValue),&lt;BR /&gt;(uint8 *)(hseFwFeatureFlagEnabledValue),&lt;BR /&gt;FLS_MASTER_ID);&lt;/P&gt;&lt;P&gt;#define C40_UTEST_ARRAY_0_S000 (1040U) /* 0x1B000000 */&lt;/P&gt;&lt;P&gt;#define FLS_MAX_VIRTUAL_SECTOR 1039;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Issue:&lt;/P&gt;&lt;P&gt;On S32K358, I cannot find a clear mapping for C40_UTEST_ARRAY_0_S000.&lt;/P&gt;&lt;P&gt;Currently, the UTEST sector seems to be identified as FLS_MAX_VIRTUAL_SECTOR (1039), but I am unsure if this is correct.&lt;/P&gt;&lt;P&gt;The write operation to UTEST does not succeed.&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;What is the correct way to use the C40 driver API to program the UTEST area on S32K358?&lt;/P&gt;&lt;P&gt;Is there a specific configuration or sector mapping required for UTEST on S32K358 that differs from S32K344?&lt;/P&gt;&lt;P&gt;Thanks in advance for your support.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 08:26:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-program-UTEST-when-installing-HSE-on-S32K358/m-p/2178018#M53170</guid>
      <dc:creator>MarkFan</dc:creator>
      <dc:date>2025-09-30T08:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to program UTEST when installing HSE on S32K358</title>
      <link>https://community.nxp.com/t5/S32K/How-to-program-UTEST-when-installing-HSE-on-S32K358/m-p/2178368#M53188</link>
      <description>&lt;P&gt;UTEST sector definition is the same over all S32K3 family.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would expect some sort of extra protection as UTEST is OTP memory.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidtosenovjan_0-1759256871427.png" style="width: 715px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/359098iFE7D75CC79EB9281/image-dimensions/715x368?v=v2" width="715" height="368" role="button" title="davidtosenovjan_0-1759256871427.png" alt="davidtosenovjan_0-1759256871427.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Typically HSE FW is being installed by different method, for instance by debugger, but this options is possible as well, of course, but I haven't tested it until now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 18:31:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-program-UTEST-when-installing-HSE-on-S32K358/m-p/2178368#M53188</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2025-09-30T18:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to program UTEST when installing HSE on S32K358</title>
      <link>https://community.nxp.com/t5/S32K/How-to-program-UTEST-when-installing-HSE-on-S32K358/m-p/2178665#M53193</link>
      <description>&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thanks for your reply.&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; I use SD3.5 with RTD 3.0 SDK&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarkFan_0-1759307123194.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/359140i4EA804A85D155161/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarkFan_0-1759307123194.png" alt="MarkFan_0-1759307123194.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; There is no UTest driver as you show on the screen.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;How can I get this UTest driver?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 08:25:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-program-UTEST-when-installing-HSE-on-S32K358/m-p/2178665#M53193</guid>
      <dc:creator>MarkFan</dc:creator>
      <dc:date>2025-10-01T08:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to program UTEST when installing HSE on S32K358</title>
      <link>https://community.nxp.com/t5/S32K/How-to-program-UTEST-when-installing-HSE-on-S32K358/m-p/2178699#M53196</link>
      <description>&lt;P&gt;I see. Current version of RTD is 6.0.0. I would recommend to use current version.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 09:55:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-program-UTEST-when-installing-HSE-on-S32K358/m-p/2178699#M53196</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2025-10-01T09:55:10Z</dc:date>
    </item>
  </channel>
</rss>

