<?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: LPC-Link2 Not Working as CMSIS-DAP</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-Link2-Not-Working-as-CMSIS-DAP/m-p/939118#M37448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;The LPC-Link2 does work when I use it with MCUXpresso so it would appear to be something to do with how OpenOCD interacts with the LPC-Link2. I am not using MCUXpresso for this project but rather VisualGDB and OpenOCD. I have also tried the LPC-Link2 with the Jlink firmware loaded and it also works but the licencing terms make it unsuitable for a commercial project.&lt;/P&gt;&lt;P&gt;Also you are correct, what I originally wrote about JP1 on the LPC824-MAX was incorrect.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Donald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Oct 2019 03:23:26 GMT</pubDate>
    <dc:creator>donald1</dc:creator>
    <dc:date>2019-10-15T03:23:26Z</dc:date>
    <item>
      <title>LPC-Link2 Not Working as CMSIS-DAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-Link2-Not-Working-as-CMSIS-DAP/m-p/939115#M37445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have just received a LPC-Link2 that I am hoping to use as a CMSIS-DAP debugger with OpenOCD to program some LPC824 series microcontrollers. I have flashed the LPC-Link2 with the CMSIS-DAP firmware using the LPCScrypt utility but I am unable to talk to it using OpenOCD. I keep getting a "CMSIS-DAP command CMD_INFO failed." error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that OpenOCD is working because I have been using the LPCXpresso824-MAX board as a CMSIS-DAP debugger for the on board LPC824 and it works fine. I have tried both running OpenOCD to talk to the LPC-Link2 without any target connected and with the LPC-Link2 connected&amp;nbsp;to the external debug probe header of the LPCXpresso824-MAX with the jumper closed to select the external debugger. In both cases OpenOCD behaves the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that OpenOCD is unable to talk to the LPC-Link2. I have tried uninstalling and reinstalling the drivers, rebooting my computer, and reflashing the LPC-Link2 multiple times. Should OpenOCD be working with the LPC-Link2? Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is some version information:&lt;/P&gt;&lt;P&gt;Windows 10&lt;/P&gt;&lt;P&gt;OpenOCD 0.10.0&lt;/P&gt;&lt;P&gt;LPC-LinkII UCom driver 2.0.0.0&lt;/P&gt;&lt;P&gt;LPCSctypt 2.1.0_842&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Running OpenOCD with the LPC-Link2 connected to the LPCXpresso824-MAX gives:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.\openocd -f interface/cmsis-dap.cfg -c "debug_level 4"&lt;/P&gt;&lt;P&gt;GNU MCU Eclipse OpenOCD, 64-bitOpen On-Chip Debugger 0.10.0+dev-00593-g23ad80df4 (2019-04-22-20:25)&lt;BR /&gt;Licensed under GNU GPL v2&lt;BR /&gt;For bug reports, read&lt;BR /&gt; &lt;A href="http://openocd.org/doc/doxygen/bugs.html" target="test_blank"&gt;http://openocd.org/doc/doxygen/bugs.html&lt;/A&gt;&lt;BR /&gt;User : 14 6 command.c:544 command_print(): debug_level: 4&lt;BR /&gt;Info : 15 11 server.c:311 add_service(): Listening on port 6666 for tcl connections&lt;BR /&gt;Info : 16 15 server.c:311 add_service(): Listening on port 4444 for telnet connections&lt;BR /&gt;Debug: 17 19 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_init&lt;BR /&gt;Debug: 18 22 command.c:143 script_debug(): command - init ocd_init&lt;BR /&gt;Debug: 20 24 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target init&lt;BR /&gt;Debug: 21 28 command.c:143 script_debug(): command - ocd_target ocd_target init&lt;BR /&gt;Debug: 23 30 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names&lt;BR /&gt;Debug: 24 34 command.c:143 script_debug(): command - ocd_target ocd_target names&lt;BR /&gt;Debug: 25 36 target.c:1410 handle_target_init_command(): Initializing targets...&lt;BR /&gt;Debug: 26 69 cmsis_dap_usb.c:251 cmsis_dap_usb_open(): Cannot read product string of device 0x46d:0xc232&lt;BR /&gt;Debug: 27 74 cmsis_dap_usb.c:251 cmsis_dap_usb_open(): Cannot read product string of device 0x46d:0xc231&lt;BR /&gt;Debug: 28 1084 cmsis_dap_usb.c:409 cmsis_dap_usb_xfer(): error reading data: (null)&lt;BR /&gt;Error: 29 1092 cmsis_dap_usb.c:503 cmsis_dap_cmd_DAP_Info(): CMSIS-DAP command CMD_INFO failed.&lt;BR /&gt;Debug: 30 1102 command.c:651 run_command(): Command 'init' failed with error code -107&lt;BR /&gt;User : 31 1110 command.c:715 command_run_line():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Running OpenOCD with the LPCXpresso824-MAX built in debugger gives:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.\openocd -f interface/cmsis-dap.cfg -c "debug_level 4"&lt;BR /&gt;GNU MCU Eclipse OpenOCD, 64-bitOpen On-Chip Debugger 0.10.0+dev-00593-g23ad80df4 (2019-04-22-20:25)&lt;BR /&gt;Licensed under GNU GPL v2&lt;BR /&gt;For bug reports, read&lt;BR /&gt; &lt;A href="http://openocd.org/doc/doxygen/bugs.html" target="test_blank"&gt;http://openocd.org/doc/doxygen/bugs.html&lt;/A&gt;&lt;BR /&gt;User : 14 6 command.c:544 command_print(): debug_level: 4&lt;BR /&gt;Info : 15 10 server.c:311 add_service(): Listening on port 6666 for tcl connections&lt;BR /&gt;Info : 16 13 server.c:311 add_service(): Listening on port 4444 for telnet connections&lt;BR /&gt;Debug: 17 16 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_init&lt;BR /&gt;Debug: 18 20 command.c:143 script_debug(): command - init ocd_init&lt;BR /&gt;Debug: 20 22 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target init&lt;BR /&gt;Debug: 21 25 command.c:143 script_debug(): command - ocd_target ocd_target init&lt;BR /&gt;Debug: 23 28 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names&lt;BR /&gt;Debug: 24 31 command.c:143 script_debug(): command - ocd_target ocd_target names&lt;BR /&gt;Debug: 25 32 target.c:1410 handle_target_init_command(): Initializing targets...&lt;BR /&gt;Info : 26 63 cmsis_dap_usb.c:874 cmsis_dap_get_caps_info(): CMSIS-DAP: SWD Supported&lt;BR /&gt;Info : 27 63 cmsis_dap_usb.c:854 cmsis_dap_get_version_info(): CMSIS-DAP: FW Version = 1.10&lt;BR /&gt;Info : 28 79 cmsis_dap_usb.c:839 cmsis_dap_get_serial_info(): CMSIS-DAP: Serial# = 09023012&lt;BR /&gt;Error: 29 79 cmsis_dap_usb.c:999 cmsis_dap_init(): CMSIS-DAP: JTAG not supported&lt;BR /&gt;Debug: 30 79 command.c:651 run_command(): Command 'init' failed with error code -107&lt;BR /&gt;User : 31 79 command.c:715 command_run_line():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Donald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2019 07:01:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-Link2-Not-Working-as-CMSIS-DAP/m-p/939115#M37445</guid>
      <dc:creator>donald1</dc:creator>
      <dc:date>2019-10-03T07:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-Link2 Not Working as CMSIS-DAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-Link2-Not-Working-as-CMSIS-DAP/m-p/939116#M37446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also I just tried this on another Windows 10 computer that had not previously had any of the drivers installed and it gives me the same error with a slightly different debug output.&lt;/P&gt;&lt;P&gt;.\openocd.exe -f interface\cmsis-dap.cfg -c "debug_level 4"&lt;BR /&gt;GNU MCU Eclipse OpenOCD, 64-bitOpen On-Chip Debugger 0.10.0+dev-00593-g23ad80df4 (2019-04-22-20:25)&lt;BR /&gt;Licensed under GNU GPL v2&lt;BR /&gt;For bug reports, read&lt;BR /&gt; &lt;A href="http://openocd.org/doc/doxygen/bugs.html" target="test_blank"&gt;http://openocd.org/doc/doxygen/bugs.html&lt;/A&gt;&lt;BR /&gt;User : 14 0 command.c:544 command_print(): debug_level: 4&lt;BR /&gt;Info : 15 16 server.c:311 add_service(): Listening on port 6666 for tcl connections&lt;BR /&gt;Info : 16 16 server.c:311 add_service(): Listening on port 4444 for telnet connections&lt;BR /&gt;Debug: 17 16 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_init&lt;BR /&gt;Debug: 18 16 command.c:143 script_debug(): command - init ocd_init&lt;BR /&gt;Debug: 20 32 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target init&lt;BR /&gt;Debug: 21 32 command.c:143 script_debug(): command - ocd_target ocd_target init&lt;BR /&gt;Debug: 23 32 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names&lt;BR /&gt;Debug: 24 32 command.c:143 script_debug(): command - ocd_target ocd_target names&lt;BR /&gt;Debug: 25 32 target.c:1410 handle_target_init_command(): Initializing targets...&lt;BR /&gt;Debug: 26 1079 cmsis_dap_usb.c:409 cmsis_dap_usb_xfer(): error reading data: (null)&lt;BR /&gt;Error: 27 1079 cmsis_dap_usb.c:503 cmsis_dap_cmd_DAP_Info(): CMSIS-DAP command CMD_INFO failed.&lt;BR /&gt;Debug: 28 1094 command.c:651 run_command(): Command 'init' failed with error code -107&lt;BR /&gt;User : 29 1110 command.c:715 command_run_line():&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 00:40:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-Link2-Not-Working-as-CMSIS-DAP/m-p/939116#M37446</guid>
      <dc:creator>donald1</dc:creator>
      <dc:date>2019-10-04T00:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-Link2 Not Working as CMSIS-DAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-Link2-Not-Working-as-CMSIS-DAP/m-p/939117#M37447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="346744" data-username="donald@rimik.com" href="https://community.nxp.com/people/donald@rimik.com"&gt;Donald Bailey&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;It seems a bit weird. Whether you try to use the LPC-link2 to program the LPC824-MAX board via the MCUXpresso IDE, if not, please give a try. In addition, JP1 should be closed when using an external debug probe to connect the P5 connector.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 02:19:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-Link2-Not-Working-as-CMSIS-DAP/m-p/939117#M37447</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-10-08T02:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC-Link2 Not Working as CMSIS-DAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-Link2-Not-Working-as-CMSIS-DAP/m-p/939118#M37448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;The LPC-Link2 does work when I use it with MCUXpresso so it would appear to be something to do with how OpenOCD interacts with the LPC-Link2. I am not using MCUXpresso for this project but rather VisualGDB and OpenOCD. I have also tried the LPC-Link2 with the Jlink firmware loaded and it also works but the licencing terms make it unsuitable for a commercial project.&lt;/P&gt;&lt;P&gt;Also you are correct, what I originally wrote about JP1 on the LPC824-MAX was incorrect.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Donald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 03:23:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-Link2-Not-Working-as-CMSIS-DAP/m-p/939118#M37448</guid>
      <dc:creator>donald1</dc:creator>
      <dc:date>2019-10-15T03:23:26Z</dc:date>
    </item>
  </channel>
</rss>

