Linux_FUT is a C application for the GNU/Linux operating system based on Trenz Electronic API commands and libusb C API to program USB FX2 microcontroller firmware and FPGA bitstreams.
libusb and libusbx release will be officially merged from v1.0.19. These two project/libraries are already actually ("unofficially") merged; see the first table of libusb.org. |
Linux_FUT can be downloaded from here.
Device Ids of the usb (lsusb): a C construct (#define) is used to choose between Generation 2 (DEWESoft device) and Generation 3 (Trenz Elecronic device). |
// TE USB FX2: generation 2.0 // #define VENDOR_ID 0x0547 // #define PRODUCT_ID 0x1002 // TE USB FX2: generation 2.5 and 3.0 #define VENDOR_ID 0x0BD0 #define PRODUCT_ID 0x0300 |
Linux_FUT can be used (with Generation 2 and/or Generation 3 firmware) for:
The two necessary files are usb.bin and fpga.bin. In the past they are normaly packed together in a file with the extension .fwu . This file is a zip-file. To unzip it use unzip "file.fwu". The usb.bin was delivered by the company Trenz Electronic. The fpga.bin is generated with the Xilinx ISE. |
Linux_FUT cannot be used for boot recovery (USB EEPROM programming while the USB FX2 microcontroller is running with Cypress VID/PID ) in case writing bad firmware to EEPROM will brick TE USB FX2 module. |
Under Windows, the user should use CyControl, CyConsole or OpenFutNet for a recovery boot. After this the user could use again Linux_FUT.
Under Linux, the user could try to use fx2loader (see also here). After this the user could use again Linux_FUT.