<?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: How do I flash a Kinetis KL25 using SWD from another micro?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244856#M6325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Mstreet&lt;/P&gt;&lt;P&gt;Kinetis SWD has no special requirement. You can use ARM opening protocol and GPIO to simulate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my reply can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 May 2013 06:12:04 GMT</pubDate>
    <dc:creator>Paul_Tian</dc:creator>
    <dc:date>2013-05-21T06:12:04Z</dc:date>
    <item>
      <title>How do I flash a Kinetis KL25 using SWD from another micro?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244852#M6321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to be able to upgrade the firmware in a Kinetis KL25 in the field from another microcontroller.&amp;nbsp; Where can I find the SWD commands to unlock, write, and verify the Kinetis' onboard flash?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 20:55:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244852#M6321</guid>
      <dc:creator>mstreet</dc:creator>
      <dc:date>2013-05-17T20:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I flash a Kinetis KL25 using SWD from another micro?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244853#M6322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Mstreet&lt;/P&gt;&lt;P&gt;If you want to use another MCU to program KL25, I think you have to use GPIO to simulate SWD protocol. For protocol, you can find from ARM site. Resourcing is opened. &lt;/P&gt;&lt;P&gt;Hope my reply can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 02:22:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244853#M6322</guid>
      <dc:creator>Paul_Tian</dc:creator>
      <dc:date>2013-05-21T02:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I flash a Kinetis KL25 using SWD from another micro?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244854#M6323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was planning to use GPIO as you suggested and have downloaded the ARM Debug Interface specification.&amp;nbsp; Is all of the information needed to write the Kinetis flash memory included in this document, or are there Kenetis specific commands or debug memory interfaces that I need to know about?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 04:39:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244854#M6323</guid>
      <dc:creator>mstreet</dc:creator>
      <dc:date>2013-05-21T04:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I flash a Kinetis KL25 using SWD from another micro?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244855#M6324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SWD protocol is more easily simulated with the SPI interface on the Kinetis devices,&amp;nbsp; in particular the K20 devices are convenient because they allow variable-length transactions.&amp;nbsp; You can refer to the source for USBDM firmware for example code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The programming of the Flash is described in the Device Manual and has nothing to do with the SWD protocol.&amp;nbsp; You should&amp;nbsp; also consider using the EZPORT protocol which does not require target code execution. This is also described in the Device manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Peter O Donoghue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As has been pointed out by Paul - The KL series devices don't have EZPORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 05:48:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244855#M6324</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2013-05-21T05:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I flash a Kinetis KL25 using SWD from another micro?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244856#M6325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Mstreet&lt;/P&gt;&lt;P&gt;Kinetis SWD has no special requirement. You can use ARM opening protocol and GPIO to simulate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my reply can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 06:12:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244856#M6325</guid>
      <dc:creator>Paul_Tian</dc:creator>
      <dc:date>2013-05-21T06:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I flash a Kinetis KL25 using SWD from another micro?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244857#M6326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi, Pgo&lt;/P&gt;&lt;P&gt;KL25 has not EZPORT in it. So we cannot use such SPI way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope my reply can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 06:14:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244857#M6326</guid>
      <dc:creator>Paul_Tian</dc:creator>
      <dc:date>2013-05-21T06:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I flash a Kinetis KL25 using SWD from another micro?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244858#M6327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Missed that - I'm used to the other Kinetis devices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 06:29:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244858#M6327</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2013-05-21T06:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I flash a Kinetis KL25 using SWD from another micro?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244859#M6328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pgo and Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, it sounds like I can access the Kinetis flash memory module using SWD to reprogram the flash.&amp;nbsp; Thanks for your answers! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 06:38:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244859#M6328</guid>
      <dc:creator>mstreet</dc:creator>
      <dc:date>2013-05-21T06:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I flash a Kinetis KL25 using SWD from another micro?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244860#M6329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Zhe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While looking for how to do this, I found libSWD, which appears to support such bit-banging:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://sourceforge.net/apps/trac/libswd" title="http://sourceforge.net/apps/trac/libswd"&gt;LibSWD - Serial Wire Debug Open Library&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 18:39:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244860#M6329</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2014-05-19T18:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I flash a Kinetis KL25 using SWD from another micro?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244861#M6330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mstreet"&gt;mstreet&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You've been able to emulate SWD commands?&lt;/P&gt;&lt;P&gt;Did you use libSWD?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 12:16:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244861#M6330</guid>
      <dc:creator>mircopizzichini</dc:creator>
      <dc:date>2014-06-24T12:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I flash a Kinetis KL25 using SWD from another micro?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244862#M6331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i also have similar requirement to program the flash memory through SWD. I found a document from Freescale AN4835 which talking about how to connect to the SWD. But after I connect, how to do the erase, program section, read operations? How to send all those flash commands through SWD?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 03:25:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244862#M6331</guid>
      <dc:creator>John16</dc:creator>
      <dc:date>2015-06-25T03:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I flash a Kinetis KL25 using SWD from another micro?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244863#M6332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another solution for that field upgrade would be to use a FRDM board with the MSD bootloader. This works out of the box, see &lt;A href="http://mcuoneclipse.com/2013/04/21/using-the-freedom-board-as-jtag-programmer/" title="http://mcuoneclipse.com/2013/04/21/using-the-freedom-board-as-jtag-programmer/"&gt;Using the Freedom Board as SWD Programmer | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 23:26:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-flash-a-Kinetis-KL25-using-SWD-from-another-micro/m-p/244863#M6332</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-06-25T23:26:06Z</dc:date>
    </item>
  </channel>
</rss>

