Humandata EDA-004 User manual

Type
User manual
HuMANDATA LTD.
CycloneIII USB-FPGA Board
EDA-004
User’s Manual
Ver. 1.0
Table of Contents
Table of ContentsTable of Contents
Table of Contents
Revision History
Revision HistoryRevision History
Revision History ................................
................................................................
................................................................
................................................................
................................................................
................................................................
.................................
..
. 1
11
1
Introduction
IntroductionIntroduction
Introduction................................
................................................................
................................................................
................................................................
................................................................
................................................................
........................................
................
........ 1
11
1
1.
1.1.
1. Specifications
Specifications Specifications
Specifications................................
................................................................
................................................................
................................................................
................................................................
................................................................
.........................................
..................
......... 2
22
2
2.
2.2.
2. Overview
Overview Overview
Overview................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................
................................
................ 3
33
3
2.1. Name of Parts...................................................................................................... 3
2.2. Block Diagram..................................................................................................... 4
2.3. Power Supply....................................................................................................... 5
2.4. Clock..................................................................................................................... 5
2.5. Development Environment ................................................................................ 5
3.
3.3.
3. USB Driver
USB Driver USB Driver
USB Driver ................................
................................................................
................................................................
................................................................
................................................................
................................................................
............................................
........................
............ 6
66
6
3.1. Install................................................................................................................... 6
3.2. Uninstall.............................................................................................................. 8
4.
4.4.
4. FPGA Configuration
FPGA Configuration FPGA Configuration
FPGA Configuration ................................
................................................................
................................................................
................................................................
..............................................................
............................................................
.............................. 9
99
9
4.1. Download cable ................................................................................................... 9
4.2. Setting Switch (SW1, JP3) ................................................................................. 9
4.3. USB Configuration............................................................................................ 10
4.4. JTAG Configuration...........................................................................................11
5.
5.5.
5. Configuration Device
Configuration Device Configuration Device
Configuration Device................................
................................................................
................................................................
................................................................
............................................................
........................................................
............................12
1212
12
5.1. Generate Programming file.............................................................................. 12
5.2. Device Programming ........................................................................................ 13
5.3. Device Erasing .................................................................................................. 13
6.
6.6.
6. Initial se
Initial se Initial se
Initial setting of EEPROM for FT2232H
tting of EEPROM for FT2232Htting of EEPROM for FT2232H
tting of EEPROM for FT2232H ................................
................................................................
.............................................................
..........................................................
.............................14
1414
14
7.
7.7.
7. Additional Documentation and User Support
Additional Documentation and User Support Additional Documentation and User Support
Additional Documentation and User Support................................
................................................................
......................................................
............................................
......................15
1515
15
Precautions
Do Not
1. This product uses ordinary off-the-shelf electronic components, and is therefore inappropriate for use in
applications that require special quality or reliability and are expected to protect human lives or prevent
accidents, such as safety mechanisms in fields including space, aeronautics, medicine, and nuclear
power.
2. Do not be used underwater or in high-humidity environments.
3. Do not be used in the presence of corrosive gases, combustible gases, or other flammable gases.
4. Do not turn on power when circuit board surface is in contact with other metal.
5. Do not apply voltage higher than rated voltage.
Attention
6. This manual may be revised in the future without notice owing to improvements.
7. All efforts have been made to produce the best manual possible, but if users notice an error or other
problem, we ask that they notify us.
8. Item 7 notwithstanding, HuMANDATA cannot be held liable for the consequences arising from use of
this product.
9. HuMANDATA cannot be held liable for consequences arising from using this product in a way different
from the uses described herein, or from uses not shown herein.
10. This manual, circuit diagrams, sample circuits, and other content may not be copied, reproduced, or
distributed without permission.
11. If the product emits smoke, catches fire, or becomes unusually hot, cut the power immediately.
12. Be careful of static electricity.
13. This product may be subject to the export restrictions of Japan, the United States, or other countries.
Purchasers are responsible for properly observing export restrictions.
14. HuMANDATA firmly refuses to export (including reexporting) products to countries or regions subject to
export restrictions.
Product Warranty and Scope of Support
1. HuMANDATA guarantees that its products can be assembled as shown in published circuit diagrams and other design documents.
There may be differences between actual components or their prescribed quantities and model numbers and those shown in circuit
diagrams.
2. Except for the guarantee in item 1, above, no guarantees whatsoever are made. When assembling the product as shown in a circuit
diagram is impossible, and the problem can be solved by revising the diagram, HuMANDATA will revise the diagram. When a
problem can be solved only by replacing components or modifying the product, HuMANDATA will take back the product to replace it
with a properly functioning product.
3. If the problem is minor, HuMANDATA will sometimes describe how to make the revision or modification, and ask the customer to
solve the problem.
4. HuMANDATA will determine how to honor the warranty, as through repair, replacement, return, or other action. The customer cannot
specify what action to take.
5. FPGAs and other components used in products sometimes have characteristic defects. Returns and replacements are not possible
even if such defects are discovered, whether before or after purchase.
6. HuMANDATA shall not be obligated to inform customers about defects in the main components used in products.
7. HuMANDATA shall not be obligated to provide support for products, or to provide support for the software of other companies
needed to use HuMANDATA products.
8. Published documentation shall be limited to that published by HuMANDATA at the time of product purchase, and HuMANDATA shall
not be obligated to provide any other documentation.
9. When repairs or replacements are provided under warranty in Japan, purchaser shall pay shipping charges for shipping to
HuMANDATA, and HuMANDATA shall pay shipping charges for shipping to purchaser.
10. When shipping from outside of Japan, purchaser shall pay all expenses including shipping charges and taxes.
11. Under whatever circumstances, HuMANDATA shall provide support for its products for a maximum of one year after shipping from
factory.
12. The Warranty is not applicable and support ends in the event of fire, storm and flood damage, earthquakes, lightning strikes, and
other natural disasters, as well as conflict or other occurrences.
13. Purchaser is assumed to have read and understood all the above when purchasing a HuMANDATA product.
Limitation of Liability
1. Purchasers assume all liability associated with the use of this product.
2. HuMANDATA assumes no liability whatsoever for any direct, indirect, special, incidental, or consequential damages arising from the
use of this product, even if HuMANDATA has been advised of the possibility of such damage, whether legal or in tort.
3. At the time this product is purchased, items 1 and 2 above shall be deemed to have been confirmed by purchaser.
Trademarks and Other Considerations
1. This manual uses various companies’ trademarks in places.
2. HuMANDATA is this company’s registered trademark.
HuMANDATA’s Philosophy
1. HuMANDATA endeavors to raise product quality. We continually make detailed improvements and adjustments that are not shown
in circuit diagrams.
2. HuMANDATA actively publishes, on the Web and in other ways, information considered useful to customers. Examples would be
how to use FPGAs and how to use development tools.
3. HuMANDATA makes efforts for the long-term provision of products and for continuing their long-term support.
4. Instead of concealing small product problems and documentation errors, HuMANDATA makes them public.
5. HuMANDATA abides by Japanese law and its spirit. We make no transactions with purchasers who commit illegal acts.
1
EDA-004 (‘Ver.1.0)
Revision History
Revision HistoryRevision History
Revision History
Date
DateDate
Date
Version
VersionVersion
Version
Description
DescriptionDescription
Description
Jan. 15, 2010
1.0 Initial release
Introduction
IntroductionIntroduction
Introduction
Thank you for buying our product EDA-004.
EDA-004 is an evaluation board of Altera FPGA. It equipped with power circuit, reset
circuit, crystal, memory and configuration device. So it can provide you with very
convenient and easy-to-use environment.
For USB interface, it has FTDI FT2232H. Channel B of FT2232H is oriented for
FPGA configuration and channel A is configured for a user communication interface
by using FTDI’s virtual COM port and direct driver.
If you want to only configure the FPGA, you don’t need to prepare development
environment. But when you configure the “configuration ROM” and “FPGA internal
SPI ROM”, you need to prepare and use Xilinx oriented download cable.
2
EDA-004 (‘Ver.1.0)
1.
1.1.
1.
Specifications
SpecificationsSpecifications
Specifications
Model Name
Model NameModel Name
Model Name
EDA-004
FPGA
FPGAFPGA
FPGA
EP3C55F780C8N
USB Interface
USB InterfaceUSB Interface
USB Interface
FT2232H (FTDI)
Power Input
Power InputPower Input
Power Input
DC 5.0 [V] (Self Power)
Config. Device
Config. DeviceConfig. Device
Config. Device
EPCS16SI8N or EPCS16SI16N (Altera, 16Mbit) *
MRAM
MRAMMRAM
MRAM
MR2A16AYS35 (EverSpin, 4Mbit) *
Dimensions
DimensionsDimensions
Dimensions
3.386" x 2.126" (86 x 54 [mm])
Weight
WeightWeight
Weight
35 [g] typ.
User I/Os
User I/OsUser I/Os
User I/Os
100
User I/O Connectors
User I/O ConnectorsUser I/O Connectors
User I/O Connectors
66-pin through-hole
dia. 0.9 [mm], 100[mil]/2.54 [mm] pitch
User Switch
User SwitchUser Switch
User Switch
1
User LEDs
User LEDsUser LEDs
User LEDs
3
On
OnOn
On-
--
-Board Clock
Board ClockBoard Clock
Board Clock
50 [MHz] (External inputs are available) *
Status LEDs
Status LEDsStatus LEDs
Status LEDs
2 : POWER (Red), DONE (Blue) *
Power
PowerPower
Power-
--
-On Reset
On ResetOn Reset
On Reset
140 [ms] min. (Configuration reset signal) *
JTAG Connector
JTAG ConnectorJTAG Connector
JTAG Connector
DIL 10-pin socket, 2.54 [mm] pitch
PCB
PCBPCB
PCB
6 Layer FR-4 t1.6 [mm] Immersion gold
USB Cable (1.8m) *
Accessories
AccessoriesAccessories
Accessories
2 DIL 80-pin headers (Cuttable) *
RoHS Compliance
RoHS ComplianceRoHS Compliance
RoHS Compliance
YES
* There may be cases when compatible parts are used.
* There may be cases when compatible parts are used.* There may be cases when compatible parts are used.
* There may be cases when compatible parts are used.
3
EDA-004 (‘Ver.1.0)
2.
2.2.
2.
Overview
OverviewOverview
Overview
2.1.
2.1.2.1.
2.1.
Name of Parts
Name of PartsName of Parts
Name of Parts
Component Side
Solder Side
User I/Os (CNB)
FT2232H
4Mbit)
User I/Os (CNA)
User LED x3
User Switch
Setting Switch
JTAG Connector
FPGA
Config. Device
EEPROM
USB Reset
Done LED (Blue)
Power LED (Red)
Oscillator
(50 MHz)
4
EDA-004 (‘Ver.1.0)
2.2.
2.2.2.2.
2.2.
Block
Block Block
Block Diagram
DiagramDiagram
Diagram
Hi-Speed
Hi-SpeedHi-Speed
Hi-Speed
USB Controller
USB ControllerUSB Controller
USB Controller
FT2232H
FT2232HFT2232H
FT2232H
Cyclone-III
Cyclone-IIICyclone-III
Cyclone-III
EP3C55
EP3C55EP3C55
EP3C55
F780C8N
F780C8NF780C8N
F780C8N
JTAG
JTAGJTAG
JTAG
Config. Device
Config. DeviceConfig. Device
Config. Device
EPCS16(16Mbit)
EPCS16(16Mbit)EPCS16(16Mbit)
EPCS16(16Mbit)
3.3 V OUTPUT
3.3 V OUTPUT3.3 V OUTPUT
3.3 V OUTPUT
JTAG
JTAGJTAG
JTAG
Buffer
BufferBuffer
Buffer
USB
USB
USB
USB
Connector
Connector
Connector
Connector
DONE LED
DONE LEDDONE LED
DONE LED
External CLK
External CLKExternal CLK
External CLK
External CLK
External CLKExternal CLK
External CLK
5.0 V INPUT
5.0 V INPUT5.0 V INPUT
5.0 V INPUT
5.0 V INPUT
5.0 V INPUT5.0 V INPUT
5.0 V INPUT3.3 V OUTPUT
3.3 V OUTPUT3.3 V OUTPUT
3.3 V OUTPUT
MRAM
MRAMMRAM
MRAM
MR2A16 (4Mbit)
MR2A16 (4Mbit)MR2A16 (4Mbit)
MR2A16 (4Mbit)
Ch.A
Ch.ACh.A
Ch.A
Ch.B
Ch.BCh.B
Ch.B Config.
Config.Config.
Config.
User
UserUser
User
Reset
ResetReset
Reset
POR
PORPOR
POR
Config. Switch
Config. SwitchConfig. Switch
Config. Switch
Oscillator
OscillatorOscillator
Oscillator
50
5050
50 MHz
MHz MHz
MHz
User LEDs
User LEDsUser LEDs
User LEDs
Power LED(3.3V)
Power LED(3.3V)Power LED(3.3V)
Power LED(3.3V)
Power Circuit
Power CircuitPower Circuit
Power Circuit
3.3V, 2.5V, 1.2V
3.3V, 2.5V, 1.2V3.3V, 2.5V, 1.2V
3.3V, 2.5V, 1.2V
.JIC
.JIC
.JIC
.JIC
User Switch
User SwitchUser Switch
User Switch
User I/Os CNB
User I/Os CNBUser I/Os CNB
User I/Os CNB
User I/Os CNA
User I/Os CNAUser I/Os CNA
User I/Os CNA
50
5050
50
Protective Resistors
Protective ResistorsProtective Resistors
Protective Resistors
50
5050
50
Protective Resistors
Protective ResistorsProtective Resistors
Protective Resistors
3
33
3
2
22
2
2
22
2
5
EDA-004 (‘Ver.1.0)
2.3.
2.3.2.3.
2.3.
Power Supply
Power SupplyPower Supply
Power Supply
This board operates from external 5.0V input. You can use external 5.0V input from
CNA and CNB. The external power supply should be sufficient and stabilized.
FT2232H operates in self-power mode. Please note that you can not use USB Bus
power. Internally required 3.3V, 2.5V and 1.2V are generated by on-boarded
regulators.
2.4.
2.4.2.4.
2.4.
Clock
ClockClock
Clock
A crystal supplies 12MHz to the FT2232H, and a oscillator supplies 50MHz to the
FPGA. You can input external clock through CNA and CNB. For details please see
circuit schematics and pin assignment.
2.5.
2.5.2.5.
2.5.
Development Environment
Development EnvironmentDevelopment Environment
Development Environment
To develop and design FPGA internal circuit, you need to prepare circuit editor,
HDL editor or logic synthesis tool. These tools are provided by Altera as QuartusII.
When you use them, you need an internet license. The version of QuartusII when
EDA-004 developed is Ver.9.0.
6
EDA-004 (‘Ver.1.0)
3.
3.3.
3.
USB Driver
USB DriverUSB Driver
USB Driver
3.1.
3.1.3.1.
3.1.
Install
InstallInstall
Install
To configure and communicate the FPGA, you should install device drivers on your
PC. The device driver was established by FTDI. Please download the driver file
named from our support page. For installation, please follow the steps below.
(*Windows XP is used in this example)
1. Select “No, not this time” then click “Next”.
3. Browse the driver files which you downloaded
from our support page.
2. Select “Install from a list…” then click “Next”.
4. “EDA-004” will be installed.
5. Keep coming, “ED-CONFIG” and “USB Serial Port” will be recognized. Please
repeat same process for each devices.
*Non-WHQL compliant device driver will pop up a warning dialog window. When
you warned, please click “YES” or “Continue Anyway”.
7
EDA-004 (‘Ver.1.0)
If installation is finished successfully, the three hardwares will be listed in device
manager.
8
EDA-004 (‘Ver.1.0)
3.2.
3.2.3.2.
3.2.
Uninstall
UninstallUninstall
Uninstall
To uninstall the device driver, please follow the steps below. Please make sure that
the EDA-004 is not attached to your PC before you operate device un-installation.
1. Open “Control Panel” then click “Add or Remove programs”.
2. Click “Continue”.
3. Click “Finish”.
9
EDA-004 (‘Ver.1.0)
ON :Low (0)
OFF :High (1)
4.
4.4.
4.
FPGA Configuration
FPGA ConfigurationFPGA Configuration
FPGA Configuration
4.1.
4.1.4.1.
4.1.
Download cable
Download cableDownload cable
Download cable
You can configure the FPGA through USB by using application “BitCfg”.
When you use configuration device, you need to use ALTERA download cable.
When you use configuration device, you need to use ALTERA download cable.When you use configuration device, you need to use ALTERA download cable.
When you use configuration device, you need to use ALTERA download cable.
4.2.
4.2.4.2.
4.2.
Setting Switch (SW1, JP3)
Setting Switch (SW1, JP3)Setting Switch (SW1, JP3)
Setting Switch (SW1, JP3)
JP3 is a jumper to connect the FT2232 reset pin and the FPGA. When the FPGA is
not configured or it output high, FT2232 is not activated. So please open the JP3
when you configure the FPGA by USB.
SW1 is configuration mode setting switch. For more information of each pins,
please refer to CycloneIII user guide.
SW1
1
11
1
2
22
2
3
33
3
4
44
4
NET LA
NET LANET LA
NET LAB
BB
BEL
ELEL
EL
MSEL3 MSEL2 MSEL1 MSEL0
Default
DefaultDefault
Default
ON ON ON ON
Function
FunctionFunction
Function
Configuration Mode
Config. Mode
Config. ModeConfig. Mode
Config. Mode
MSEL3
MSEL3MSEL3
MSEL3
MSEL2
MSEL2MSEL2
MSEL2
MSEL1
MSEL1MSEL1
MSEL1
MSEL0
MSEL0MSEL0
MSEL0
AS *1
*1*1
*1
1 1 0 1
PS *2
*2*2
*2
0 0 0 0
JTAG
X X X X
X: Don’t Care
(*1) For FPGA configuration from configuration device.
(*2) For FPGA configuration from USB (BitCfg).
10
EDA-004 (‘Ver.1.0)
4.3.
4.3.4.3.
4.3.
USB Config
USB ConfigUSB Config
USB Configuration
urationuration
uration
BitCfg is provided for FPGA configuration by USB.
When you use BitCfg, please switch the configuration mode to “Slave Serial”.
To execute BitCfg, you need to use “/D=” argument by command line or BAT file.
/D=
/D=/D=
/D= : Description name of FT2232 Ch.B ( “EDA-004 HuMANDATA B” FIXED)
example) BitCfg /D="EDA-004 HuMANDATA B"
Other two arguments are also available.
/C=
/C=/C=
/C= : Configuration Rate
/F=
/F=/F=
/F= : Path of a bit stream file.(Full-path)
example) BitCfg /D="EDA-004 HuMANDATA B" /C=1500000 F=C:¥EDA-004_projects¥top.rbf
By using “/F=” argument, configuration process is operated immediately.
Open
.rbf
file
Download the “.rbf” file to FPGA
When “success” indicated, DONE LED will be turned on
Configuration Time
Reset FPGA
11
EDA-004 (‘Ver.1.0)
4.4.
4.4.4.4.
4.4.
JTAG Configuration
JTAG ConfigurationJTAG Configuration
JTAG Configuration
You can configure the FPGA and download data to configuration device by JTAG.
Pin assignment is as follows.
CN2
Net Label
Net LabelNet Label
Net Label
Signal Na
Signal NaSignal Na
Signal Name
meme
me
Pin No.
Pin No.Pin No.
Pin No.
Signal Name
Signal NameSignal Name
Signal Name
Net Label
Net LabelNet Label
Net Label
XTCK TCK 1 2 GND GND
XTDO TDO 3 4 VCC(3.3V) V33A
XTMS TMS 5 6 - -
- - 7 8 - -
XTDI TDI 9 10 GND GND
To configure the FPGA via JTAG, please refer to the following steps.
1. Double-click [
[[
[Program Device (Open Programmer)
Program Device (Open Programmer)Program Device (Open Programmer)
Program Device (Open Programmer)]
]]
] in [Task]
[Task][Task]
[Task] window.
2. Click [Auto Detect].
[Auto Detect].[Auto Detect].
[Auto Detect].
3. Click [Add File
[Add File[Add File
[Add File…
…]
]]
] then select .sof file you made.
4. Check [Program/Configure]
[Program/Configure][Program/Configure]
[Program/Configure] then Click [Start]
[Start][Start]
[Start].
If configuration is completed successfully, the DONE LED will light up.
12
EDA-004 (‘Ver.1.0)
5.
5.5.
5.
Configuration Device
Configuration DeviceConfiguration Device
Configuration Device
5.1.
5.1.5.1.
5.1.
Generate Programming fi
Generate Programming fiGenerate Programming fi
Generate Programming file
lele
le
To generate a JIC file, please refer to following steps.
1. Start Quartus II, then click [File -> Convert Programming Files.]
2. Set the fields as below.
[Programming File type] : JTAG Indirect Configuration File (jic)
[Configuration device] : EPCS16
[Memory Map File] : Uncheck
3. Select “Flash Loader”, then click “Add Device...
4. Select the FPGA device. (Cyclone III EP3C55)
5. Select “SOF Data”, then click “Add File…”.
6. Click “Generate”.
13
EDA-004 (‘Ver.1.0)
5.2.
5.2.5.2.
5.2.
Device Programming
Device ProgrammingDevice Programming
Device Programming
Please set configuration mode to “AS mode” when you program the device.
After finishing configuration, the FPGA will be configured by power cycle.
SW1
1 2 3 4
ON
OFF
5.3.
5.3.5.3.
5.3.
Device Erasing
Device ErasingDevice Erasing
Device Erasing
Uncheck “Program/Configure”, Check “Erase”, then click “Start”.
14
EDA-004 (‘Ver.1.0)
6.
6.6.
6.
Initial se
Initial seInitial se
Initial setting of EEPROM for FT2232H
tting of EEPROM for FT2232Htting of EEPROM for FT2232H
tting of EEPROM for FT2232H
The EEPROM for FT2232H is configured as below.
(FTDI MPROG Version 3.5)
15
EDA-004 (‘Ver.1.0)
7.
7.7.
7.
Additional Documentation and User Support
Additional Documentation and User SupportAdditional Documentation and User Support
Additional Documentation and User Support
The following documents and other supports are available at
http://www.hdl.co.jp/en/
http://www.hdl.co.jp/en/http://www.hdl.co.jp/en/
http://www.hdl.co.jp/en/spc/EDA/eda
spc/EDA/edaspc/EDA/eda
spc/EDA/eda-
--
-004/
004/004/
004/
Circuit Schematic
Pin List
Dimensional drawing
PCB drawing
Net List
Device drivers
Configuration application
… and more.
Cyclone III USB
Cyclone III USBCyclone III USB
Cyclone III USB-
--
-FPGA Board
FPGA BoardFPGA Board
FPGA Board
EDA-004
User’s Manual
Ver. 1.0
Ver. 1.0 Ver. 1.0
Ver. 1.0 ................................
................................................................
.............................................
..........................
............. Jan. 1
Jan. 1Jan. 1
Jan. 15
55
5, 2010
, 2010, 2010
, 2010
HuMANDAT
HuMANDATHuMANDAT
HuMANDATA LTD.
A LTD.A LTD.
A LTD.
Address: 1-2-10-2F, Nakahozumi, Ibaraki
Osaka, Japan
ZIP 567-0034
Tel: 81-(0)72-620-2002 (Japanese)
Fax: 81-(0)72-620-2003 (Japanese/English)
URL: http://www.hdl.co.jp/en/ (Global)
http://www.hdl.co.jp/ (Japan)
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19

Humandata EDA-004 User manual

Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI