<?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>MCU BootloaderのトピックRe: Porting KBOOT v2.0.0 to K40</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Porting-KBOOT-v2-0-0-to-K40/m-p/683890#M397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to create a serial bootloader for &lt;STRONG style="border: 0px; font-weight: bold;"&gt;MK40DX256VLQ10&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;If yes, I would recommend to refer application note &lt;A href="http://www.nxp.com/docs/en/application-note/AN2295.pdf"&gt;AN2295&lt;/A&gt; and related software to port to &lt;STRONG style="border: 0px; font-weight: bold;"&gt;MK40DX256VLQ10&lt;/STRONG&gt; chip.&lt;/P&gt;&lt;P&gt;The AN2295 software could be downloaded from below link:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/911628?commentID=911628#comment-911628" title="https://community.nxp.com/message/911628?commentID=911628#comment-911628"&gt;https://community.nxp.com/message/911628?commentID=911628#comment-911628&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Customer could using Kinetis 100MHz target to start the porting work.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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>Thu, 06 Jul 2017 06:41:50 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2017-07-06T06:41:50Z</dc:date>
    <item>
      <title>Porting KBOOT v2.0.0 to K40</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Porting-KBOOT-v2-0-0-to-K40/m-p/683889#M396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hello,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I've been trying to port the KBOOT v2.0.0 for the device&amp;nbsp;&lt;STRONG style="border: 0px; font-weight: bold;"&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 style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;1)&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&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 style="border: 0px; font-weight: bold;"&gt;MKV31F25612.&amp;nbsp;&lt;/STRONG&gt;Which MCU is the best option to port KBOOT to K40?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;2)&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Where can I find the CMSIS-compatible packages? Should I get them from:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;Freescale\KDS_v3\eclipse\ProcessorExpert\Config\PE\CPE\wizard_data\wizards\kds&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;or&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;C:\Freescale\KSDK_1.3.0\platform\devices&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;or download an SDK from&amp;nbsp;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuxpresso.nxp.com%2Fen%2Fwelcome" rel="nofollow" style="color: #5e89c1; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;Welcome to MCUXpresso | MCUXpresso Config Tools&lt;/A&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;3)&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;I'm trying to use UART5 instead of UART0, according to the reference manual I need to change the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="border: 0px; font-weight: inherit;"&gt;.instance&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;number&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="border: 0px; font-weight: inherit;"&gt;in peripherals_&amp;lt;device&amp;gt;.c&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&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 style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I'm using KDS and Jlink.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I'm getting the following error in KinetisFlashTool:&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;Error: Connect device failed(Error: Initial ping failure: No response received for ping command.).&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&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 style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 18:26:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Porting-KBOOT-v2-0-0-to-K40/m-p/683889#M396</guid>
      <dc:creator>cynthiabriones</dc:creator>
      <dc:date>2017-07-04T18:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Porting KBOOT v2.0.0 to K40</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Porting-KBOOT-v2-0-0-to-K40/m-p/683890#M397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to create a serial bootloader for &lt;STRONG style="border: 0px; font-weight: bold;"&gt;MK40DX256VLQ10&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;If yes, I would recommend to refer application note &lt;A href="http://www.nxp.com/docs/en/application-note/AN2295.pdf"&gt;AN2295&lt;/A&gt; and related software to port to &lt;STRONG style="border: 0px; font-weight: bold;"&gt;MK40DX256VLQ10&lt;/STRONG&gt; chip.&lt;/P&gt;&lt;P&gt;The AN2295 software could be downloaded from below link:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/911628?commentID=911628#comment-911628" title="https://community.nxp.com/message/911628?commentID=911628#comment-911628"&gt;https://community.nxp.com/message/911628?commentID=911628#comment-911628&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Customer could using Kinetis 100MHz target to start the porting work.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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>Thu, 06 Jul 2017 06:41:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Porting-KBOOT-v2-0-0-to-K40/m-p/683890#M397</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-07-06T06:41:50Z</dc:date>
    </item>
  </channel>
</rss>

