<?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-kl25 opensda in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl25-opensda/m-p/661749#M40628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using cw 10.7 with frdm-kl25z. I have changed kinetis_sysinit adding some handlers (i2c, uart).&lt;/P&gt;&lt;P&gt;I have no more original bootloader but I'm using&amp;nbsp; DEBUG-APP_Pemicro_v108.SDA and MSD-FRDM-KL46Z48M_Pemicro_v112.SDA. I build my srec flash image file. When I use cw with debug command&lt;/P&gt;&lt;P&gt;from tool bar my application is ok, but if i copy with drag and drop my hex file &amp;nbsp; on msd and then i switch&amp;nbsp; off and switch on frdm board my hex is not ok. I suppose that bootloader in opensda micro jumps on main of my application skipping kinetis_sysinit and my handler functions. If i run my application inside cw then debugger goes in reset status and runs&lt;/P&gt;&lt;P&gt;kinetis_sysinit. if i use original bootloader ( arriving with a new board) and i copy srec file on msd&amp;nbsp; when i switch off and switch on the freedom board then my application runs correctly "as if" original bootloader jumps on kinetis_sysyinit&amp;nbsp; running my handler. My question: how can i run my hex file without cw debug ? have i to use original bootloader ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2017 22:24:21 GMT</pubDate>
    <dc:creator>protagora27prot</dc:creator>
    <dc:date>2017-02-01T22:24:21Z</dc:date>
    <item>
      <title>frdm-kl25 opensda</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl25-opensda/m-p/661749#M40628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using cw 10.7 with frdm-kl25z. I have changed kinetis_sysinit adding some handlers (i2c, uart).&lt;/P&gt;&lt;P&gt;I have no more original bootloader but I'm using&amp;nbsp; DEBUG-APP_Pemicro_v108.SDA and MSD-FRDM-KL46Z48M_Pemicro_v112.SDA. I build my srec flash image file. When I use cw with debug command&lt;/P&gt;&lt;P&gt;from tool bar my application is ok, but if i copy with drag and drop my hex file &amp;nbsp; on msd and then i switch&amp;nbsp; off and switch on frdm board my hex is not ok. I suppose that bootloader in opensda micro jumps on main of my application skipping kinetis_sysinit and my handler functions. If i run my application inside cw then debugger goes in reset status and runs&lt;/P&gt;&lt;P&gt;kinetis_sysinit. if i use original bootloader ( arriving with a new board) and i copy srec file on msd&amp;nbsp; when i switch off and switch on the freedom board then my application runs correctly "as if" original bootloader jumps on kinetis_sysyinit&amp;nbsp; running my handler. My question: how can i run my hex file without cw debug ? have i to use original bootloader ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 22:24:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl25-opensda/m-p/661749#M40628</guid>
      <dc:creator>protagora27prot</dc:creator>
      <dc:date>2017-02-01T22:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: frdm-kl25 opensda</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl25-opensda/m-p/661750#M40629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi protagora27,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you want to download the hex file to the FRDM-KL25 board, you can use the JLINK firmware.&lt;/P&gt;&lt;P&gt;&amp;nbsp;1. Please download firmware file"12_OpenSDA_FRDM-KL25Z.bin" from this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.segger.com/downloads/jlink/12_OpenSDA_FRDM-KL25Z.bin" title="https://www.segger.com/downloads/jlink/12_OpenSDA_FRDM-KL25Z.bin"&gt;SEGGER - The Embedded Experts - Downloads&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Install the Segger driver, you can download the driver from this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.segger.com/downloads/jlink/JLink_Windows_V612i.exe" title="https://www.segger.com/downloads/jlink/JLink_Windows_V612i.exe"&gt;SEGGER - The Embedded Experts - Downloads&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;install it in your PC at first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. change the FRDM-KL25 board debug firmware to JLINK&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1) unplug the board&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2) press the reset button on the board, and hold on it, at the same time, plug your board to the PC, you will find your board is a device named as "BOOTLOADER"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then release the reset button&lt;/P&gt;&lt;P&gt;&amp;nbsp;3) Send "12_OpenSDA_FRDM-KL25Z.bin"&amp;nbsp; to the "BOOTLOADER"&lt;/P&gt;&lt;P&gt;&amp;nbsp;4) unplug the chip then plug it again.&lt;/P&gt;&lt;P&gt;&amp;nbsp; You will find your board is a device named as "FRDM-KL25ZJ"&lt;/P&gt;&lt;P&gt;4. Open the JLINK command in the JLINK driver&lt;/P&gt;&lt;P&gt;&amp;nbsp;Before you download the hex file, you can use the JLINK command, and input: unlock kinetis&lt;/P&gt;&lt;P&gt;Just to mass erase the chip at first.&lt;/P&gt;&lt;P&gt;5. Send the hex file to the "FRDM-KL25ZJ",&amp;nbsp; power off and power on again.&lt;/P&gt;&lt;P&gt;&amp;nbsp; The hex app will run.&lt;/P&gt;&lt;P&gt;I have check it on my FRDM-KL25, it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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, 06 Feb 2017 06:21:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/frdm-kl25-opensda/m-p/661750#M40629</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-02-06T06:21:12Z</dc:date>
    </item>
  </channel>
</rss>

