Git Product home page Git Product logo

fxload's Introduction

FXLOAD UTILITY

This program is conveniently able to download firmware into FX, FX2, and FX2LP EZ-USB devices, as well as the original AnchorChips EZ-USB. It is intended to be invoked by hotplug scripts when the unprogrammed device appears on the bus.

Primarily as an aid for developers, this can also be used to update firmware on devices which boot from I2C serial EEPROMs. For that use, as well as downloading firmware to all other off-chip memory, a second stage loader must first be downloaded.

The distribution includes "a3load.hex", which is a simple second stage loader that works with all the EZ-USB products listed above. If you want to write to an EEPROM, you can use the appropriate version of the Vend_Ax code provided with the Cypress developer kit.

UPDATES

See the download page at http://linux-hotplug.sourceforge.net for the latest release. The CVS repository there holds the most current version of this software. The web site shows some ways to use "fxload" in conjunction with USB hotplugging, to load device firmware.

Post any bug reports to the linux-hotplug-devel or linux-usb-devel lists.

If you modify the code, the GPL requires that you make your updates generally available (under most circumstances). Providing them in the form of patches against the current CVS (cvs diff -u), or the last release (diff -u old new) is most useful, since otherwise it's awkward to integrate such changes into the standard distribution.

EXAMPLES

Flash a custom VID:PID into a device EEPROM:

./fxload -D /dev/bus/usb/aaa/bbb -c 0x01 -s Vend_Ax.hex -t fx2lp -d xxxx:xxxx

You can retreive the correct path by reading the first numbers in front of the device entry provided in lsusb in front of the FX2 device you are trying to program.

Flash a custom firmware into a device EEPROM usind default VID:PID:

./fxload -D /dev/bus/usb/aaa/bbb -I firmware.hex -c 0x01 -s Vend_Ax.hex -t fx2lp

Flash a custom firmware into a device EEPROM using custom VID:PID:

./fxload -D /dev/bus/usb/aaa/bbb -I firmware.hex -c 0x01 -s Vend_Ax.hex -t fx2lp -d PIDx:VIDx

fxload's People

Contributors

esden avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.