Project

General

Profile

Tarjetas de desarrollo FPGA » History » Version 9

Victor Vásquez, 07/25/2019 03:36 PM

1 2 Victor Vásquez
# Tarjetas de desarrollo FPGA
2 1 Victor Vásquez
3 2 Victor Vásquez
## Guía de programación
4 2 Victor Vásquez
5 2 Victor Vásquez
### Alorium Sno
6 3 Victor Vásquez
7 2 Victor Vásquez
#### STEPS
8 2 Victor Vásquez
* Solder JTAG and power pins
9 2 Victor Vásquez
* Install Quartus Prime Lite Edition
10 2 Victor Vásquez
* Install the driver for the USB Blaster
11 9 Victor Vásquez
** Control Panel > Device Manager
12 9 Victor Vásquez
** Search for USB-Blaster
13 9 Victor Vásquez
** Update Driver > Browse > \intelFPGA_lite\18.1\quartus\drivers    
14 2 Victor Vásquez
* With Quartus Prime Lite Edition software generate programming file [Assembler]
15 2 Victor Vásquez
* Open Quartus Prime Lite Edition
16 2 Victor Vásquez
* Go to Tools > Programmer
17 2 Victor Vásquez
* Make sure that "USB-Blaster [USB-0]" is selected in Hardware Setup, otherwise click Hardware Setup and in "Currently selected hardware:" select it. Close
18 2 Victor Vásquez
* Check the correct FPGA by clicking "Auto Detec" and select 10M16SA
19 2 Victor Vásquez
* Click "Add File" and go to the project folder and search and open the programming file, either xxx.sof (lose at powerdown) or xxx.pof
20 2 Victor Vásquez
> * project_name/output_files/xxx.pof
21 2 Victor Vásquez
* Select <none> file and delete it
22 2 Victor Vásquez
* Check the two boxes "Program/Configure" and "Verify" of the main file
23 2 Victor Vásquez
* Program the FPGA by clicking "Start"
24 3 Victor Vásquez
25 2 Victor Vásquez
#### NOTES
26 2 Victor Vásquez
* *all steps were done using Windows 7
27 2 Victor Vásquez
* When using on-chip memory IP cores change configuration mode to "Single Uncompresed Image with Memory Initialization" inside Device>Device and Pin Options...>Configuration mode
28 4 Victor Vásquez
29 4 Victor Vásquez
### Alorium XLR8
30 4 Victor Vásquez
31 4 Victor Vásquez
#### STEPS
32 5 Victor Vásquez
* Solder JTAG pins
33 5 Victor Vásquez
* Install Quartus Prime Lite Edition
34 5 Victor Vásquez
* Install the driver for the USB Blaster
35 5 Victor Vásquez
> * Control Panel > Device Manager
36 5 Victor Vásquez
> * Search for USB-Blaster
37 5 Victor Vásquez
> * Update Driver > Browse > \intelFPGA_lite\18.1\quartus\drivers    
38 5 Victor Vásquez
* With Quartus Prime Lite Edition software generate programming file [Assembler]
39 5 Victor Vásquez
* Open Quartus Prime Lite Edition
40 5 Victor Vásquez
* Go to Tools > Programmer
41 5 Victor Vásquez
* Make sure that "USB-Blaster [USB-0]" is selected in Hardware Setup, otherwise click Hardware Setup and in "Currently selected hardware:" select it. Close
42 5 Victor Vásquez
* Check the correct FPGA by clicking "Auto Detec" and select 10M08SA
43 5 Victor Vásquez
* Click "Add File" and go to the project folder and search and open the programming file, either xxx.sof (lose at powerdown) or xxx.pof
44 5 Victor Vásquez
> * project_name/output_files/xxx.pof
45 5 Victor Vásquez
* Select <none> file and delete it
46 5 Victor Vásquez
* Check the two boxes "Program/Configure" and "Verify" of the main file
47 5 Victor Vásquez
* Program the FPGA by clicking "Start"
48 4 Victor Vásquez
49 4 Victor Vásquez
#### NOTES
50 5 Victor Vásquez
* *all steps were done using Windows 7
51 5 Victor Vásquez
* Notch of the USB Blaster's connector should face the inside of the board.
52 5 Victor Vásquez
* For the use A0-5 pins there is 2 options: analog or digital, both connected to different pins on the FPGA. When used as digital, user has to enable this pins (buffer 3.3V-5V) through 6 pins also connected to the FPGA (see schematic).
53 5 Victor Vásquez
* RST pin is active low.
54 5 Victor Vásquez
* When using on-chip memory IP cores change configuration mode to "Single Uncompresed Image with Memory Initialization" inside Device>Device and Pin Options...>Configuration mode
55 4 Victor Vásquez
56 4 Victor Vásquez
### Papilio Pro
57 4 Victor Vásquez
58 4 Victor Vásquez
#### STEPS
59 2 Victor Vásquez
Install ISE Design Suite
60 2 Victor Vásquez
With ISE Design Suite software generate programming file [Generate Programming file]
61 2 Victor Vásquez
Download the file "Papilio-Loader-2.8-Setup.exe" (1) and install it
62 1 Victor Vásquez
Go to the project folder and search for the programming file xxx.bit
63 1 Victor Vásquez
Double click and wait for the Papilio Loader to open
64 1 Victor Vásquez
·File > Preferences > User Mode > Expert
65 2 Victor Vásquez
·In "Target board" field select "Papilio One or Papilio Pro"
66 1 Victor Vásquez
·Make sure the "Target .bit file" loaded the correct file
67 1 Victor Vásquez
·Do not touch the other fields and in the "Operations" box check "Erase", "Write to" and "Verify"
68 1 Victor Vásquez
·In the drop-down menu select either "FPGA" (lose at powerdown) or "SPI flash"
69 4 Victor Vásquez
·Click "Do Selected Operations"
70 4 Victor Vásquez
71 4 Victor Vásquez
#### NOTES
72 2 Victor Vásquez
*all steps were done using Windows 7
73 2 Victor Vásquez
(1) http://forum.gadgetfactory.net/files/file/10-papilio-loader-gui/
74 2 Victor Vásquez
if using VirtualBox make sure to enable USB: https://www.techrepublic.com/article/how-to-enable-usb-in-virtualbox/
75 4 Victor Vásquez
76 4 Victor Vásquez
### TinyFPGA BX
77 4 Victor Vásquez
78 4 Victor Vásquez
#### STEPS
79 2 Victor Vásquez
Install Lattice iCEcube2 (Windows 7)
80 2 Victor Vásquez
Install toolchains APIO and tinyprog from the terminal
81 2 Victor Vásquez
$ (sudo) pip install apio tinyprog
82 2 Victor Vásquez
$ apio install system scons icestorm iverilog
83 2 Victor Vásquez
$ apio drivers --serial-enable
84 2 Victor Vásquez
Add yourself to the dialout group in order for your user to be able to access serial ports
85 2 Victor Vásquez
$ sudo usermod -a -G dialout $USER
86 1 Victor Vásquez
Connect your TinyFPGA BX board and make sure the bootloader is up to date
87 1 Victor Vásquez
    tinyprog --update-bootloader
88 2 Victor Vásquez
With Lattice iCEcube2 software generate programming file [Generate Bitmap] (Windows 7)
89 2 Victor Vásquez
Plug the TinyFPGA BX if it is not already
90 2 Victor Vásquez
In a terminal window go to Lattice project folder and search for the programming file
91 2 Victor Vásquez
project_name/project_name_Implmnt/sbt/outpus/bitmap/xxx.bin
92 2 Victor Vásquez
Program the FPGA
93 2 Victor Vásquez
$ (sudo) tinyprog -p xxx.bin
94 2 Victor Vásquez
The configuration will reamain until you press the reset button, when it would load the bootloader
95 2 Victor Vásquez
When connected to a dumb power supply the configuration will be reloaded after 1 second
96 4 Victor Vásquez
97 4 Victor Vásquez
#### NOTES
98 2 Victor Vásquez
*Windows 7 was ONLY used for iCEcube2, the other steps were done in Ubuntu 14.04
99 2 Victor Vásquez
https://tinyfpga.com/bx/guide.html
100 2 Victor Vásquez
https://www.instructables.com/id/Getting-Started-With-the-Tinyfpga/
101 2 Victor Vásquez
https://github.com/tinyfpga/TinyFPGA-BX
102 2 Victor Vásquez
MAX 1000
103 2 Victor Vásquez
…..