<?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: S32K312-Update the same Block multiple times in a cluster in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K312-Update-the-same-Block-multiple-times-in-a-cluster/m-p/2220018#M54682</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795" target="_blank"&gt;@lukaszadrapa&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you for the explanation of the way of writing the same data. I'm facing the issue with the increasing time of the Init routine. In your mentioned example, there is a while loop waiting for MEMIF_IDLE. After repeated write and PoR the time needed for this routine increases. When I do 1 write and PoR it is something around 1.9 ms. So after 100 write/reset cycles, I have a delay of 190 ms! Do you have any advice on how to resolve this issue?&lt;/P&gt;</description>
    <pubDate>Thu, 20 Nov 2025 10:47:42 GMT</pubDate>
    <dc:creator>kadlecja</dc:creator>
    <dc:date>2025-11-20T10:47:42Z</dc:date>
    <item>
      <title>S32K312-Update the same Block multiple times in a cluster</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Update-the-same-Block-multiple-times-in-a-cluster/m-p/1880336#M36186</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;When I read the RTD_FEE_UM document, I know that the header data of all blocks, including the address of the stored data, is stored in front of each Cluster.&lt;BR /&gt;So, if the same Block data is written for the second time, to what address is the data updated? How is the address data in the Block updated?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BestRegards&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 06:17:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Update-the-same-Block-multiple-times-in-a-cluster/m-p/1880336#M36186</guid>
      <dc:creator>Simon-Liu</dc:creator>
      <dc:date>2024-06-04T06:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312-Update the same Block multiple times in a cluster</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Update-the-same-Block-multiple-times-in-a-cluster/m-p/1883378#M36346</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218611"&gt;@Simon-Liu&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;when you write the same block data second time, new records are created in the flash. Old ones are kept/not updated (until next swap) but only the latest records are valid. Addresses of block headers grow up while addresses of data descend down:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1717743141974.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283015i25BCBEC865B76251/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1717743141974.png" alt="lukaszadrapa_0-1717743141974.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To see the behavior, you can use example like this:&lt;BR /&gt;c:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_S32K3\RTD\Fee_TS_T40D34M40I0R0\examples\S32DS\S32K3XX\Fee_Example_S32K344\&lt;BR /&gt;Just write the same block more times and watch the flash block to see how it works.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 06:52:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Update-the-same-Block-multiple-times-in-a-cluster/m-p/1883378#M36346</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-06-07T06:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312-Update the same Block multiple times in a cluster</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Update-the-same-Block-multiple-times-in-a-cluster/m-p/1883417#M36352</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;I still have some questions about the FEE and MemAcc components:&lt;/P&gt;&lt;P&gt;1.How is the maximum allowed value for each block size calculated?&lt;/P&gt;&lt;P&gt;2.SubAddressAreas in each AddressArea cannot reference the same physical sector, but SubAddressAreas in different AddressAreas can reference the same physical sector. Why is this? Will this not cause conflicts in storing data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BestRegards&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 07:30:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Update-the-same-Block-multiple-times-in-a-cluster/m-p/1883417#M36352</guid>
      <dc:creator>Simon-Liu</dc:creator>
      <dc:date>2024-06-07T07:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312-Update the same Block multiple times in a cluster</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Update-the-same-Block-multiple-times-in-a-cluster/m-p/2220018#M54682</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795" target="_blank"&gt;@lukaszadrapa&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you for the explanation of the way of writing the same data. I'm facing the issue with the increasing time of the Init routine. In your mentioned example, there is a while loop waiting for MEMIF_IDLE. After repeated write and PoR the time needed for this routine increases. When I do 1 write and PoR it is something around 1.9 ms. So after 100 write/reset cycles, I have a delay of 190 ms! Do you have any advice on how to resolve this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 10:47:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Update-the-same-Block-multiple-times-in-a-cluster/m-p/2220018#M54682</guid>
      <dc:creator>kadlecja</dc:creator>
      <dc:date>2025-11-20T10:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312-Update the same Block multiple times in a cluster</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Update-the-same-Block-multiple-times-in-a-cluster/m-p/2248151#M54793</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228456"&gt;@kadlecja&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something similar was already discussed here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K312-FEE-FLS-INIT-time/m-p/2024662/highlight/true#M44953" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K312-FEE-FLS-INIT-time/m-p/2024662/highlight/true#M44953&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;According to that post, there's not much you can do...&lt;/P&gt;
&lt;P&gt;By the way, it's better to create new thread because we are not getting notifications if you update such old one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 08:05:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Update-the-same-Block-multiple-times-in-a-cluster/m-p/2248151#M54793</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2025-11-25T08:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312-Update the same Block multiple times in a cluster</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-Update-the-same-Block-multiple-times-in-a-cluster/m-p/2250387#M54883</link>
      <description>&lt;DIV class=""&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thank you for your response and support. Thanks for the advice too. I analyzed this delay issue in depth, and it's still unclear to me why it takes so long. We are using a total of 7 Fee blocks and an Internal RC oscillator.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I did some measurements on my side. I checked the no of repetitions of the init loop from the example:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;do&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;{&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;Fee_MainFunction();&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;MemAcc_MainFunction();&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;status = Fee_GetStatus();&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;} while (status != MEMIF_IDLE);&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;And with my initial setup of Mem and Fee, it takes 38.6 ms with 2985 loops.&lt;/DIV&gt;&lt;DIV class=""&gt;When I store data into one memory block, this time prolongs to +1.77 ms and +130 reps of the loop after PoR.&lt;/DIV&gt;&lt;DIV class=""&gt;The drivers are quite complex, so I understand that a lot of calls must be made, but is there any option or setting that can speed up this process?&lt;/DIV&gt;&lt;DIV class=""&gt;Thank you once more for your support.&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Nov 2025 11:26:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-Update-the-same-Block-multiple-times-in-a-cluster/m-p/2250387#M54883</guid>
      <dc:creator>kadlecja</dc:creator>
      <dc:date>2025-11-27T11:26:34Z</dc:date>
    </item>
  </channel>
</rss>

