<?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: Erasing a sector not possible in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Erasing-a-sector-not-possible/m-p/1469907#M15823</link>
    <description>&lt;P&gt;Flash memory is not readable while it is being programmed/erase/or any other flash controller command is being executed. You need to move to code in RAM, launch prrogram/erase command while PC points to RAM and not exit back to flash until command is complete. Unless you move your ISR's and vectors table to RAM, you need to disable interrupts as well for programm/erase period.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2022 09:38:32 GMT</pubDate>
    <dc:creator>kef2</dc:creator>
    <dc:date>2022-06-07T09:38:32Z</dc:date>
    <item>
      <title>Erasing a sector not possible</title>
      <link>https://community.nxp.com/t5/S32K/Erasing-a-sector-not-possible/m-p/1469857#M15819</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;I am using S32K142 board. I am having a peculiar problem.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; The P -flash starts from 0x0000 0000 till 0x0003 FFFF&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am placing my application from 0x0000 2000 till 0x0002 F000&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; I am having another section that starts from 0x0003 0000 till 0x0003 8000 defined in my linker file&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The issue is i am unable do any of the flash operations that is Write or erase this location.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; Note: If&amp;nbsp; i am having my that section defined in D-Flash erasing and writing to that location is not at all a problem.&lt;BR /&gt;&lt;BR /&gt;Could please explain what is that I am going wrong here ?&lt;BR /&gt;&lt;BR /&gt;I am unable to erase a particular sector of my flash where my application is sitting.&lt;BR /&gt;But other portion of NVM that is D-falsh there is not problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Abhijith Shankar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 08:43:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Erasing-a-sector-not-possible/m-p/1469857#M15819</guid>
      <dc:creator>abhijithshankarenn</dc:creator>
      <dc:date>2022-06-07T08:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Erasing a sector not possible</title>
      <link>https://community.nxp.com/t5/S32K/Erasing-a-sector-not-possible/m-p/1469907#M15823</link>
      <description>&lt;P&gt;Flash memory is not readable while it is being programmed/erase/or any other flash controller command is being executed. You need to move to code in RAM, launch prrogram/erase command while PC points to RAM and not exit back to flash until command is complete. Unless you move your ISR's and vectors table to RAM, you need to disable interrupts as well for programm/erase period.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 09:38:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Erasing-a-sector-not-possible/m-p/1469907#M15823</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2022-06-07T09:38:32Z</dc:date>
    </item>
  </channel>
</rss>

