<?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のトピックFlash memory issue in s32k116</title>
    <link>https://community.nxp.com/t5/S32K/Flash-memory-issue-in-s32k116/m-p/1523542#M17751</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on a project where I need to store the data in the flash region section in which we have used the example code-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pankajprasad100_0-1663319525329.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193955i6CC7291117ADB58E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pankajprasad100_0-1663319525329.png" alt="pankajprasad100_0-1663319525329.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;pankajprasad100_0-1663319525329.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After writing the data into the memory location this is how it looks-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pankajprasad100_1-1663319543200.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193956i624708ADBA28E004/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pankajprasad100_1-1663319543200.png" alt="pankajprasad100_1-1663319543200.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;pankajprasad100_1-1663319543200.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again if we try to write the data with different values into the same memory location then the flash memory is corrupted and program hangs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pankajprasad100_2-1663319558159.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193957i1303026835987B3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pankajprasad100_2-1663319558159.png" alt="pankajprasad100_2-1663319558159.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;pankajprasad100_2-1663319558159.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please suggest how to resolve the issue.&lt;/P&gt;&lt;P&gt;NOTE:- we need to write the data in the same location multiple times.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MCU-S32K116&lt;/P&gt;&lt;P&gt;IDE-S32 DESIGN STUDIOS&lt;/P&gt;&lt;P&gt;COMPILER-IAR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:15:39 GMT</pubDate>
    <dc:creator>pankajprasad100</dc:creator>
    <dc:date>2022-09-16T09:15:39Z</dc:date>
    <item>
      <title>Flash memory issue in s32k116</title>
      <link>https://community.nxp.com/t5/S32K/Flash-memory-issue-in-s32k116/m-p/1523542#M17751</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on a project where I need to store the data in the flash region section in which we have used the example code-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pankajprasad100_0-1663319525329.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193955i6CC7291117ADB58E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pankajprasad100_0-1663319525329.png" alt="pankajprasad100_0-1663319525329.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;pankajprasad100_0-1663319525329.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After writing the data into the memory location this is how it looks-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pankajprasad100_1-1663319543200.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193956i624708ADBA28E004/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pankajprasad100_1-1663319543200.png" alt="pankajprasad100_1-1663319543200.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;pankajprasad100_1-1663319543200.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again if we try to write the data with different values into the same memory location then the flash memory is corrupted and program hangs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pankajprasad100_2-1663319558159.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193957i1303026835987B3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pankajprasad100_2-1663319558159.png" alt="pankajprasad100_2-1663319558159.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;pankajprasad100_2-1663319558159.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please suggest how to resolve the issue.&lt;/P&gt;&lt;P&gt;NOTE:- we need to write the data in the same location multiple times.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MCU-S32K116&lt;/P&gt;&lt;P&gt;IDE-S32 DESIGN STUDIOS&lt;/P&gt;&lt;P&gt;COMPILER-IAR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:15:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-memory-issue-in-s32k116/m-p/1523542#M17751</guid>
      <dc:creator>pankajprasad100</dc:creator>
      <dc:date>2022-09-16T09:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Flash memory issue in s32k116</title>
      <link>https://community.nxp.com/t5/S32K/Flash-memory-issue-in-s32k116/m-p/1524791#M17819</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;the flash memory is not automatically erased before write. The memory, you write data in, must be in erased status. Because the phrase is programmed the entire phrase must be in erased state to be able to program it. The FLASH memory does not support cumulative programming.&lt;/P&gt;
&lt;P&gt;The problem for you can be that the least part of the memory which can be erased is a sector.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Ladislav&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 07:43:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-memory-issue-in-s32k116/m-p/1524791#M17819</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2022-09-20T07:43:59Z</dc:date>
    </item>
  </channel>
</rss>

