Results 1 to 4 of 4
  1. #1


    Member Since
    Jan 19, 2009
    Posts
    2
    Loading EZ-USB firmware
    I need to load some firmware into a Cypress-FX2 based USB device.
    This uses Cypress's EZ-USB capability.

    Under Linux there is a utility called 'fxload' which does this.

    I cannot find a version of fxload for MacOS (I am running 10.4)

    I heard Apple used to have something called "EzLoad" which did this but cannot find that anywhere. Does anyone know where I can get it or some other way to load the Cypress EZ-USB based firmware from MacOs ?

    Thank You

    Jeff

  2. #2


    Member Since
    Jan 21, 2009
    Location
    Livermore, CA
    Posts
    2
    Specs:
    MacBook (late-07)
    Loading EZ-USB firmware
    Jeff:

    I, too, am trying to get a Cypress FX2 working under Mac OSX, and so far have found no ready-to-use download utilities. Thanks to your post, I found the source code for Apple's EZloader at:

    Index of /darwinsource/10.3.2/IOUSBFamily-206.4.1/Examples/Ezloader Example

    Since I'm far from an XCode expert, I plopped it into a new project (command-line, CoreFoundation) and while it does compile it errors out at runtime. But that was just the first 5 minutes. We'll see. NOW... if you have any luck getting this to work, PLEASE tell me!

    And here is some other info I found on the web. This Apple guide is where the code, above, was apparently taken from:

    Apple's USB Device Interface Guide just happens to use the Cypress EZ-USB as an example, and the chapter "Accessing a USB device," at

    USB Device Interface Guide: Accessing a USB Device

    gives complete details and sample code for accessing the Cypress "raw" device, downloading firmware to it, then accessing the freshly created USB device when it reconnects with the bus.

    -Gary

    Quote Originally Posted by jmp559 View Post
    I need to load some firmware into a Cypress-FX2 based USB device.
    This uses Cypress's EZ-USB capability.

    Under Linux there is a utility called 'fxload' which does this.

    I cannot find a version of fxload for MacOS (I am running 10.4)

    I heard Apple used to have something called "EzLoad" which did this but cannot find that anywhere. Does anyone know where I can get it or some other way to load the Cypress EZ-USB based firmware from MacOs ?

    Thank You

    Jeff

  3. #3


    Member Since
    Jan 21, 2009
    Location
    Livermore, CA
    Posts
    2
    Specs:
    MacBook (late-07)
    Loading EZ-USB firmware
    Ahh, the whole ezload example is included with the XCode developer distribution... It's in Developer:Examples:IO Kit:USB:Ezloader Example.

    It builds and runs fine, but so far no luck getting it to actually recognize my FX2 device, nor download anything. The app just hangs. Pretty hard to figure out what the app is thinking because it uses a bunch of asynchronous notifications. Not even sure how to debug such beasts.

    -Gary

  4. #4


    Member Since
    Jun 13, 2009
    Posts
    1
    I've ported the linux tool to OSX. Source code is available here:

    nall's nexys2-osx at master - GitHub

    Running xcodebuild in the fxload directory should build it.

    One primary difference from the linux version is that you specify the USB target via VID/PID instead of a device file (the -D option).

    nall.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. usb dongle on imac g3 slot loading
    By maclover179 in forum OS X - Operating System
    Replies: 3
    Last Post: 12-11-2011, 07:14 PM
  2. Loading Snow Leopard from USB
    By kaoticsolja in forum OS X - Operating System
    Replies: 2
    Last Post: 01-24-2011, 12:22 AM
  3. Replies: 2
    Last Post: 03-13-2008, 01:05 PM
  4. Replies: 2
    Last Post: 10-06-2007, 05:28 PM
  5. G4 Sawtooth AGP - USB problem at startup / firmware
    By kay_mac in forum Apple Desktops
    Replies: 8
    Last Post: 04-21-2007, 07:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •