Dear TechGurus

Can any one pls bring to light what this problem is.....

I am working on a USB Interface. I have a USB Device, the driver is installed properly when I connect my device for the first time. I am giving a soft reset without removing the device from the USB Port(meaning the device is plugged in when I give a soft-reset)
After a soft reset the driver doesnt get loaded for the USB Device. If at all i am making a mistake in thedriver which exposable function in the DLL shuld i peep into. Is it XXX_Powerup

My intention is that driver shuld get loaded soon after i give a soft reset
Pls suggest/clarify

Thanks a tonne
Cheers
Lakshman

Re: USB Driver not loading after a softreset by K

K
Fri May 28 08:45:34 CDT 2004

some of the BSP (like CEPC) while perform a SoftReset, the system will not
trigger a Reset Signal to the peripherals.
So maybe your USB Host controller can not be funtional without a Hardware
Reset Signal.

Some of the work around is to perform a reset for your USB host controller
while loading driver or before soft-reset

"Lakshman" <anonymous@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D
:5A2FDEBC-66AF-464C-8B97-210B22860858@microsoft.com...
> Dear TechGurus,
>
> Can any one pls bring to light what this problem is......
>
> I am working on a USB Interface. I have a USB Device, the driver is
installed properly when I connect my device for the first time. I am giving
a soft reset without removing the device from the USB Port(meaning the
device is plugged in when I give a soft-reset).
> After a soft reset the driver doesnt get loaded for the USB Device. If at
all i am making a mistake in thedriver which exposable function in the DLL
shuld i peep into. Is it XXX_Powerup?
>
> My intention is that driver shuld get loaded soon after i give a soft
reset.
> Pls suggest/clarify.
>
> Thanks a tonne,
> Cheers,
> Lakshman



Re: USB Driver not loading after a softreset by anonymous

anonymous
Fri May 28 12:36:04 CDT 2004

Hi Mr.Huang

Thanks a lot for your suggestion on a workaround

But,is there any API available in WinCE to perform a reset to the host-controlle

Cheers
Lakshman

Re: USB Driver not loading after a softreset by K

K
Sat May 29 06:19:30 CDT 2004

To perform a reset for a USB controller is H/W depend,
so you may refer your chip spec. and/or even your h/w layout.
Some of the chip provides a register to reset itself.

"Lakshman" <anonymous@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D
:B513A3B5-934F-4EF1-9726-E0C043AD6E50@microsoft.com...
> Hi Mr.Huang,
>
> Thanks a lot for your suggestion on a workaround.
>
> But,is there any API available in WinCE to perform a reset to the
host-controller
>
> Cheers,
> Lakshman



Re: USB Driver not loading after a softreset by anonymous

anonymous
Wed Jun 02 22:31:03 CDT 2004

Dear Mr. Huang

Driver loading after a softreset is becoming a high priority task

I cannot handle anything in the hardware now as the units are being used today in the market
Is there any software workaround possible so that I can load my Driver immediately after a softreset
Pls suggest/clarif

Thanks
Cheers
Lakshman

Re: USB Driver not loading after a softreset by K

K
Thu Jun 03 09:41:22 CDT 2004

you mean your device has been shipped??
So you need some way to Patch your device??
1) if your device support F/W upgrade, you can build a whole new OS image
and update it
2) if not, but it has the ability to persist Registry and A peristent
Storage, you may need to write a new driver that will do a RESET at
begining, and modify the
registry serting in your device properly for the new Driver.

"Lakshman" <anonymous@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D
:818362BB-4AA0-4DCE-9D94-01125F06E786@microsoft.com...
> Dear Mr. Huang,
>
> Driver loading after a softreset is becoming a high priority task.
>
> I cannot handle anything in the hardware now as the units are being used
today in the market.
> Is there any software workaround possible so that I can load my Driver
immediately after a softreset.
> Pls suggest/clarify
>
> Thanks,
> Cheers,
> Lakshman



RE: USB Driver not loading after a softreset by anonymous

anonymous
Thu Jun 03 15:21:01 CDT 2004

Lakesham

It sounds like your USB Host controller driver is not re-initializing correctly after a soft reset
Try running it in debug mode and compare the trace messages from cold power on and soft reset,
any differences will be problems areas.

Robert