Hi,
I am porting a WLAN USB Driver from XP to WinC using Platform Builder 5.0.
I am facing some of the problems in transmission and receiving of data
through pipes. i have left open both the IN pipe and the OUT pipe. and
acknowledging the transfer through callback functions which are handled with
specific timeout values.
When i try to run the driver in Release build the Call back function for the
IN transfer always gets times out. even though i give timeout value upto 10
secs.

Can anyone suggest me how to handle these Transfer and Bulk Pipes without
getting timeout.

Re: USB Pipes being opened but transfer times out by jamestheDork

jamestheDork
Mon Apr 25 13:37:10 CDT 2005

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.


Re: USB Pipes being opened but transfer times out by blue_rock25

blue_rock25
Fri Apr 29 00:56:02 CDT 2005

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.
>
>

Re: USB Pipes being opened but transfer times out by voidcoder

voidcoder
Mon May 02 03:11:53 CDT 2005


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.
> >
> >



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.
> > >
> > >
>
>
>