Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Data Abort exceptions on Windows Mobile platform.

Mar 15, 2011 5:31PM PDT

Hi,

I'm working on USB to ethernet device on both WinCE and Windows Mobile 6.5 platforms.

I have connected the USB based NIC to my windows CE craddle which has WinCE 5.0 installed on it.I don't have any problem using this NIC on WinCE5.0.

But when i connected the same NIC in the craddle which has got WIndows Mobile 6.5 installed on it i got this data abort problems!
whenever i try to plg/unplug ActiveSync cable some couple of times to the pc i'm getting the "Data Abort" error frequently.

some times the error could be "Prefetch abort" and "Undefined instruction" also!

I could realize that the ActiveSync and the NIC use RNDIS functions.I saw some of these messages when i debug the problem!

NDIS!ndisMWakeUpDpcX() line 1089 + 8 bytes
NDIS!CeKeDpcQueueThread() line 67 + 24 bytes
COREDLL!ThreadBaseFunc() line 633 + 8 bytes

whenever i plug/unplug the device i see these messages on my serial console:

when plug in the ActiveSync cable :

[USBFN] PXAUsbDevice::CablePowerOn()
[USBFN] USB CABLE IS ATTACHED!!!!!
pxa_usbfn!PXAUsbDevice::ISTProcess: : Suspend Detected
[USBFN] _USB_CONNECT_EVENT_


and when unplug in the ActiveSync cable :

PXAUsbDevice::CablePowerOff()
[USBFN] PXAUsbDevice::CablePowerOn()
UsbFnMdd!UfnMdd_Notify: Ignoring notification 0x00000001 - 0x00000004 from PDD
[USBFN] USB CABLE IS ATTACHED!!!!!

And i suspect these messages goes to NDIS and the NDIS in turn is sending some messages to miniport driver or it expects miniport to do something , i think.But i see no OID power reaquests or any other requests coming to my miniport driver.

Any kind of suggestion is appreciable.

- Thanks in advance.

Discussion is locked

- Collapse -
Neat stuff.
Mar 16, 2011 3:31AM PDT

But here's what I learned from our app development days on WinMo. We had to test our apps on the platforms and a couple of machines we had to put on a "not supported" list because of such errors. We did contact the maker of the WinMo machine but they had shut down their production and staff that could correct such errors.

That was not fun but at least we had some other dozen machines we could use.
Bob

- Collapse -
Data Abort exceptions on Windows Mobile platform.
Mar 16, 2011 9:37PM PDT

Thanks,I got fixed this issue with little more debugging effort.
Happy