<?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のトピックK64 FTFE Write Lower and Upper 32-bits in Seperate Commands</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-FTFE-Write-Lower-and-Upper-32-bits-in-Seperate-Commands/m-p/394279#M21598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to write the internal flash 32-bits at a time as I was able to do with FTFL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FTFE apparently writes 64-bits at a time (instructions are 32-bits right?) so I'm writing the lower 32-bits with the upper set to 0xFFFFFFFF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then follow it up with another write where the lower 32-bits is the same and the upper 32-bits has new data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strange things happen when I do this and MGSTAT0 gets set.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Sep 2015 19:09:43 GMT</pubDate>
    <dc:creator>Mike_d</dc:creator>
    <dc:date>2015-09-18T19:09:43Z</dc:date>
    <item>
      <title>K64 FTFE Write Lower and Upper 32-bits in Seperate Commands</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-FTFE-Write-Lower-and-Upper-32-bits-in-Seperate-Commands/m-p/394279#M21598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to write the internal flash 32-bits at a time as I was able to do with FTFL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FTFE apparently writes 64-bits at a time (instructions are 32-bits right?) so I'm writing the lower 32-bits with the upper set to 0xFFFFFFFF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then follow it up with another write where the lower 32-bits is the same and the upper 32-bits has new data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strange things happen when I do this and MGSTAT0 gets set.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 19:09:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-FTFE-Write-Lower-and-Upper-32-bits-in-Seperate-Commands/m-p/394279#M21598</guid>
      <dc:creator>Mike_d</dc:creator>
      <dc:date>2015-09-18T19:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: K64 FTFE Write Lower and Upper 32-bits in Seperate Commands</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-FTFE-Write-Lower-and-Upper-32-bits-in-Seperate-Commands/m-p/394280#M21599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The K64F uses phrase programming (64 bit word) and it is not possible to program long words.&lt;/P&gt;&lt;P&gt;If you write to a single phrase twice, without erasing the sector that it is in, it can cause a serious flash error (the flash line may become unreadable without erasing it again) and therefore &lt;EM&gt;&lt;STRONG&gt;you must avoid writing like this&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the data sheet specifies, mutliple writes are illegal, so there is no option but to modify the usage of the memory accordingly.&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis.html" rel="nofollow"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;K64: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/FRDM-K64F.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/FRDM-K64F.html&lt;/A&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K64F120M.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/TWR-K64F120M.html&lt;/A&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K65F180M.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/TWR-K65F180M.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 14:00:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-FTFE-Write-Lower-and-Upper-32-bits-in-Seperate-Commands/m-p/394280#M21599</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-09-19T14:00:52Z</dc:date>
    </item>
  </channel>
</rss>

