<?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: ECC Error on Read While Write in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/ECC-Error-on-Read-While-Write/m-p/995694#M14984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using MPC56F4F and I want to both read and write to a specific area of the flash at the same time. However, I get an ECC error during this process and I cannot run the program again. Do you have an idea that can fix the error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jan 2020 13:12:42 GMT</pubDate>
    <dc:creator>tgc-yilmaz</dc:creator>
    <dc:date>2020-01-23T13:12:42Z</dc:date>
    <item>
      <title>ECC Error on Read While Write</title>
      <link>https://community.nxp.com/t5/MPC5xxx/ECC-Error-on-Read-While-Write/m-p/995692#M14982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Hello,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;When &lt;STRONG&gt;Read While Write&lt;/STRONG&gt; to a specific memory section&amp;nbsp;by using&amp;nbsp;&lt;STRONG&gt;MPC5674F&lt;/STRONG&gt;, &lt;STRONG&gt;ECC error occurs&lt;/STRONG&gt; and software cannot be run any more. The situation can be solved with soft reset, but this does not always be useful. At the same time, this situation can be corrected by clearing the specified memory section, but I must not lose that data. So, I need another solution for this, can you help with this?&lt;/P&gt;&lt;DIV class="" style="color: #777777; font-size: 16px;"&gt;&lt;DIV class="" style="padding-bottom: 56px;"&gt;&lt;DIV class=""&gt;&lt;DIV class="" style="padding: 20px 0px 0px;"&gt;&lt;DIV class=""&gt;&lt;DIV class="" style="font-size: 12px; margin-top: 12px; margin-right: 20px;"&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Thank you for your help...&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2020 09:11:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/ECC-Error-on-Read-While-Write/m-p/995692#M14982</guid>
      <dc:creator>tgc-yilmaz</dc:creator>
      <dc:date>2020-01-23T09:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: ECC Error on Read While Write</title>
      <link>https://community.nxp.com/t5/MPC5xxx/ECC-Error-on-Read-While-Write/m-p/995693#M14983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I don't understand your issue too much. It would be fine if you share more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However you may seen following appnote dealing with ECC:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-103300"&gt;https://community.nxp.com/docs/DOC-103300&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2020 12:57:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/ECC-Error-on-Read-While-Write/m-p/995693#M14983</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2020-01-23T12:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: ECC Error on Read While Write</title>
      <link>https://community.nxp.com/t5/MPC5xxx/ECC-Error-on-Read-While-Write/m-p/995694#M14984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using MPC56F4F and I want to both read and write to a specific area of the flash at the same time. However, I get an ECC error during this process and I cannot run the program again. Do you have an idea that can fix the error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2020 13:12:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/ECC-Error-on-Read-While-Write/m-p/995694#M14984</guid>
      <dc:creator>tgc-yilmaz</dc:creator>
      <dc:date>2020-01-23T13:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: ECC Error on Read While Write</title>
      <link>https://community.nxp.com/t5/MPC5xxx/ECC-Error-on-Read-While-Write/m-p/995695#M14985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RWW is only allowed within different partitions. It means if partition being read/executed is 'x', programmed partition must be not 'x'. Do you have it so? And do you have programmed block erased before programming?&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/98773iF12067ACFDB9D144/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2020 14:18:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/ECC-Error-on-Read-While-Write/m-p/995695#M14985</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2020-01-23T14:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: ECC Error on Read While Write</title>
      <link>https://community.nxp.com/t5/MPC5xxx/ECC-Error-on-Read-While-Write/m-p/995696#M14986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I have programmed block erased before programming. But&amp;nbsp;&lt;/SPAN&gt;I'm trying to do this for the same &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;partitions&lt;/SPAN&gt;, that's why I get this error.&lt;BR /&gt;Well, I understand from your answer, "While the writing process is going on for the same &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;partitions&lt;/SPAN&gt;, reading can not be done, so this is not possible."&lt;/P&gt;&lt;P&gt;I have a few more questions for you:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is this correct, is there no way to do this, so can we not read while the writing process is going on for the same &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;partitions&lt;/SPAN&gt;?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is there a way to prevent the reading process to avoid making mistakes while writing for the same &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;partitions&lt;/SPAN&gt;?&amp;nbsp;Even if I receive the request to read, can I not respond to this request and prevent an error?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If we can not prevent this situation, how can we keep the program running when an error occurs? (I get this error in my work and I can't run the program again. Unfortunately, reading request can come while writing is in progress. this is not under my control. I need to solve this problem, somehow I have to keep the program executable.)&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2020 05:07:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/ECC-Error-on-Read-While-Write/m-p/995696#M14986</guid>
      <dc:creator>tgc-yilmaz</dc:creator>
      <dc:date>2020-01-24T05:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: ECC Error on Read While Write</title>
      <link>https://community.nxp.com/t5/MPC5xxx/ECC-Error-on-Read-While-Write/m-p/995697#M14987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is this correct, is there no way to do this, so can we not read while the writing process is going on for the same partitions?&lt;BR /&gt;- Yes, correct.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there a way to prevent the reading process to avoid making mistakes while writing for the same partitions? Even if I receive the request to read, can I not respond to this request and prevent an error?&lt;BR /&gt;-&amp;nbsp; Such attempt will cause bus error (leading in core exception) and in the flash controller RWW error is set and operation is stopped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If we can not prevent this situation, how can we keep the program running when an error occurs? (I get this error in my work and I can't run the program again. Unfortunately, reading request can come while writing is in progress. this is not under my control. I need to solve this problem, somehow I have to keep the program executable.)&lt;BR /&gt;- It is needed to avoid RWW error. The simple solution is to execute code from SRAM. Or you can have certain area dedicated to user flash programming and just to have SW written the way it does not access the area when it is being programmed or erased. It is basically up to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2020 14:13:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/ECC-Error-on-Read-While-Write/m-p/995697#M14987</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2020-01-24T14:13:08Z</dc:date>
    </item>
  </channel>
</rss>

