Project

General

Profile

Tarjetas de desarrollo FPGA » History » Version 2

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