<?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 Jtag - dual use in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Jtag-dual-use/m-p/572817#M18655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by brownm on Wed May 22 03:47:05 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;Hi there&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;We are designing a product and are one pin short on the LPC812, normally we keep the defined JTAG pins free so that we are able to access the device via jtag at any time via&amp;nbsp;the dedicated (default Pin 0_2&amp;nbsp;&amp;amp;amp; 0_3) pins. Howver in this case we would like to use one of the Jtag pins (SWCLK) for a blinky LED, nothing too important while we are actually doing the debug, but if we change the function of this pin will we be able to get access to the device via the JTAG after programming it the first time?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Marshall Brown&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:12:29 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:12:29Z</dc:date>
    <item>
      <title>Jtag - dual use</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Jtag-dual-use/m-p/572817#M18655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by brownm on Wed May 22 03:47:05 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;Hi there&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;We are designing a product and are one pin short on the LPC812, normally we keep the defined JTAG pins free so that we are able to access the device via jtag at any time via&amp;nbsp;the dedicated (default Pin 0_2&amp;nbsp;&amp;amp;amp; 0_3) pins. Howver in this case we would like to use one of the Jtag pins (SWCLK) for a blinky LED, nothing too important while we are actually doing the debug, but if we change the function of this pin will we be able to get access to the device via the JTAG after programming it the first time?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Marshall Brown&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:12:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Jtag-dual-use/m-p/572817#M18655</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Jtag - dual use</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Jtag-dual-use/m-p/572818#M18656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by leon_heller on Wed May 22 04:08:44 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;You should be OK. Most JTAG adapters should be able to drive the pin as well as an LED.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:12:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Jtag-dual-use/m-p/572818#M18656</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Jtag - dual use</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Jtag-dual-use/m-p/572819#M18657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheShed on Wed May 22 06:42:01 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;The short answer is - No.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Once you have switched the P0.3 from SWCLK to GPIO (PINENABLE0 register) it is no longer available for SWD debug. You will need to load a different code image that leaves P0.3 in the default&amp;nbsp; state to be able to use the SWD port.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Just make sure you have access to the ISP pins to re-program the flash - and be careful about what you attach to P0.1. ;-)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;EDIT: Leon is correct in that the hardware itself should not be a problem,..&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;--&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:12:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Jtag-dual-use/m-p/572819#M18657</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Jtag - dual use</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Jtag-dual-use/m-p/572820#M18658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by brownm on Wed May 22 12:27:06 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;That's great - thanks for the clear consice response.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Marshall&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:12:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Jtag-dual-use/m-p/572820#M18658</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:12:31Z</dc:date>
    </item>
  </channel>
</rss>

