<?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: KL27 32-PIN UART ROM UPDATE - What pins are mapped? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL27-32-PIN-UART-ROM-UPDATE-What-pins-are-mapped/m-p/505429#M31711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Donald Russ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KL27 have the UART ROM bootloader, so you don't need to use the flash bootloader which like the KL25.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please refer to the &lt;A href="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/kinetis-cortex-m-mcus/kinetis-symbols-footprints-and-models/kinetis-bootloader:KBOOT?code=KBOOT&amp;amp;nodeId=0150522FC898C93521&amp;amp;uc=true&amp;amp;lang_cd=en"&gt;KBOOT 1.2.0&lt;/A&gt;​&amp;nbsp; document Getting Started with the Kinetis ROM Bootloader.pdf, which you can find in the folder:FSL_Kinetis_Bootloader_1_2_0\FSL_Kinetis_Bootloader_1_2_0\doc&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can find the UART pins in the &lt;A href="http://cache.nxp.com/files/32bit/doc/ref_manual/KL27P64M48SF6RM.pdf?fpsp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;KL27 reference manua&lt;/A&gt;l, chapter 13, kinetis ROM bootloader.&lt;/P&gt;&lt;P&gt;&amp;nbsp; KL27 is using PTA1, and PTA2 as the UART bootloader pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can try to use the blhost.exe in folder :FSL_Kinetis_Bootloader_1_2_0\FSL_Kinetis_Bootloader_1_2_0\bin\win&lt;/P&gt;&lt;P&gt;&amp;nbsp; This can download the application code to the KL27, the following is the successful download picture from my FRDM-KL27:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56290iDDAAB32287759F6C/image-size/large?v=v2&amp;amp;px=999" title="25.jpg" alt="25.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question, please contact me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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>Fri, 04 Mar 2016 07:36:35 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2016-03-04T07:36:35Z</dc:date>
    <item>
      <title>KL27 32-PIN UART ROM UPDATE - What pins are mapped?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL27-32-PIN-UART-ROM-UPDATE-What-pins-are-mapped/m-p/505428#M31710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have inherited a KL25Z design and I am looking into using the KL27 ROM part instead to make it so that we can download and update inside the product.&amp;nbsp; In looking through the 32 Pin version I see the UART0 can be brought out on many pins.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How do I find which UART pins the ROM boot loader initializes to?&lt;/LI&gt;&lt;LI&gt;Is there source code for the ROM or is the KL25Z bootloader source the same thing?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have tried to get the FRDM-KL27Z to talk to the KinetisUpdater by holding down the NMI while resetting with no luck. From the KL25Z Bootloader 1.2.0 source below it appears as if the incorrect pins for ROM boot were selected in designing the FRDM-KL27Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#ifdef FREEDOM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define UART0_RX_GPIO_PIN_NUM 1&amp;nbsp; // PIN 1 in the PTA group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define UART0_RX_ALT_MODE 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // ALT mode for UART0 functionality for pin 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define UART0_RX_GPIO_ALT_MODE 1 // ALT mode for GPIO functionality for pin 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define UART0_TX_GPIO_PIN_NUM 2&amp;nbsp; // PIN 2 in the PTA group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define UART0_TX_ALT_MODE 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // ALT mode for UART0 TX functionality for pin 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#else&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define UART0_RX_GPIO_PIN_NUM 15 // PIN 15 in the PTA group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define UART0_RX_ALT_MODE 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // ALT mode for UART0 functionality for pin 15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define UART0_RX_GPIO_ALT_MODE 1 // ALT mdoe for GPIO functionality for pin 15&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define UART0_TX_GPIO_PIN_NUM 14 // PIN 14 in the PTA group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define UART0_TX_ALT_MODE 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // ALT mode for UART0 TX functionality for pin 14&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#endif&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define PORT_IRQC_INTERRUPT_FALLING_EDGE 0xA&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define PORT_IRQC_INTERRUPT_DISABLE 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define BOOT_PIN_NUMBER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define BOOT_PIN_PORT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORTC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define BOOT_PIN_GPIO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PTC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define BOOT_PIN_ALT_MODE&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 10pt;"&gt;#define BOOT_PIN_DEBOUNCE_READ_COUNT 500&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 21:12:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL27-32-PIN-UART-ROM-UPDATE-What-pins-are-mapped/m-p/505428#M31710</guid>
      <dc:creator>donaldruss</dc:creator>
      <dc:date>2016-03-03T21:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: KL27 32-PIN UART ROM UPDATE - What pins are mapped?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL27-32-PIN-UART-ROM-UPDATE-What-pins-are-mapped/m-p/505429#M31711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Donald Russ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KL27 have the UART ROM bootloader, so you don't need to use the flash bootloader which like the KL25.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please refer to the &lt;A href="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/kinetis-cortex-m-mcus/kinetis-symbols-footprints-and-models/kinetis-bootloader:KBOOT?code=KBOOT&amp;amp;nodeId=0150522FC898C93521&amp;amp;uc=true&amp;amp;lang_cd=en"&gt;KBOOT 1.2.0&lt;/A&gt;​&amp;nbsp; document Getting Started with the Kinetis ROM Bootloader.pdf, which you can find in the folder:FSL_Kinetis_Bootloader_1_2_0\FSL_Kinetis_Bootloader_1_2_0\doc&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can find the UART pins in the &lt;A href="http://cache.nxp.com/files/32bit/doc/ref_manual/KL27P64M48SF6RM.pdf?fpsp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;KL27 reference manua&lt;/A&gt;l, chapter 13, kinetis ROM bootloader.&lt;/P&gt;&lt;P&gt;&amp;nbsp; KL27 is using PTA1, and PTA2 as the UART bootloader pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can try to use the blhost.exe in folder :FSL_Kinetis_Bootloader_1_2_0\FSL_Kinetis_Bootloader_1_2_0\bin\win&lt;/P&gt;&lt;P&gt;&amp;nbsp; This can download the application code to the KL27, the following is the successful download picture from my FRDM-KL27:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56290iDDAAB32287759F6C/image-size/large?v=v2&amp;amp;px=999" title="25.jpg" alt="25.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question, please contact me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&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>Fri, 04 Mar 2016 07:36:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL27-32-PIN-UART-ROM-UPDATE-What-pins-are-mapped/m-p/505429#M31711</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-04T07:36:35Z</dc:date>
    </item>
  </channel>
</rss>

