Warning |
---|
This Software tool is now deprecated. Use Python OpenFUT generation Generation 2 instead. |
The TE USB FX2 micromodule can be configured by means of a firmware-upgrade (FWU) file (see next section “Micromodule Configuration” for further reference).
The first step in generating the FWU file is to generate the fpga.bin file corresponding to a given FPGA design.
In order to generate the FWU file you shall
generate a bit-stream file from your Xilinx EDK design
...
;
generate a PROM file from the bit-stream file;
generate a FWU file from the PROM file.
Once you have got your fpga.bin
PROM file, you can proceed and generate your FWU (= FirmWare Upgrade) file. The FWU file is a ZIP archive containing 3 files:
Bootload.ini
– TE0320 booting settings (see paragraph 10.2.4.3.1 Bootload.ini file)
fpga.bin
– FPGA configuration PROM file
usb.bin
– EZ-USB FX2LP USB microcontroller firmware
To create your FWU file, you shall
replace the existing step4_user\fpga.bin
with the latest fpga.bin
(once per design)
zip the 3 files
rename the zip
file extension to fwu
upload the file as explained in paragraph 10.2.5 Firmware Upgrade Tool utilization.
Warning! file and path names are given and must not be changed! |
The step4_user\Bootload.ini
file defines some module start-up options. Version 1.0 of Bootload.ini has the following structure:
[Info]
– information section (do not edit this section)
Version
– Bootload.ini file format version
DeviceType
– 3 stands for current device type
[Settings]: settings section
FPGABitSwap
– see Xilinx UG332: Spartan-3 Generation Configuration User Guide, chapter SelectMAP Data Ordering (default = 1 = do bit swapping)
FPGAPowerON
– value of FX2_PS_EN after SPI Flash memory programming (see paragraph 6.8.2 Slide Switch S2) (default = 1 = power on after upgrade)
The step4_user\usb.bin
file contains the firmware to be written in the large EEPROM of the EZ-USB FX2LP USB microcontroller and loaded at module start-up to implement the DEWESoft instruction set.
-------------------
Open Xilinx IMPACT from Start / Programs / Xilinx ISE / Accessories / Impact
...
Once you have got your fpga.in file, you can proceed and generate your FWU file. The FWU file is a ZIP file containing 3 files:
...
To generate your own firmware upload file, please read the document “Generating_FWU_file.doc” in the “USBFWUTool” folder.
In order to generate the FWU file you shall
...
In the folder corresponding to the path you chose as the output file location
, you should find the fpga.bin
PROM file.
...
...
...
Bootload.ini
– TE0320 booting settings (see paragraph 10.2.4.3.1 Bootload.ini file)
fpga.bin
– FPGA configuration PROM file
usb.bin
– EZ-USB FX2LP USB microcontroller firmware
To create your FWU file, you shall
replace the existing step4_user\fpga.bin
with the latest fpga.bin
(once per design)
zip the 3 files
rename the zip
file extension to fwu
upload the file as explained in paragraph 10.2.5 Firmware Upgrade Tool utilization.
...
Warning! file and path names are given and must not be changed!
The step4_user\Bootload.ini
file defines some module start-up options. Version 1.0 of Bootload.ini has the following structure:
[Info]
– information section (do not edit this section)
Version
– Bootload.ini file format version
DeviceType
– 3 stands for current device type
[Settings]: settings section
FPGABitSwap
– see Xilinx UG332: Spartan-3 Generation Configuration User Guide, chapter SelectMAP Data Ordering (default = 1 = do bit swapping)
FPGAPowerON
– value of FX2_PS_EN after SPI Flash memory programming (see paragraph 6.8.2 Slide Switch S2) (default = 1 = power on after upgrade)
The step4_user\usb.bin
file contains the firmware to be written in the large EEPROM of the EZ-USB FX2LP USB microcontroller and loaded at module start-up to implement the DEWESoft instruction set.
...