<?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のトピックFlash Read Problem</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-Read-Problem/m-p/188151#M2089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;K60N512&lt;/P&gt;&lt;P&gt;IAR Embedded Workbench 6.21&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No problems at all writing flash but when reading back to verify I encounter several blocks that are not correct. If I reset the debugger I can see the blocks return to the values I expect in the memory window. My code is in the first bank and writing to the second bank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have read several posts about writing from one bank to another or running from RAM if writing to both banks. I have not encountered any posts yet that place the same restrictions on reading flash. Am I missing something?&lt;/P&gt;&lt;P&gt;It does not seem to matter whether I use flashx or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2011 01:26:25 GMT</pubDate>
    <dc:creator>BrentW</dc:creator>
    <dc:date>2011-12-07T01:26:25Z</dc:date>
    <item>
      <title>Flash Read Problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-Read-Problem/m-p/188151#M2089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;K60N512&lt;/P&gt;&lt;P&gt;IAR Embedded Workbench 6.21&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No problems at all writing flash but when reading back to verify I encounter several blocks that are not correct. If I reset the debugger I can see the blocks return to the values I expect in the memory window. My code is in the first bank and writing to the second bank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have read several posts about writing from one bank to another or running from RAM if writing to both banks. I have not encountered any posts yet that place the same restrictions on reading flash. Am I missing something?&lt;/P&gt;&lt;P&gt;It does not seem to matter whether I use flashx or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 01:26:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-Read-Problem/m-p/188151#M2089</guid>
      <dc:creator>BrentW</dc:creator>
      <dc:date>2011-12-07T01:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Read Problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-Read-Problem/m-p/188152#M2090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you checked to see whether your device is affected by the erratas e2644 and e2647?&lt;/P&gt;&lt;P&gt;Try disabling speculation and cache - there can be strange effects in devices &amp;gt; 256k Flash&amp;nbsp; when caching is enabled if they are early chips and both Flash banks are used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 20:31:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-Read-Problem/m-p/188152#M2090</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2011-12-07T20:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Read Problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-Read-Problem/m-p/188153#M2091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply. You nailed it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had borrowed some code from one of the examples that said it disabled the cache. After looking at the errata and the code more closely, it was obvious that it did not. Adding in the speculation disabling fixed me right up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 00:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flash-Read-Problem/m-p/188153#M2091</guid>
      <dc:creator>BrentW</dc:creator>
      <dc:date>2011-12-08T00:47:48Z</dc:date>
    </item>
  </channel>
</rss>

