<?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: Erase Issue with MK10FX512 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Erase-Issue-with-MK10FX512/m-p/686677#M42265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From above setting, the 64K EEPROM Backup memory is in range of [0x10070000 ~ 0x1007FFFF].&lt;BR /&gt;Could you provide the Data Flash Protection Register (FTFE_FDPROT) value?&lt;BR /&gt;Thank you for the attention.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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>Thu, 25 May 2017 07:49:34 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2017-05-25T07:49:34Z</dc:date>
    <item>
      <title>Erase Issue with MK10FX512</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Erase-Issue-with-MK10FX512/m-p/686674#M42262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm currently using the MK10FX512 device in an application for which we are in the prototype stage.&amp;nbsp; We have 15 controllers operating but one of those controllers has just started to Fail during the Erase of addresses in the D-Flash section of the memory map starting at 0x10038000.&amp;nbsp; We currently do not have any code at this location.&amp;nbsp; We are using the FLEXNVM feature of the chip and have the DEPART set to 0x04. (448K d-Flash, 64K EEPROM Backup) &amp;nbsp; and the EESIZE set to 0x02 (4K).&amp;nbsp; EESPLIT is st to 0x00 which gives two section 1/8 and 7/8ths. &amp;nbsp; While the MK10FX512 datasheet does not explicity state that EESPLIT is available I did have this confirmed in a previous post. &amp;nbsp; The problem we are having is that the controller currently just hangs waiting for the CCIF bit in the FSTAT register.&amp;nbsp;&amp;nbsp;&amp;nbsp; This code we are using in this unit is identical to the code we have been using for years to erase/program the flash.&amp;nbsp; The effected board DOES properly erase all the flash in the p-flash area, as well as all locations below 0x10038000 in the dflash.&amp;nbsp; When I try to erase this address that is when the code fails.&amp;nbsp; I have not determined if I am able to erase any other addresses above this location at this time.&amp;nbsp; we did just recently re-partition this device from a 2K EEPROM to a 4K EEPROM size.&amp;nbsp; We did a full Mass erase from the PE programming pod and then re-partitioned the device.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 19:42:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Erase-Issue-with-MK10FX512/m-p/686674#M42262</guid>
      <dc:creator>Ali2006</dc:creator>
      <dc:date>2017-05-19T19:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Erase Issue with MK10FX512</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Erase-Issue-with-MK10FX512/m-p/686675#M42263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From above description, there with one MK10FX512 out of 15 MK10FX512 MCUs with the issue(could not program 0x10038000 and above Flash range). Right?&lt;/P&gt;&lt;P&gt;Have you tried to use Segger J-Link do a "mass erase" to that problem MK10FX512 chip?&lt;/P&gt;&lt;P&gt;If that could fix the issue or not?&lt;/P&gt;&lt;P&gt;Thank you for the attention.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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, 22 May 2017 09:00:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Erase-Issue-with-MK10FX512/m-p/686675#M42263</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-05-22T09:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Erase Issue with MK10FX512</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Erase-Issue-with-MK10FX512/m-p/686676#M42264</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;Thanks for the response.&amp;nbsp; Yes you got the question correct.&amp;nbsp; I have one unit out of 15 that will not erase starting at location 0x10038000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to mass erase from the PE&amp;nbsp; Micro Universal multilink POD over JTAG&amp;nbsp; and I can program my application from the PE POD.. but as I mentioned, my program does not extend into this D-Flash area at this time.. So the PE Programmer is not trying to erase this location when it is programming my system.&amp;nbsp;&amp;nbsp; Having the PE Programmer mass erase the chip and then reprogram the application file does not "SOLVE" the problem.&amp;nbsp; Even after this step when my code tries to erase this location during is own reprogramming cycle. it still hangs at the exact same location.&amp;nbsp;&amp;nbsp; I now have the code programmed in using the PE pod and everything does run properly.. including my data stored in EEPROM/FLEXNVM is.&amp;nbsp; All locations are storing and saving just as they should.&amp;nbsp; So that means addresses in the upper 64K of the D-Flash are erasing and programming just fine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Edit - I have placed some code into the d-flash using the linker file starting at location 0x10038000.&amp;nbsp; The PE programming pod seems to be able to erase location from 0x1003800 - 0x10044000, but fails at 0x10045000 address, just sitting in a constant erase loop waiting for a response.&amp;nbsp; I have to cancel the command to get the utility to STOP waiting for a erase response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know the symptoms/indication of a flash being "used up" I don't think I've exhausted my write cycle capability, and as I mentioned I don't have any code at this location, nor is the EEPROM located at this address.. but I was just wondering if when the flash is exhausted is this&amp;nbsp;what happens ( the System waiting for a CCIF that never occurs after an erase command to the exhausted block)?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 13:20:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Erase-Issue-with-MK10FX512/m-p/686676#M42264</guid>
      <dc:creator>Ali2006</dc:creator>
      <dc:date>2017-05-22T13:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Erase Issue with MK10FX512</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Erase-Issue-with-MK10FX512/m-p/686677#M42265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From above setting, the 64K EEPROM Backup memory is in range of [0x10070000 ~ 0x1007FFFF].&lt;BR /&gt;Could you provide the Data Flash Protection Register (FTFE_FDPROT) value?&lt;BR /&gt;Thank you for the attention.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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>Thu, 25 May 2017 07:49:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Erase-Issue-with-MK10FX512/m-p/686677#M42265</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-05-25T07:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Erase Issue with MK10FX512</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Erase-Issue-with-MK10FX512/m-p/686678#M42266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ma Hui,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the FTFE_FDPROT register on this unit and it is set to 0xFF.&lt;/P&gt;&lt;P&gt;So no protection is enabled.&amp;nbsp; Also all the FTFE_FPTROT0, T1, T2 and T3 are also all set to 0xFF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any further suggestions as to what may be causing this problem, or how to resolve it, or track down the cause of the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any specifications on what occurs when a flash location has been exhausted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 01:15:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Erase-Issue-with-MK10FX512/m-p/686678#M42266</guid>
      <dc:creator>Ali2006</dc:creator>
      <dc:date>2017-06-09T01:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Erase Issue with MK10FX512</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Erase-Issue-with-MK10FX512/m-p/686679#M42267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the later reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't quite understand the "POD" &amp;nbsp;abbreviation means of "I am able to mass erase from the PE&amp;nbsp; Micro Universal multilink &lt;STRONG&gt;POD&lt;/STRONG&gt; over JTAG&amp;nbsp;". What's "POD" means?&lt;/P&gt;&lt;P&gt;And there seems your application works with some in-program Flash operation code: "I now have the code programmed in using the PE pod and everything does run properly.. including my data stored in EEPROM/FLEXNVM is.&amp;nbsp; All locations are storing and saving just as they should.&amp;nbsp; So that means addresses in the upper 64K of the D-Flash are erasing and programming just fine.&amp;nbsp;&amp;nbsp;" If that means, your application code call the Flash commander could do erase/program D-Flash operation?&lt;/P&gt;&lt;P&gt;And about your question: "Do you have any specifications on what occurs when a flash location has been exhausted?"&lt;/P&gt;&lt;P&gt;What's the means about the Flash location has been exhausted? If the Flash location had been reach the Flash operation cycling endurance?&lt;/P&gt;&lt;P&gt;In fact, the Flash module provide "Read 1s Block/Section" command to check if that Flash block/section reach the Flash cycling endurance. Have you tried those Flash command?&lt;/P&gt;&lt;P&gt;Only the 'normal' read level should be employed during normal flash usage. The nonstandard, 'user' and 'factory' margin levels should be employed only in special cases.&lt;BR /&gt;They can be used during special diagnostic routines to gain confidence that the device is not suffering from the end-of-life data loss customary of flash memory devices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the attention.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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, 12 Jun 2017 05:46:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Erase-Issue-with-MK10FX512/m-p/686679#M42267</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-06-12T05:46:21Z</dc:date>
    </item>
  </channel>
</rss>

