<?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: LPC822 - Problems with debug wire connection in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC822-Problems-with-debug-wire-connection/m-p/575264#M19199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtw.433e on Thu Feb 04 23:39:06 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks like sort of error you get if your target is not correctly powered.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:14:11 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:14:11Z</dc:date>
    <item>
      <title>LPC822 - Problems with debug wire connection</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC822-Problems-with-debug-wire-connection/m-p/575262#M19197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ledi007 on Thu Feb 04 09:13:29 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have a problem with debugging the LPC822 (TSSOP20).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The controller is (it is a brand new controller) connectet to the LPC-Link board which i want to use as debugger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had connected the wires as in the pictures.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;LPC-Link................. to ...................LPC822&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;3V3V ..............................................VDD (Pin 15)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GNDX.............................................GND (Pin 16)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JTAG_TMS_SWDIOX....................SWDIO (Pin 8)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JTAG_TCLK_SWCLKX..................SWCLK (Pin 7)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JTAG_RESETX..............................RESET (Pin 5)&amp;nbsp; (with an 10k pull-up to 3,3V)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[u]As i want to debug (with LPCXpresso) an example code i get the failure messenges in the console:[/u]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Debug Driver v8.0 (Nov 17 2015 10:46:09 - crt_emu_cm3_gen build 305)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Debug bus check after stop (MemAP 0x4770031) FAILS - Em(01). Cannot find selected MEM-AP (check target power)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Debug bus check after stop (MemAP 0x4770031) FAILS - Em(01). Cannot find selected MEM-AP (check target power)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Debug bus check after stop (MemAP 0x4770031) FAILS - Em(01). Cannot find selected MEM-AP (check target power)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed on connect: Ep(01). Target marked as not debuggable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Connected&amp;amp;Reset. Was: NotConnected. CpuID: 00000000. Info: HID64HS12&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error 0: OK&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Last sticky error: 0x0 AIndex: 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No debug bus (MemAp) selected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DAP Speed test unexecuted or failed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Debug protocol: SWD Frequency 3000 KHz. RTCK: Disabled. Vector catch: Enabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(100) Target Connection Failed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody help me, whats wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:14:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC822-Problems-with-debug-wire-connection/m-p/575262#M19197</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC822 - Problems with debug wire connection</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC822-Problems-with-debug-wire-connection/m-p/575263#M19198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Thu Feb 04 10:40:38 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With regard to your connections, nothing looks out of place. Please review these FAQs on LPCWare:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://https://www.lpcware.com/content/faq/lpcxpresso/debug-design"&gt;Design Considerations for Debug&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://https://www.lpcware.com/content/faq/lpcxpresso/regaining-debug-access"&gt;Regaining debug access to target MCU&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:14:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC822-Problems-with-debug-wire-connection/m-p/575263#M19198</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC822 - Problems with debug wire connection</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC822-Problems-with-debug-wire-connection/m-p/575264#M19199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtw.433e on Thu Feb 04 23:39:06 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks like sort of error you get if your target is not correctly powered.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC822-Problems-with-debug-wire-connection/m-p/575264#M19199</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC822 - Problems with debug wire connection</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC822-Problems-with-debug-wire-connection/m-p/575265#M19200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ledi007 on Fri Feb 05 02:20:30 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now, seems it works :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition, i had connect the &lt;/SPAN&gt;&lt;STRONG&gt;SWO&lt;/STRONG&gt;&lt;SPAN&gt; from LPC-Link with the controllers TDO pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but i am struggling with the meaning of the connection SWO to TDO!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody explain, why it works with SWO :quest: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And when do i need the ISP entry :quest: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition a picture of the connections i had done.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC822-Problems-with-debug-wire-connection/m-p/575265#M19200</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:14:11Z</dc:date>
    </item>
  </channel>
</rss>

