<?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: TWR-KL25Z48M SWD port in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227694#M4641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you to pointing me eratta document, Mr Muir.&lt;/P&gt;&lt;P&gt;I have TOWER elevator board so I connected USB power from it, confirmed SEGGER J-LINK works either download firmware and debug trace.&lt;/P&gt;&lt;P&gt;Now I have to find way to connect UART to my PC without using on-board OpenSDA UART-USB function. It seems like jumper J24 and J25 can disconnect K25 UART0 pins from K20, route it to elevator connector A43 and A44. So I have to take some soldering on a TWR-PROTO board for RS-232C level converter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Sep 2013 17:07:29 GMT</pubDate>
    <dc:creator>YS</dc:creator>
    <dc:date>2013-09-12T17:07:29Z</dc:date>
    <item>
      <title>TWR-KL25Z48M SWD port</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227691#M4638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anybody know, or have ever tried, to connect J-Link (or any JTAG/SWD debugger pod) to Freescale TWR-KL25Z48M SWD connector (J10)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my environment (Windows XP Home, IAR embedded workbench 6.60 32K-limited eval version), OpenSDA USB-filesystem firmware programming working okay but I cannot use it as debug port. The PEMicro driver keep saying "Port undetedted". It is a problem, but not the question I want to ask here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I tried to use the SWD connector (J10) with a SEGGER J-LINK adapter. It does not work. When I tried to download firmware, IAR workbench says "failed to reset target processor".&lt;/P&gt;&lt;P&gt;I checked with J-Link commander. Even though it failed to detect target on JTAG/SWD chain, I can reset the KL25 processor when I select SWD interface (command:si 1) and reset (command:r). When I tried HALT command (command:h), the target KL25 reboots many time. I think the SWD pins from KL25 target is conflicted between SEGGER J-Link on SWD connector J10 and on-board OpenSDA K20.&lt;/P&gt;&lt;P&gt;I googled about TWR-KL25 and SWD but no hit. I found another KL25 platform, FRDM-KL25 has J11 trace on bottom layer to isolate OpenSDA from KL25 (actually it disconnects K20 SPI0_CLK from KL25 SWD_CLK). I checked out TWR-KL25 schematics, there is no such provision. Instead the OpenSDA SWD pins of TWR-KL25 is get through 3-state switch (U506 74LVC125ADB) and controlled by K20 GPIO pins, so I think there must be some way to isolate OpenSDA from SWD connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The users's manual (TWR-KL25-UM) does not mention anything. It simply states "There are two debug interface options provided: the on-board openSDA circuit and an external ARM SWD connector." But apparently, connecting SWD deubugger to J10 without disabling on-board OpenSDA does not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 00:12:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227691#M4638</guid>
      <dc:creator>YS</dc:creator>
      <dc:date>2013-09-12T00:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KL25Z48M SWD port</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227692#M4639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sasaki&lt;/P&gt;&lt;P&gt;I think you can do following testing first.&lt;/P&gt;&lt;P&gt;1. Check if you can use OpenSDA to download code.&lt;/P&gt;&lt;P&gt;2. Check if your connection is correct.&lt;/P&gt;&lt;P&gt;I tested TWR-KL25, it can work well.&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>Thu, 12 Sep 2013 05:24:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227692#M4639</guid>
      <dc:creator>Paul_Tian</dc:creator>
      <dc:date>2013-09-12T05:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KL25Z48M SWD port</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227693#M4640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sasaki-san,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem you have described is already known about and 2 workarounds exist to solve it. Please refer to the Tower board errata at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/errata/TWR-KL25Z_ERRATA.pdf?fpsp=1&amp;amp;WT_TYPE=Errata&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation"&gt;http://cache.freescale.com/files/soft_dev_tools/doc/errata/TWR-KL25Z_ERRATA.pdf?fpsp=1&amp;amp;WT_TYPE=Errata&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should allow you to use the external debug adaptor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alistair&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 14:00:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227693#M4640</guid>
      <dc:creator>al_muir</dc:creator>
      <dc:date>2013-09-12T14:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KL25Z48M SWD port</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227694#M4641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you to pointing me eratta document, Mr Muir.&lt;/P&gt;&lt;P&gt;I have TOWER elevator board so I connected USB power from it, confirmed SEGGER J-LINK works either download firmware and debug trace.&lt;/P&gt;&lt;P&gt;Now I have to find way to connect UART to my PC without using on-board OpenSDA UART-USB function. It seems like jumper J24 and J25 can disconnect K25 UART0 pins from K20, route it to elevator connector A43 and A44. So I have to take some soldering on a TWR-PROTO board for RS-232C level converter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 17:07:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227694#M4641</guid>
      <dc:creator>YS</dc:creator>
      <dc:date>2013-09-12T17:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KL25Z48M SWD port</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227695#M4642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mr Tian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is indeed strange that, as I wrote, I can download firmware (.srec file) through OpenSDA virtual USB drive with no problem. It works great.&lt;/P&gt;&lt;P&gt;However when I try to debug the code from IAR workbench (or KEIL uVision), OpenSDA JTAG driver from PE Micro says "port undetected".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 17:09:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227695#M4642</guid>
      <dc:creator>YS</dc:creator>
      <dc:date>2013-09-12T17:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KL25Z48M SWD port</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227696#M4643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, it's self-solved. I had to re-program OpenSDA firmware with "DEBUG-APP_Pemicro_v***.SDA". JTAG debug can not be used when OpenSDA firmware is configured with USB Mass Storage mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 17:05:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227696#M4643</guid>
      <dc:creator>YS</dc:creator>
      <dc:date>2013-09-23T17:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-KL25Z48M SWD port</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227697#M4644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;error 17926. target type mcu mismatch. unexpexted processor type detected. &lt;/P&gt;&lt;P&gt;aborting bebug session&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 05:38:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-KL25Z48M-SWD-port/m-p/227697#M4644</guid>
      <dc:creator>manumr</dc:creator>
      <dc:date>2016-04-12T05:38:31Z</dc:date>
    </item>
  </channel>
</rss>

