<?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: Hard evidence for usbser.sys, Now I'm all psyched up again in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213254#M10643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today I received&amp;nbsp;a demo&amp;nbsp;board/kit for a peripheral chip I'm evaluating.&amp;nbsp;&amp;nbsp; It used a Virtual COM Port, so I found the .inf file that it installed on my computer, and ...&amp;nbsp;IT USES usbser.sys&lt;FONT size="5"&gt;!!!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;It installed with no errors or problems what so ever.&amp;nbsp; The USB converter is a PIC18Fxxxxx, and I think I found some example code for it on the Microchip site.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the first hard evidence I've seen for Virtual COM Port using usbser.sys.&amp;nbsp;&amp;nbsp; Now I'm all psychged to re-write my .inf again&amp;nbsp;based on&amp;nbsp;this Microchip version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will&amp;nbsp;make the change to the device descriptor that&amp;nbsp;you suggested.&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;My descriptors are based on a number of sources I actually dug through the 5-level deep macros to figure out what was in some of the CMX descriptors.&amp;nbsp;&amp;nbsp; I&amp;nbsp;filled out some of it from &amp;nbsp;the descriptors from Jan Axelson's book "Werial Port Complete", and I found the descriptors from a partial example from Micro chip.&amp;nbsp;&amp;nbsp; I haven't yet figured it all out, I'm still&amp;nbsp;just a beginner at USB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I get this driver to install, then I'll be able to start having REAL&amp;nbsp;problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2012 08:36:50 GMT</pubDate>
    <dc:creator>Mudwog</dc:creator>
    <dc:date>2012-04-04T08:36:50Z</dc:date>
    <item>
      <title>USB enumeration problems</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213232#M10621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working on a USB Virtual COM port for the MCF52259 (using the big EVB board).&lt;/P&gt;&lt;P&gt;I hve no managed to get it to enumerate, and if been working on it for .."a while".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here are all the transactions I get,and questioms:&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;rx sleep, rx reset, rx reset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rx device descriptor request, tx 12 bytes, tx 0 bytes, rx 0 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rx reset, rx set addr request, rx EP0 IN request then addr is set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Shoud I sent a zero length packet after setting the addr?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rx device descriptor request, tx 12 bytes, tx 0 bytes, rx 0 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rx configuration descriptor request, tx 9 bytes, tx 0 bytes, rx 0 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rx configuration descriptor request, tx 64 bytes, tx3 bytes, rx 0 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Everything looks perfect up to this point, but I have not been&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; able to find any information about the next request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Does any one know what could cause this request for a bogus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; descriptor type 6?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rx request descriptor type 6, tx 0bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (If I don't tx 0 bytes, it stops communicating right here)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; after a 5 second delay the bogous descriptor is requested again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rx request descriptor type 6, tx 0 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;after a 5 second delay it goes on&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rx string 0 descriptor request, tx 4 bytes, tx 0 bytes, rx 0 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rx string 2 descriptor request, tx 10 bytes ,tx 0 bytes, rx 0 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rx device descriptor request, tx 12 bytes, tx 0 bytes, rx 0 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rx configuration descriptor request, tx 9 bytes, tx 0 bytes, rx 0 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Host stops communicating&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking it shoulc get past this point without ever involving usbser.sys, but maybe not.&lt;/P&gt;&lt;P&gt;I'm also having problems geting it to install.&amp;nbsp; I am not a windows hack.&lt;/P&gt;&lt;P&gt;It gives bad messages about the dirver and then a (Code10) can't start device.&lt;/P&gt;&lt;P&gt;details of the istallation problems and my .inf are in the attached zip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mudwog&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 11:08:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213232#M10621</guid>
      <dc:creator>Mudwog</dc:creator>
      <dc:date>2012-03-06T11:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems  TYPO</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213233#M10622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rx configuration descriptor request, tx 64 bytes, tx3 bytes, rx 0 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should have been:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rx configuration descriptor request, tx 64 bytes, tx3 bytes, tx 0 bytes, rx 0 bytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;didn't type in the ZLP after the 67 byte configuration descriptor is sent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mudwog&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 12:25:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213233#M10622</guid>
      <dc:creator>Mudwog</dc:creator>
      <dc:date>2012-03-06T12:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems  TYPO</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213234#M10623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that your bogus 0x06 is the USB device qualifier descriptor. This is only sent when you declare that you are in USB 2.0 mode and not when you declare USB 1.1 mode (If you simply say that you are in 1.1 mode it will probably go away). There is no disadvantage in working in 1.1 mode anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You must respond to this - a fixed response is OK if you stay in 2.0 mode and don't change between enumerations:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;0A 06 00 02 00 00 00 40 01 00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This is a fixed response confirming USB2.0 mode, a 64 byte rx endpoint (this has to have this value) and a single configuration (the 1 towards the end).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to reply to the set address with a zero data frame and set the new address only when you get an ACK from the zero frame (not before, otherwise a loss of the zero data will cause a deadlock).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also check out the uTasker project because it support USB-CDC, USB-MSD and USB-HID and the USB operation on the M52259 can be simulated to make work much simpler and efficient&lt;/P&gt;&lt;P&gt;The USB controller in the Coldfire is very solid but not always the simplest to use because the driver has to control a lot of low level details. It is handy to have a good USB analyser when doing low level developments too otherwise one can lose huge amounts of time experimenting without really knowing the underlying details.&lt;/P&gt;&lt;P&gt;I use the Ellisys USB explorer and also the Total Phase USB Beagle 480 - each has its own main strengths and the Beagle is a well priced one with full class decoding as standard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The USB user's guide is here: &lt;A href="http://www.utasker.com/docs/uTasker/USB_User_Guide.PDF" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/USB_User_Guide.PDF&lt;/A&gt; which discusses USB-CDC. For general USB tecnical discussions the forum there &lt;A href="http://www.utasker.com/forum/" rel="nofollow" target="_blank"&gt;http://www.utasker.com/forum/&lt;/A&gt; can also be used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 07:24:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213234#M10623</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2012-03-07T07:24:03Z</dc:date>
    </item>
    <item>
      <title>Fixed response  for 2.0</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213235#M10624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou!&lt;/P&gt;&lt;P&gt;I will try both suggestions. right away.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mudwog&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 10:25:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213235#M10624</guid>
      <dc:creator>Mudwog</dc:creator>
      <dc:date>2012-03-07T10:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed response  for 2.0</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213236#M10625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;I tried both suggestions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Changing the device descriptor from 2.0 to 1.1 made the bogous request for descriptor 6 go away.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding the fixed response device qualifier descriptor for 2.0&amp;nbsp;seemed to satisfy windows and it went on&lt;/P&gt;&lt;P&gt;after that without the 5 second delay and retry.&lt;/P&gt;&lt;P&gt;In this case I got the very annoying bubble message saying "this device can run faster blah, blah, blah"&lt;/P&gt;&lt;P&gt;(which I'm suspecting could indicate that there is something else wrong wtih my descriptors, since it was plugged&lt;/P&gt;&lt;P&gt;into a relatively modern High-speed capable USB port on my computer, which should handle Full-speed&lt;/P&gt;&lt;P&gt;with no problem).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there's nothing else wrong with my descriptors, then I would say that avoiding that very annoying message would&lt;/P&gt;&lt;P&gt;be a big advantage to changing to 1.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course my stuff is still failing, it looks like I still have a long way to go, but at least the bogous descriptor 6&lt;/P&gt;&lt;P&gt;mystery is solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mudwog&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 12:04:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213236#M10625</guid>
      <dc:creator>Mudwog</dc:creator>
      <dc:date>2012-03-07T12:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed response  for 2.0</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213237#M10626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, emumeration is just the beginning of the USB journey - although&amp;nbsp; having developed USB drivers for a number of different USB controllers it is always a bit like going through hell since each one does it a completely different way and the details are never explained in the user manuals (there may be huge amounts of text there but the relevant details are only identified by trial and error and reading between the lines, plus "burning mignight oil") .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fortunately the Coldfire and Kinetis are almost compatible so this only needs to be suffered once..;-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My original Coldfire USB development took about 1 year to get operating fully reliably (as far as that is possible to known) and since then has verified in a number of industrial projects, including running intensive MODBUS over USB, which was very easy to set up but I didn't see it done over USB before - although that development time inlcuded also generic USB framework and USB classes. I budget 2..3 months for new drivers (eg. I just completed an STM32F4xx version) from start to validation even though they share the generic USB class stuff because they are such pigs to get absolutely right to be trusted for productive use (and sometimes there is some undocumented errata to workaround in new devices where you are pretty much "on your own").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2012 19:54:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213237#M10626</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2012-03-07T19:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213238#M10627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi wudwog,&lt;/P&gt;&lt;P&gt;the usb enumeration problem is ok?&lt;/P&gt;&lt;P&gt;you write a program by yourseld from zero, and dont use anyone usb stack.&lt;/P&gt;&lt;P&gt;i will complete the same function in my project now , i hope that your problem is solved &amp;nbsp;as soon as possible.&lt;/P&gt;&lt;P&gt;Unfortunately I don't understand the enum from host now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 10:17:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213238#M10627</guid>
      <dc:creator>cathychang</dc:creator>
      <dc:date>2012-03-09T10:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213239#M10628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cathychang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not found any useful example code for Virtual COM port.&amp;nbsp; (It seems to me that this would be a fairly common function, but I have not found any useful&amp;nbsp;information on the subject).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found several example .inf's and the descriptors in Jan Axelson's book "Serial Port Complete". &amp;nbsp;But, there is no documentation that I've been able to find, and there is no example code.&amp;nbsp; I have seen some posts on other forums indicating that there are people working on USB Virtual COM Port for other processors, but no useful information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only comprehensible USB&amp;nbsp;example code I've managed to find is the bootloader (available&amp;nbsp;from Freescale's web site)&amp;nbsp;where the MCF52259 behaves like a flash stick, (which&amp;nbsp;was helpful,&amp;nbsp;but not instructive for&amp;nbsp;making a Virtual COM Port).&amp;nbsp; (I have modified that bootloader and I've been using it for my development, it is&amp;nbsp;much more convenient than burning flash with the BDM device).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently&amp;nbsp;I am&amp;nbsp;stuck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The host simply stops communicating just before it should send a SET configuration, or SET interface command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I make&amp;nbsp;progress I will post any useful information I find, but right now I'm lost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mudwog&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2012 08:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213239#M10628</guid>
      <dc:creator>Mudwog</dc:creator>
      <dc:date>2012-03-10T08:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213240#M10629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll remind a final time that there is full USB-CDC support in the uTasker project (code, documentation, simulation and professional support).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The .inf looks fine. I expect that there is still a problem during enumeration since the set configuration is the final step.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is a typical enumeration sequence for USB-CDC in USB2.0 mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note the following:&lt;/P&gt;&lt;P&gt;- there is a control transfer stall taking place when the Microsoft OS specific string descriptor 238 is received. This only occurs in 2.0 mode but you will need to ensure that it is being handled correctly. The stall just informs that it is not supported (which is the behaviour required for all unsupported requests otherwise it will fail).&lt;/P&gt;&lt;P&gt;- The set configuration will be sent as final stage during enumeration. If it doesn't take place there may be a problem with the information returned in the configuration descriptor. You will need to check the content being transferred. Also note that the USB controller in the M52259 can not transfer content directly from consts in Flash without using back-door accesses (in this case it would be sending blank content, or similar). If you build up the content in SRAM this workaround is not required.&lt;/P&gt;&lt;P&gt;- Check carefully the DATA toggling that takes place when the longer answers are sent. This needs to be controlled by the driver. If it is not correct it is only visible with an analyser which will point this out. Enumeration would otherwise fail with no clear reason or errors if it is not correct.&lt;/P&gt;&lt;P&gt;- After the configuration there are just 2 final endpoint 0 frames (the get line coding and the set control state). If you are sure that the set configuration is not taking place this will not yet be a potential problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Mar 2012 23:28:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213240#M10629</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2012-03-10T23:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213241#M10630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi mjbcswitzerland,&lt;/P&gt;&lt;P&gt;I want to know which tool you used to get the&amp;nbsp;detailed&amp;nbsp;by PC &amp;nbsp;during enumeration .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 08:24:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213241#M10630</guid>
      <dc:creator>cathychang</dc:creator>
      <dc:date>2012-03-13T08:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213242#M10631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the "Ellisys USB explorer" and also the "Total Phase USB Beagle 480" - each has its own main strengths and the Beagle is a well priced one with full class decoding as standard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a basic version of the Beagle for $475 - &lt;A href="http://www.totalphase.com/products/beagle_usb12/" rel="nofollow" target="_blank"&gt;http://www.totalphase.com/products/beagle_usb12/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For full class decoding and high speed the 480 costs $1'400. &lt;A href="http://www.totalphase.com/products/beagle_usb480/" rel="nofollow" target="_blank"&gt;http://www.totalphase.com/products/beagle_usb480/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;They also have a USB 3 analyser but that gets quite expensive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Ellisys is also very good but a bit more expensive - sometimes I just like the way it shows data (so I understand quickly what is happening and what is to be done to solve things) but this is personal preference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For low level USB developments it is almost essential to have one (unless you are extremently lucky and all code you write just magically works... I am not so lucky... or if your employer doesn't mind paying your wages for months on end without getting a USB based project completed).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 09:12:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213242#M10631</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2012-03-13T09:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213243#M10632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mjbcswitzerland&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I only have Internet Explorer 8.&amp;nbsp; I can't navigate the utasker forum.&amp;nbsp; But I was able to get a copy of a .zip file from the utasker web site that looked as if it contained some example code: uTaskerM522XX_V1.4-0.zip.&lt;/P&gt;&lt;P&gt;I can't look at anything in the .zip because it is password protected.&amp;nbsp; I didn't even know it was possible to password protect .zips or individual files...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mudwog&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 13:15:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213243#M10632</guid>
      <dc:creator>Mudwog</dc:creator>
      <dc:date>2012-03-15T13:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213244#M10633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mudwog&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Typically, people have several Web Browsers installed (they are all free - Firefox is probably the best - then Chrome and Safari are popular). IE versions tend to be slow and break things in each release but there is a "compatibility mode" that can be selected which usually makes it usable with web sites that the newer version doesn't handle as it used to do. Trying to keep some web sites compatible with new IE versions is a huge task so best to have a selection and avoid potential problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The latest Coldfire V2 version is in fact:&lt;/P&gt;&lt;P&gt;uTaskerV1.4.10 M522XX - 13.02.2012 &lt;A href="http://www.utasker.com/software/V1.4/uTaskerM522XX_V1.4-10.zip" rel="nofollow" target="_blank"&gt;http://www.uTasker.com/software/V1.4/uTaskerM522XX_V1.4-10.zip&lt;/A&gt;&lt;BR /&gt;================================================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is complete project code for all Coldfire V2 devices (USB, TCP/IP, OS, Boot Loaders, FAT32 etc.).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The registration form is at &lt;A href="http://www.utasker.com/Licensing/License.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/Licensing/License.html&lt;/A&gt; ( &lt;A href="http://www.utasker.com/Licensing/request.html)" rel="nofollow" target="_blank"&gt;http://www.utasker.com/Licensing/request.html)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 17:52:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213244#M10633</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2012-03-15T17:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213245#M10634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hi mjbcswitzerland,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your detailed introduce about these two tools.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I see.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 13:53:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213245#M10634</guid>
      <dc:creator>cathychang</dc:creator>
      <dc:date>2012-03-16T13:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems - giving up</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213246#M10635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the time being I am giving up on the Virtual COM Port device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been beating on it trying to get it to enumerate, and&amp;nbsp;I am&amp;nbsp;convinced that the failure to enumerate&amp;nbsp;is&amp;nbsp;because the Wizard&amp;nbsp;has problems&amp;nbsp;installing&amp;nbsp;usbser.sys.&amp;nbsp; Without the usbser.sys&amp;nbsp;driver the enumeration fails right after reading the full configuration descriptor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try to contract a Windows expert.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 11:49:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213246#M10635</guid>
      <dc:creator>Mudwog</dc:creator>
      <dc:date>2012-03-26T11:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems - giving up</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213247#M10636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mudwog&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please could you send me your binary (that is failing the enumeration) and your *.inf [or post them here].&lt;/P&gt;&lt;P&gt;In addition tell me which evaluation or demo board the binary is for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can load it and use my tools to identify exactly the reason for the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since I never experienced problems with driver installs on XP, Vista or Win 7 there is a chance that there is something going on which you haven't been able to see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 02:09:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213247#M10636</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2012-03-27T02:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems - giving up</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213248#M10637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello mjbcswitzerland,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm fairly sure that my EP0 code on the MCF52259 is working.&amp;nbsp; I have re-written all of the USB portions&amp;nbsp;Derek Snells Mass Storage Device Bootloader to be compatible with my system.&amp;nbsp; And I also re-wrote all of the USB portions of that bootloader in assembly language just as a learning project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My attempt at Virtual COM Port Device is failing because i can't get the usbser.sys driver to run.&amp;nbsp; I have tried two different systems XP-SP2 and XP-SP3, same results.&amp;nbsp; It extracts usbser.sys from the .cab file and copies it into the windows drivers directory, but it will not function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an experiment to see if my EP0 stuff was ok, I put in the descriptors from my Mass Storage Device bootloader, and commented out the CDC descriptors.&amp;nbsp; It completely enumerated.&amp;nbsp; I did it witht he max buffer size&amp;nbsp; for EP0 set to 8, 16, 32, and 64.&amp;nbsp; It sends&amp;nbsp;configuration descriptors in more than one pass with no problem, and also odd or even numbers of transmissions based on the max buffer size.&amp;nbsp; It completely enumerated, set the configuration, and only failed when the PC started trying to access it as a FLASH stick since it can't handle that.&amp;nbsp;&amp;nbsp;&amp;nbsp; The Mass storage driver is built in so no .inf file is needed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm fairly certain that getting usbser.sys to run is&amp;nbsp;my main problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a m52259DEMOMCU baord at the moment but I also have&amp;nbsp;one mcf52259-EVB "big board" that I've also been using.&amp;nbsp; The small DEMOMCU doesn't support OTG, but that shouldn't make any difference in this case because&amp;nbsp;the Virtual COM Port&amp;nbsp;is a simple device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attached .zip contains an rtf&amp;nbsp;the various error dialog boxes that windows puts up&amp;nbsp;and also my .inf.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mudwog&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 07:37:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213248#M10637</guid>
      <dc:creator>Mudwog</dc:creator>
      <dc:date>2012-03-29T07:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems - giving up</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213249#M10638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The typical installation does the following (the first time that the device is connected).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Immediately there is the enumeration to get the device specific data and start the driver install. This is however not complete since it doesn't set set the configuration yet&lt;/P&gt;&lt;P&gt;2) There is the period where the driver is copied - this may take 15s or so (only on first connection)&lt;/P&gt;&lt;P&gt;3) The enumeration now completes with a "set configuration", followed by the (CDC specific) request from the device about its setting (class IN request 0x21). The default COM port setting is then commanded by the PC host (class OUT request 0x22).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If these are not handled correctly you may get the error message that you are seeing&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;4) Normally the operation will start for the first time after another 10s or so, whereby the bulk endpoint will be polled for data at a high speed (and a second bulk endpoing slowly).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you verified that you are correctly handling the class specific requests (these don't arrive with mass storage)? These are also on the control endpoint 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. If you post your binary (or SREC) I can simply verify on DEMO or EVBs. This would clarify things in a few minutes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 19:43:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213249#M10638</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2012-03-29T19:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems - giving up</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213250#M10639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I'm working on a different project now, hoping to hire a Windows Guy to look into this. Then I was hit by S.M.A.R.T. HDD Saturday, and I'm not yet fully recovered.&amp;nbsp; It's been a bad week.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My installations have not been typical.&lt;BR /&gt;Changing the Vendor ID, Product ID or serial number will cause windows to start a new installation, so I've done it several times.&lt;/P&gt;&lt;P&gt;Prior to copying the driver file I get a dialog box saying that the driver is no good (a screen shot is in the Word Pad file in the zip I posted).&amp;nbsp; Clicking the "continue anyway" button copies the file.&amp;nbsp; It extracts the usbser.sys from the SP2.cab and puts it into&amp;nbsp;window's drivers directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is never any communication after that.&amp;nbsp; It just gives the "Code 10" device cannot start.&lt;/P&gt;&lt;P&gt;The PC never sends the set configuration command.&lt;BR /&gt;The PC never sends any device specific commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have device specific handlers that have never been executed (probably buggy).&amp;nbsp; I based the logic on a partial Microchip example I found on Jan Axelson's web site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an experiment I put the descriptors from the Mass storage device Boot loader into my Virtual&amp;nbsp;COM Port device code and it did complete enumeration with that, and it did&amp;nbsp;send the set configuration command.&amp;nbsp; I repeated this with the maximum size of EP0 set to 8, 16, 32, and 64 bytes.&amp;nbsp; It completed&amp;nbsp;enumeration successfully every time.&amp;nbsp; &amp;nbsp;It only failed after the PC started trying to access it as a Flash stick.&amp;nbsp; (I've been using the bootloader to boot my code several times a day for a long time now with no problems).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I might be able to put together a postable .s19 file in a couple of days.&amp;nbsp;(I haven't yet&amp;nbsp;recovered&amp;nbsp;GNU and CodeWrite since the Trojan attack).&amp;nbsp; I appreciate the offer&amp;nbsp;but I&amp;nbsp;doubt that your debugging tools will show any new information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My device descriptors might be the problem, but I suspect that usbser.sys is the problem.&amp;nbsp; I installed it on an XP system with SP3, and got exactly the same results even though it has a different version of usbser.sys.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are some partial examples, and a very sketchy description in Jan Axelson's book "Serial Port Complete", BUT... I have not seen any hard evidence that any one has ever been successful&amp;nbsp; implementing a Virtual COM Port device using usbser.sys.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 00:42:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213250#M10639</guid>
      <dc:creator>Mudwog</dc:creator>
      <dc:date>2012-04-03T00:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: USB enumeration problems - giving up</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213251#M10640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached&amp;nbsp;are my Virtual COM Port&amp;nbsp; Descriptors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 01:08:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/USB-enumeration-problems/m-p/213251#M10640</guid>
      <dc:creator>Mudwog</dc:creator>
      <dc:date>2012-04-03T01:08:19Z</dc:date>
    </item>
  </channel>
</rss>

