Re: USB Pipes being opened but transfer times out by blue_rock25
blue_rock25
Tue May 03 05:42:18 CDT 2005
Hi,
As per ur query yes i am providing some delay between the callbak function i
have given delay of upto 10 sec, but still, problem i am facing is that, when
i start loading the driver in Release build for some time the driver runs
fine but after sometime the behaviour of the driver becomes very slow. that
is the driver starts hanging up.
i have left both the bulk pipes ( IN and OUT pipes) open and not at all
closing them after the transfer. but still the problem persists.
Can u suggest me how to handle opening and closing of the pipes as well the
transfer completion call bak functions without failure or timeout.
Thanks
Puneet
"voidcoder" wrote:
>
> Looks like You have to insert some delays in Your code. Do You have any
> debug
> output in ur code? Some DEBUGMSGs or something like this?
>
>
>
>
> "puneet" <blue_rock25@yahoo.com> wrote in message
> news:4EB145CF-6C55-4F2C-AEBB-0BA261D00419@microsoft.com...
> > Hi james,
> >
> > Thanks for replying, its definitely a good idea to work together on this.
> > as per ur suggestion i already had refffered to the code sample given in
> the
> > platform builder.
> >
> > i am using USB_FUNCS for opening of pipes and doing bulktransfers, ie. i
> am
> > using the function pointers and not directly calling the function itself
> as
> > it is done in the sample code.
> > my problem is that whenever i do a transfer the call back function times
> > out, this behaviour is in release build and not in debug build.
> >
> > what kinda driver are u working on. if there is any help required i surely
> > will do my best.
> >
> > Puneet Saini.
> >
> > "jamestheDork" wrote:
> >
> > > I would like to work together with you on this. I know an excellent
> source
> > > of Bulk Transfer example is in this directory:
> > >
> > > C:\WINCE420\PUBLIC\COMMON\OAK\DRIVERS\USB\CLASS\PRINTER
> > >
> > > If I help you, I would appreciate any help you can provide, I too am
> > > trying to develop a USB device driver for a wireless device.
> > >
> > >
>
>
>