<?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 TWR-LS1021A DAP Connection Issues in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/TWR-LS1021A-DAP-Connection-Issues/m-p/947531#M4639</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recently received TWR-LS1021A-PC and have been struggling with connecting to the board via the DAP interface.&amp;nbsp; When I try to connect (Run-&amp;gt;Debug Configurations-&amp;gt;Debug), I get the following error (sometimes error to connect to probe).&amp;nbsp; I included the outputs from the console, ccs console outputs I've seen from other people's thread, and details on my version of board / processor / and code warrior.&amp;nbsp; Additionally, I attached the codewarrior generated diagnostic zip file.&amp;nbsp; Any help / ideas would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82212i60A88B4D6CDF8A91/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is the output from the Console:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ccs_open&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ipaddr = 127.0.0.1&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;port = 41475&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;timeout = 180&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_open; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_get_connection_count&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;count = 1&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_get_connection_count; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_available_connections&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;count = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_available_connections; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_available_connections&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;count = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_available_connections; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_config_cc&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;config_string = cmsisdap:0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_config_cc; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_available_connections&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;count = 1&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_available_connections; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_cc_version&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;cc = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;version.major = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;version.minor = 4&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_cc_version; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_set_timeout&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;timeout = 180&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_set_timeout; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_get_config_chain&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;device_list: (size = 0)&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_get_config_chain; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_config_server&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;cc = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;server_config = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;value = 10000&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_config_server; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_config_chain&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;cc = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;device_list: (size = 2)&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;device[0]:: core_type=LS1020A(273)&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;device[1]:: core_type=CMSISDAP(281)&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_config_chain; ccs_error = 26&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;Error message: USB not configured&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_close&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_close; ccs_error = 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is what I see on the CodeWarrior Connection Server console when executing the 'config cc cmsisdap' and '&lt;SPAN&gt;ccs::config_chain {ls1020a cmsisdap}' commands.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(bin) 26 % delete all&lt;BR /&gt;(bin) 26 % config cc cmsisdap&lt;BR /&gt;Identified CMSIS-DAP SERNUM: 2000020316985E54EB6481AC&lt;BR /&gt;Firmware version: 0203&lt;BR /&gt;0: CMSIS-DAP (cmsisdap) CC software ver. {0.4}&lt;BR /&gt;(bin) 27 % ccs::config_chain {ls1020a cmsisdap}&lt;BR /&gt;rddi_CMSIS_DAP_DetectNumberOfDevices failed : 0x100d&lt;BR /&gt;LS1020A: USB not configured&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Details on my versions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Board:&lt;/STRONG&gt; TWR-LS1021A-PC&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CPU:&amp;nbsp;&lt;/STRONG&gt; &amp;nbsp;Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CodeWarrior:&lt;/STRONG&gt; Version 10.0.9 / Build Id 190131&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jul 2019 13:25:16 GMT</pubDate>
    <dc:creator>brentn</dc:creator>
    <dc:date>2019-07-19T13:25:16Z</dc:date>
    <item>
      <title>TWR-LS1021A DAP Connection Issues</title>
      <link>https://community.nxp.com/t5/Layerscape/TWR-LS1021A-DAP-Connection-Issues/m-p/947531#M4639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recently received TWR-LS1021A-PC and have been struggling with connecting to the board via the DAP interface.&amp;nbsp; When I try to connect (Run-&amp;gt;Debug Configurations-&amp;gt;Debug), I get the following error (sometimes error to connect to probe).&amp;nbsp; I included the outputs from the console, ccs console outputs I've seen from other people's thread, and details on my version of board / processor / and code warrior.&amp;nbsp; Additionally, I attached the codewarrior generated diagnostic zip file.&amp;nbsp; Any help / ideas would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82212i60A88B4D6CDF8A91/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is the output from the Console:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ccs_open&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ipaddr = 127.0.0.1&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;port = 41475&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;timeout = 180&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_open; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_get_connection_count&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;count = 1&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_get_connection_count; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_available_connections&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;count = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_available_connections; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_available_connections&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;count = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_available_connections; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_config_cc&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;config_string = cmsisdap:0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_config_cc; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_available_connections&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;count = 1&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_available_connections; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_cc_version&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;cc = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;version.major = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;version.minor = 4&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_cc_version; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_set_timeout&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;timeout = 180&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_set_timeout; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_get_config_chain&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;device_list: (size = 0)&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_get_config_chain; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_config_server&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;cc = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;server_config = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;value = 10000&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_config_server; ccs_error = 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_config_chain&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;cc = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;device_list: (size = 2)&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;device[0]:: core_type=LS1020A(273)&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;device[1]:: core_type=CMSISDAP(281)&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_config_chain; ccs_error = 26&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;Error message: USB not configured&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ccs_close&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;serverh = 0&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;ccs_close; ccs_error = 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is what I see on the CodeWarrior Connection Server console when executing the 'config cc cmsisdap' and '&lt;SPAN&gt;ccs::config_chain {ls1020a cmsisdap}' commands.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(bin) 26 % delete all&lt;BR /&gt;(bin) 26 % config cc cmsisdap&lt;BR /&gt;Identified CMSIS-DAP SERNUM: 2000020316985E54EB6481AC&lt;BR /&gt;Firmware version: 0203&lt;BR /&gt;0: CMSIS-DAP (cmsisdap) CC software ver. {0.4}&lt;BR /&gt;(bin) 27 % ccs::config_chain {ls1020a cmsisdap}&lt;BR /&gt;rddi_CMSIS_DAP_DetectNumberOfDevices failed : 0x100d&lt;BR /&gt;LS1020A: USB not configured&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Details on my versions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Board:&lt;/STRONG&gt; TWR-LS1021A-PC&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CPU:&amp;nbsp;&lt;/STRONG&gt; &amp;nbsp;Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CodeWarrior:&lt;/STRONG&gt; Version 10.0.9 / Build Id 190131&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 13:25:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/TWR-LS1021A-DAP-Connection-Issues/m-p/947531#M4639</guid>
      <dc:creator>brentn</dc:creator>
      <dc:date>2019-07-19T13:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-LS1021A DAP Connection Issues</title>
      <link>https://community.nxp.com/t5/Layerscape/TWR-LS1021A-DAP-Connection-Issues/m-p/947532#M4640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Test your TWR-LS1021a board using the TWR-LS1021A Getting Started Guide:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=TWR-LS1021AGS" target="test_blank"&gt;https://www.nxp.com/webapp/Download?colCode=TWR-LS1021AGS&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;See the Section 5 of this document.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Is there problem for using console and u-boot on your board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Is CMSIS-DAP enabled on your board. See the Section 7.2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;The TWR-LS1021a board uses K20 MCU&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; processors for CMSIS-DAP interface. T&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;est connection to CMSIS-DAP using Windows. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;Is there "mbed Serial Port" and "mbed" device if your board is connected to PC?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Download and install the latest serial driver for Windows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A href="https://os.mbed.com/handbook/Windows-serial-configuration#1-download-the-mbed-windows-serial-port" target="test_blank"&gt;https://os.mbed.com/handbook/Windows-serial-configuration#1-download-the-mbed-windows-serial-port&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;When using the CMSIS-DAP probe, it is recommended to verify operation parameters and RCW correctness before continuing. Failure to program a compatible RCW may result problem for connection using CMSIS-DAP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Check RCW on your board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&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>Mon, 22 Jul 2019 02:47:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/TWR-LS1021A-DAP-Connection-Issues/m-p/947532#M4640</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2019-07-22T02:47:11Z</dc:date>
    </item>
  </channel>
</rss>

