<?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のトピックHow to reduce Kinetis flash bootloader v2.0.0 code size</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-reduce-Kinetis-flash-bootloader-v2-0-0-code-size/m-p/671156#M375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We want to implement firmware update mechanism to our system which use the KL17Z.&lt;/P&gt;&lt;P&gt;We understand that the KL17Z integrated ROM bootloader, but we want to use our custom&amp;nbsp;protocol on the UART, then we cannot use it ROM bootloader.&lt;/P&gt;&lt;P&gt;NXP release below bootloader reference project.&lt;/P&gt;&lt;P&gt;-&amp;nbsp;Developer’s Serial Bootloader (REV 13)&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.nxp.com%2Fassets%2Fdocuments%2Fdata%2Fen%2Fapplication-notes%2FAN2295.pdf" rel="nofollow" target="_blank"&gt;http://cache.nxp.com/assets/documents/data/en/application-notes/AN2295.pdf&lt;/A&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt; color: #1f497d;"&gt;-&amp;nbsp;NXP_Kinetis_Bootloader_2.0.0 package&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;We checked code size, the &lt;SPAN&gt;Developer’s Serial Bootloader code side is about 1KB, but&amp;nbsp;NXP_Kinetis_Bootloader_2.0.0 package code size of KL25Z is about 16KB even if enable only UART.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P&gt;So, we cannot find out URL link address of the AN2295SW.zip now. But we had download AN2295SW.zip few years ago, then we can build it project and check code size.&lt;/P&gt;&lt;P&gt;Therefore we&amp;nbsp;think that it is better to use &lt;SPAN&gt;NXP_Kinetis_Bootloader_2.0.0 package&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;But it code size is very large.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is our questions.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;Does NXP recommend that use&amp;nbsp;NXP_Kinetis_Bootloader_2.0.0 package instead of &lt;SPAN&gt;Developer’s Serial Bootloader(AN2295SW)&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;2. Please advise how to reduce&amp;nbsp;&lt;SPAN&gt;NXP_Kinetis_Bootloader_2.0.0 package code size.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. If we can use&amp;nbsp;Developer’s Serial Bootloader(AN2295SW), please let us know URL link address of AN2295SW.zip.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please reply as soon as possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Takashima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jun 2017 06:11:10 GMT</pubDate>
    <dc:creator>isaotakashima</dc:creator>
    <dc:date>2017-06-23T06:11:10Z</dc:date>
    <item>
      <title>How to reduce Kinetis flash bootloader v2.0.0 code size</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-reduce-Kinetis-flash-bootloader-v2-0-0-code-size/m-p/671156#M375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We want to implement firmware update mechanism to our system which use the KL17Z.&lt;/P&gt;&lt;P&gt;We understand that the KL17Z integrated ROM bootloader, but we want to use our custom&amp;nbsp;protocol on the UART, then we cannot use it ROM bootloader.&lt;/P&gt;&lt;P&gt;NXP release below bootloader reference project.&lt;/P&gt;&lt;P&gt;-&amp;nbsp;Developer’s Serial Bootloader (REV 13)&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.nxp.com%2Fassets%2Fdocuments%2Fdata%2Fen%2Fapplication-notes%2FAN2295.pdf" rel="nofollow" target="_blank"&gt;http://cache.nxp.com/assets/documents/data/en/application-notes/AN2295.pdf&lt;/A&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10.0pt; color: #1f497d;"&gt;-&amp;nbsp;NXP_Kinetis_Bootloader_2.0.0 package&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;We checked code size, the &lt;SPAN&gt;Developer’s Serial Bootloader code side is about 1KB, but&amp;nbsp;NXP_Kinetis_Bootloader_2.0.0 package code size of KL25Z is about 16KB even if enable only UART.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P&gt;So, we cannot find out URL link address of the AN2295SW.zip now. But we had download AN2295SW.zip few years ago, then we can build it project and check code size.&lt;/P&gt;&lt;P&gt;Therefore we&amp;nbsp;think that it is better to use &lt;SPAN&gt;NXP_Kinetis_Bootloader_2.0.0 package&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;But it code size is very large.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is our questions.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;Does NXP recommend that use&amp;nbsp;NXP_Kinetis_Bootloader_2.0.0 package instead of &lt;SPAN&gt;Developer’s Serial Bootloader(AN2295SW)&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;2. Please advise how to reduce&amp;nbsp;&lt;SPAN&gt;NXP_Kinetis_Bootloader_2.0.0 package code size.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. If we can use&amp;nbsp;Developer’s Serial Bootloader(AN2295SW), please let us know URL link address of AN2295SW.zip.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please reply as soon as possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Takashima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 06:11:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/How-to-reduce-Kinetis-flash-bootloader-v2-0-0-code-size/m-p/671156#M375</guid>
      <dc:creator>isaotakashima</dc:creator>
      <dc:date>2017-06-23T06:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to reduce Kinetis flash bootloader v2.0.0 code size</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/How-to-reduce-Kinetis-flash-bootloader-v2-0-0-code-size/m-p/671157#M376</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;1. Does NXP recommend that use NXP_Kinetis_Bootloader_2.0.0 package instead of Developer’s Serial Bootloader(AN2295SW)?&lt;BR /&gt;TS: The Kinetis Bootloader with higher priority recommended bootloader software for Kinetis products, which supports more communication ports and bootloader examples for many Kinetis devices. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Please advise how to reduce NXP_Kinetis_Bootloader_2.0.0 package code size.&lt;BR /&gt;TS: I do a test with the KL25 [freedom_bootloader] &amp;lt;bootloader__config.h&amp;gt; file with below test result:&lt;BR /&gt;Support UART, I2C, SPI, USB HID and USB MSC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 29 048 bytes of readonly&amp;nbsp; code memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 2 504 bytes of readonly&amp;nbsp; data memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 8 199 bytes of readwrite data memory&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Only support UART module&lt;BR /&gt;&amp;nbsp; 13 286 bytes of readonly&amp;nbsp; code memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 838 bytes of readonly&amp;nbsp; data memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 5 100 bytes of readwrite data memory&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The AN2295 KL25 footprint is :&lt;BR /&gt;&amp;nbsp; 964 bytes of readonly&amp;nbsp; code memory&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 80 bytes of readonly&amp;nbsp; data memory&lt;BR /&gt;&amp;nbsp; 412 bytes of readwrite data memory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the bootloader code size, the AN2295SW shows advantage.&lt;BR /&gt;If customer consider most important factor of the serial bootloader is code footprint, the AN2295 should be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. If we can use Developer’s Serial Bootloader(AN2295SW), please let us know URL link address of AN2295SW.zip.&lt;BR /&gt;TS: The NXP website doesn't provide AN2295SW download, please check below thread to download the AN2295SW.&lt;BR /&gt;&lt;A class="jive-link-comment-small" href="https://community.nxp.com/thread/452717?commentID=911628#comment-911628"&gt;https://community.nxp.com/message/911628?commentID=911628#comment-911628&lt;/A&gt;&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>Tue, 04 Jul 2017 07:13:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/How-to-reduce-Kinetis-flash-bootloader-v2-0-0-code-size/m-p/671157#M376</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-07-04T07:13:35Z</dc:date>
    </item>
  </channel>
</rss>

