Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] USB CDC standard inf file

2006-04-21 by Bertrik Sikken

I'm using a home-grown USB stack (project lpcusb on sourceforge).
It is basically just a framework for USB devices, handling the hardware
side and "chapter 9" device requests, but it also includes examples for
the HID class and CDC serial port emulation (working on RNDIS ethernet-
over-USB and mass storage).

Bertrik

Marko Pavlin wrote:
> Thank you!
> 
> What "USB stack" do you use? I checked keil USB demos and it looks very 
> nice. Unfortunately they implemented mass storage, audio and HID class 
> so far.
> 
> Marko
> 
> 
> Bertrik Sikken wrote:
>> Marko Pavlin wrote:
>>  > I would like to use CDC USB class to replace RS232 interface for a
>>  > product implemented with LPC2148.
>>
>> I'm also working on a USB CDC class driver for the LPC214x.
>>
>>  >
>>  > I have some (mostly "windows") questions:
>>  >
>>  > 1. Does microsoft provide standard INF file for the CDC driver?
>>
>> Not as far as I know.
>>
>>  > 2. If not, is it possible to define inside INF file the port number
>>  > (e.g. COM9, COM27 etc..)?
>>
>> In my experience, windows just assigns the next available com port.
>>
>> When resetting the USB CDC device while it is open (e.g. in HyperTerm)
>> the 'next available com port' is increased. For example, when virtual
>> COM3 is opened in hyperterm and the device is plugged/unplugged,
>> COM3 gets 'zombified' and the device is now assigned COM4.
>>
>> There was some recent discussion about making a USB CDC COM port
>> persistent on the usb.org discussion forums.
>>
>>  > 3. Where is "normally" usbser.sys after WINxxx installation?
>>
>> I had to manually extract it from one of the .cab files in
>> <windows root>\Driver Cache\i386
>> (driver.cab or sp2.cab)
>>
>> Regards,
>> Bertrik

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.