Project

General

Profile

Tarjetas de desarrollo FPGA » History » Version 3

Victor Vásquez, 07/25/2019 03:30 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 2 Victor Vásquez
> * Control Panel > Device Manager
12 2 Victor Vásquez
> * Search for USB-Blaster
13 2 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 2 Victor Vásquez
Alorium XLR8
29 2 Victor Vásquez
STEPS
30 2 Victor Vásquez
Solder JTAG pins
31 2 Victor Vásquez
Install Quartus Prime Lite Edition
32 2 Victor Vásquez
Install the driver for the USB Blaster
33 2 Victor Vásquez
Control Panel > Device Manager
34 2 Victor Vásquez
Search for USB-Blaster
35 2 Victor Vásquez
Update Driver > Browse > \intelFPGA_lite\18.1\quartus\drivers    
36 2 Victor Vásquez
With Quartus Prime Lite Edition software generate programming file [Assembler]
37 2 Victor Vásquez
Open Quartus Prime Lite Edition
38 2 Victor Vásquez
Go to Tools > Programmer
39 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
40 2 Victor Vásquez
Check the correct FPGA by clicking "Auto Detec" and select 10M08SA
41 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
42 2 Victor Vásquez
project_name/output_files/xxx.pof
43 2 Victor Vásquez
Select <none> file and delete it
44 2 Victor Vásquez
Check the two boxes "Program/Configure" and "Verify" of the main file
45 2 Victor Vásquez
Program the FPGA by clicking "Start"
46 2 Victor Vásquez
NOTES
47 2 Victor Vásquez
*all steps were done using Windows 7
48 2 Victor Vásquez
Notch of the USB Blaster's connector should face the inside of the board.
49 2 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).
50 2 Victor Vásquez
RST pin is active low.
51 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
52 2 Victor Vásquez
Papilio Pro
53 2 Victor Vásquez
STEPS
54 2 Victor Vásquez
Install ISE Design Suite
55 2 Victor Vásquez
With ISE Design Suite software generate programming file [Generate Programming file]
56 2 Victor Vásquez
Download the file "Papilio-Loader-2.8-Setup.exe" (1) and install it
57 2 Victor Vásquez
Go to the project folder and search for the programming file xxx.bit
58 2 Victor Vásquez
Double click and wait for the Papilio Loader to open
59 2 Victor Vásquez
·File > Preferences > User Mode > Expert
60 2 Victor Vásquez
·In "Target board" field select "Papilio One or Papilio Pro"
61 2 Victor Vásquez
·Make sure the "Target .bit file" loaded the correct file
62 2 Victor Vásquez
·Do not touch the other fields and in the "Operations" box check "Erase", "Write to" and "Verify"
63 2 Victor Vásquez
·In the drop-down menu select either "FPGA" (lose at powerdown) or "SPI flash"
64 2 Victor Vásquez
·Click "Do Selected Operations"·
65 2 Victor Vásquez
NOTES
66 2 Victor Vásquez
*all steps were done using Windows 7
67 2 Victor Vásquez
(1) http://forum.gadgetfactory.net/files/file/10-papilio-loader-gui/
68 2 Victor Vásquez
if using VirtualBox make sure to enable USB: https://www.techrepublic.com/article/how-to-enable-usb-in-virtualbox/
69 2 Victor Vásquez
TinyFPGA BX
70 2 Victor Vásquez
STEPS
71 2 Victor Vásquez
Install Lattice iCEcube2 (Windows 7)
72 2 Victor Vásquez
Install toolchains APIO and tinyprog from the terminal
73 2 Victor Vásquez
$ (sudo) pip install apio tinyprog
74 2 Victor Vásquez
$ apio install system scons icestorm iverilog
75 2 Victor Vásquez
$ apio drivers --serial-enable
76 2 Victor Vásquez
Add yourself to the dialout group in order for your user to be able to access serial ports
77 2 Victor Vásquez
$ sudo usermod -a -G dialout $USER
78 2 Victor Vásquez
Connect your TinyFPGA BX board and make sure the bootloader is up to date
79 2 Victor Vásquez
    tinyprog --update-bootloader
80 2 Victor Vásquez
With Lattice iCEcube2 software generate programming file [Generate Bitmap] (Windows 7)
81 2 Victor Vásquez
Plug the TinyFPGA BX if it is not already
82 2 Victor Vásquez
In a terminal window go to Lattice project folder and search for the programming file
83 2 Victor Vásquez
project_name/project_name_Implmnt/sbt/outpus/bitmap/xxx.bin
84 2 Victor Vásquez
Program the FPGA
85 2 Victor Vásquez
$ (sudo) tinyprog -p xxx.bin
86 2 Victor Vásquez
The configuration will reamain until you press the reset button, when it would load the bootloader
87 2 Victor Vásquez
When connected to a dumb power supply the configuration will be reloaded after 1 second
88 2 Victor Vásquez
NOTES
89 2 Victor Vásquez
*Windows 7 was ONLY used for iCEcube2, the other steps were done in Ubuntu 14.04
90 2 Victor Vásquez
https://tinyfpga.com/bx/guide.html
91 2 Victor Vásquez
https://www.instructables.com/id/Getting-Started-With-the-Tinyfpga/
92 2 Victor Vásquez
https://github.com/tinyfpga/TinyFPGA-BX
93 2 Victor Vásquez
MAX 1000
94 2 Victor Vásquez
…..