<?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: Error: Flash Download failed  -  Target DLL has been cancelled in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-Flash-Download-failed-Target-DLL-has-been-cancelled/m-p/770149#M46863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jing. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah, I actually had that option available before. Let me give some extra information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first I had two issues:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The first one&amp;nbsp;is explained on following thread:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.nxp.com/thread/395940"&gt;Hello everybody,when I loading program with MDK it appears unable to find device information.PE34298&lt;/A&gt;. There, you instructed this guy to install the OSJTAG Drivers. So I did the same.&lt;/LI&gt;&lt;LI&gt;The other isuse is the one I'm explaining here.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both: the "PE34298 error" and the "Flash error" were present at a time. After I installed the OSJTAG drivers the first error disappeared but the "flash thing error" remained. Also, the option "PEMicro Debugger" disappeared and "Pemicro OSJtag/Multilink/Cyclo" option appeared instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that the default debug firmware on KL25 is PEMicro, and&amp;nbsp;the link you gave me talks about that. Anyway, on the proccess I also tried with "CMSIS-DAP_OpenSDA.S19". I downloaded the firmware to the board with the proper procedure and then selected the "CMSIS-DAP Debugger" option on target configurations at&amp;nbsp;Keil IDE. I didn't work neither. So I went back to download the OpenSDA firmware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you see "&lt;SPAN&gt;Pemicro OSJtag/Multilink/Cyclo" option selected because "PEMicro Debugger" is not available anymore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyway, I doubt that to be the problem, just beacuse the problem was there even when&amp;nbsp;"PEMicro Debugger" was selected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to be clear, the board has again the OpenSDA firmware; but problem is still there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you recommend?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2017 04:27:25 GMT</pubDate>
    <dc:creator>alejandrorico</dc:creator>
    <dc:date>2017-11-15T04:27:25Z</dc:date>
    <item>
      <title>Error: Flash Download failed  -  Target DLL has been cancelled</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-Flash-Download-failed-Target-DLL-has-been-cancelled/m-p/770147#M46861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello. I'm trying to download a simple program to FRDM-KL25 board but I'm still getting this message:&lt;/P&gt;&lt;P&gt;Error: Flash Download failed&amp;nbsp; -&amp;nbsp; Target DLL has been cancelled.&lt;/P&gt;&lt;P&gt;I have already:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;intalled driver for kinetis (&lt;A class="link-titled" href="http://www.keil.com/download/docs/408.asp" title="http://www.keil.com/download/docs/408.asp"&gt;Freescale Kinetis OSJTAG Drivers V1.20&lt;/A&gt;)&lt;/LI&gt;&lt;LI&gt;installed PEMicro as stated on *.pdf guides quotet on this&amp;nbsp;topic:&amp;nbsp;&lt;A href="https://community.nxp.com/thread/395940"&gt;Hello everybody,when I loading program with MDK it appears unable to find device information.PE34298&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;followed steps from a tutorial of a ARM-KEIL guy&amp;nbsp;&lt;A class="link-titled" href="https://www.youtube.com/watch?v=RdhdSYgY2hU" title="https://www.youtube.com/watch?v=RdhdSYgY2hU"&gt;Software development with the Freescale Kinetis SDK using Keil MDK Version 5 - YouTube&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;selected the right MCU: MKL25Z128xxx4 since the FRDM-KL25 board has a: MKL25Z128VLK4 device.&lt;/LI&gt;&lt;LI&gt;selected PEMicro on the debugger options.&lt;/LI&gt;&lt;LI&gt;tried to download an example project from Kinetis SDK v1.3. (based on the video tutorial)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I don't know what I'm missing. I'm attaching some images of the configurations.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="issue1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31836iD7DBDB889DC6B354/image-size/large?v=v2&amp;amp;px=999" role="button" title="issue1.png" alt="issue1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="issue2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32014i526292D7F8BD2008/image-size/large?v=v2&amp;amp;px=999" role="button" title="issue2.png" alt="issue2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="issue3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31974i0348B0272CB1DAF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="issue3.png" alt="issue3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="issue4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32164iDC48DB25035E28AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="issue4.png" alt="issue4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 05:17:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-Flash-Download-failed-Target-DLL-has-been-cancelled/m-p/770147#M46861</guid>
      <dc:creator>alejandrorico</dc:creator>
      <dc:date>2017-11-13T05:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Flash Download failed  -  Target DLL has been cancelled</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-Flash-Download-failed-Target-DLL-has-been-cancelled/m-p/770148#M46862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejandro,&lt;/P&gt;&lt;P&gt;KL25's driver is not Kinetis OSJtag. It's PEMicro.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="debug_sel.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33003iC64166747F054916/image-size/large?v=v2&amp;amp;px=999" role="button" title="debug_sel.png" alt="debug_sel.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please download driver and firmware form the link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/support/developer-resources/run-time-software/kinetis-developer-resources/ides-for-kinetis-mcus/opensda-serial-and-debug-adapter:OPENSDA?&amp;amp;tid=vanOpenSDA#FRDM-KL25Z"&gt;https://www.nxp.com/support/developer-resources/run-time-software/kinetis-developer-resources/ides-for-kinetis-mcus/opensda-serial-and-debug-adapter:OPENSDA?&amp;amp;tid=vanOpenSDA#FRDM-KL25Z&lt;/A&gt;&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;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 08:00:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-Flash-Download-failed-Target-DLL-has-been-cancelled/m-p/770148#M46862</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2017-11-14T08:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Flash Download failed  -  Target DLL has been cancelled</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-Flash-Download-failed-Target-DLL-has-been-cancelled/m-p/770149#M46863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jing. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah, I actually had that option available before. Let me give some extra information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first I had two issues:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The first one&amp;nbsp;is explained on following thread:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.nxp.com/thread/395940"&gt;Hello everybody,when I loading program with MDK it appears unable to find device information.PE34298&lt;/A&gt;. There, you instructed this guy to install the OSJTAG Drivers. So I did the same.&lt;/LI&gt;&lt;LI&gt;The other isuse is the one I'm explaining here.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both: the "PE34298 error" and the "Flash error" were present at a time. After I installed the OSJTAG drivers the first error disappeared but the "flash thing error" remained. Also, the option "PEMicro Debugger" disappeared and "Pemicro OSJtag/Multilink/Cyclo" option appeared instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that the default debug firmware on KL25 is PEMicro, and&amp;nbsp;the link you gave me talks about that. Anyway, on the proccess I also tried with "CMSIS-DAP_OpenSDA.S19". I downloaded the firmware to the board with the proper procedure and then selected the "CMSIS-DAP Debugger" option on target configurations at&amp;nbsp;Keil IDE. I didn't work neither. So I went back to download the OpenSDA firmware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you see "&lt;SPAN&gt;Pemicro OSJtag/Multilink/Cyclo" option selected because "PEMicro Debugger" is not available anymore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyway, I doubt that to be the problem, just beacuse the problem was there even when&amp;nbsp;"PEMicro Debugger" was selected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to be clear, the board has again the OpenSDA firmware; but problem is still there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you recommend?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 04:27:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-Flash-Download-failed-Target-DLL-has-been-cancelled/m-p/770149#M46863</guid>
      <dc:creator>alejandrorico</dc:creator>
      <dc:date>2017-11-15T04:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Flash Download failed  -  Target DLL has been cancelled</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-Flash-Download-failed-Target-DLL-has-been-cancelled/m-p/770150#M46864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alejandro or anyone out there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck with the same issue sas stated by Alejandro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have followed all the installation procedure listed above as as much as I can find online.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alejandro, how did you solve this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Help is welcomed from anyone out there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks very much.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 15:08:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Error-Flash-Download-failed-Target-DLL-has-been-cancelled/m-p/770150#M46864</guid>
      <dc:creator>benkonna</dc:creator>
      <dc:date>2018-07-13T15:08:47Z</dc:date>
    </item>
  </channel>
</rss>

