<?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 How to erase the device:  NXP SPC5646CCF0MMJ1 in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-erase-the-device-NXP-SPC5646CCF0MMJ1/m-p/2341032#M18913</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;I need help in how to erase the complete 3MB of the device:&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;NXP SPC5646CCF0MMJ1&lt;/SPAN&gt;&lt;BR /&gt;When I am doing read after erase it is not getting erased from address 140000h-2FFFFFh.&lt;BR /&gt;Can I get any solution on it?&amp;nbsp;&lt;BR /&gt;Thanks!&lt;BR /&gt;Saista&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Mar 2026 09:38:55 GMT</pubDate>
    <dc:creator>Saista</dc:creator>
    <dc:date>2026-03-27T09:38:55Z</dc:date>
    <item>
      <title>How to erase the device:  NXP SPC5646CCF0MMJ1</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-erase-the-device-NXP-SPC5646CCF0MMJ1/m-p/2341032#M18913</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;I need help in how to erase the complete 3MB of the device:&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;NXP SPC5646CCF0MMJ1&lt;/SPAN&gt;&lt;BR /&gt;When I am doing read after erase it is not getting erased from address 140000h-2FFFFFh.&lt;BR /&gt;Can I get any solution on it?&amp;nbsp;&lt;BR /&gt;Thanks!&lt;BR /&gt;Saista&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2026 09:38:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-erase-the-device-NXP-SPC5646CCF0MMJ1/m-p/2341032#M18913</guid>
      <dc:creator>Saista</dc:creator>
      <dc:date>2026-03-27T09:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to erase the device:  NXP SPC5646CCF0MMJ1</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-erase-the-device-NXP-SPC5646CCF0MMJ1/m-p/2342022#M18914</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You can for example use debugger scripts.&lt;/P&gt;
&lt;P&gt;Most of them have embedded the erase scripts directly.&lt;/P&gt;
&lt;P&gt;Or you can use your RAM application to do so following the reference manual (C90FL)&lt;/P&gt;
&lt;DIV id="tinyMceEditor_13d869d3972ea1petervlna_3" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditor_13d869d3972ea1petervlna_4" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditor_13d869d3972ea1petervlna_5" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditor_13d869d3972ea1petervlna_6" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditor_13d869d3972ea1petervlna_7" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditor_13d869d3972ea1petervlna_8" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;STRONG&gt;The erase operation consists of the following sequence of events:&lt;/STRONG&gt;&lt;BR /&gt;1. Change the value in the MCR[ERS] bit from 0 to 1.&lt;BR /&gt;2. Select the block(s) to be erased by writing ‘1’s to the appropriate bit(s) in the LMS register. If the shadow sector is to be erased, this&amp;nbsp; &amp;nbsp;step may be skipped, and LMS is ignored.&lt;BR /&gt;&amp;nbsp;Note that Lock and Select are independent. If a block is selected and locked, no erase will occur.&lt;BR /&gt;3. Write to any address in flash memory. This is referred to as an erase interlock write.&lt;BR /&gt;4. Write a logic 1 to the MCR[EHV] bit to start the internal erase sequence or skip to step 9 to &lt;BR /&gt;&amp;nbsp;terminate.&lt;BR /&gt;5. Wait until the MCR[DONE] bit goes high.&lt;/P&gt;
&lt;P&gt;6. Confirm MCR[PEG] = 1.&lt;BR /&gt;7. Write a logic 0 to the MCR[EHV] bit.&lt;BR /&gt;8. If more blocks are to be erased, return to step 2.&lt;BR /&gt;9. Write a logic 0 to the MCR[ERS] bit to terminate the erase operation.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2026 06:59:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-erase-the-device-NXP-SPC5646CCF0MMJ1/m-p/2342022#M18914</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2026-03-30T06:59:15Z</dc:date>
    </item>
  </channel>
</rss>

