<?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 Re: How to change the UART used by kboot in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-change-the-UART-used-by-kboot/m-p/427121#M24665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The instance of the UART can be changed by modifying the .instance member in the g_peripherals[] table found on the peripherals_&amp;lt;device&amp;gt;.c file. Once the desired instance has been selected you need to tell the bootloader which pins to use for each peripheral, this is handled in the hardware_init_&amp;lt;device&amp;gt;.c file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2015 16:14:21 GMT</pubDate>
    <dc:creator>Carlos_Mendoza</dc:creator>
    <dc:date>2015-09-09T16:14:21Z</dc:date>
    <item>
      <title>How to change the UART used by kboot</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-change-the-UART-used-by-kboot/m-p/427119#M24663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="g-unit"&gt; &lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Hi, I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;am using&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;FRDM64K&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;KBOOTv12&lt;/SPAN&gt;.&lt;BR /&gt; &lt;SPAN class="hps"&gt;How&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I can&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;change the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;UART&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;used for&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;kboot&lt;/SPAN&gt;?&lt;BR /&gt; &lt;SPAN class="hps"&gt;I want to use&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;UART&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;3&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;PTC16&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;PTC17&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;pins.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;What&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to modify&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;it to work?&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;hardware_init_MK64F12.c&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 11:41:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-change-the-UART-used-by-kboot/m-p/427119#M24663</guid>
      <dc:creator>lalvarez</dc:creator>
      <dc:date>2015-09-04T11:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the UART used by kboot</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-change-the-UART-used-by-kboot/m-p/427120#M24664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of difficulties the uTasker serial loader, with KBOOT compatible UART, can be used with any UARTs and mux-settings. To set the KBOOT UART to UART3 and the pins PTC16 and PTC17 the following two settings can be used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;#define LOADER_UART&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;#define UART3_ON_C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;// alternative UART3 pin mapping&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I see in the Kboot source, UART 0 and 1 are supported (based on TWR and FRDM boards) but the others are not.&lt;/P&gt;&lt;P&gt;I think that you will need to extend uart_pinmux_config() and adjust the UART instance used - however I am not sure how this is best done and there may be some complications due to the fact that UART 3 is clocked differently from UARTs 0 and 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;K64: &lt;A href="http://www.utasker.com/kinetis/FRDM-K64F.html" title="http://www.utasker.com/kinetis/FRDM-K64F.html"&gt;µTasker Kinetis FRDM-K64F support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/TWR-K64F120M.html" title="http://www.utasker.com/kinetis/TWR-K64F120M.html"&gt;µTasker Kinetis TWR-K64F120M support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/TWR-K65F180M.html" title="http://www.utasker.com/kinetis/TWR-K65F180M.html"&gt;µTasker Kinetis TWR-K65F180M support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 23:04:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-change-the-UART-used-by-kboot/m-p/427120#M24664</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-09-04T23:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the UART used by kboot</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-change-the-UART-used-by-kboot/m-p/427121#M24665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The instance of the UART can be changed by modifying the .instance member in the g_peripherals[] table found on the peripherals_&amp;lt;device&amp;gt;.c file. Once the desired instance has been selected you need to tell the bootloader which pins to use for each peripheral, this is handled in the hardware_init_&amp;lt;device&amp;gt;.c file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 16:14:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-change-the-UART-used-by-kboot/m-p/427121#M24665</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-09-09T16:14:21Z</dc:date>
    </item>
  </channel>
</rss>

