ASIX AX88772 Manuel d'installation - Page 11
Parcourez en ligne ou téléchargez le pdf Manuel d'installation pour {nom_de_la_catégorie} ASIX AX88772. ASIX AX88772 19 pages. Usb 2.0 10/100m fast ethernet adapter
Également pour ASIX AX88772 : Manuel de l'utilisateur (14 pages), Manuel de l'utilisateur (4 pages)
6. Update WinCE 5.0 USB 2.0 HCD Driver (EHCI.DLL)
The default USB 2.0 HCD driver (EHCI) of Windows CE 5.0 Platform Builder couldn't handle the
USB 2.0 device Hot-Swap event well
device driver couldn't be loaded successfully after hot-swapping the device for a couple of times
because the physical memory (TD buffers) resources are not released by the USB 2.0 HCD driver
when the USB 2.0 device is unplugged while there is a pending transfer. This bug has been
confirmed by Microsoft and will be fixed in the future version of Windows CE 5.0.
Solution:
1. ASIX provides an updated EHCI.DLL file for standard X86 CE/PC platform.
1-1. Copy the updated
\<YourProjectName>\RelDir\CEPC_x86_Release subdirectory.
1-2. Run "Make Run-Time Image" to create the NK.BIN image file.
2. Customer manually modifies the
\COMMON\OAK\DRIVERS\USB\HCD\USB20\EHCI subdirectory and rebuild
a new EHCI.DLL driver for their specific WinCE BSP platform.
2-1. Modify the
\OAK\DRIVERS\USB\HCD\USB20\EHCI subdirectory to remove below
two statements.
<<< In the cpipe.cpp file >>>
void CQueuedPipe::AbortQueue( void )
{
....
ASSERT( m_pUnQueuedTransfer == NULL);
if (m_pQueuedTransfer) {
RemoveQHeadFromQueue();
//
m_pQueuedTransfer;
m_pQueuedTransfer ->AbortTransfer();
GetQHead()->InvalidNextTD();
m_pCEhcd->AsyncBell();// Ask HC update internal structure.
Sleep(2);// this sleep is for Interrupt Pipe;
m_pQueuedTransfer->DoneTransfer();
//
m_pQueuedTransfer = NULL;
delete m_pQueuedTransfer;
m_pQueuedTransfer = NULL;
InsertQHeadToQueue() ;
}
ASSERT(m_pQueuedTransfer == NULL);
....
}
while there is a pending
EHCI.DLL
cpipe.cpp
cpipe.cpp
file in the $(_WINCEROOT)\PUBLIC\COMMON
Copyright (C) 2005-2009 Reserved by ASIX Electronics Corporation
WinCE 5.0 Driver Installation Guide
file into the $(_WINCEROOT)\PBWorkspaces
file in the $(_WINCEROOT)\PUBLIC
//Remove this line
//Remove this line
11
AX88772A/AX88772
transfer. It will cause the USB 2.0