<?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: S32K142  Flash Write Error in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Write-Error/m-p/1363057#M12607</link>
    <description>&lt;P&gt;Hi,&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I debug the project,&amp;nbsp; Flash Erasing do not work,so when I program the Flash firstly,it may write value into the address.But it causes error when I write the different value into the same address.&lt;/P&gt;&lt;P&gt;So I check the Flash Driver Project and Bootloader,I find the different about clock.&lt;/P&gt;&lt;P&gt;So I check the clock about Flash, clock reference is 26.67Mhz, I&amp;nbsp; set the wrong value,so I change it.&lt;/P&gt;&lt;P&gt;Now it works.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 07:40:41 GMT</pubDate>
    <dc:creator>Ada_Lovelace</dc:creator>
    <dc:date>2021-10-28T07:40:41Z</dc:date>
    <item>
      <title>S32K142  Flash Write Error</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Write-Error/m-p/1361302#M12564</link>
      <description>&lt;P&gt;Hi,All&lt;/P&gt;&lt;P&gt;I meet a problem about Flash Writing:&lt;/P&gt;&lt;P&gt;When I set the App address:0x0010000, when I erase and write the value&amp;nbsp; firstly, it worked.&lt;/P&gt;&lt;P&gt;But when I erase and write Flash secondly, it&amp;nbsp; causes errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;FTFC_FSTAT_CCIF and&amp;nbsp;FTFC_FSTAT_MGSTAT0 set&amp;nbsp; 1. Then I debug the memory view, the address shows "?".&lt;/P&gt;&lt;P&gt;The S32k142 address:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ada_Lovelace_0-1635227335871.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160132i210E8E8F345B329D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ada_Lovelace_0-1635227335871.png" alt="Ada_Lovelace_0-1635227335871.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I do to solve the problem?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2021-10-26_13-18-52.png" style="width: 450px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160127iA501508EC1287101/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2021-10-26_13-18-52.png" alt="Snipaste_2021-10-26_13-18-52.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2021-10-26_13-19-35.png" style="width: 422px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160128i3565E054D1B2DB35/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2021-10-26_13-19-35.png" alt="Snipaste_2021-10-26_13-19-35.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2021-10-26_13-30-19.png" style="width: 504px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160129i319686CFE7050A28/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2021-10-26_13-30-19.png" alt="Snipaste_2021-10-26_13-30-19.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2021-10-26_13-30-51.png" style="width: 804px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160131iBA6EAF44FE379ADB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2021-10-26_13-30-51.png" alt="Snipaste_2021-10-26_13-30-51.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 05:50:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-Flash-Write-Error/m-p/1361302#M12564</guid>
      <dc:creator>Ada_Lovelace</dc:creator>
      <dc:date>2021-10-26T05:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142  Flash Write Error</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Write-Error/m-p/1361387#M12566</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/69821"&gt;@Ada_Lovelace&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Which FTFC command fails with MGSTAT0 = 1?&lt;/P&gt;
&lt;P&gt;Do you launch the command from SRAM / DFlash?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 07:07:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-Flash-Write-Error/m-p/1361387#M12566</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-10-26T07:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142  Flash Write Error</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Write-Error/m-p/1361405#M12567</link>
      <description>&lt;P&gt;When&amp;nbsp; I write again， it&amp;nbsp; causes&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;MGSTAT0.I think it is something wrong with erase?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I do not launch the command from SRAM / DFlash, I use the code Flash address，could you tell me the right way to do the Flash about S32k142?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 07:19:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-Flash-Write-Error/m-p/1361405#M12567</guid>
      <dc:creator>Ada_Lovelace</dc:creator>
      <dc:date>2021-10-26T07:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142  Flash Write Error</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Write-Error/m-p/1361625#M12572</link>
      <description>&lt;P&gt;Do you use SDK/RTD or your own code?&lt;/P&gt;
&lt;P&gt;Can you share the project?&lt;/P&gt;
&lt;P&gt;Anyway, the code that launches the FTFC Erase Sector or Program Phrase commands, cannot be in PFlash if the commands erase or program PFlash, because there is only one PFlash partition.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1635247301926.png" style="width: 620px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160198i489EAF36E0AAE06A/image-dimensions/620x265?v=v2" width="620" height="265" role="button" title="danielmartynek_0-1635247301926.png" alt="danielmartynek_0-1635247301926.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1635247342155.png" style="width: 632px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/160199iD802078D465DB882/image-dimensions/632x657?v=v2" width="632" height="657" role="button" title="danielmartynek_1-1635247342155.png" alt="danielmartynek_1-1635247342155.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 11:23:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-Flash-Write-Error/m-p/1361625#M12572</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-10-26T11:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142  Flash Write Error</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Write-Error/m-p/1363057#M12607</link>
      <description>&lt;P&gt;Hi,&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I debug the project,&amp;nbsp; Flash Erasing do not work,so when I program the Flash firstly,it may write value into the address.But it causes error when I write the different value into the same address.&lt;/P&gt;&lt;P&gt;So I check the Flash Driver Project and Bootloader,I find the different about clock.&lt;/P&gt;&lt;P&gt;So I check the clock about Flash, clock reference is 26.67Mhz, I&amp;nbsp; set the wrong value,so I change it.&lt;/P&gt;&lt;P&gt;Now it works.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 07:40:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-Flash-Write-Error/m-p/1363057#M12607</guid>
      <dc:creator>Ada_Lovelace</dc:creator>
      <dc:date>2021-10-28T07:40:41Z</dc:date>
    </item>
  </channel>
</rss>

