<?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: K65 Core / system clock max to write to Flash in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646204#M39201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mark, I'll try to work around it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Mar 2017 07:58:29 GMT</pubDate>
    <dc:creator>charlesklibbe</dc:creator>
    <dc:date>2017-03-15T07:58:29Z</dc:date>
    <item>
      <title>K65 Core / system clock max to write to Flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646199#M39196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know what is the clocking requirements for the K65 when using 180MHz and writing to the flash?&lt;/P&gt;&lt;P&gt;I can't seem to find any mention in the documentation but if I try write to the flash I get a&amp;nbsp;kStatus_FLASH_AccessError. I have tried to slow the core clock down by changing&amp;nbsp;SIM-&amp;gt;CLKDIV1 (OUTDIV1, &lt;SPAN&gt;OUTDIV2, OUTDIV3 &amp;amp;&amp;nbsp;OUTDIV4&lt;/SPAN&gt;) and I still get the access error even though the core clock is now 45MHz and the other clocks are divided appropriately.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Charles Klibbe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 07:43:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646199#M39196</guid>
      <dc:creator>charlesklibbe</dc:creator>
      <dc:date>2017-03-13T07:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: K65 Core / system clock max to write to Flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646200#M39197</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;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/15928iB68C8D0DF448A7E8/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;P&gt;&lt;SPAN&gt;Try a binary from &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FTWR-K65F180M.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K65F180M.html&lt;/A&gt;&lt;SPAN&gt; (include Flash test interface).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are in RUN mode you can program up to 120MHz core speed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Get Open Source uTasker K65 code from &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fforum%2Findex.php%3Ftopic%3D1721.msg7086%23msg7086" rel="nofollow" target="_blank"&gt;http://www.utasker.com/forum/index.php?topic=1721.msg7086#msg7086&lt;/A&gt;&lt;BR /&gt;including K65 Flash driver and emulation.&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;BR /&gt;&lt;SPAN&gt;Professional support for Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Findex.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/index.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Remote desktop one-on-one coaching: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fservices.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/services.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Getting started to expert videos: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.youtube.com%2Fresults%3Fsearch_query%3Dutasker%2Bshorts" rel="nofollow" target="_blank"&gt;https://www.youtube.com/results?search_query=utasker+shorts&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 21:26:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646200#M39197</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-03-13T21:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: K65 Core / system clock max to write to Flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646201#M39198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charies Klibbe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Just as Mark has replied, you can find in the K65 RM, chapter 8.7 Flash Program Restrictions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HRUN can't do programmed or erased, please change the mode to RUN mode, then you can do the flash operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 14 Mar 2017 02:35:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646201#M39198</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-14T02:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: K65 Core / system clock max to write to Flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646202#M39199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the replies, but can someone let me know why you can't just slow down the core clock and still be able to write to the flash?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've worked with devices before where all that was necessary was to slow the CPU clock and you could use the flash write functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that I'm running a synchronous interface and if I change the clock then my sampling is affected while the clock is not at the correct frequency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 06:29:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646202#M39199</guid>
      <dc:creator>charlesklibbe</dc:creator>
      <dc:date>2017-03-14T06:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: K65 Core / system clock max to write to Flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646203#M39200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The HIGH SPEED RUN mode state will logically block Flash programming - that means that there is presumably a digital connection from the RUN state output to the Flash module controlling this. &lt;EM&gt;It blocks programming irrespective of the actual speed of operation.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't set HIGH SPEED RUN mode but just RUN mode instead you can also probably work at 180MHz and the Flash programming indeed operates. This will however be operating out of specification so should not be done for anything more that testing or geek-projects where over-clocking may be considered 'cool'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For applications where the HIGH SPEED RUN mode restrictions are not acceptable the device should be used as a fully-functional 120MHz device instead in the default RUN mode.&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>Tue, 14 Mar 2017 12:09:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646203#M39200</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2017-03-14T12:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: K65 Core / system clock max to write to Flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646204#M39201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mark, I'll try to work around it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 07:58:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646204#M39201</guid>
      <dc:creator>charlesklibbe</dc:creator>
      <dc:date>2017-03-15T07:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: K65 Core / system clock max to write to Flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646205#M39202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just an update on other points I found relating to the HSRUN Flash access:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;32.1.3 Glossary&lt;/SPAN&gt; &lt;BR /&gt; &lt;SPAN class=""&gt;HSRUN &lt;/SPAN&gt;&lt;SPAN class=""&gt;— An MCU power mode enabling high-speed access to the memory resources&lt;BR /&gt;in the FTFE module. The user has no access to the Flash command set when the MCU is&lt;BR /&gt;in HSRUN mode.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;32.4.10.1 Command Write Sequence&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Attempts to launch&amp;nbsp;an FTFE command in HSRUN mode will be trapped with the ACCERR flag being set.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 07:27:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K65-Core-system-clock-max-to-write-to-Flash/m-p/646205#M39202</guid>
      <dc:creator>charlesklibbe</dc:creator>
      <dc:date>2017-03-16T07:27:44Z</dc:date>
    </item>
  </channel>
</rss>

