<?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 Porting KBOOT v2 for K40 in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Porting-KBOOT-v2-for-K40/m-p/681835#M388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to port the KBOOT v2.0.0 for the device&amp;nbsp;&lt;STRONG&gt;MK40DX256VLQ10&lt;/STRONG&gt;, I followed the steps in the Kinetis Bootloader v2.0.0 reference manual&amp;nbsp;and I'm still not able to successfully port the bootloader, I would really appreciate it if you can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt; What criteria should I follow in order to find the closest match to K40, should I try to find one that has the same flash, SRAM, or uart interfaces? that is still unlcear to me. The one I used was&amp;nbsp;&lt;STRONG&gt;MKV31F25612.&amp;nbsp;&lt;/STRONG&gt;Which MCU is the best option to port KBOOT to K40?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt; Where can I find the CMSIS-compatible packages? Should I get them from:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Freescale\KDS_v3\eclipse\ProcessorExpert\Config\PE\CPE\wizard_data\wizards\kds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;C:\Freescale\KSDK_1.3.0\platform\devices&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or download an SDK from&amp;nbsp;&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;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3)&lt;/STRONG&gt; I'm trying to use UART5 instead of UART0, according to the reference manual I need to change the &lt;EM&gt;.instance&lt;/EM&gt; number &lt;EM&gt;in peripherals_&amp;lt;device&amp;gt;.c&lt;/EM&gt; in order to use another UART peripheral and then change the pins to be used in peripherals_pinmux.h. Is that all I need to do in order to use UART5 instead of the UART0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using KDS and Jlink.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting the following error in KinetisFlashTool:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error: Connect device failed(Error: Initial ping failure: No response received for ping command.).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the UART interface with a simple UART driver I made and&amp;nbsp;I can successfully communicate to the PC using UART5. However when I try to use KBOOT the communication is not successfull, I think this might be because the UART peripheral is not being initialized correctly or because the reference MCU&amp;nbsp;I chose is not the best option. I hope you can help me with this issue so that I can port the KBOOT v2.0.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jul 2017 17:19:18 GMT</pubDate>
    <dc:creator>cynthiabriones</dc:creator>
    <dc:date>2017-07-03T17:19:18Z</dc:date>
    <item>
      <title>Porting KBOOT v2 for K40</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Porting-KBOOT-v2-for-K40/m-p/681835#M388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to port the KBOOT v2.0.0 for the device&amp;nbsp;&lt;STRONG&gt;MK40DX256VLQ10&lt;/STRONG&gt;, I followed the steps in the Kinetis Bootloader v2.0.0 reference manual&amp;nbsp;and I'm still not able to successfully port the bootloader, I would really appreciate it if you can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt; What criteria should I follow in order to find the closest match to K40, should I try to find one that has the same flash, SRAM, or uart interfaces? that is still unlcear to me. The one I used was&amp;nbsp;&lt;STRONG&gt;MKV31F25612.&amp;nbsp;&lt;/STRONG&gt;Which MCU is the best option to port KBOOT to K40?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt; Where can I find the CMSIS-compatible packages? Should I get them from:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Freescale\KDS_v3\eclipse\ProcessorExpert\Config\PE\CPE\wizard_data\wizards\kds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;C:\Freescale\KSDK_1.3.0\platform\devices&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or download an SDK from&amp;nbsp;&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;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3)&lt;/STRONG&gt; I'm trying to use UART5 instead of UART0, according to the reference manual I need to change the &lt;EM&gt;.instance&lt;/EM&gt; number &lt;EM&gt;in peripherals_&amp;lt;device&amp;gt;.c&lt;/EM&gt; in order to use another UART peripheral and then change the pins to be used in peripherals_pinmux.h. Is that all I need to do in order to use UART5 instead of the UART0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using KDS and Jlink.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting the following error in KinetisFlashTool:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error: Connect device failed(Error: Initial ping failure: No response received for ping command.).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the UART interface with a simple UART driver I made and&amp;nbsp;I can successfully communicate to the PC using UART5. However when I try to use KBOOT the communication is not successfull, I think this might be because the UART peripheral is not being initialized correctly or because the reference MCU&amp;nbsp;I chose is not the best option. I hope you can help me with this issue so that I can port the KBOOT v2.0.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 17:19:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Porting-KBOOT-v2-for-K40/m-p/681835#M388</guid>
      <dc:creator>cynthiabriones</dc:creator>
      <dc:date>2017-07-03T17:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Porting KBOOT v2 for K40</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Porting-KBOOT-v2-for-K40/m-p/681836#M389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please refer to&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/920577"&gt;https://community.nxp.com/message/920577&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 09:25:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Porting-KBOOT-v2-for-K40/m-p/681836#M389</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2017-07-14T09:25:07Z</dc:date>
    </item>
  </channel>
</rss>

