<?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: suspend the erase sector command in S32K</title>
    <link>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086292#M7766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;thanks for your answer,&amp;nbsp; if i want to check the suspend result (for example when erasing then suspend ), how can i coding for testing the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #c1e6c6;"&gt;FLASH_DRV_EraseSuspend function?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Aug 2020 01:09:24 GMT</pubDate>
    <dc:creator>814420552</dc:creator>
    <dc:date>2020-08-27T01:09:24Z</dc:date>
    <item>
      <title>suspend the erase sector command</title>
      <link>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086286#M7760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i test the erase sector command,&amp;nbsp; and I make a break point in function &lt;SPAN&gt;FLASH_DRV_EraseResume&lt;/SPAN&gt;&lt;SPAN&gt;. then run the code to the break point, i found suspend function does not take effect（all the two sector are erased to FF, but i expected it should erase stop when execute FLASH_DRV_EraseSuspend）,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;whether the use method is wrong?&amp;nbsp; and when should i used this fucntion&amp;nbsp;FLASH_DRV_EraseSuspend?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//-==============code========================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;#define&amp;nbsp;&lt;SPAN&gt;BASE_ADDRESS&amp;nbsp; 0x80000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FLASH_DRV_EraseSector(&amp;amp;flashSSDConfig, BASE_ADDRESS, 4096*2);&lt;/P&gt;&lt;P&gt;FLASH_DRV_EraseSuspend();&lt;/P&gt;&lt;P&gt;FLASH_DRV_EraseResume();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wish your help!&amp;nbsp; thansk in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 05:37:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086286#M7760</guid>
      <dc:creator>814420552</dc:creator>
      <dc:date>2020-08-12T05:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: suspend the erase sector command</title>
      <link>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086287#M7761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, refer to the installation folder of S32DS C:\NXP\S32DS_ARM_v2018.R1\S32DS\S32SDK_S32K1xx_RTM_3.0.0\platform\drivers\src\flash\doxygen or&lt;/P&gt;&lt;P&gt;C:\NXP\S32DS_ARM_v2.2\S32DS\software\S32SDK_S32K1xx_RTM_3.0.0\platform\drivers\src\flash\doxygen&lt;/P&gt;&lt;P&gt;&amp;nbsp;There&amp;nbsp;you can see the section "&lt;STRONG&gt;## Important Note&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;2. To suspend the sector erase operation for a simple method, invoke the&lt;BR /&gt;&lt;STRONG&gt;#FLASH_DRV_EraseSuspend&lt;/STRONG&gt; function within callback of &lt;STRONG&gt;#FLASH_DRV_EraseSector&lt;/STRONG&gt;. In this case, the&lt;BR /&gt;&lt;STRONG&gt;#FLASH_DRV_EraseSuspend&lt;/STRONG&gt;&amp;nbsp;must not be placed in the same block in which the Flash erase sector&lt;BR /&gt;command is going on.&lt;BR /&gt;3. &lt;STRONG&gt;#FLASH_DRV_CommandSequence&lt;/STRONG&gt;, &lt;STRONG&gt;#FLASH_DRV_EraseSuspend&amp;nbsp;&lt;/STRONG&gt;and &lt;STRONG&gt;#FLASH_DRV_EraseResume&amp;nbsp;&lt;/STRONG&gt;should be executed from RAM&lt;BR /&gt;or different Flash blocks which are targeted for writing to avoid the RWW error.&lt;BR /&gt;&lt;STRONG&gt;#FLASH_DRV_EraseSuspend&lt;/STRONG&gt;&amp;nbsp;and&lt;STRONG&gt; #FLASH_DRV_EraseResume&lt;/STRONG&gt;&amp;nbsp;functions should be called in pairs.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2020 08:51:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086287#M7761</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-08-13T08:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: suspend the erase sector command</title>
      <link>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086288#M7762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Diana，&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;My question above is the same operation with the&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #c1e6c6;"&gt;2. To suspend the sector erase operation for a simple method, invoke the&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #c1e6c6;" /&gt;&lt;STRONG style="color: #51626f; background-color: #c1e6c6; border: 0px; font-weight: bold; font-size: 14px;"&gt;#FLASH_DRV_EraseSuspend&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #c1e6c6;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function within callback of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #51626f; background-color: #c1e6c6; border: 0px; font-weight: bold; font-size: 14px;"&gt;#FLASH_DRV_EraseSector&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #c1e6c6;"&gt;. In this case, the&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #c1e6c6;" /&gt;&lt;STRONG style="color: #51626f; background-color: #c1e6c6; border: 0px; font-weight: bold; font-size: 14px;"&gt;#FLASH_DRV_EraseSuspend&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #c1e6c6;"&gt;&amp;nbsp;must not be placed in the same block in which the Flash erase sector&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #c1e6c6;" /&gt;&lt;SPAN style="color: #51626f; background-color: #c1e6c6;"&gt;command is going on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #c1e6c6;"&gt;why it does not suspend the erase operation?&amp;nbsp; （when executed the suspend operation all the two sectors are erased）&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2020 06:05:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086288#M7762</guid>
      <dc:creator>814420552</dc:creator>
      <dc:date>2020-08-15T06:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: suspend the erase sector command</title>
      <link>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086289#M7763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share your code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2020 08:05:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086289#M7763</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-08-17T08:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: suspend the erase sector command</title>
      <link>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086290#M7764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #c1e6c6; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;hello Diana，&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #c1e6c6; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #c1e6c6; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;SPAN style="background-color: #c1e6c6;"&gt;when i test the erase sector command,&amp;nbsp; and I make a break point in function&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #c1e6c6; border: 0px;"&gt;FLASH_DRV_EraseResume&lt;/SPAN&gt;&lt;SPAN style="background-color: #c1e6c6; border: 0px;"&gt;. then run the code to the break point, i found suspend function does not take effect（all the two sector are erased to FF, but i expected it should erase stop which some of the erasing area is not been erased&amp;nbsp; when execute FLASH_DRV_EraseSuspend） and the following is my test code.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #c1e6c6; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #c1e6c6; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;//-==============code========================&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #c1e6c6; border: 0px; font-size: 14px;"&gt;#define&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;BASE_ADDRESS&amp;nbsp; 0x80000// define in the second Bank&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #c1e6c6; border: 0px; font-size: 14px;"&gt;FLASH_DRV_EraseSector(&amp;amp;flashSSDConfig, BASE_ADDRESS, 4096*2);&lt;/P&gt;&lt;P style="color: #51626f; background-color: #c1e6c6; border: 0px; font-size: 14px;"&gt;FLASH_DRV_EraseSuspend();// execute in the first bank&lt;/P&gt;&lt;P style="color: #51626f; background-color: #c1e6c6; border: 0px; font-size: 14px;"&gt;FLASH_DRV_EraseResume();&lt;SPAN&gt;// execute in the first bank&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #c1e6c6; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #c1e6c6; border: 0px; font-size: 14px;"&gt;&lt;SPAN&gt;or whther can you provide the demo code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #c1e6c6; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #c1e6c6; border: 0px; font-size: 14px;"&gt;&lt;SPAN&gt;thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 01:21:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086290#M7764</guid>
      <dc:creator>814420552</dc:creator>
      <dc:date>2020-08-18T01:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: suspend the erase sector command</title>
      <link>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086291#M7765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very sorry for the delay. Unfortunately, there is no demo code.&lt;/P&gt;&lt;P&gt;However, when you invoke EraseSuspend() function after EraseSector() function you can expect that the memory is erased. (The memory is erased after FLASH_DRV_EraseSector() function. So, using FLASH_DRV_EraseSuspend() function after the using FLASH_DRV_EraseSector() function lacks meaning)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2020 08:34:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086291#M7765</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-08-26T08:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: suspend the erase sector command</title>
      <link>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086292#M7766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;thanks for your answer,&amp;nbsp; if i want to check the suspend result (for example when erasing then suspend ), how can i coding for testing the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #c1e6c6;"&gt;FLASH_DRV_EraseSuspend function?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2020 01:09:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/suspend-the-erase-sector-command/m-p/1086292#M7766</guid>
      <dc:creator>814420552</dc:creator>
      <dc:date>2020-08-27T01:09:24Z</dc:date>
    </item>
  </channel>
</rss>

