<?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のトピックS32K118 – DEPART Register Not Updating / Unable to Flash D Flash Region</title>
    <link>https://community.nxp.com/t5/S32K/S32K118-DEPART-Register-Not-Updating-Unable-to-Flash-D-Flash/m-p/2327075#M57134</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;I am writing to report an issue we are facing with the&lt;STRONG&gt;&amp;nbsp;S32K118&lt;/STRONG&gt;&amp;nbsp;microcontroller related to&amp;nbsp; DEPART register and D Flash programming.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;We previously enabled the Program Partition command in our firmware with the following configuration:&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;FTFC-&amp;gt;FCCOB[3] = 0x80; /* FCCOB0 = Program Partition command */&lt;BR /&gt;FTFC-&amp;gt;FCCOB[6] = 0x03; /* FCCOB5 = 0x03, no data flash, 32k(all) EEPROM backup */&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This set the DEPART register to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0x03&lt;/SPAN&gt;&lt;SPAN&gt;, configuring the FlexNVM as full EEPROM backup with no Data Flash.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;&amp;nbsp;Unable to Flash D Flash Region:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;In certain cases, we need to flash the OpenBLT bootloader to the D Flash (Data Flash) region of the S32K118. However, when attempting to program this region using S32DS with the debug/flash option, we receive the following error:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;I&gt;Calculated CRC-16 does not match block. (File = $CEA2, Device = $0000)&lt;/I&gt;&lt;BR /&gt;&lt;I&gt;Current content of flash does not match application to be programmed&lt;/I&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;I&gt;&amp;nbsp;&lt;/I&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;We suspect this error is caused by the DEPART register being set to 0x03 (no Data Flash available), which prevents programming of the D Flash region entirely.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;STRONG&gt;DEPART Register Not Changing:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;We attempted to reset the DEPART register back to its default value (&lt;SPAN&gt;0x00&lt;/SPAN&gt;) by running the full Program Partition command sequence again with the updated FCCOB5 value. However, the DEPART register value does not change.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;However, we tested the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;exact same procedure on the S32K144&lt;/STRONG&gt;,&amp;nbsp;and the DEPART register&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;changed successfully&lt;/STRONG&gt;&amp;nbsp;as expected.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Questions:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;DIV&gt;Is our above suspicion correct regarding the CRC error and DEPART being the root cause?&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=""&gt;Is there a recommended procedure to reset the DEPART register to its default value (&lt;SPAN&gt;0x0&lt;/SPAN&gt;) on an already-partitioned S32K118 device?&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;What is the correct approach to flash the D Flash region when DEPART is already set to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0x03&lt;/SPAN&gt;&amp;nbsp;on S32K118?&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Device:&lt;/STRONG&gt;&amp;nbsp;S32K118&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;IDE:&lt;/STRONG&gt;&amp;nbsp;S32DS&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Bootloader:&lt;/STRONG&gt;&amp;nbsp;OpenBLT&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;FCCOB values used:&lt;/STRONG&gt;&amp;nbsp;FCCOB0 =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0x80&lt;/SPAN&gt;, FCCOB4 =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0x03&lt;/SPAN&gt;, FCCOB5 =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0x03&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;Please advise on the correct approach to resolve this issue.&lt;/DIV&gt;</description>
    <pubDate>Thu, 05 Mar 2026 11:15:14 GMT</pubDate>
    <dc:creator>Kishore_14</dc:creator>
    <dc:date>2026-03-05T11:15:14Z</dc:date>
    <item>
      <title>S32K118 – DEPART Register Not Updating / Unable to Flash D Flash Region</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-DEPART-Register-Not-Updating-Unable-to-Flash-D-Flash/m-p/2327075#M57134</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;I am writing to report an issue we are facing with the&lt;STRONG&gt;&amp;nbsp;S32K118&lt;/STRONG&gt;&amp;nbsp;microcontroller related to&amp;nbsp; DEPART register and D Flash programming.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;We previously enabled the Program Partition command in our firmware with the following configuration:&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;FTFC-&amp;gt;FCCOB[3] = 0x80; /* FCCOB0 = Program Partition command */&lt;BR /&gt;FTFC-&amp;gt;FCCOB[6] = 0x03; /* FCCOB5 = 0x03, no data flash, 32k(all) EEPROM backup */&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This set the DEPART register to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0x03&lt;/SPAN&gt;&lt;SPAN&gt;, configuring the FlexNVM as full EEPROM backup with no Data Flash.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;&amp;nbsp;Unable to Flash D Flash Region:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;In certain cases, we need to flash the OpenBLT bootloader to the D Flash (Data Flash) region of the S32K118. However, when attempting to program this region using S32DS with the debug/flash option, we receive the following error:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;I&gt;Calculated CRC-16 does not match block. (File = $CEA2, Device = $0000)&lt;/I&gt;&lt;BR /&gt;&lt;I&gt;Current content of flash does not match application to be programmed&lt;/I&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;I&gt;&amp;nbsp;&lt;/I&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;We suspect this error is caused by the DEPART register being set to 0x03 (no Data Flash available), which prevents programming of the D Flash region entirely.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;STRONG&gt;DEPART Register Not Changing:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;We attempted to reset the DEPART register back to its default value (&lt;SPAN&gt;0x00&lt;/SPAN&gt;) by running the full Program Partition command sequence again with the updated FCCOB5 value. However, the DEPART register value does not change.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;However, we tested the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;exact same procedure on the S32K144&lt;/STRONG&gt;,&amp;nbsp;and the DEPART register&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;changed successfully&lt;/STRONG&gt;&amp;nbsp;as expected.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Questions:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;DIV&gt;Is our above suspicion correct regarding the CRC error and DEPART being the root cause?&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV class=""&gt;Is there a recommended procedure to reset the DEPART register to its default value (&lt;SPAN&gt;0x0&lt;/SPAN&gt;) on an already-partitioned S32K118 device?&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;What is the correct approach to flash the D Flash region when DEPART is already set to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0x03&lt;/SPAN&gt;&amp;nbsp;on S32K118?&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Device:&lt;/STRONG&gt;&amp;nbsp;S32K118&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;IDE:&lt;/STRONG&gt;&amp;nbsp;S32DS&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Bootloader:&lt;/STRONG&gt;&amp;nbsp;OpenBLT&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;FCCOB values used:&lt;/STRONG&gt;&amp;nbsp;FCCOB0 =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0x80&lt;/SPAN&gt;, FCCOB4 =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0x03&lt;/SPAN&gt;, FCCOB5 =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;0x03&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;Please advise on the correct approach to resolve this issue.&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 Mar 2026 11:15:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-DEPART-Register-Not-Updating-Unable-to-Flash-D-Flash/m-p/2327075#M57134</guid>
      <dc:creator>Kishore_14</dc:creator>
      <dc:date>2026-03-05T11:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 – DEPART Register Not Updating / Unable to Flash D Flash Region</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-DEPART-Register-Not-Updating-Unable-to-Flash-D-Flash/m-p/2327479#M57150</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;Kishore_14&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1.Is our above suspicion correct regarding the CRC error and DEPART being the root cause?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;It's unclear whether this is the cause.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2.Is there a recommended procedure to reset the DEPART register to its default value (0x0) on an already-partitioned S32K118 device?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3.What is the correct approach to flash the D Flash region when DEPART is already set to&amp;nbsp;0x03&amp;nbsp;on S32K118?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The simplest operation is to use the debugger to execute the mass erase command to erase the MCU partition (note that CSEc was not enabled in the previous partitioning operation, otherwise the chip may be permanently locked after the mass erase is executed).&lt;/P&gt;
&lt;DIV id="tinyMceEditorSenlent_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;STRONG&gt;For PE&amp;amp;Micro&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 555px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/378501i1D173B5168045E19/image-dimensions/555x323?v=v2" width="555" height="323" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;For J-link(j-link commander)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Enter “unlock kinetis” in the J-Link Commander.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 02:51:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-DEPART-Register-Not-Updating-Unable-to-Flash-D-Flash/m-p/2327479#M57150</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-03-06T02:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 – DEPART Register Not Updating / Unable to Flash D Flash Region</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-DEPART-Register-Not-Updating-Unable-to-Flash-D-Flash/m-p/2327804#M57164</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1.We need to confirm CSEc enablement status. Currently we observe:&lt;/P&gt;&lt;P&gt;FSEC Register = 0xFE &amp;amp;&lt;/P&gt;&lt;P&gt;FCSESTAT Register&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;BSY=0, SB=0, BIN=0, BFN=0, BOK=1, RIN=0, EDB=1, IDB=0&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Based on these observed register values, is CSEc currently enabled or disabled on our S32K118? or in which register i ahve to check&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp;We executed Program Partition Command (FCCOB[3]=0x80) with these parameters:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FTFC&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;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N&gt;;&lt;/SPAN&gt;&lt;SPAN&gt; /* FCCOB5 = 0x03, no data flash, 32k(all) EEPROM backup for S32K118 */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;The command completed successfully, but we&amp;nbsp;never executed any LOAD_KEY commands&amp;nbsp;to program actual key values.&lt;BR /&gt;&lt;BR /&gt;3. .Current situation:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;FSEC = 0xFE&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(KEYEN = 11)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;FCSESTAT = 0x4002002C&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(EDB=1, BOK=1)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;DEPART register = 0x03&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(needs reset to 0x0)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Program Partition executed but no keys loaded&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;With these exact register values and configuration state, can we safely perform mass erase via debugger, or do we need to use DBG_CHAL/DBG_AUTH first to avoid permanent lockout?"&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 09:52:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-DEPART-Register-Not-Updating-Unable-to-Flash-D-Flash/m-p/2327804#M57164</guid>
      <dc:creator>Kishore_14</dc:creator>
      <dc:date>2026-03-06T09:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 – DEPART Register Not Updating / Unable to Flash D Flash Region</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-DEPART-Register-Not-Updating-Unable-to-Flash-D-Flash/m-p/2328586#M57186</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@kishore_14" target="_blank"&gt;Hi@kishore_14&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Your partition code indicates that you have enabled CSEc and assigned a key.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/S32K/3002/1/AN5401.pdf" target="_blank"&gt;AN5401:&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;tip1:&lt;/P&gt;
&lt;P&gt;Once the device is configured successfully for CSEc operation, the FCNFG register fields are set to the following. FCNFG[RAMRDY] == 0 and FCNFG[EEERDY] == 1&lt;/P&gt;
&lt;P&gt;tip2:&lt;/P&gt;
&lt;P&gt;With the CSEc key enabled, the chip cannot be erased in the program using the Erase All and Erase All Unsecure commands, nor can the chip's security function be disabled by using Mass Erase to erase the Flash via the debug port. This is because the CSEc module's key is stored in the D-Flash. To completely erase the chip's Flash and disable its security function using Erase All, Erase All Unsecure, and the Mass Erase command triggered by an external debugger, the key stored in the D-Flash must first be erased using the relevant CSEc commands before using the above operations to completely disable the chip's security function.&lt;/P&gt;
&lt;P&gt;(refer to chapter &lt;STRONG&gt;4.5 Resetting Flash to the Factory State&lt;/STRONG&gt;)&lt;/P&gt;
&lt;P&gt;In short, once CSEc is enabled and a key has been assigned, you cannot directly erase the partition using mass erase. Built-in application code is required to use the CSEc module's own instructions to restore it to its factory state.&lt;/P&gt;
&lt;P&gt;If your application code does not handle CSEc factory restoration, the chip may not be able to restore the partition to its factory state.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2026 02:59:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-DEPART-Register-Not-Updating-Unable-to-Flash-D-Flash/m-p/2328586#M57186</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-03-09T02:59:25Z</dc:date>
    </item>
  </channel>
</rss>

