<?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>Kinetis MicrocontrollersのトピックRe: Firmware_upgrade_from one kinetis to other.</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458281#M27360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for looking into this.&lt;/P&gt;&lt;P&gt;Both MCU&amp;nbsp; not having the same application.&lt;/P&gt;&lt;P&gt;Below will be the sequence to upgrade firmware.&lt;/P&gt;&lt;P&gt;1-) First Host will send command to&amp;nbsp; MCU2(KL26)&amp;nbsp; for upgrade firmware and upgrade it. &lt;/P&gt;&lt;P&gt;2-) Then Host will send another command via MCU2(KL26) to upgrade firmware for&amp;nbsp; MCU1(KL25) and it is not compulsory to upgrade every time but some time needed.&lt;/P&gt;&lt;P&gt;Its bit urgent for me and let me know if more inputs required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2015 02:48:46 GMT</pubDate>
    <dc:creator>sunilkumar_sing</dc:creator>
    <dc:date>2015-08-26T02:48:46Z</dc:date>
    <item>
      <title>Firmware_upgrade_from one kinetis to other.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458279#M27358</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;&lt;/P&gt;&lt;P&gt;I am using two mcu in my project and need to upgrade firmware of both mcu via host application.&lt;/P&gt;&lt;P&gt;I am searching the feasibility and option to upgrade firmware of both mcu.&lt;/P&gt;&lt;P&gt;Below is the reference diagram :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/53604i0083D9F3DF39079D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please suggest!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Aug 2015 12:17:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458279#M27358</guid>
      <dc:creator>sunilkumar_sing</dc:creator>
      <dc:date>2015-08-22T12:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Firmware_upgrade_from one kinetis to other.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458280#M27359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunil Singh:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell us more about that configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the intended application?&lt;/P&gt;&lt;P&gt;Will both MCUs have the same application firmware (clones) after the upgrade? Like some kind of programming chain.&lt;/P&gt;&lt;P&gt;What is the intended sequence for the upgrade (e.g. MCU-2 is programmed first followed by MCU-2 sending commands to MCU-1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 00:36:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458280#M27359</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-08-26T00:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Firmware_upgrade_from one kinetis to other.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458281#M27360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for looking into this.&lt;/P&gt;&lt;P&gt;Both MCU&amp;nbsp; not having the same application.&lt;/P&gt;&lt;P&gt;Below will be the sequence to upgrade firmware.&lt;/P&gt;&lt;P&gt;1-) First Host will send command to&amp;nbsp; MCU2(KL26)&amp;nbsp; for upgrade firmware and upgrade it. &lt;/P&gt;&lt;P&gt;2-) Then Host will send another command via MCU2(KL26) to upgrade firmware for&amp;nbsp; MCU1(KL25) and it is not compulsory to upgrade every time but some time needed.&lt;/P&gt;&lt;P&gt;Its bit urgent for me and let me know if more inputs required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 02:48:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458281#M27360</guid>
      <dc:creator>sunilkumar_sing</dc:creator>
      <dc:date>2015-08-26T02:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Firmware_upgrade_from one kinetis to other.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458282#M27361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- For the first case (upgrading MCU2), there is &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KBOOT&amp;amp;tid=vanKBOOT"&gt;&lt;STRONG&gt;KBOOT&lt;/STRONG&gt;&lt;/A&gt; solution. You can take the Flash resident bootloader to upgrade the MCU with commands from the PC.&lt;/P&gt;&lt;P&gt;- In the second case (upgrading MCU1) you need some kind of bridge firmware. Unfortunately we not have such implementation. Maybe the closest reference are the BusPal projects in the same KBOOT installation. The BusPal acts as an interface between the host PC with a UART connection and a different bus in the target MCU (I2C, SPI or CAN). See below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52996iC3016EC7688642A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could take that project as reference (FSL_Kinetis_Bootloader_1_2_0\apps\bus_pal), but it may not be easy to adapt it to your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 16:23:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458282#M27361</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-08-26T16:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Firmware_upgrade_from one kinetis to other.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458283#M27362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jorge,&lt;/P&gt;&lt;P&gt;I am also working in the same project with sunil.&lt;/P&gt;&lt;P&gt;I have another question about the bootloader.&lt;/P&gt;&lt;P&gt;my question is,&lt;/P&gt;&lt;P&gt;how can i jump to bootloader code from my application at run time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ronak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 10:16:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458283#M27362</guid>
      <dc:creator>ronakpanchal</dc:creator>
      <dc:date>2015-08-27T10:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Firmware_upgrade_from one kinetis to other.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458284#M27363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ronak Panchal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typicaly you can do that with a function pointer (C code) or by writing directly to PC and SP registers (assembly code). See the examples in this &lt;A _jive_internal="true" href="https://community.nxp.com/thread/366542" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;STRONG&gt;discussion&lt;/STRONG&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your bootloader uses the default vector table at flash address 0x0, then you can take the bootloader's entry point from address 0x4.&lt;/P&gt;&lt;P&gt;See below an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14407141284715886" data-renderedposition="155.4499969482422_8_1050_80" jivemacro_uid="_14407141284715886" modifiedtitle="true"&gt;&lt;P&gt;#define BL_VECTORS&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0&lt;/P&gt;&lt;P&gt;uint32_t run_bootloader;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;run_bootloader = ((uint32_t*)BL_VECTORS)[1];&lt;/P&gt;&lt;P&gt;((void(*)(void))run_bootloader)();&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 22:24:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458284#M27363</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-08-27T22:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Firmware_upgrade_from one kinetis to other.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458285#M27364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="ms-font-color-neutralDark ms-font-weight-regular rpHighlightAllClass _rp_l4 rpHighlightBodyClass"&gt;&lt;DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN dir="ltr"&gt;&lt;SPAN dir="ltr"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV style="background-color: white;"&gt;&lt;DIV&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: Calibri,Arial,Helvetica,sans-serif;"&gt;Thanks for your response.!&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added code snippet in my application.&lt;/P&gt;&lt;P&gt;My application is of led blinking and after blinking LED for more than 10 times it jumps to the bootloader code.&lt;/P&gt;&lt;P&gt;Below are the testing scenario:&lt;/P&gt;&lt;P&gt;Using Kinetis updater, I uploaded led blinking application.&lt;/P&gt;&lt;P&gt;After successfully firmware upgradation it disconnect from the kinetis updater utility and start blinking LED as expected.&lt;/P&gt;&lt;P&gt;After blinking more than 10 times it stops blinking and device again connected to the kinetis updater utility as expected and seems application jumps to the bootloader successfully.&lt;/P&gt;&lt;P&gt;Please confirm this scenario is correct or not ?&lt;/P&gt;&lt;P&gt;Is there any other method to verify?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have tested it in two scenario:&lt;/P&gt;&lt;P style="text-indent: -18pt;"&gt;1-&lt;SPAN style="font-size: 7pt; font-family: Times New Roman;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;With Kinestis updater utility some times it doesn't re-connect with the utility.&lt;/P&gt;&lt;P style="text-indent: -18pt;"&gt;2-&lt;SPAN style="font-size: 7pt; font-family: Times New Roman;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Application is not running every time after jump to the bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be available for the call&amp;nbsp; on early next week&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ronak Panchal&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 10:40:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Firmware-upgrade-from-one-kinetis-to-other/m-p/458285#M27364</guid>
      <dc:creator>ronakpanchal</dc:creator>
      <dc:date>2015-08-28T10:40:51Z</dc:date>
    </item>
  </channel>
</rss>

