<?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のトピックRe: LPC5502 SWD not detected</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1276170#M44992</link>
    <description>&lt;P&gt;I had already put a pull up on SWD and a pull down on SCK on my programming breakout board.&amp;nbsp; Putting on the PCB containing the LPC5502 will be difficult.&amp;nbsp; Is the SWO pin actually required?&amp;nbsp; It hasn't been on any of my other boards where I have used the same programming break out board.&lt;/P&gt;</description>
    <pubDate>Thu, 13 May 2021 05:25:26 GMT</pubDate>
    <dc:creator>christianlees</dc:creator>
    <dc:date>2021-05-13T05:25:26Z</dc:date>
    <item>
      <title>LPC5502 SWD not detected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1276036#M44987</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I know a similar question has been asked and I have gone through the solution will no luck.&lt;/P&gt;&lt;P&gt;I cannot get the device to be detected on the SWD interface.&amp;nbsp; I'm using s Segger JLink EDU.&amp;nbsp; The board didn't have the XTAL32M_P or XTAL32K_P pins ties to ground so I wired them in as with the pull up on PIO0_5.&amp;nbsp; The attached schematic shows the current arrangement.&lt;/P&gt;&lt;P&gt;I am seeing 1.052V on C39 as expected.&lt;/P&gt;&lt;P&gt;Could be a power issue, any help is appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 00:43:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1276036#M44987</guid>
      <dc:creator>christianlees</dc:creator>
      <dc:date>2021-05-13T00:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5502 SWD not detected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1276164#M44991</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;SPAN&gt;christianlees&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I suggest you referring this article to check your SWD debug interface design.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Design-Considerations-for-Debug/m-p/469565" target="_blank"&gt;https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/Design-Considerations-for-Debug/m-p/469565&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 05:11:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1276164#M44991</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2021-05-13T05:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5502 SWD not detected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1276170#M44992</link>
      <description>&lt;P&gt;I had already put a pull up on SWD and a pull down on SCK on my programming breakout board.&amp;nbsp; Putting on the PCB containing the LPC5502 will be difficult.&amp;nbsp; Is the SWO pin actually required?&amp;nbsp; It hasn't been on any of my other boards where I have used the same programming break out board.&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 05:25:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1276170#M44992</guid>
      <dc:creator>christianlees</dc:creator>
      <dc:date>2021-05-13T05:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5502 SWD not detected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1276180#M44993</link>
      <description>&lt;P&gt;If you don't need SWO trace. SWO pin is not needed.&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 05:42:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1276180#M44993</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2021-05-13T05:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5502 SWD not detected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1276190#M44994</link>
      <description>&lt;P&gt;I took a capture of the a SWD transaction, I don't know the protocol but it looks like the ACK works and it responds.&lt;/P&gt;&lt;P&gt;If I try it from the command line this is the output&lt;/P&gt;&lt;P&gt;Type "connect" to establish a target connection, '?' for help&lt;BR /&gt;J-Link&amp;gt;connect LPC5502&lt;BR /&gt;Please specify device / core. &amp;lt;Default&amp;gt;: LPC5502&lt;BR /&gt;Type '?' for selection dialog&lt;BR /&gt;Device&amp;gt;&lt;BR /&gt;Please specify target interface:&lt;BR /&gt;J) JTAG (Default)&lt;BR /&gt;S) SWD&lt;BR /&gt;T) cJTAG&lt;BR /&gt;TIF&amp;gt;s&lt;BR /&gt;Specify target interface speed [kHz]. &amp;lt;Default&amp;gt;: 4000 kHz&lt;BR /&gt;Speed&amp;gt;&lt;BR /&gt;Device "LPC5502" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Connecting to target via SWD&lt;BR /&gt;ConfigTargetSettings() start&lt;BR /&gt;Disabling flash programming optimizations: Compare, SkipBlankDataOnProg&lt;BR /&gt;ConfigTargetSettings() end&lt;BR /&gt;InitTarget() start&lt;BR /&gt;ERROR: Wrong DM-AP IDCODE detected: 0x00000000&lt;BR /&gt;InitTarget() end&lt;BR /&gt;ConfigTargetSettings() start&lt;BR /&gt;Disabling flash programming optimizations: Compare, SkipBlankDataOnProg&lt;BR /&gt;ConfigTargetSettings() end&lt;BR /&gt;InitTarget() start&lt;BR /&gt;ERROR: Wrong DM-AP IDCODE detected: 0x00000000&lt;BR /&gt;InitTarget() end&lt;BR /&gt;ConfigTargetSettings() start&lt;BR /&gt;Disabling flash programming optimizations: Compare, SkipBlankDataOnProg&lt;BR /&gt;ConfigTargetSettings() end&lt;BR /&gt;InitTarget() start&lt;BR /&gt;ERROR: Wrong DM-AP IDCODE detected: 0x00000000&lt;BR /&gt;InitTarget() end&lt;BR /&gt;ConfigTargetSettings() start&lt;BR /&gt;Disabling flash programming optimizations: Compare, SkipBlankDataOnProg&lt;BR /&gt;ConfigTargetSettings() end&lt;BR /&gt;InitTarget() start&lt;BR /&gt;ERROR: Wrong DM-AP IDCODE detected: 0x00000000&lt;BR /&gt;InitTarget() end&lt;BR /&gt;Cannot connect to target.&lt;BR /&gt;J-Link&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 06:00:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1276190#M44994</guid>
      <dc:creator>christianlees</dc:creator>
      <dc:date>2021-05-13T06:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5502 SWD not detected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1276623#M45005</link>
      <description>&lt;P&gt;I've done some reading and it looks like the IDCODE for a Cortex-M33 should be 0xBA04 yet mine is returning 0xBA02, this is clear in the previous captured screen shot. I have both tested from the IDE as well as the JLink console program.&lt;/P&gt;&lt;P&gt;J-Link&amp;gt;readdp 0&lt;BR /&gt;Reading DP register 0 = 0x6BA02477 (0 read repetitions needed)&lt;/P&gt;&lt;P&gt;Could this be the issue?&amp;nbsp; Could it be a damaged MCU?&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 23:01:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1276623#M45005</guid>
      <dc:creator>christianlees</dc:creator>
      <dc:date>2021-05-13T23:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5502 SWD not detected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1279427#M45069</link>
      <description>&lt;P&gt;I've changed the MCU, could only get LPC5506 quickly.&amp;nbsp; Same issue.&lt;/P&gt;&lt;P&gt;Interestingly if I try to debug the incorrect project, one based on an LPC802 then it manages to read the IDCODE and flag it as the incorrect MCU but when I debug the correct project it returns zeros even though the logic analyser says differently.&lt;/P&gt;&lt;P&gt;Sounds like a software issue to me?&lt;/P&gt;&lt;P&gt;Is it a lack of support for the J-Link EDU?&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 04:57:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1279427#M45069</guid>
      <dc:creator>christianlees</dc:creator>
      <dc:date>2021-05-20T04:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5502 SWD not detected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1279511#M45072</link>
      <description>&lt;P&gt;It sounds like you have a problem with your debug circuit. Almost certainly not a software problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 06:52:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1279511#M45072</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-05-20T06:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC5502 SWD not detected</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1283901#M45199</link>
      <description>&lt;P&gt;I got it to work by getting a newer debugger.&amp;nbsp; If you are using a Segger Jlink it needs to be later then V8.0 hardware&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 06:10:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC5502-SWD-not-detected/m-p/1283901#M45199</guid>
      <dc:creator>christianlees</dc:creator>
      <dc:date>2021-05-28T06:10:13Z</dc:date>
    </item>
  </channel>
</rss>

