<?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中的主题 Kinetis Bootloader for K22FX</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-for-K22FX/m-p/451683#M26804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Freescale Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to make the kinetis bootloader work on MK22FX512VLL12 using the USB HID interface. &lt;/P&gt;&lt;P&gt;The reference target that I used is MK22F51212 from the kinetis bootloader project. I have tested the reference project on FRDM-K22 (has &lt;SPAN style="color: #51626f; font-family: arial, sans-serif;"&gt;MK22FN512VLH12&amp;nbsp; MCU&lt;/SPAN&gt;)&amp;nbsp; and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to make the project work on my MCU (MK22FX512VLL12) first thing I did was configuring the system clock to work on external reference clock (This MCU don't have internal IRC48). The clock configuration is PEE (PLL Engaged External) working with an 8 MHz crystal. The MCG is set to give 48 MHz (I saw that the USB module needs this freq). MCGPLLCLK is also enabled.&lt;/P&gt;&lt;P&gt;I also changed the header file (MK22F51212.h) to add support for the FTFE flash controller (the default is FTFA flash controller).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is that USB communication is not working and I can't figure why. The windows tells that there is an Unknown Device. The product id and vendor id are also unknown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've put some breakpoints in the USB IRQ (_usb_dev_khci_isr) and the following intrerrupts are issued:&lt;/P&gt;&lt;P&gt;-INTR_USBRST;&lt;/P&gt;&lt;P&gt;-INTR_SOFTOK;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated,&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2015 08:59:33 GMT</pubDate>
    <dc:creator>cipriananton</dc:creator>
    <dc:date>2015-09-15T08:59:33Z</dc:date>
    <item>
      <title>Kinetis Bootloader for K22FX</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-for-K22FX/m-p/451683#M26804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Freescale Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to make the kinetis bootloader work on MK22FX512VLL12 using the USB HID interface. &lt;/P&gt;&lt;P&gt;The reference target that I used is MK22F51212 from the kinetis bootloader project. I have tested the reference project on FRDM-K22 (has &lt;SPAN style="color: #51626f; font-family: arial, sans-serif;"&gt;MK22FN512VLH12&amp;nbsp; MCU&lt;/SPAN&gt;)&amp;nbsp; and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to make the project work on my MCU (MK22FX512VLL12) first thing I did was configuring the system clock to work on external reference clock (This MCU don't have internal IRC48). The clock configuration is PEE (PLL Engaged External) working with an 8 MHz crystal. The MCG is set to give 48 MHz (I saw that the USB module needs this freq). MCGPLLCLK is also enabled.&lt;/P&gt;&lt;P&gt;I also changed the header file (MK22F51212.h) to add support for the FTFE flash controller (the default is FTFA flash controller).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is that USB communication is not working and I can't figure why. The windows tells that there is an Unknown Device. The product id and vendor id are also unknown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've put some breakpoints in the USB IRQ (_usb_dev_khci_isr) and the following intrerrupts are issued:&lt;/P&gt;&lt;P&gt;-INTR_USBRST;&lt;/P&gt;&lt;P&gt;-INTR_SOFTOK;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated,&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 08:59:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-for-K22FX/m-p/451683#M26804</guid>
      <dc:creator>cipriananton</dc:creator>
      <dc:date>2015-09-15T08:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader for K22FX</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-for-K22FX/m-p/451684#M26805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem was solved by porting the MK64F12 bootloader instead of MK22F51212. Usb works ok, the application program is flashed. One problem remained, the bootloader can't jump to application section.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 05:30:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-for-K22FX/m-p/451684#M26805</guid>
      <dc:creator>cipriananton</dc:creator>
      <dc:date>2015-09-17T05:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader for K22FX</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-for-K22FX/m-p/451685#M26806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem with the jump to application solved, the code didn't reach the jump_to_application function. This thread can be closed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 07:42:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-for-K22FX/m-p/451685#M26806</guid>
      <dc:creator>cipriananton</dc:creator>
      <dc:date>2015-09-17T07:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis Bootloader for K22FX</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-for-K22FX/m-p/451686#M26807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ciprian Anton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what kind of changes did you have to do to port the bootloader from the MK64F12 to the K22FX, could you gave me some guidance please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the Reference Manual there are some &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;header files of the K22FX that I should use, but I don't find them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 19:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-Bootloader-for-K22FX/m-p/451686#M26807</guid>
      <dc:creator>ernestolopez</dc:creator>
      <dc:date>2015-11-06T19:32:15Z</dc:date>
    </item>
  </channel>
</rss>

