mineur

For my master thesis, I need to develop software that controls a medical implant over a USB link. This USB link requires 1 control transfer (the standard one required by the USB standard) and bulk transfer.

In order to do this I need to develop a USB driver to communicate with the implant. Up until now my experience developing for windows mobile: NUL, my experience for developing drivers: NUL.

Ofcourse I've already done alot of reading, and on the msdn website I only find some information about developing a USB driver, and there it states I need the platform builder.. which is not free. After what I read about the platform builder, it just configures a whole new windows Mobile, but that's not really needed is it I have a certain PDA and what I need is a way to develop a driver.

Is there another way to develop a USB driver for windows mobile Without having to buy extra software If not, we'll have to do with the platform builder of course.

Also, maybe someone can give me some coordinates on a good book for this matter



Re: Smart Devices General Windows Mobile 5.0 USB driver development

Ilya Tumanov

Before we even deep into driver development, does your PDA have USB host






Re: Smart Devices General Windows Mobile 5.0 USB driver development

mineur

Yes it has, we've spent a great amount of time in selecting the (hopefully) right PDA. (Acer n311)

But yes it has USB host 1.1. And it works... I can plug in my memory stick.

So, I'm all set from the hardware side of the story anyway...





Re: Smart Devices General Windows Mobile 5.0 USB driver development

Ilya Tumanov

I¡¯d like to point out it won¡¯t be an easy task; it¡¯s usually done by OEMs with full access to OS source code, pretty much nobody else has experience. That means what unless somebody working for OEM would be willing to help you out (and thy probably won¡¯t due to likely NDA) ¨C you¡¯re on your own.

Or, perhaps this would work for you.






Re: Smart Devices General Windows Mobile 5.0 USB driver development

mineur

I'm aware of that solution, unfortunately there are no funds available for the jungo windriver solution. But if they manage to develop a driver... can someone point me in the right direction then What do I need Do i really need the platform builder Or not Or someone with some useful links (other then msdn) Some coordinates of a book



Re: Smart Devices General Windows Mobile 5.0 USB driver development

Michael Koster

Your best option is to get Platform Builder to do the initial driver development. Platform Builder ships with a set of sample USB drivers you can use a base. Concepts and additional references are available in the Platform Builder documentation.

I'd suggest you start developing the driver on a CEPC device running Windows CE 5.0. Doing so enables you to use the full (kernel) debugging features available with Platform Builder. Debugging a driver under Windows Mobile using Visual Studio 2005 is not really possible.
Once the driver is working port it to the Windows Mobile 5.0 (which sould not be much more than a rebuild).






Re: Smart Devices General Windows Mobile 5.0 USB driver development

mineur

The platform builder is only for CE Can't I develop for Windows Mobile 5.0 with the platform builder

I'm a bit confused about the CE vs Mobile.





Re: Smart Devices General Windows Mobile 5.0 USB driver development

Michael Koster

No, Platform Builder is the OS development tool for all Windows CE based operating systems.
This includes Windows Mobile 5.0 as this is also based on Windows CE.

There is a special Platform Builder for Windows Mobile 5.0. Check with Microsoft whether is is possible to get this tool.

The main problem is that you cannot use an application level debugger to debug device drivers. That the reason why you'd need to use the Platform Builder (Kernel Debugger) to debug the driver.

I'd suggest that you contact the device manufacturer. They might be able to assist you with the driver development.

Michael