Hardware/FPGARack/Programmation
From UIT
(Difference between revisions)
(Created page with "{{TOC right}} = General = For all programmation you first have to complete the following steps: # Create a Design # Test and Simulate the Design # Perform Task Flow '''Prepar...") |
m (→Create Flash *.mcs File) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
= General = | = General = | ||
− | For all programmation you first have to complete | + | For all programmation you first have to complete some steps, they are intend for the [[Components/Designs/VHDL_template|VHDL Template Design]]: |
# Create a Design | # Create a Design | ||
# Test and Simulate the Design | # Test and Simulate the Design | ||
Line 22: | Line 22: | ||
= FPGA Programing = | = FPGA Programing = | ||
If you want to program the FPGA directly, you can use the previously generated *.bit file. | 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 | + | This programmation works with the '''Amontec Chameleon Programmer''' but the '''Official Xilinx USB programmer''' is recommended |
Execute the following steps: | Execute the following steps: | ||
Line 28: | Line 28: | ||
# Perform a boundary Scan | # Perform a boundary Scan | ||
## '''Initialise Chain''' (CTRL + i) | ## '''Initialise Chain''' (CTRL + i) | ||
− | ##:[[File:fpgarack_impact_1_1.png | + | ##:[[File:fpgarack_impact_1_1.png|FPGA prog 1]] |
# Left click on the FPGA symbol (turns green) | # Left click on the FPGA symbol (turns green) | ||
− | #:[[File:fpgarack_impact_1_2.png | + | #:[[File:fpgarack_impact_1_2.png|FPGA prog 2]] |
# Right click on the FPGA | # Right click on the FPGA | ||
## Choose '''Assign new configuration file''' | ## Choose '''Assign new configuration file''' | ||
− | ##:[[File:fpgarack_impact_1_3.png | + | ##:[[File:fpgarack_impact_1_3.png|FPGA prog 3]] |
## Choose previously generated *.bit file | ## Choose previously generated *.bit file | ||
## Choose No for Attaching SPI or BPI PROM | ## Choose No for Attaching SPI or BPI PROM | ||
− | ##:[[File:fpgarack_impact_1_4.png | + | ##:[[File:fpgarack_impact_1_4.png|FPGA prog 4]] |
# Right click on the FPGA | # Right click on the FPGA | ||
## Choose Program | ## Choose Program | ||
− | ##:[[File:fpgarack_impact_1_5.png | + | ##:[[File:fpgarack_impact_1_5.png|FPGA prog 5]] |
## Choose Verify if you like (not necessary) | ## Choose Verify if you like (not necessary) | ||
− | ##:[[File:fpgarack_impact_1_6.png | + | ##:[[File:fpgarack_impact_1_6.png|FPGA prog 6]] |
# DONE | # DONE | ||
− | #:[[File:fpgarack_impact_1_7.png | + | #:[[File:fpgarack_impact_1_7.png|FPGA prog 7]] |
= 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''' | ||
− | #:[[File:fpgarack_impact_2_1.png | + | #:[[File:fpgarack_impact_2_1.png|FPGA Flash prog 1]] |
# Dialog '''File PROM Formatter''' opens | # Dialog '''File PROM Formatter''' opens | ||
− | ## Choose '''Configure Single FPGA''' | + | ## Choose '''BPI Flash -> Configure Single FPGA''' |
## Click the First Arrow | ## Click the First Arrow | ||
## Choose Target FPGA '''Spartan 6''' | ## Choose Target FPGA '''Spartan 6''' | ||
Line 62: | Line 64: | ||
## Set Data Width to '''x16''' | ## Set Data Width to '''x16''' | ||
## Click OK | ## Click OK | ||
− | ##:[[File:fpgarack_impact_2_2.png | + | ##:[[File:fpgarack_impact_2_2.png|FPGA Flash prog 2]] |
# Click OK on Add Device Dialog | # Click OK on Add Device Dialog | ||
− | #:[[File:fpgarack_impact_2_3.png | + | #:[[File:fpgarack_impact_2_3.png|FPGA Flash prog 3]] |
## Choose you previously generated *.bit file | ## Choose you previously generated *.bit file | ||
# Click NO on the second Add Device Dialog | # Click NO on the second Add Device Dialog | ||
− | #:[[File:fpgarack_impact_2_4.png | + | #:[[File:fpgarack_impact_2_4.png|FPGA Flash prog 4]] |
# Dialog Multiboot BPI Revision and Data File Assignment opens | # Dialog Multiboot BPI Revision and Data File Assignment opens | ||
## Because we have only one program nothing can be changed here | ## Because we have only one program nothing can be changed here | ||
## Click OK | ## Click OK | ||
− | ##:[[File:fpgarack_impact_2_5.png | + | ##:[[File:fpgarack_impact_2_5.png|FPGA Flash prog 5]] |
# Right click on the white canvas | # Right click on the white canvas | ||
## Choose Generate File | ## Choose Generate File | ||
− | #:[[File:fpgarack_impact_2_6.png | + | #:[[File:fpgarack_impact_2_6.png|FPGA Flash prog 6]] |
# The Flash program file *.mcs is now created | # The Flash program file *.mcs is now created | ||
+ | {{FloatBox|center|NOTE|There has been issues where iMPACT crashed after this step with an unexpected error. You can simply restart iMPACT. A valid .mcs file is generated before the crash.}} | ||
== Programm *.mcs File == | == Programm *.mcs File == | ||
Line 81: | Line 84: | ||
# Perform a boundary Scan | # Perform a boundary Scan | ||
## '''Initialise Chain''' (CTRL + i) | ## '''Initialise Chain''' (CTRL + i) | ||
− | ##:[[File:fpgarack_impact_1_1.png | + | ##:[[File:fpgarack_impact_1_1.png|FPGA Flash prog 7]] |
# Right Click on the Blue SPI/BPI Symbol | # Right Click on the Blue SPI/BPI Symbol | ||
## Choose '''Add SPI/BPI Flash | ## Choose '''Add SPI/BPI Flash | ||
− | ##:[[File:fpgarack_impact_2_7.png | + | ##:[[File:fpgarack_impact_2_7.png|FPGA Flash prog 8]] |
## Choose your previously generated *.mcs file | ## Choose your previously generated *.mcs file | ||
## Select Attached SPI/BPI | ## Select Attached SPI/BPI | ||
Line 91: | Line 94: | ||
### Select Data Width '''16''' | ### Select Data Width '''16''' | ||
### Click OK | ### Click OK | ||
− | ###:[[File:fpgarack_impact_2_8.png | + | ###:[[File:fpgarack_impact_2_8.png|FPGA Flash prog 9]] |
# Right Click on the new FLASH Symbol | # Right Click on the new FLASH Symbol | ||
## Choose Program | ## Choose Program | ||
− | + | ##:[[File:fpgarack_impact_2_9.png|FPGA Flash prog 10]] | |
# DONE | # DONE | ||
− | + | #:[[File:fpgarack_impact_2_10.png|FPGA Flash prog 11]] | |
[[Category:Hardware]] | [[Category:Hardware]] | ||
[[Category:FPGARack]] | [[Category:FPGARack]] |
Latest revision as of 08:49, 15 July 2014
|
General
For all programmation you first have to complete some steps, they are intend for the VHDL Template Design:
- 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
- Left click on the FPGA symbol (turns green)
- Right click on the FPGA
- Right click on the FPGA
- 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
- 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
- Right click on the white canvas
- Choose Generate File
- The Flash program file *.mcs is now created
Programm *.mcs File
- Perform a boundary Scan
- Right Click on the Blue SPI/BPI Symbol
- Right Click on the new FLASH Symbol
- DONE