Phones forum

General discussion

Data Abort exceptions on Windows Mobile platform.

by devSree / March 15, 2011 5:31 PM 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.

Post a reply
Discussion is locked
You are posting a reply to: Data Abort exceptions on Windows Mobile platform.
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Data Abort exceptions on Windows Mobile platform.
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Neat stuff.
by R. Proffitt Forum moderator / March 16, 2011 3:31 AM 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.
by devSree / March 16, 2011 9:37 PM PDT
In reply to: Neat stuff.

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

Popular Forums
icon
Computer Help 47,885 discussions
icon
Computer Newbies 10,322 discussions
icon
iPhones, iPods, & iPads 3,188 discussions
icon
Security 30,333 discussions
icon
TVs & Home Theaters 20,177 discussions
icon
HDTV Picture Setting 1,932 discussions
icon
Phones 15,713 discussions
icon
Windows 7 6,210 discussions
icon
Networking & Wireless 14,510 discussions

Tech for the school year

Smart tech for smart students

Forget the pencils and notebooks. Gear up your students with these portable and powerful note-taking machines.