glip
0.1.0-dev
The Generic Logic Interfacing Project
|
The Cypress FX2 chip needs firmware for its configuration. We use the chip in the "Slave FIFO" mode which only forwards data between USB and a 16 bit wide FIFO interface.
Depending on your board the FX2 chip might be used for other purposes as well, and an integration of the different firmware modules is necessary. One example are the ZTEX FPGA-USB boards, which also do FPGA configuration and SD-card access through the FX2. For those boards special firmware is necessary, which we call "firmware flavors".
The ZTEX USB-FPGA boards are small modules containing a Xilinx FPGA (Spartan or Artix), DDR memory, a FX2 chip and other components. The firmware provided by GLIP also enables FPGA highspeed configuration through the FWLoader utility from the ZTEX SDK.
You need to have two tools installed before building the firmware:
Switch to the fw/ztex
directory, and run
You can flash the FX2 firmware into volatile memory or into the EEPROM of the FX2 chip. The following commands flash it into the EEPROM, so that you have to do this step only once when using a new board.