Hardware/FPGARack/Programmation
(Difference between revisions)
m (→FPGA Programing) |
m (→Flash Programmation) |
||
Line 47: | Line 47: | ||
= Flash Programmation = | = Flash Programmation = | ||
To program the FLASH you need to turn your *.bit into a *.mcs files witch can then be programmed through the FPGA into the Flash. | To program the FLASH you need to turn your *.bit into a *.mcs files witch can then be programmed through the FPGA into the Flash. | ||
+ | |||
+ | Flash programmation works '''ONLY with Official Xilinx USB Programmer''' | ||
== Create Flash *.mcs File == | == Create Flash *.mcs File == | ||
# Choose Task '''Create PROM File''' | # Choose Task '''Create PROM File''' |
Revision as of 09:04, 21 June 2012
|
General
For all programmation you first have to complete the following steps:
- Create a Design
- Test and Simulate the Design
- Perform Task Flow Prepare for Synthesis
- Generate all VHDL Files
- Concatenate into a single VHDL File
- Trimming work libraries
- Perform Task Flow Xilinx Project Navigator
- Updating the ISE (*.xise) Project file
- Launch ISE
- Perform Task Generate Programmation File
- Synthesis
- P&R
- Generate Programmation File *.bit file
- Manage Configuration Project (impact)
- Launch Impact
- First part is done see below
FPGA Programing
If you want to program the FPGA directly, you can use the previously generated *.bit file. This programmation works with the Amontec Chameleon Programmer but the Official Xilinx USB programmer is recommended
Execute the following steps:
- Perform a boundary Scan
- Initialise Chain (CTRL + i)
- Initialise Chain (CTRL + i)
- Left click on the FPGA symbol (turns green)
- Right click on the FPGA
- Choose Assign new configuration file
- Choose previously generated *.bit file
- Choose No for Attaching SPI or BPI PROM
- Choose Assign new configuration file
- Right click on the FPGA
- Choose Program
- Choose Verify if you like (not necessary)
- Choose Program
- DONE
Flash Programmation
To program the FLASH you need to turn your *.bit into a *.mcs files witch can then be programmed through the FPGA into the Flash.
Flash programmation works ONLY with Official Xilinx USB Programmer
Create Flash *.mcs File
- Choose Task Create PROM File
- Dialog File PROM Formatter opens
- Choose Configure Single FPGA
- Click the First Arrow
- Choose Target FPGA Spartan 6
- Choose Storage Device (Bytes) 128M
- Click Add Storage Device
- Click the Second Arrow
- Choose your Output File Name
- Choose your Output File Location
- Set File Format to MCS
- Set Data Width to x16
- Click OK
- Click OK on Add Device Dialog
- Choose you previously generated *.bit file
- Click NO on the second Add Device Dialog
- Dialog Multiboot BPI Revision and Data File Assignment opens
- Because we have only one program nothing can be changed here
- Click OK
- Right click on the white canvas
- Choose Generate File
- The Flash program file *.mcs is now created
Programm *.mcs File
- Perform a boundary Scan
- Initialise Chain (CTRL + i)
- Initialise Chain (CTRL + i)
- Right Click on the Blue SPI/BPI Symbol
- Choose Add SPI/BPI Flash
- Choose your previously generated *.mcs file
- Select Attached SPI/BPI
- Choose BPI PROM
- Select 28F128P30 <-- This can change accoring to your Flash size
- Select Data Width 16
- Click OK
- Choose Add SPI/BPI Flash
- Right Click on the new FLASH Symbol
- Choose Program
- Choose Program
- DONE