<?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: s32k3 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/s32k3/m-p/1695338#M25592</link>
    <description>&lt;P&gt;Yes that's one option. Actually on another MCU that's what the Tresos Fls driver expects. You have to call the exception handler of the flash driver and then return from the exception or reset the system, and Fls will take care of cleaning up the invalid memory.&lt;/P&gt;&lt;P&gt;I found the DMA solution easier to use.&lt;/P&gt;</description>
    <pubDate>Sat, 29 Jul 2023 20:04:33 GMT</pubDate>
    <dc:creator>ferencvalenta</dc:creator>
    <dc:date>2023-07-29T20:04:33Z</dc:date>
    <item>
      <title>s32k3</title>
      <link>https://community.nxp.com/t5/S32K/s32k3/m-p/1692024#M25399</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp; When the D-flash is executing the erase command, if it is powered off, it will cause an ECC check error on the D-flash. In order to avoid this problem, when I detect a power failure, I call the command to terminate the operation. Can this prevent ECC errors? In addition, does the flash hardware continue to operate after calling the flash termination command?&lt;/P&gt;&lt;P&gt;&amp;nbsp; Looking forward to your reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 07:57:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3/m-p/1692024#M25399</guid>
      <dc:creator>luyq</dc:creator>
      <dc:date>2023-07-25T07:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3</title>
      <link>https://community.nxp.com/t5/S32K/s32k3/m-p/1693073#M25463</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186098"&gt;@luyq&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Unfortunately, aborting the operation leaves the flash in an indeterminate state.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1690373673746.png" style="width: 832px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233705i9AB1317798E675EE/image-dimensions/832x285?v=v2" width="832" height="285" role="button" title="danielmartynek_0-1690373673746.png" alt="danielmartynek_0-1690373673746.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1690373681055.png" style="width: 826px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233706i1CE49D71F2A0FEFE/image-dimensions/826x450?v=v2" width="826" height="450" role="button" title="danielmartynek_1-1690373681055.png" alt="danielmartynek_1-1690373681055.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_2-1690373706903.png" style="width: 827px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233707iAB148CBF42954B4A/image-dimensions/827x91?v=v2" width="827" height="91" role="button" title="danielmartynek_2-1690373706903.png" alt="danielmartynek_2-1690373706903.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 12:26:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3/m-p/1693073#M25463</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-07-26T12:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3</title>
      <link>https://community.nxp.com/t5/S32K/s32k3/m-p/1693845#M25495</link>
      <description>I accept the consequences of data errors after terminating the operation, but if an exception occurs at this time, such as power failure, will it cause ECC errors?</description>
      <pubDate>Thu, 27 Jul 2023 06:19:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3/m-p/1693845#M25495</guid>
      <dc:creator>luyq</dc:creator>
      <dc:date>2023-07-27T06:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3</title>
      <link>https://community.nxp.com/t5/S32K/s32k3/m-p/1694015#M25505</link>
      <description>&lt;P&gt;Yes, if the power is loss during a flash operation, the data record and its ECC checksum cannot be guaranteed to be correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 08:56:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3/m-p/1694015#M25505</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-07-27T08:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3</title>
      <link>https://community.nxp.com/t5/S32K/s32k3/m-p/1694750#M25552</link>
      <description>Is there any processing strategy on the software to avoid this problem after detecting power failure?</description>
      <pubDate>Fri, 28 Jul 2023 06:57:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3/m-p/1694750#M25552</guid>
      <dc:creator>luyq</dc:creator>
      <dc:date>2023-07-28T06:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3</title>
      <link>https://community.nxp.com/t5/S32K/s32k3/m-p/1694966#M25568</link>
      <description>&lt;P&gt;You can handle the exceptions, but that's somewhat complicated. I use the DMA controller to read from flash that was erased/programmed in the application. No exception, only the error bit is set but that's easy to handle.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 10:19:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3/m-p/1694966#M25568</guid>
      <dc:creator>ferencvalenta</dc:creator>
      <dc:date>2023-07-28T10:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3</title>
      <link>https://community.nxp.com/t5/S32K/s32k3/m-p/1695291#M25589</link>
      <description>Do you mean to catch the exception by software and then erase the area to recover from the error?</description>
      <pubDate>Sat, 29 Jul 2023 02:35:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3/m-p/1695291#M25589</guid>
      <dc:creator>luyq</dc:creator>
      <dc:date>2023-07-29T02:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: s32k3</title>
      <link>https://community.nxp.com/t5/S32K/s32k3/m-p/1695338#M25592</link>
      <description>&lt;P&gt;Yes that's one option. Actually on another MCU that's what the Tresos Fls driver expects. You have to call the exception handler of the flash driver and then return from the exception or reset the system, and Fls will take care of cleaning up the invalid memory.&lt;/P&gt;&lt;P&gt;I found the DMA solution easier to use.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jul 2023 20:04:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k3/m-p/1695338#M25592</guid>
      <dc:creator>ferencvalenta</dc:creator>
      <dc:date>2023-07-29T20:04:33Z</dc:date>
    </item>
  </channel>
</rss>

