Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EZ-USB Generic Driver for Mac ??



At 11:01 AM -0500 3/22/02, Richard Shamblin wrote:

I am tasked with developing software to communicate with a USB device that uses the Anchor (now Cypress) EZ-USB chip. Anchor supplied windows development tools and .sys generic drivers but no comparable support for the Macintosh.

Cypress's web support site has a "EZ-USB Development for Mac OS" notice that
references the developer.apple.com/hardware/usb site for USB DDKs for OS 9.x and OS X. I have the kits. They also state "the good news for EZ-USB developers is that sample drivers using EZ-USB microcontrollers are included in both DDKs." I have been unable to find those sample drivers

The application is very basic, Short (1 or 2 byte) OUTS followed by short (1 - 5 byte) IN replies using a single endpoint for all communication.

I've just been doing something similar, the example you're looking for is USBNotificationSample. It took me an afternoon to modify this to download a HEX file provided in a windows DDK and then to start twiddling bits. I was using the user space example, not the kernel driver.


The documentation I found most useful was "Accessing hardware from applications", the USB Cookbook, and Draft documentation for IOUSBLib.h (available locally). You can also take a look at Inside Carbon: Plug in services if you want to get confused by the plug in architecture.

However, I didn't need much documentation to start hacking away at the example.

<http://developer.apple.com/techpubs/macosx/Darwin/IOKit/DeviceInterfaces/USBBook/index.html>
<http://developer.apple.com/techpubs/macosx/Darwin/IOKit/DeviceInterfaces/AccessingHardware/AH_Overview/index.html>
<http://developer.apple.com/techpubs/macosx/CoreFoundation/PluginServices/Plug_in_ServicesConcTask/index.html>
--
Barry Twycross
email@hidden
                     ---
         USB, it's not a Dyslexic BUS.        (Thanks to TC.)
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.

References: 
 >EZ-USB Generic Driver for Mac ?? (From: "Richard Shamblin" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.