很奇怪,USB的驱动为什么会出现这样的问题:
The USB driver (usbfn.dll) exports the “Data abort” in the step of system initializing. After tracing I find the problem appeared in the AllocEndpoints() function in the ufnbus.cpp (MDD). The “Data abort” comes from at the line of
“CStaticPipe *pStaticPipe = new CStaticPipe(dwPipe, &pContext->PddInfo, pContext->pFreeTransferList, pContext);”, which may be caused of cannot allocate the memory for the CStaticPipe.
它怎么就分配不了空间呢????
解决中.....
---------------------------------------------------------------------------------------------------------------------------------
问题已经解决:
在CE6中,是否要求SOURCE文件中的DLLENTRY=DLLENTRY?和代码中的入口函数相对应,反正我改了,就没有这个DATA ABORT了.