Sign in

username:

password:



Not a member?

Search AT91SAM



Search tips

Subscribe to AT91SAM



Ads

Discussion Groups

Discussion Groups | AT91SAM ARM | USB CDC PnP

For users of the Atmel AT91SAM7 and AT91SAM9 ARM CPU chips. Atmel has taken a new direction by combining on chip flash and ram with the ARM CPU on a single die. This provides low cost devices for small systems using the ARM CPU. This group is to exchange information to help users get started and learn how to use the devices.

USB CDC PnP - v333k - Apr 8 22:55:45 2008

Hi all,
I am using the USB CDC class to communicate with my SAM7SE board, but
I would like to know if there is a solution for plugging the board in
the PC. Each time I plug it in a new USB port, I have to install the
driver again. Even though I've installed it many times, it can never
recognize it. I am not sure if it is something that is Windows inf
driver related or the USB Descriptors in the ARM chip.
Thanks in advance!
------------------------------------



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )


Re: USB CDC PnP - Foltos - Apr 9 2:49:51 2008

Hi,

this is how windows works. Windows generates a new device for each port.
Otherwise it will not be able to identify two devices with the same
properties connected at the same time.

Foltos

v333k wrote:
>
> Hi all,
> I am using the USB CDC class to communicate with my SAM7SE board, but
> I would like to know if there is a solution for plugging the board in
> the PC. Each time I plug it in a new USB port, I have to install the
> driver again. Even though I've installed it many times, it can never
> recognize it. I am not sure if it is something that is Windows inf
> driver related or the USB Descriptors in the ARM chip.
>
> Thanks in advance!
>
>



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )

Re: USB CDC PnP - Xiaofan Chen - Apr 9 7:04:15 2008

On Wed, Apr 9, 2008 at 5:54 AM, v333k wrote:
> Hi all,
> I am using the USB CDC class to communicate with my SAM7SE board, but
> I would like to know if there is a solution for plugging the board in
> the PC. Each time I plug it in a new USB port, I have to install the
> driver again. Even though I've installed it many times, it can never
> recognize it. I am not sure if it is something that is Windows inf
> driver related or the USB Descriptors in the ARM chip.
>

Add a unique serial number to your device and it will not prompt
this again.

Example:
http://blogs.msdn.com/oldnewthing/archive/2004/11/10/255047.aspx

Xiaofan

------------------------------------



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )

Re: USB CDC PnP - v333k - Apr 9 12:56:07 2008

--- In A...@yahoogroups.com, "Xiaofan Chen" wrote:
>
> On Wed, Apr 9, 2008 at 5:54 AM, v333k wrote:
> > Hi all,
> > I am using the USB CDC class to communicate with my SAM7SE board, but
> > I would like to know if there is a solution for plugging the board in
> > the PC. Each time I plug it in a new USB port, I have to install the
> > driver again. Even though I've installed it many times, it can never
> > recognize it. I am not sure if it is something that is Windows inf
> > driver related or the USB Descriptors in the ARM chip.
> > Add a unique serial number to your device and it will not prompt
> this again.
>
> Example:
> http://blogs.msdn.com/oldnewthing/archive/2004/11/10/255047.aspx
>
> Xiaofan
>

Thanks! I tried adding a serial number in the device USB descriptor,
but nothing really changed. I read that link you mentioned, but they
are talking about so many different issues. Do I need to modify the
inf file to look for that particular serial number? How can I verify
that when I install the driver, the serial number is now being included?

Thanks again.

------------------------------------



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )

Re: Re: USB CDC PnP - Xiaofan Chen - Apr 9 19:06:23 2008

On Thu, Apr 10, 2008 at 12:54 AM, v333k wrote:
>
> Thanks! I tried adding a serial number in the device USB descriptor,
> but nothing really changed. I read that link you mentioned, but they
> are talking about so many different issues. Do I need to modify the
> inf file to look for that particular serial number? How can I verify
> that when I install the driver, the serial number is now being included?
>

You do not need to change the INF file.

Use a host tool like USBview to see the descriptors. You can either
get USBView from Windows DDK or an old version here.
http://www.ftdichip.com/Resources/Utilities.htm
http://www.ftdichip.com/Resources/Utilities/usbview.zip
Xiaofan

------------------------------------



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )