<?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: flash download failed</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-download-failed/m-p/690862#M42567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Li feng,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I also test my TWR-KE18F with the KSDK2.2 MDK project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This is my test result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25241iE23916C1A5959D02/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.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="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25193i6EC20C343EA2261E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25295i6C3525C3B19B2227/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&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/25146i509402AB4F77849F/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;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25344i195229A0225B9CB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your picture, it seems your problem is caused by the flash address 0x1c, 0x1d,0x1e,0x1f. Your content is 0X00, my I have check my these address data, it is also 0X00.&lt;/P&gt;&lt;P&gt;&amp;nbsp;So, I think you can try the SWD method, and don't select the verify code download like me again.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you are still not OK, you also can try our KSDK sample code for TWRK-KE18F which can be downloaded from this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome to MCUXpresso | MCUXpresso Config Tools&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Click SDK build, choose the board as TWR-KE18F, then generate the code and download it.&lt;/P&gt;&lt;P&gt;Take an example, you can use the gpio code: SDK_2.2_TWR-KE18F\boards\twrke18f\driver_examples\gpio\led_output\mdk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try again on your side.&lt;/P&gt;&lt;P&gt;Any updated information, please let me know!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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, 11 Jul 2017 02:59:11 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2017-07-11T02:59:11Z</dc:date>
    <item>
      <title>flash download failed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-download-failed/m-p/690861#M42566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mdk 5.14, &amp;nbsp;KE18F512VLL16, JLINK, &amp;nbsp;flash download failed.&amp;nbsp;&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/24767iFBA8ABA702D779F7/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;my power and reset circuit&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24814i0B33CEA553633714/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24908iECC15447C4BE4E0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;JLINK SET&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24815iEC16EF7217CDAE22/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.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="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24863iE66EAA875A299090/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24892iB6DE270D881A8A2A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 14:59:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-download-failed/m-p/690861#M42566</guid>
      <dc:creator>lifeng</dc:creator>
      <dc:date>2017-07-10T14:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: flash download failed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-download-failed/m-p/690862#M42567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Li feng,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I also test my TWR-KE18F with the KSDK2.2 MDK project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This is my test result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25241iE23916C1A5959D02/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.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="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25193i6EC20C343EA2261E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25295i6C3525C3B19B2227/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&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/25146i509402AB4F77849F/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;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25344i195229A0225B9CB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your picture, it seems your problem is caused by the flash address 0x1c, 0x1d,0x1e,0x1f. Your content is 0X00, my I have check my these address data, it is also 0X00.&lt;/P&gt;&lt;P&gt;&amp;nbsp;So, I think you can try the SWD method, and don't select the verify code download like me again.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you are still not OK, you also can try our KSDK sample code for TWRK-KE18F which can be downloaded from this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/en/welcome" title="https://mcuxpresso.nxp.com/en/welcome"&gt;Welcome to MCUXpresso | MCUXpresso Config Tools&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Click SDK build, choose the board as TWR-KE18F, then generate the code and download it.&lt;/P&gt;&lt;P&gt;Take an example, you can use the gpio code: SDK_2.2_TWR-KE18F\boards\twrke18f\driver_examples\gpio\led_output\mdk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try again on your side.&lt;/P&gt;&lt;P&gt;Any updated information, please let me know!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&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, 11 Jul 2017 02:59:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-download-failed/m-p/690862#M42567</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-07-11T02:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: flash download failed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-download-failed/m-p/690863#M42568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry Zhou:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The&amp;nbsp;tools is Jlink V9 from taobao, &amp;nbsp;I think whether it can't support MKE18F512VLL16 &amp;nbsp;well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I can't find the JLINK OPENSDA V2 that you used tools in NXP web, Where to buy the JLINK OPENSDA V2 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 06:34:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-download-failed/m-p/690863#M42568</guid>
      <dc:creator>lifeng</dc:creator>
      <dc:date>2017-07-18T06:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: flash download failed</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-download-failed/m-p/690864#M42569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Li Feng,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; MKE18 is the new chip, maybe your JLINK can't support it, especially if it is not the official version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I think you can update your JLINK driver to the newest one from:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.segger.com"&gt;www.segger.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Then use the JLINK commander, check whether you can find the KE18 board, and whether you can use the jlink commander: loadfile filename.bin&lt;/P&gt;&lt;P&gt;to download the code successfully?&lt;/P&gt;&lt;P&gt;&amp;nbsp; JLINK opensda v2 is the TWR-KE18F&amp;nbsp;on board debugger(JLINK).&lt;/P&gt;&lt;P&gt;&amp;nbsp; I don't know whether you have the official board TWR-KE18F board on your side, if you have it, you can try it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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, 18 Jul 2017 07:13:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/flash-download-failed/m-p/690864#M42569</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-07-18T07:13:53Z</dc:date>
    </item>
  </channel>
</rss>

