<?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 FRDM-KL25Z - Unable to program in bootloader in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-Unable-to-program-in-bootloader/m-p/393232#M21529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So here's where I am at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a FRDM-KL25Z board.&amp;nbsp; I went through all the quick guide instructions without issue.&amp;nbsp; I was able to upload the flash program in bootloader.&amp;nbsp; After unplugging and re-inserting the USB cable, the proper FRDM-KL25Z MSD (since I wasn't holding the reset button to get into bootloader) came up and i was able to copy/paste and run the various pre-compiled programs from the 'quick start package.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;** running windows 7 sp1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's where I have run into problems:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was rushing (enough said?)&amp;nbsp; I THINK (though I'm not sure) I flashed the bootloader with a debug .sda from PEMicro website.&amp;nbsp; It may or may not have been for the proper chip, IDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what I am seeing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i plug in the usb cable (no reset button held,):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1) the RGB led on the dev board blinks RED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The last program that was flashed to the chip was the uart19200 example.&amp;nbsp; it too had the RGB flash red and at the same freq.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (is the program running on the kl25z? unable to monitor over serial port)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2) the green led for the openSDA chip does not blink at all; it is just off&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3) I do NOT get any MSD drive to show up and no serial port in Device Manager either&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I hold the reset button when plugging in the USB:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1) if I continue to hold, the greel led for the openSDA chip will start to flash (500ms on/off) even before I release the reset button. (no change in behavior if i release the reset button before the&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; green led starts to blink.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2) when I release the reset button, the green light continues the 500ms on/off toggle and the RGB led performs as noted above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3) I DO get the bootloader MSD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; However, when I try to copy/paste the MSD-FRDM-KL25Z_Pemicro_v105.SDA (or openSDA application any from the 'quick start package') the green led for the openSDA repeats&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flashing 8 quick times with a 2 sec delay, indicating an error has occurred. Unable to overcome this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any solution or insight into what happened would be awesome.&amp;nbsp; But really I just want to get back to the original, our-of-the-box programming so i can start over.&amp;nbsp; Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jordan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2015 18:57:17 GMT</pubDate>
    <dc:creator>jordanlambert</dc:creator>
    <dc:date>2015-08-24T18:57:17Z</dc:date>
    <item>
      <title>FRDM-KL25Z - Unable to program in bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-Unable-to-program-in-bootloader/m-p/393232#M21529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So here's where I am at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a FRDM-KL25Z board.&amp;nbsp; I went through all the quick guide instructions without issue.&amp;nbsp; I was able to upload the flash program in bootloader.&amp;nbsp; After unplugging and re-inserting the USB cable, the proper FRDM-KL25Z MSD (since I wasn't holding the reset button to get into bootloader) came up and i was able to copy/paste and run the various pre-compiled programs from the 'quick start package.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;** running windows 7 sp1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's where I have run into problems:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was rushing (enough said?)&amp;nbsp; I THINK (though I'm not sure) I flashed the bootloader with a debug .sda from PEMicro website.&amp;nbsp; It may or may not have been for the proper chip, IDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what I am seeing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i plug in the usb cable (no reset button held,):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1) the RGB led on the dev board blinks RED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The last program that was flashed to the chip was the uart19200 example.&amp;nbsp; it too had the RGB flash red and at the same freq.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (is the program running on the kl25z? unable to monitor over serial port)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2) the green led for the openSDA chip does not blink at all; it is just off&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3) I do NOT get any MSD drive to show up and no serial port in Device Manager either&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I hold the reset button when plugging in the USB:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1) if I continue to hold, the greel led for the openSDA chip will start to flash (500ms on/off) even before I release the reset button. (no change in behavior if i release the reset button before the&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; green led starts to blink.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2) when I release the reset button, the green light continues the 500ms on/off toggle and the RGB led performs as noted above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3) I DO get the bootloader MSD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; However, when I try to copy/paste the MSD-FRDM-KL25Z_Pemicro_v105.SDA (or openSDA application any from the 'quick start package') the green led for the openSDA repeats&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flashing 8 quick times with a 2 sec delay, indicating an error has occurred. Unable to overcome this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any solution or insight into what happened would be awesome.&amp;nbsp; But really I just want to get back to the original, our-of-the-box programming so i can start over.&amp;nbsp; Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jordan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 18:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-Unable-to-program-in-bootloader/m-p/393232#M21529</guid>
      <dc:creator>jordanlambert</dc:creator>
      <dc:date>2015-08-24T18:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z - Unable to program in bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-Unable-to-program-in-bootloader/m-p/393233#M21530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jordan,&lt;/P&gt;&lt;P&gt;I'd like to suggest you to refer to these thread as below which show detail information about usage of OpenSDA debug interface.&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/12/14/new-pe-opensda-firmware-v114/" title="http://mcuoneclipse.com/2013/12/14/new-pe-opensda-firmware-v114/"&gt;New P&amp;amp;E OpenSDA Firmware v114 | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/09/20/opensda-on-the-freedom-kl25z-board/" title="http://mcuoneclipse.com/2012/09/20/opensda-on-the-freedom-kl25z-board/"&gt;OpenSDA on the Freedom KL25Z Board | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&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, 25 Aug 2015 02:15:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-Unable-to-program-in-bootloader/m-p/393233#M21530</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2015-08-25T02:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z - Unable to program in bootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-Unable-to-program-in-bootloader/m-p/393234#M21531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank Ping!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had accutally found my problem when looking though MCU on Eclipse yesterday:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/09/02/the-freescale-opensda-trap-no-device-available-or-something-like-that/" title="http://mcuoneclipse.com/2013/09/02/the-freescale-opensda-trap-no-device-available-or-something-like-that/"&gt;The Freescale OpenSDA Trap: “No Device Available”, or something like that…. | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said above I was rushing and hadn't noticed that the folder shortcut I was using was sending me to a still-compressed folder and not the unzipped folder I was assuming.&amp;nbsp; Since the .SDA files weren't unpacked they kept failing to load to the bootloader.&amp;nbsp; Once I figured that out, I was good to go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the help though.&amp;nbsp; If I hadn't figured it out, those resources would have done it I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a good one,&lt;/P&gt;&lt;P&gt;Jordan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. Erich of &lt;A href="http://mcuoneclipse.com/" title="http://mcuoneclipse.com/"&gt;MCU on Eclipse | Everything on Eclipse, Microcontrollers and Software&lt;/A&gt;&amp;nbsp; has an awesome blog with a ton of good information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 14:28:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-Unable-to-program-in-bootloader/m-p/393234#M21531</guid>
      <dc:creator>jordanlambert</dc:creator>
      <dc:date>2015-08-25T14:28:18Z</dc:date>
    </item>
  </channel>
</rss>

