I have written an Usb v1.1 Isochronous driver
implementation. The attached Usb device uses the Philips
Isp1581 chip.

For the most part it works fine.
I am resubmitting/recycling 2 Urbs.
Each Urb has a buffer length to contain 4 frames worth of
data. The Iso Max Packet size is 1020 bytes so the Urb
buffer is 4080 bytes.
The Urbs are passed back to my driver from the bus driver
at intervals of 4 frames per Urb. All frames are in
sequence.

Occasionally, a Urb comes back at an interval of 8 frames
(i.e. some frames have been skipped).
Later, a subsequent Urb callback occurs containing the
missing frames. In other words, this Urb has a frame
number less then the previous Urb. When this occurs, The
frame order is out of sequence and the data stream becomes
non-contiguous.
Does anyone have any idea how this can happen?

Rex

Re: Usb v1.1, Iso URB callback frame number is out of sequence by Eliyas

Eliyas
Fri Oct 24 12:55:00 CDT 2003

Please mention OS version, service pack number, whether you are running on
uni/multi processor, have you seen any differences between uni & mutli proc
systems, have you tried the latest service pack, etc.

--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx



Re: Usb v1.1, Iso URB callback frame number is out of sequence by Eliyas

Eliyas
Fri Oct 24 13:13:02 CDT 2003

Does this repro on:

OHIO host UHCI host
+-----------+-----------+
Windows 2000 | yes/no? | yes/no? |
+-----------+-----------+
Windows XP | yes/no? | yes/no? |
+-----------+-----------+

--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx

"Eliyas Yakub [MSFT]" <eliyasy@online.microsoft.com> wrote in message
news:OBusyflmDHA.976@tk2msftngp13.phx.gbl...
> Please mention OS version, service pack number, whether you are running on
> uni/multi processor, have you seen any differences between uni & mutli
proc
> systems, have you tried the latest service pack, etc.
>
> --
> -Eliyas
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx
>
>



Re: Usb v1.1, Iso URB callback frame number is out of sequence by Rex

Rex
Fri Oct 24 14:04:45 CDT 2003

Eliyas,

I am seeing this condition on WinXP Sp1, a 2.2 ghz Xeon
uniprocessor, a Dell PWS 530. I have applied the KB 822603
Usb update.
This is a uhci host, yes? I do not have an OHIO host.
The frame error can take anywhere from 10 minutes to 2
hours to re- occur.

It is seemingly random. I have not been able to stress the
system in any way that makes it happen more frequently or
more predictably. It often happens when the system is
mostly idle.

I have also tested it for a limited time (a few hours) on
Win2k, (an 1 ghz Dell XPS B933). I have not seen the error
there, yet. But due to the random nature of it, that is
not hard proof that it doesn't also exist there.

At this stage, I have not tested on a multi proc system.

Rex


>-----Original Message-----
>Does this repro on:
>
> OHIO host UHCI host
> +-----------+-----------+
>Windows 2000 | yes/no? | yes/no? |
> +-----------+-----------+
>Windows XP | yes/no? | yes/no? |
> +-----------+-----------+
>
>--
>-Eliyas
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx
>
>"Eliyas Yakub [MSFT]" <eliyasy@online.microsoft.com>
wrote in message
>news:OBusyflmDHA.976@tk2msftngp13.phx.gbl...
>> Please mention OS version, service pack number, whether
you are running on
>> uni/multi processor, have you seen any differences
between uni & mutli
>proc
>> systems, have you tried the latest service pack, etc.
>>
>> --
>> -Eliyas
>> This posting is provided "AS IS" with no warranties,
and confers no
>rights.
>> http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx
>>
>>
>
>
>.
>

Re: Usb v1.1, Iso URB callback frame number is out of sequence by anonymous

anonymous
Sat Oct 25 11:03:14 CDT 2003


Eliyas,

The 1 ghz Win2k system uses Intel 82801AA and drvrs:
uhcd.sys usbd.sys, usbhub.sys usbui.dll
file version 5.00.2195.6655

The 2.2 ghz WinXP system uses 82801BA/BAM and drvrs:
usbuhci.sys usbport.sys, usbhub.sys usbui.dll
file version 5.1.2600.1243(xpsp2.030702-2125)

Rex


>-----Original Message-----
>Eliyas,
>
>I am seeing this condition on WinXP Sp1, a 2.2 ghz Xeon
>uniprocessor, a Dell PWS 530. I have applied the KB
822603
>Usb update.
>This is a uhci host, yes? I do not have an OHIO host.
>The frame error can take anywhere from 10 minutes to 2
>hours to re- occur.
>
>It is seemingly random. I have not been able to stress
the
>system in any way that makes it happen more frequently or
>more predictably. It often happens when the system is
>mostly idle.
>
>I have also tested it for a limited time (a few hours) on
>Win2k, (an 1 ghz Dell XPS B933). I have not seen the
error
>there, yet. But due to the random nature of it, that is
>not hard proof that it doesn't also exist there.
>
>At this stage, I have not tested on a multi proc system.
>
>Rex
>
>
>>-----Original Message-----
>>Does this repro on:
>>
>> OHIO host UHCI host
>> +-----------+-----------+
>>Windows 2000 | yes/no? | yes/no? |
>> +-----------+-----------+
>>Windows XP | yes/no? | yes/no? |
>> +-----------+-----------+
>>
>>--
>>-Eliyas
>>This posting is provided "AS IS" with no warranties, and
>confers no rights.
>>http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx
>>
>>"Eliyas Yakub [MSFT]" <eliyasy@online.microsoft.com>
>wrote in message
>>news:OBusyflmDHA.976@tk2msftngp13.phx.gbl...
>>> Please mention OS version, service pack number,
whether
>you are running on
>>> uni/multi processor, have you seen any differences
>between uni & mutli
>>proc
>>> systems, have you tried the latest service pack, etc.
>>>
>>> --
>>> -Eliyas
>>> This posting is provided "AS IS" with no warranties,
>and confers no
>>rights.
>>> http://www.microsoft.com/whdc/hwdev/driver/kb-drv.mspx
>>>
>>>
>>
>>
>>.
>>
>.
>