<?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 MPC5675K - Software hanging on reading data flash sector in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/MPC5675K-Software-hanging-on-reading-data-flash-sector/m-p/414934#M3259</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My application is hanging while I am trying to read data flash sector 1(0x0080_4000) of MCU. All other sectors are working fine.&lt;/P&gt;&lt;P&gt;I have already performed around 10000 write cycle to sector 1. I am reading the sector using an 'unsigned long' pointer.&lt;/P&gt;&lt;P&gt;Please help me to identify the reason. Any help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2015 13:13:09 GMT</pubDate>
    <dc:creator>mohammedshibin</dc:creator>
    <dc:date>2015-05-08T13:13:09Z</dc:date>
    <item>
      <title>MPC5675K - Software hanging on reading data flash sector</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MPC5675K-Software-hanging-on-reading-data-flash-sector/m-p/414934#M3259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My application is hanging while I am trying to read data flash sector 1(0x0080_4000) of MCU. All other sectors are working fine.&lt;/P&gt;&lt;P&gt;I have already performed around 10000 write cycle to sector 1. I am reading the sector using an 'unsigned long' pointer.&lt;/P&gt;&lt;P&gt;Please help me to identify the reason. Any help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 13:13:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MPC5675K-Software-hanging-on-reading-data-flash-sector/m-p/414934#M3259</guid>
      <dc:creator>mohammedshibin</dc:creator>
      <dc:date>2015-05-08T13:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5675K - Software hanging on reading data flash sector</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MPC5675K-Software-hanging-on-reading-data-flash-sector/m-p/414935#M3260</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;Same code is working fine in another board. What could be the reason for hanging in the other board?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 04:46:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MPC5675K-Software-hanging-on-reading-data-flash-sector/m-p/414935#M3260</guid>
      <dc:creator>mohammedshibin</dc:creator>
      <dc:date>2015-05-11T04:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5675K - Software hanging on reading data flash sector</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MPC5675K-Software-hanging-on-reading-data-flash-sector/m-p/414936#M3261</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;It is caused by ECC error, most likely. Each word in data flash memory has hidden 7bit ECC syndrome. The ECC mechanism provides correction of single-bit faults and reporting of multiple-bit errors. &lt;/P&gt;&lt;P&gt;ECC error can occur if:&lt;/P&gt;&lt;P&gt;- erase or program operation is terminated by unexpected reset, so the flash is left in undefined state &lt;/P&gt;&lt;P&gt;- if we programmed word in data flash that is not fully erased (different from 0xFFFFFFFF)&lt;/P&gt;&lt;P&gt;- if we performed too many erase/program cycles (flash wear-out)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of single-bit fault, the ECC circuitry automatically corrects the data. In case of multiple-bit error, the flash controller returns bus error and exception is triggered. Take a look at this document and examples for details:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-103300"&gt;https://community.freescale.com/docs/DOC-103300&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution is to erase whole flash block. Then it can be programmed and read again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 11:54:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MPC5675K-Software-hanging-on-reading-data-flash-sector/m-p/414936#M3261</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2015-05-12T11:54:35Z</dc:date>
    </item>
  </channel>
</rss>

