<?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: MCU detecting if an SWD programmer is attached in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/MCU-detecting-if-an-SWD-programmer-is-attached/m-p/1417693#M47969</link>
    <description>&lt;P&gt;Thanks, that works!&lt;/P&gt;</description>
    <pubDate>Tue, 22 Feb 2022 19:14:48 GMT</pubDate>
    <dc:creator>plong44</dc:creator>
    <dc:date>2022-02-22T19:14:48Z</dc:date>
    <item>
      <title>MCU detecting if an SWD programmer is attached</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MCU-detecting-if-an-SWD-programmer-is-attached/m-p/1417022#M47957</link>
      <description>&lt;P&gt;I am trying to find a way for the LPC55S69 to determine if an SWD programmer is connected to it. I want to avoid some sleep modes and other things when the programmer is attached.&lt;/P&gt;&lt;P&gt;The MCULink pulls SWCLK high (and the LPC's pin is pulled low internally) but unfortunately the JLINK programmers (at least the one I have) do not pull SWCLK high normally, it drives the line high only when clocking. Is there a registers in the LPC55S69 that might give me a some indication of whether or not a programmer is attached? I have been looking but I haven't found anything yet.&lt;/P&gt;&lt;P&gt;Thanks in advance for any help!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 23:11:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MCU-detecting-if-an-SWD-programmer-is-attached/m-p/1417022#M47957</guid>
      <dc:creator>plong44</dc:creator>
      <dc:date>2022-02-21T23:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: MCU detecting if an SWD programmer is attached</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MCU-detecting-if-an-SWD-programmer-is-attached/m-p/1417335#M47962</link>
      <description>&lt;P&gt;Check&amp;nbsp;&lt;SPAN&gt;DHCSR register. Bit 0 is '1' if device is running under debug control. I use that in my designs to disable powerdown etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Page 1535 in:&amp;nbsp;&lt;A href="https://developer.arm.com/documentation/ddi0553/br/" target="_blank"&gt;https://developer.arm.com/documentation/ddi0553/br/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="carstengroen_0-1645519811788.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/171340i35803B84FB8AE6DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="carstengroen_0-1645519811788.png" alt="carstengroen_0-1645519811788.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 08:50:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MCU-detecting-if-an-SWD-programmer-is-attached/m-p/1417335#M47962</guid>
      <dc:creator>carstengroen</dc:creator>
      <dc:date>2022-02-22T08:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: MCU detecting if an SWD programmer is attached</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/MCU-detecting-if-an-SWD-programmer-is-attached/m-p/1417693#M47969</link>
      <description>&lt;P&gt;Thanks, that works!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 19:14:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/MCU-detecting-if-an-SWD-programmer-is-attached/m-p/1417693#M47969</guid>
      <dc:creator>plong44</dc:creator>
      <dc:date>2022-02-22T19:14:48Z</dc:date>
    </item>
  </channel>
</rss>

