<?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: Cannot connect to target via CMSIS-DAP - Vybrid in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377209#M3951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried disabling the VM's USB adapter's 2.0 functionality (unchecked "Enable high-speed support for USB 2.0 devices") and it still has trouble connecting. :smileysad: :smileysad:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 19:34:07 GMT</pubDate>
    <dc:creator>jackblather</dc:creator>
    <dc:date>2014-09-18T19:34:07Z</dc:date>
    <item>
      <title>Cannot connect to target via CMSIS-DAP - Vybrid</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377206#M3948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm getting a bunch of errors when trying to connect my DS-5 session to the Vybrid target over the USB CMSIS-DAP connection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sep 16 16:41:59 ubuntu32 kernel: [ 1593.352279] usb 2-2.3: usbfs: USBDEVFS_CONTROL failed cmd browse_cmsis_da rqt 128 rq 6 len 255 ret -110&lt;/P&gt;&lt;P&gt;Sep 16 16:42:09 ubuntu32 kernel: [ 1603.363434] usb 2-2.3: usbfs: USBDEVFS_CONTROL failed cmd browse_cmsis_da rqt 128 rq 6 len 255 ret -110&lt;/P&gt;&lt;P&gt;etc etc forever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this happens, I cannot connect to the target to download and debug code. Also, trying to use the Connection Browser causes the exact same results - I get all those errors in the syslog and the Connection Browser remains blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The weird thing is that it will behave like this for most of a day then suddenly start working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other than this, about half the time, I cannot connect and sometimes have to cycle power or just soft reboot the Vybrid tower in order to connect. Sometimes (but rarely) I have to reboot the development host to get it to work. I've had to live with this for the last year....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried reflashing the firmware in the K20. I most recently used the K20 CMSIS-DAP firmware mentioned in this thread: &lt;A href="https://community.nxp.com/message/356398"&gt;Updated CMSIS-DAP application&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have an idea why this is happening? Sometimes this happens for hours on end and I can't get anything done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to me that either the CMSIS-DAP protocol or the P&amp;amp;E firmware isn't mature and is full of bugs....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 20:12:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377206#M3948</guid>
      <dc:creator>jackblather</dc:creator>
      <dc:date>2014-09-17T20:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to target via CMSIS-DAP - Vybrid</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377207#M3949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It seems to me that either the CMSIS-DAP protocol or the P&amp;amp;E firmware isn't mature and is full of bugs....&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I can't disagree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, it's Linux (I know, but others could wonder are you using Windows or Linux), but how do you run it? Is it real Linux PC or some kind of virtual machine? I need to use Windows and run Ubuntu in VM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VMware: Vybrid Tower card CMSIS-DAP works if you switch USB to USB 1.1 mode. Setting USB to 2.0 mode makes you unable to use CMSIS-DAP and produces a lot of messages like you.&lt;/P&gt;&lt;P&gt;On real machine you may need EHCI or some other USB 2.0 host driver compiled as module, removing it perhaps should help. Using VMware it is just a couple of mouse clicks.&lt;/P&gt;&lt;P&gt;Virtual Box: works well out of the box, but I didn't try to install any extensions and I think that without them VBox works in USB 1.1 mode, which works well with CMSIS-DAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OT: On VMware for some reason it is not possible to use Linux TFTP server, which connects to the world via my laptops WiFi. Wired TFTP server works, but I want to use wire for tower connection and WiFi for wireless connection to the rest of world. Perhaps driver problem, perhaps VMware issue, I don't know. Good think is that you don't need to reinstall Ubuntu in VM to switch to / from Virtual Box, disk images are compatible.&lt;/P&gt;&lt;P&gt;Virtual Box for some reason doesn't allow drag&amp;amp;drop from guest Linux to host Windows. Perhaps just my PC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 06:30:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377207#M3949</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2014-09-18T06:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to target via CMSIS-DAP - Vybrid</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377208#M3950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edward,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the information on USB1.1 vs USB2.0. I am indeed using Ubuntu in a VMware VM on a Windows Host. I will try to switch the USB adapter in the VM to 1.1 and give it a go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 06:47:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377208#M3950</guid>
      <dc:creator>jackblather</dc:creator>
      <dc:date>2014-09-18T06:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to target via CMSIS-DAP - Vybrid</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377209#M3951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried disabling the VM's USB adapter's 2.0 functionality (unchecked "Enable high-speed support for USB 2.0 devices") and it still has trouble connecting. :smileysad: :smileysad:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 19:34:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377209#M3951</guid>
      <dc:creator>jackblather</dc:creator>
      <dc:date>2014-09-18T19:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to target via CMSIS-DAP - Vybrid</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377210#M3952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know "Enable high-speed support for USB 2.0 devices" setting in VMware, perhaps it's different version. In guest machine settings please go to Hardware -&amp;gt; USB Controller -&amp;gt; USB compatibility and try setting it to USB 1.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also it is not clear, do you still have trouble due to messages like &lt;/P&gt;&lt;P&gt; usb 2-2.3: usbfs: USBDEVFS_CONTROL failed cmd browse_cmsis_da rqt 128 rq 6 len 255 ret -110,&lt;/P&gt;&lt;P&gt;and have problems detecting CMSIS-DAP in DS-5 debugger settings? DS-5 detects CMSIS 1 out of 10 or so detection attempts. If so, then it's worth trying VirtualBox. It works for me on two machines, desktop and laptop, both using I5-4xxx CPU's, Win8.1 x64 / Win7 x64 host OS's, Ubuntu 14 desktop guest OS's. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If indeed DS-5 detects CMSIS-DAP easily, then your issue may be the same like in DS-5 for Windows. Debugger sometimes seems starting uploading code to target before CMSIS-DAP finishes connecting to target. In such cases it helps to have dedicated Just Connect target, connect to it, reset target from debugger, and then reconnect with right debugger target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 04:07:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377210#M3952</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2014-09-19T04:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to target via CMSIS-DAP - Vybrid</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377211#M3953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Edward,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still getting these error messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;usb 1-2.2: usbfs: USBDEVFS_CONTROL failed cmd vstrm_serverd_r rqt 128 rq 6 len 255 ret -110&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I still have problems detecting the CMSIS-DAP in the DS-5 debugger settings still. DS-5 sometimes detects the CMSIS-DAP hardly at all. Not even 1 in 10 times. More like 1 in 40 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have a hardware USB compatibility menu in ubuntu, but there is some information about the USB controller. It says the max speed is 12 MBit/sec, meaning it's USB 1.1 already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I plug in the CMSIS-DAP in to the VM, this is what syslog reports:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;usb 1-2.2: new full-speed USB device number 8 using uhci_hcd&lt;/P&gt;&lt;P&gt;usb 1-2.2: New USB device found, idVendor=c251, idProduct=f002&lt;/P&gt;&lt;P&gt;usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3&lt;/P&gt;&lt;P&gt;usb 1-2.2: Product: OpenSDA CMSIS-DAP&lt;/P&gt;&lt;P&gt;usb 1-2.2: Manufacturer: KEIL - Tools By ARM&lt;/P&gt;&lt;P&gt;usb 1-2.2: SerialNumber: A000000001&lt;/P&gt;&lt;P&gt;hid-generic 0003:C251:F002.0005: hiddev0,hidraw2: USB HID v1.00 Device [KEIL - Tools By ARM OpenSDA CMSIS-DAP] on usb-0000:02:00.0-2.2/input0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 07:23:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377211#M3953</guid>
      <dc:creator>jackblather</dc:creator>
      <dc:date>2014-09-19T07:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to target via CMSIS-DAP - Vybrid</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377212#M3954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I don't have a hardware USB compatibility menu in ubuntu, but there is some information about the USB controller. It says the max speed is 12 MBit/sec, meaning it's USB 1.1 already.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I meant VMware machine setting in Windows for your Ubuntu guest OS. VMware windows menu, do you see it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But hm, I'm not sure if I tried VMware USB speed trick on both my PCs. I'm sure it worked on my laptop, but it could be that it didn't on desktop, can't remember. I switched to VirtualBox and it almost suits my nees, CMSIS-DAP works under Linux guest OS on both PC's, also TFTP doesn't timeout when operating over WiFi link. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 10:47:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377212#M3954</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2014-09-19T10:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to target via CMSIS-DAP - Vybrid</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377213#M3955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My VMware Player/Workstation software doesn't have that compatibility option. I have Workstation 8. Oh well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help. I might try VirtualBox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 20:09:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377213#M3955</guid>
      <dc:creator>jackblather</dc:creator>
      <dc:date>2014-09-19T20:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot connect to target via CMSIS-DAP - Vybrid</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377214#M3956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is now working much better. Not sure if it's the effect of unchecking the USB2.0 box in VMware settings or not....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 22:42:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-connect-to-target-via-CMSIS-DAP-Vybrid/m-p/377214#M3956</guid>
      <dc:creator>jackblather</dc:creator>
      <dc:date>2014-09-19T22:42:28Z</dc:date>
    </item>
  </channel>
</rss>

