Re: Memory allocation failed of USB HOST driver
- From: "Bruce Eitman \(eMVP\)" <beitmannospam@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 6 Sep 2005 09:35:08 -0400
CPhysMem manages a pool of memory for use within the USB Host driver.
Allocations from that pool can fail if there simply isn't enough memory to
allocate or if it is fragmented. You can set the amount of memory available
by changing the amount requested in calls to it's constructor.
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"Walzer" <JoeyWalzer@xxxxxxxxxxx> wrote in message
news:O6dVPmssFHA.2880@xxxxxxxxxxxxxxxxxxxxxxx
Hi, all
In Wince5.0, i use OHCI usb host and the driver is running well. But
today i met a problem.
When I plug in two CBIT usb disk to my platform trough a extrenal hub,
the seceond pluged one will be failed when opening pipe for it's second bulk
pipe.
0x83e5d400: +USBD:OpenPipe, EP: 0x81, MaxPkt: 64, Type: Bulk
0x83e5d400: -USBD:OpenPipe success, hPipe = 5D6F0
0x83e5d400: +USBD:OpenPipe, EP: 0x2, MaxPkt: 64, Type: Bulk
0x83e5d400: CPhysMem AllocateMemory : No memory available
0x83e5d400: TDQueue::TDQueue - no memory for TD list
0x83e5d400: -CBulkPipe::OpenPipe - no memory for TD
0x83e5d400: !USBD:OpenPipe returning error
0x83e5d400: OpenPipe error:0
0x83e5d400: USBMSC.DLL: Code Coverage Trap in:
d:\source_code\wince500\platform\ibmce\src\drivers\hcd\class\storage\class\src\usbmsc.c,
Line: 758
Then I test for more device onto the external hub, and found this rule:
(1) BOT disk + BOT disk, OK
(2) BOT disk + CBIT disk, OK
(3) BOT + BOT + usb mouse, OK
(4) BOT + BOT + MOUSE + keyboard, the keyboard will failed, no memory
avialable
(5) BOT + CBIT + MOUSE, the mouse failed.
(6) CBIT + CBIT, the second CBIT faild at the second bulk pipe.
Is anyone who have experence on this problem?
.
- References:
- Memory allocation failed of USB HOST driver
- From: Walzer
- Memory allocation failed of USB HOST driver
- Prev by Date: Re: SystemPath
- Next by Date: Re: SystemPath
- Previous by thread: Memory allocation failed of USB HOST driver
- Next by thread: NK isnot Running
- Index(es):
Relevant Pages
|