<?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: K22PM121x Flashloader in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343952#M16729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the feedback. Since at this time you don't know the cause exactly, I should probably expect that behavior on a board of our design as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jan 2015 12:53:35 GMT</pubDate>
    <dc:creator>brunopaillard</dc:creator>
    <dc:date>2015-01-27T12:53:35Z</dc:date>
    <item>
      <title>K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343922#M16699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to install the Kinetis Flashloader into the MK22P121Mxx microcontroller (on the FRDM K22F board) so that it behaves like a production device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to work on production tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 11:30:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343922#M16699</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2014-10-22T11:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343923#M16700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you mean the Kinetis Bootloader? (&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KBOOT&amp;amp;fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KBOOT&amp;amp;fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;Kinetis Bootloader|Freescale&lt;/A&gt;). This software is intended to enable kinetis devices for self-programming and you can download the source code from the web page. Right now it supports Kinetis K64F12, but as I mentioned, the source code is available and you can modify it to make it work with the K22.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 17:47:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343923#M16700</guid>
      <dc:creator>santiago_lopez</dc:creator>
      <dc:date>2014-10-22T17:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343924#M16701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santiago&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an executable image that would work exactly the same as the one that is in the factory device? This way I could be sure to test my production tools exactly as they would work on a factory device, and not worry about possible problems that would come from wrong project settings and the like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 18:27:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343924#M16701</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2014-10-22T18:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343925#M16702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean the firmware loaded in the auxiliary Kinetis K20 that works as debugger and bootloader for the freedom board?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 21:01:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343925#M16702</guid>
      <dc:creator>santiago_lopez</dc:creator>
      <dc:date>2014-10-23T21:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343926#M16703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santiago&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, I mean the FlashLoader, that is present in all factory MK22P121Mxx microcontrollers (discussed in Ch 13 of K22P121M120SF7RM.pdf), and that can be used to initially load firmware in a freshly assembled board based on that MCU (using the MCU's own USB connection for instance).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 21:12:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343926#M16703</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2014-10-23T21:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343927#M16704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that these parts are presently shipping with the loader pre-installed? It is essentially the KBOOT loader but the present version (FSL_Kinetis_Bootloader_1_0_2) doesn't support the full set of interfaces listed there and also doesn't include a K22 target.&lt;/P&gt;&lt;P&gt;It is possible that there is a not-yet released version that generates a binary that is being installed - if the binary exists but is not made available you can order a chip and then do a memory dump so that you have a copy of it.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 21:53:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343927#M16704</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-10-23T21:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343928#M16705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no way to be sure. I can only go with what the documentation (K22P121M120SF7RM.pdf) indicates. All I have in my hands right now is the FRDM K22F board, in which, of course, the MCU has been reprogrammed with the out-of-the-box examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This being said, the documentation is clear, so I would expect a factory MCU to have the Kinetis FlashLoader programmed in Flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 22:24:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343928#M16705</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2014-10-23T22:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343929#M16706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bruno:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct, K22FN512 devices as the one in FRDM-K22F should come from the factory with a Flashloader. I do not see the binary available to recreate the Flashloader, but a major release of &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; is coming tentatively in December and it might come with the source files and the binary for the flash loader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this Flashloader is a one-shot firmware and it gets erased after the first programming, leaving the MCU in the same state as the one you have in FRDM-K22F, so I do not see any settings to worry about regarding the production tools.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!,&lt;BR /&gt;Jorge Gonzalez&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, 28 Oct 2014 01:33:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343929#M16706</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-10-28T01:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343930#M16707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jorge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will keep an eye out for it.&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;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 16:33:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343930#M16707</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2014-10-28T16:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343931#M16708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jorge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am interested in the K22 pre-loaded version due to the fact that the KBOOT loader generally assumes a certain clock (oscillator or crystal) so that it gets its speeds right.&lt;/P&gt;&lt;P&gt;Since when a chip is delivered it is not possible to know what will be clocking it in the final circuit it must be based on internal clocks instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this post &lt;A href="https://community.nxp.com/message/448957"&gt;Re: Re: USB boot loader for K64FN1M0VMD12 ?&lt;/A&gt; (towards the end) I have made a version of the KBOOT USB loader for the K64 which supports USB, based on the IRC48M, which allows crystal-less USB operation (also explained in AN4905). &lt;STRONG&gt;Is it therefore true that the K22's pre-installed KBOOT loader supports USB&lt;SPAN style="text-decoration: underline;"&gt; by utilising its crystal-less USB capability&lt;/SPAN&gt;?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, it would presumably mean that any Kinetis types without IRC48M will not be able to support USB loading based on a pre-installed KBOOT version unless the oscillator/crystal used is also pre-defined. Are these presumptions true for the pre-installed KBOOT restraints?&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 21:43:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343931#M16708</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-10-30T21:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343932#M16709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an extract from K22 reference manual (Chapter 13 Kinetis Flashloader):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="K22_FlashLoader.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45740i7D5305F1F224C574/image-size/large?v=v2&amp;amp;px=999" role="button" title="K22_FlashLoader.png" alt="K22_FlashLoader.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So your assumption is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the Kinetis parts without IRC48, that is an interesting question, but I have no information about it right now, sorry.&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>Thu, 30 Oct 2014 23:05:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343932#M16709</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-10-30T23:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343933#M16710</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 the reference - sorry that I didn't look it up myself because that would already have cleared up the first question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that the K22 has been chosen as first part with the KBOOT loader delivered pre-installed due to the crystal-less capability, which solves the problem of HW clocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other devices with built-in USB loaders, such as the ATMEL SAM series (with the loader in ROM and available since 2005), require a certain standard crystal to be installed for it to be able to be used. Probably such a requirement will exist with parts that don't have the IRC48M if the USB is to be used -&lt;EM&gt; we will see once they start containing one&lt;/EM&gt;.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 23:31:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343933#M16710</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-10-30T23:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343934#M16711</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;I looked at the KBOOT package, which includes a binary image of the Flash Loader for the MK22FN512x12. This is flashloader_loader.bin and flashloader_loader.srec. I have been able to (re)install these packages into Flash.&lt;/P&gt;&lt;P&gt;From that, I have been able to develop and test our production tools. Everything is working as it should, except the following annoyance (observed on the freedom K22F board):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When the Flash Loader is in Flash, powering and booting fresh from a USB connection (connecting the board to the PC through the MCU's USB connector, which also powers the MCU), the MCU enumerates correctly as a HID device, up to a point where, after NAKing 11 requests, it sends 3 unrequested 3-byte packets to the PC (orphans). At this point the PC closes the connection, which becomes unusable.&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From that point, pressing the reset button (forced MCU reset while USB connected - and powered) causes the MCU to enumerate correctly this time, and stay functional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is this a known behavior?&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Should I expect a newly assembled MK22FN512 (out of production) to behave like this?&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Anyone knows what causes this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 13:35:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343934#M16711</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2015-01-16T13:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343935#M16712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a TWR-K22F120M and a FRDM-K22F and run the same software with USB device on both (using 48MHz internal crystal-less clock).&lt;/P&gt;&lt;P&gt;The TWR-K22F120M USB works well.&lt;/P&gt;&lt;P&gt;The FRDM-K22F USB is "extremeny" unreliable - usually the emumeration works but then I see a lot of orphaned packets on the other endpoints and the connection fails (often quickly and almost certainly after a short time)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I load flashloader_loader.bin to the FRDM-K22F it also has lots of probems; sometimes it won't enumerate and often can't connect to the KBOOT tool when it does. (Initially I thought I must have made an error in the FRDM-K22 setup and that is why I checked with the loader SW and found that it was also unuseable).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the TWR-K22F120 (same processor in BGA and same code) operates normally I suspect that there is a design problem in the FRDM-K22F HW, especially as you also report that you see strange things (but I would say that your board sounds to behave a bit better than mine).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I am trying to validate a USB stack for both the TWR and FRDM board this difference is causing me some problems so I am going to have to do some more study - the only things that I can think of at the moment is to improve the VOUT33 decoupling or try removing some of the HOST components to hopefully find an improvement.&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;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 14:23:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343935#M16712</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-01-16T14:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343936#M16713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to put the most information on there: I do not find any problem with the firmware that I designed, based on USB_LDD. That would seem to exclude a hardware issue. Also, if it was a problem related to Vcc stability, I would expect to see more variability in the time at which it conks out. It always does the complete HID enumeration without problems (this is not so quick so Vcc must be good enough for long enough for that), then after NAKing 10 to 12 packets it always sends 3 3-byte orphan packets. This seems to be very repeatable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still, there is not much difference software-wise between a Power-On Reset and a Reset-Pin Reset, that would be a good argument in the hardware-issue argument...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to get a look at the code. It is not for KDS, but still should be able to look at the source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 15:17:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343936#M16713</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2015-01-16T15:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343937#M16714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bruno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My FRDM-K22F board started to behave reliably again yesterday (alhough I didn't do anything to it (?)) so I took the opportunity to complete validation of the work that I was completing on it (in parallel with the TWR-K22F120M, which was always behaving normally).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At these links I have posted KBOOT compatible (UART and USB-HID) loaders (including also USB-MSD composite since the KBOOT PC tool is presently too slow for productive use)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/kinetis/FRDM-K22F.html" title="http://www.utasker.com/kinetis/FRDM-K22F.html"&gt;http://www.utasker.com/kinetis/FRDM-K22F.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/kinetis/TWR-K22F120M.html" title="http://www.utasker.com/kinetis/TWR-K22F120M.html"&gt;µTasker Kinetis TWR-K22F120M support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I re-verified with the &lt;STRONG&gt;&lt;EM&gt;freedom_bootloader.bin&lt;/EM&gt;&lt;/STRONG&gt; (powering the board via the OpenSDA connector and directly via the K22's USB connector).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Connecting and powering directly to the K22 causes enumeration to start but it fails during the process. I think that the embedded code sets the USB to suspend state (maybe much too soon, and during the enumeration). Since the reset button doesn't work when powered like this the board is then not further usable.&lt;/P&gt;&lt;P&gt;2 Powering via the OpenSDA connection and connecting the K22 USB doesn't do much useful - I didn't see it responding to any enumeration SETUP tokens and it set itself to suspend again.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;However, a reset using the push button then allows it to work and KBOOT can subsequently be used&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I tried the compatible KBOOT version that I had prepared in both configurations as comparison (you can do the same if you are interested - the binary "&lt;EM&gt;&lt;STRONG&gt;uTaskerSerialBoot_FRDM-K22F_KBOOT_HID_UART_MSD.bin&lt;/STRONG&gt;&lt;/EM&gt;" is on the linked page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases the enumeration (there is a lot more activity since the MSD hard drive is also being mounted by the PC on connection) was normal and the MSD part worked correcty.&lt;/P&gt;&lt;P&gt;I am not sure about the KBOOT PC software because I find that sometimes it doesn't see the interface and when I close and open it again it then it does (I think that it is generally not yet very stable).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore I can confirm that the KBOOT embedded USB-HID mode is presently not reliable on either connection configurations. A manual reset recovers (when powered by the OpenSDA connector) but it never operates when powered only via the K22 USB connector. In comparison, I can use the uTasker KBOOT compatible version in both configurations. This means the issue must be of embedded SW nature and so improvements must also be possible.&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;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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jan 2015 17:53:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343937#M16714</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-01-17T17:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343938#M16715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much the same here!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can add the following details:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The reset button on the FRDM K22 board can work if jumper J9 is moved. In that case the reset does not come from the OpenSDA MCU anymore, but directly goes to the target K22 MCU. In that case also a reset makes things right even if the OpenSDA MCU is powered off.&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am not using the KBOOT PC tools, so I cannot comment on them. It is possible that they have their own reliability problems. But the tools that I made for production do work reliably (once the board is manually reset).&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have tried to boot is slow mode, it does not change anything.&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have tried to disconnect the Open SDA MCU as much as possible, thinking it may be an interference caused by the Open SDA MCU waking up and doing "something" to the K22 while it is enumerating. I have removed UART isolation resistors R66 and R68, as well as cut the permanent trace on header J4. This does not change anything.&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; It is possible that the firmware sets the MCU's transceiver to suspend at the wrong time. What I observe in sequence is (not exactly what I reported initially):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The enumeration proceeds very well up to the end. The last commands are Set-Idle and then Get-Report-Descriptor, both of which are answered correctly by the K22.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Right after that the PC begins sending IN packets (normal process of probing the HID device for an IN report), which the K22 NAKs for a while&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; After a while (7 to 10 NAKs) the K22 stops NAKing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The PC sends 3 IN packets in sequence that remain without response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then the PC resets the link, and tried to re-enumerate 3 times&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Each time the K22 stays silent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then the PC places the link in suspend&lt;/P&gt;&lt;P&gt;All of the PC's behavior is normal and consistent with a device that just goes dead and stops responding to all requests. The real question is "why does the HID device go dead right after enumeration?" and more interestingly, "why does it not go dead after enumeration when it starts from a Pin reset?"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 13:00:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343938#M16715</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2015-01-19T13:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343939#M16716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be worth you creating a service request because you will be relying on the pre-loaded boot loader for production programmig and if the loader supplied in the chips is unreliable it will continue causing production difficulties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The KBOOT development is very slow (there are still only very few parts supported and the PC tool is not yet suitable for productive use) so you may otherwise be waiting for a final solution long after you want to start your production.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Personally I would just use EzPort for programming all K parts because it is simple and efficient and doesn't restrict a solution to chips that are supplied with a special loader.&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;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 13:51:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343939#M16716</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-01-19T13:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343940#M16717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I may look inexperienced but, how do I go about creating a service request? Can you send me a link, I cannot find this anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize for the bother!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:45:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343940#M16717</guid>
      <dc:creator>brunopaillard</dc:creator>
      <dc:date>2015-01-19T14:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: K22PM121x Flashloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343941#M16718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to login to your "My Freescale" acount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/48996i6B902E62C3C2008F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here it shows as "Mark's Freescale" and yours will presumably show as "Bruno's Freescale"&lt;/P&gt;&lt;P&gt;and then there you have:&lt;/P&gt;&lt;P&gt;&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/48919iAA76AAC529A028EC/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;&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;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:59:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22PM121x-Flashloader/m-p/343941#M16718</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-01-19T14:59:55Z</dc:date>
    </item>
  </channel>
</rss>

