<?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: Problems are related to flash memory of MKM34Z256VLQ7. in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/Problems-are-related-to-flash-memory-of-MKM34Z256VLQ7/m-p/802770#M747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravindra Balsaraf,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; That's very good to hear your problem is solved!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you don't have any other question about this topic, please help to mark the correct answer, just to close this question, thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Oct 2018 05:21:00 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2018-10-08T05:21:00Z</dc:date>
    <item>
      <title>Problems are related to flash memory of MKM34Z256VLQ7.</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Problems-are-related-to-flash-memory-of-MKM34Z256VLQ7/m-p/802767#M744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are facing software related problem with project .&lt;/P&gt;&lt;P&gt;Problems are related to flash memory of MKM34Z256VLQ7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now we successfully&amp;nbsp; able to access the flash and save data with creating memory blocks.&lt;/P&gt;&lt;P&gt;But&amp;nbsp; at the time of&amp;nbsp; erase memory block individually, The whole memory with all blocks are erase same time.&lt;/P&gt;&lt;P&gt;As per our application, Memory of single block has to clean and update as per the function used.&lt;/P&gt;&lt;P&gt;Please see&amp;nbsp; attachment which include&amp;nbsp; sample code which we have used.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help related problem as soon as possible .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;IDE- MCUExpresso IDE&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Programmer-PE micro Multi-link Universal&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 10:04:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Problems-are-related-to-flash-memory-of-MKM34Z256VLQ7/m-p/802767#M744</guid>
      <dc:creator>ravindrabalsara</dc:creator>
      <dc:date>2018-09-27T10:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problems are related to flash memory of MKM34Z256VLQ7.</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Problems-are-related-to-flash-memory-of-MKM34Z256VLQ7/m-p/802768#M745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravindra Balsaraf,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have test our SDK flash project in our TWR-KM34Z75M board, it works OK, TWR-KM34Z75M chip is just MKM34Z256VLQ7, the same chip as you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1. Please download the newest SDK code from this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/" title="https://mcuxpresso.nxp.com/"&gt;Welcome | MCUXpresso SDK Builder&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Chose the TWR-KM34Z75M board, then generate the code and download it.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2. open the project in folder: SDK_2.2_TWR-KM34Z75M\boards\twrkm34z75m\driver_examples\flash&lt;/P&gt;&lt;P&gt;&amp;nbsp; 3. Please check my following test result, you can find sector erase is correct, it won't erase the whole flash block.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70856i8806F90AEC174500/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70904i1D9E83F23433EFEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70948iF66E32AF553D64AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70986iE56155D010776F99/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71004iAE18FA8F232BB033/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find other flash address also have data, so the flash sector erase works OK.&lt;/P&gt;&lt;P&gt;I have checked your code, you have the following definition:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t pflashBlockBase = 0;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Defined&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t pflashTotalSize = 0x40000;&amp;nbsp;&amp;nbsp; //Defined&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t pflashSectorSize = 0x100;&amp;nbsp;&amp;nbsp; //Defined&amp;nbsp; and all these values are stored in *value by switch case&lt;/P&gt;&lt;P&gt;Please note, the Flash sector size in MKM34Z256VLQ7 is 2KB, it is 0X800, you can't define it as 0x100, even you define it as 0x100, it will still erase the 0x800 flash sector.&lt;/P&gt;&lt;P&gt;Please check the reference manual:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71049i0349FE5D5C65E77C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, I highly recommend you check the KSDK sample code on your side directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 07:18:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Problems-are-related-to-flash-memory-of-MKM34Z256VLQ7/m-p/802768#M745</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-09-28T07:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problems are related to flash memory of MKM34Z256VLQ7.</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Problems-are-related-to-flash-memory-of-MKM34Z256VLQ7/m-p/802769#M746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks sir,it was very very hel[pful.&lt;/P&gt;&lt;P&gt;we resolved the issue right now.thanks once again prompt support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 13:34:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Problems-are-related-to-flash-memory-of-MKM34Z256VLQ7/m-p/802769#M746</guid>
      <dc:creator>ravindrabalsara</dc:creator>
      <dc:date>2018-10-03T13:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problems are related to flash memory of MKM34Z256VLQ7.</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Problems-are-related-to-flash-memory-of-MKM34Z256VLQ7/m-p/802770#M747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravindra Balsaraf,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; That's very good to hear your problem is solved!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you don't have any other question about this topic, please help to mark the correct answer, just to close this question, thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 05:21:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Problems-are-related-to-flash-memory-of-MKM34Z256VLQ7/m-p/802770#M747</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-10-08T05:21:00Z</dc:date>
    </item>
  </channel>
</rss>

