<?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: Kinetis Flash memory read error</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-memory-read-error/m-p/643525#M39028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on the Kinetis part being used. Newer parts (like K64) will hard-fault if the Flash area is corrupted - older types may not. There is no official documentation about this behavior but can be observed with various parts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2016 21:40:40 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2016-10-20T21:40:40Z</dc:date>
    <item>
      <title>Kinetis Flash memory read error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-memory-read-error/m-p/643521#M39024</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;I have a problem with read operation from flash memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While testing of the code, we found a strange problem with flash memory.&lt;/P&gt;&lt;P&gt;For example: If the write operation (done using Kinetis Flash driver)is unsuccessful and during my next reboot if i try to read the&amp;nbsp;specific location of the memory where it (got halt/ corrupted etc) was unsuccessful, i get a hard fault.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;&amp;nbsp;I was expecting that kinetics controller will handle the data integrity automatically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;can you give me any suggestion on handling this issue. Is there any built in driver which will solve this reading issue( like detection of corrupted memory)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 14:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-memory-read-error/m-p/643521#M39024</guid>
      <dc:creator>sandeepkamath</dc:creator>
      <dc:date>2016-10-17T14:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash memory read error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-memory-read-error/m-p/643522#M39025</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;&lt;A href="https://community.nxp.com/thread/433042"&gt;Hard Faults reading program Flash memory&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/574401?commentID=574401#comment-574401" title="https://community.nxp.com/message/574401?commentID=574401#comment-574401"&gt;https://community.nxp.com/message/574401?commentID=574401#comment-574401&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And various others when a search for "hard fault Flash" is made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 17:59:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-memory-read-error/m-p/643522#M39025</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-10-17T17:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash memory read error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-memory-read-error/m-p/643523#M39026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;I thought we will be reading&amp;nbsp;the garbage value instead of getting hard fault.&lt;/P&gt;&lt;P&gt;So If some thing goes wrong while writing, then it will go to hard fault while reading ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 08:37:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-memory-read-error/m-p/643523#M39026</guid>
      <dc:creator>sandeepkamath</dc:creator>
      <dc:date>2016-10-18T08:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash memory read error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-memory-read-error/m-p/643524#M39027</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;Embedded flash memory is grouped into blocks. Each block contains the circuitry required to read, erase, and program within that block. Most of the flash memory technologies have a limitation of not allowing read operations at the same time as an erase or program operation is occurring within the same block. Thus, erasing/programming a sector is not allowed if code execution (fetching instructions = reading) is taking place within the same block even if the read is in a different flash sector than the erase/program. This is called a Read While Write (RWW) violation and will result in a Read Collision error on Kinetis and other micro-controllers.&lt;/P&gt;&lt;P&gt;More detailed info, please check application note &lt;A href="http://cache.nxp.com/files/32bit/doc/app_note/AN4695.pdf"&gt;AN4695&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&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>Tue, 18 Oct 2016 08:49:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-memory-read-error/m-p/643524#M39027</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-10-18T08:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash memory read error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-memory-read-error/m-p/643525#M39028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on the Kinetis part being used. Newer parts (like K64) will hard-fault if the Flash area is corrupted - older types may not. There is no official documentation about this behavior but can be observed with various parts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 21:40:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-memory-read-error/m-p/643525#M39028</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-10-20T21:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Flash memory read error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-memory-read-error/m-p/643526#M39029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hui_Ma, Hi Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are observing this hard fault in K24F series. Thanks for letting us know about this behavior.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 07:51:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Flash-memory-read-error/m-p/643526#M39029</guid>
      <dc:creator>sandeepkamath</dc:creator>
      <dc:date>2016-10-21T07:51:30Z</dc:date>
    </item>
  </channel>
</rss>

