<?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: KE02: Error downloading to the device in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE02-Error-downloading-to-the-device/m-p/365444#M18797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had this error message, and found out that KDS can also do this if you set the wrong processor type.&amp;nbsp; I tried to program a MKL16Z32VFT4 while the PEMicro was configured for MKL16Z128VFT4 and got this error:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P style="padding-left: 30px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Loading programming algorithm ...&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Error! Enabling module timed out.&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Error enabling module just selected.&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Error loading programming algorithm - load aborted.&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Error occured during Flash programming.&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;PE-ERROR: Error downloading to the device.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I was surprised because with some other systems I have used, the programmer would read out the processor type first and give a useful error message if it did not match the expected type, rather than simply "failure to communicate".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Nov 2015 19:36:27 GMT</pubDate>
    <dc:creator>johnbeale</dc:creator>
    <dc:date>2015-11-03T19:36:27Z</dc:date>
    <item>
      <title>KE02: Error downloading to the device</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE02-Error-downloading-to-the-device/m-p/365441#M18794</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;Maybe you can help me: I'm using the Kinetis KE02Z64VLC2 and a PE-MICRO debugger in Kinetis Design Studio 2.0.0, in Windows 7. I'm trying to debug but every time I try to load the program, I receive an error "PE-ERROR: Error downloading to the device".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the complete log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;P&amp;amp;E GDB Server, Version 5.13.02.00&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Copyright 2014, P&amp;amp;E Microcomputer Systems Inc, All rights reserved&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Loading library C:\Freescale\KDS_2.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_1.1.8.201411191655\win32\gdi\unit_ngs_arm_internal.dll ... Done.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Command line arguments: -device=KE02Z64M2 -startserver -singlesession -serverport=7224 -interface=USBMULTILINK -speed=5000 -port=USB1 -USE_CYCLONEPRO_RELAYS=0 -FORCE_MASS_ERASE=0 &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Device selected is ke02z64m2&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;User Specified Hardware Selection : Interface=USBMULTILINK and Port=USB1&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Connecting to target.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;P&amp;amp;E Interface detected - Flash Version 6.10&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Device is KE02Z64M2.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Mode is In-Circuit Debug.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;'Kinetis' is a registered trademark of Freescale.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(C)opyright 2012, P&amp;amp;E Microcomputer Systems, Inc. (www.pemicro.com)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;API version is 101&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Server running on 127.0.0.1:7224&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Connection from "127.0.0.1" via 127.0.0.1&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Copyright 2012 P&amp;amp;E Microcomputer Systems,Inc.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Command Line :C:\Freescale\KDS_2.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_1.1.8.201411191655\win32\pegdbserver_console -device=KE02Z64M2 -startserver -singlesession -serverport=7224 -interface=USBMULTILINK -speed=5000 -port=USB1 -USE_CYCLONEPRO_ &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;CMD&amp;gt;RE&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Initializing.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Target has been RESET and is active.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;CMD&amp;gt;CM C:\Freescale\KDS_2.0.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_1.1.8.201411191655\win32\gdi\P&amp;amp;E\ke02z64m2_pflash_eeprom_pipeline.arp&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Initializing.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Initialized.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;;version 1.03, 02/07/2014, Copyright P&amp;amp;E Microcomputer Systems, &lt;A href="https://community.nxp.com/www.pemicro.com" target="test_blank"&gt;www.pemicro.com&lt;/A&gt; [ke_64k_pflash_dflash_ftmrh_m0]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;;device freescale, ke02z64m2, desc=pflash_eeprom_pipeline&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;;begin_cs device=$00000000, length=$10000100, ram=$20000000&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Loading programming algorithm ... &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Error! Enabling module timed out.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Error enabling module just selected. &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Error loading programming algorithm - load aborted.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Error occured during Flash programming.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;PE-ERROR: Error downloading to the device.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;Looks like the CPU is being erased, but unable to load the program. Any idea about what could be happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 09:05:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE02-Error-downloading-to-the-device/m-p/365441#M18794</guid>
      <dc:creator>Ardoster</dc:creator>
      <dc:date>2014-12-19T09:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: KE02: Error downloading to the device</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE02-Error-downloading-to-the-device/m-p/365442#M18795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using a custom board, or are you using one of the Freedom boards? I just tested on the Freedom board with exact same setup and had no issues programming the chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The place where the programming errors out indicates a communication failure. Within debug configurations, you should try lowering the debug shift frequency to improve communication stability. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a custom board or custom middle-hardware like custom ribbon cables, adapter, reset circuitry, watchdog, or system bus chip then you may need to modify the debug configurations by adding reset delay or further lowering your debug shift frequency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Takao Yamada&lt;BR /&gt;P&amp;amp;E Microcomputer Systems&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 18:55:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE02-Error-downloading-to-the-device/m-p/365442#M18795</guid>
      <dc:creator>takaoyamada</dc:creator>
      <dc:date>2014-12-19T18:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: KE02: Error downloading to the device</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE02-Error-downloading-to-the-device/m-p/365443#M18796</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;Thanks for your reply and sorry the delay. Finally I switched to a KL05 processor. I know this is not a solution, but I hadn't more time to find the problem with the KL02 processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 16:14:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE02-Error-downloading-to-the-device/m-p/365443#M18796</guid>
      <dc:creator>Ardoster</dc:creator>
      <dc:date>2015-01-23T16:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: KE02: Error downloading to the device</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE02-Error-downloading-to-the-device/m-p/365444#M18797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had this error message, and found out that KDS can also do this if you set the wrong processor type.&amp;nbsp; I tried to program a MKL16Z32VFT4 while the PEMicro was configured for MKL16Z128VFT4 and got this error:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P style="padding-left: 30px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Loading programming algorithm ...&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Error! Enabling module timed out.&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Error enabling module just selected.&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Error loading programming algorithm - load aborted.&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Error occured during Flash programming.&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;PE-ERROR: Error downloading to the device.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I was surprised because with some other systems I have used, the programmer would read out the processor type first and give a useful error message if it did not match the expected type, rather than simply "failure to communicate".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 19:36:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE02-Error-downloading-to-the-device/m-p/365444#M18797</guid>
      <dc:creator>johnbeale</dc:creator>
      <dc:date>2015-11-03T19:36:27Z</dc:date>
    </item>
  </channel>
</rss>

