<?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>LPC MicrocontrollersのトピックPinout and debugger configuration for reliable SWD on LPC810?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Pinout-and-debugger-configuration-for-reliable-SWD-on-LPC810/m-p/693794#M27955</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to explore the micro trace buffer on the 8-pin DIP LPC810 using the Keil uVision5 toolchain and a ULINK2 debugger. I've looked at the schematic for the LPC800 mini kit and also looked at other LPC810-based schematics by Leon Heller and Jim Eli in order to establish the correct wiring of the LPC's debug pins to the SWD connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 wires connected from the LPC810 to the SWD connector: nRESET, SWCLK and SWDIO. I also have a common ground between them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a simple program to re-enable the SWD and RESET pins via the switch matrix:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LPC_SWM-&amp;gt;PINENABLE0 = 0xffffffb3;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I succesfully programmed the resultant .hex file using FlashMagic and was then able to get the Keil toolchain past the flash uploader stage and into debug mode. However, I don't appear to be able to set breakpoints, inspect memory or single-step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone share their successful LPC810 SWD debug setup or does everyone use FlashMagic&amp;nbsp;:smileyhappy: ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 May 2017 10:56:17 GMT</pubDate>
    <dc:creator>pej</dc:creator>
    <dc:date>2017-05-26T10:56:17Z</dc:date>
    <item>
      <title>Pinout and debugger configuration for reliable SWD on LPC810?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Pinout-and-debugger-configuration-for-reliable-SWD-on-LPC810/m-p/693794#M27955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to explore the micro trace buffer on the 8-pin DIP LPC810 using the Keil uVision5 toolchain and a ULINK2 debugger. I've looked at the schematic for the LPC800 mini kit and also looked at other LPC810-based schematics by Leon Heller and Jim Eli in order to establish the correct wiring of the LPC's debug pins to the SWD connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 wires connected from the LPC810 to the SWD connector: nRESET, SWCLK and SWDIO. I also have a common ground between them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a simple program to re-enable the SWD and RESET pins via the switch matrix:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LPC_SWM-&amp;gt;PINENABLE0 = 0xffffffb3;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I succesfully programmed the resultant .hex file using FlashMagic and was then able to get the Keil toolchain past the flash uploader stage and into debug mode. However, I don't appear to be able to set breakpoints, inspect memory or single-step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone share their successful LPC810 SWD debug setup or does everyone use FlashMagic&amp;nbsp;:smileyhappy: ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 10:56:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Pinout-and-debugger-configuration-for-reliable-SWD-on-LPC810/m-p/693794#M27955</guid>
      <dc:creator>pej</dc:creator>
      <dc:date>2017-05-26T10:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pinout and debugger configuration for reliable SWD on LPC810?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Pinout-and-debugger-configuration-for-reliable-SWD-on-LPC810/m-p/693795#M27956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jim shared his code so I now have:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;SYSCON_SYSAHBCLKCTRL |= (1&amp;lt;&amp;lt;7); // bit 7 for Switch Matrix (SWM) clock&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LPC_SWM-&amp;gt;PINENABLE0 = 0xffffffb3UL;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;And the wiring that I have on my breadboard looks like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="breadboard-connection.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19352iA76F55384EF1B510/image-size/large?v=v2&amp;amp;px=999" role="button" title="breadboard-connection.jpg" alt="breadboard-connection.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The above configuration works for Keil uVision 5.21a and a ULINK2 with the latest firmware&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 May 2017 19:42:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Pinout-and-debugger-configuration-for-reliable-SWD-on-LPC810/m-p/693795#M27956</guid>
      <dc:creator>pej</dc:creator>
      <dc:date>2017-05-27T19:42:19Z</dc:date>
    </item>
  </channel>
</rss>

