<?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>Kinetis MicrocontrollersのトピックRe: Unable to write to unprotected K64 flash sector</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1165353#M58412</link>
    <description>&lt;P&gt;I have confirmed that the flash is not locked.&amp;nbsp; Most of the flash can be erased and written to.&amp;nbsp; It is only one sector that has the issue.&amp;nbsp; Could it be from too many erase/write cycles?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Oct 2020 17:11:21 GMT</pubDate>
    <dc:creator>dmcamens</dc:creator>
    <dc:date>2020-10-09T17:11:21Z</dc:date>
    <item>
      <title>Unable to write to unprotected K64 flash sector</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1164787#M58400</link>
      <description>&lt;P&gt;We have been receiving reports of bricked units in the field.&amp;nbsp; The units use the K64.&amp;nbsp; I have extracted the contents of the flash from 3 bricked units.&amp;nbsp; They all exhibit the same symptom which is flash sector FE000 cannot be written to.&amp;nbsp; Also the first 16 bytes in this sector cannot be read and my flash programming tool shows these 16 bytes as&amp;nbsp;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.&amp;nbsp; I have confirmed that the FPROTn data in the flash is all FF which means all sectors are unprotected.&lt;/P&gt;&lt;P&gt;I looked for the MGSTAT0 bit however it appears to not be stored in the non-volatile flash.&amp;nbsp; Is that correct?&lt;/P&gt;&lt;P&gt;What could cause these symptoms?&amp;nbsp; Could loss of power during a flash erase possibly cause this?&lt;/P&gt;&lt;P&gt;Is there anything I can look at within the flash contents that might give more clues as to what is going on?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 22:52:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1164787#M58400</guid>
      <dc:creator>dmcamens</dc:creator>
      <dc:date>2020-10-08T22:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write to unprotected K64 flash sector</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1164806#M58402</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178862"&gt;@dmcamens&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I presume that you're working with a 1Megabyte device.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe this is the last sector in the second block of Flash - and it is generally reserved for use in swapping between the two blocks of Flash for system updating.&amp;nbsp; You should never write to it (and, with it, you shouldn't write to 0x7E000 which is the last sector of the first block).&amp;nbsp; If you're swapping or have enabled swapping, writing to this sector will cause the device to brick and will need a direct debugger link to reprogram/re-enable the K64.&lt;/P&gt;&lt;P&gt;You should be writing to 0xFC000 instead.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 00:27:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1164806#M58402</guid>
      <dc:creator>myke_predko</dc:creator>
      <dc:date>2020-10-09T00:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write to unprotected K64 flash sector</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1164810#M58403</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yes. The unstable power will make device bricked. Here is the document which describes the possible reason making the device locked.&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 days after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 00:40:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1164810#M58403</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2020-10-09T00:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write to unprotected K64 flash sector</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1165274#M58410</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/58763"&gt;@myke_predko&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for replying to my post.&amp;nbsp; Yes this processor has a 1MB flash.&amp;nbsp; FE000 is actually the second to the last sector.&amp;nbsp; The last sector is FF000 and you are correct we use this last sector for the flash indicator.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 14:36:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1165274#M58410</guid>
      <dc:creator>dmcamens</dc:creator>
      <dc:date>2020-10-09T14:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write to unprotected K64 flash sector</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1165277#M58411</link>
      <description>&lt;P&gt;Could this flash sector error be caused by flash wear (i.e. too many erase/write cycles)?&amp;nbsp; The spec for the K64 lists max cycles as 50k.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 14:45:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1165277#M58411</guid>
      <dc:creator>dmcamens</dc:creator>
      <dc:date>2020-10-09T14:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write to unprotected K64 flash sector</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1165353#M58412</link>
      <description>&lt;P&gt;I have confirmed that the flash is not locked.&amp;nbsp; Most of the flash can be erased and written to.&amp;nbsp; It is only one sector that has the issue.&amp;nbsp; Could it be from too many erase/write cycles?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 17:11:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1165353#M58412</guid>
      <dc:creator>dmcamens</dc:creator>
      <dc:date>2020-10-09T17:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write to unprotected K64 flash sector</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1165372#M58413</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178862"&gt;@dmcamens&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for clarifying that.&amp;nbsp; Sorry, I thought hte Flash block was larger.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck with your problem, hopefully&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/71004"&gt;@nxf56274&lt;/a&gt;&amp;nbsp;is helping to put you on the right path.&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 18:11:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1165372#M58413</guid>
      <dc:creator>myke_predko</dc:creator>
      <dc:date>2020-10-09T18:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write to unprotected K64 flash sector</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1165449#M58419</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;So you use the swap feature? And the swap indicator is stored in last sector? Can you erase the last sector?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 days after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2020 01:31:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-write-to-unprotected-K64-flash-sector/m-p/1165449#M58419</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2020-10-10T01:31:06Z</dc:date>
    </item>
  </channel>
</rss>

