<?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中的主题 Re: Firmware download issue</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-download-issue/m-p/470312#M28409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ken:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the conditions to enter bootloader mode are not met (either directly or with the NMI pin), then yes, I am afraid that you would need to erase flash via the SWD interface with an external tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2016 15:04:30 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2016-03-15T15:04:30Z</dc:date>
    <item>
      <title>Firmware download issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-download-issue/m-p/470309#M28406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I used KL03 and based on blhost to download FRDM_KL03Z4.bin file. Then reset to my target, I can display the message on the Hyperterminal. My question are as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How to upgrade the image again(blhost is not connected) by the UART?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If not, how to change back boot from ROM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 09:18:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-download-issue/m-p/470309#M28406</guid>
      <dc:creator>kenhsu</dc:creator>
      <dc:date>2016-03-11T09:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Firmware download issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-download-issue/m-p/470310#M28407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ken Hsu:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The state of the KL03 MCU depends on the value stored in the &lt;STRONG&gt;FOPT&lt;/STRONG&gt; configuration byte from flash at address &lt;STRONG&gt;0x40D&lt;/STRONG&gt;, specifically the bits 7-6 (BOOTSRC_SEL) and the bit 1 (BOOTPIN_OPT). You find the next descriptions in the manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="BOOTSRC_SEL.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22795i0B631F0F15F755E8/image-size/large?v=v2&amp;amp;px=999" role="button" title="BOOTSRC_SEL.png" alt="BOOTSRC_SEL.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="BOOTPIN_OPT.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22837iAF49B2C3177EC898/image-size/large?v=v2&amp;amp;px=999" role="button" title="BOOTPIN_OPT.png" alt="BOOTPIN_OPT.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, it can boot directly from Flash, from ROM or depend on the state of the NMI pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check that binary you loaded and see what value it has for the 0x40D address. Another option is if you have an external tool you can perform a mass erase. By default in an erased device (all flash 1's) the device would boot from ROM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have doubts.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Jorge Gonzalez&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>Mon, 14 Mar 2016 17:59:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-download-issue/m-p/470310#M28407</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2016-03-14T17:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Firmware download issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-download-issue/m-p/470311#M28408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Jorge Gonzalez,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So I must be used by external tools(MultiLink or OpenSDA) to erase Flash, am I right? Does other method erase Flash? Because our environment still have some problems for MultiLink.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 01:42:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-download-issue/m-p/470311#M28408</guid>
      <dc:creator>kenhsu</dc:creator>
      <dc:date>2016-03-15T01:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Firmware download issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-download-issue/m-p/470312#M28409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ken:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the conditions to enter bootloader mode are not met (either directly or with the NMI pin), then yes, I am afraid that you would need to erase flash via the SWD interface with an external tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 15:04:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-download-issue/m-p/470312#M28409</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2016-03-15T15:04:30Z</dc:date>
    </item>
  </channel>
</rss>

