Project

General

Profile

Flashing using the USB blaster » History » Version 1

foft, 05/27/2018 07:11 PM

1 1 foft
h1. Flashing using the USB blaster
2
3
Its possible to flash the .sof using the USB blaster, but this only lasts until the board is restarted.
4
To do this:
5
#Connect power to the board
6
#Connect the jtag
7
#In quartus go to tools->programmer
8
#In the programmer select 'add file' and choose the .sof file
9
#Tell it to start
10
11
To store on the flash chip you need to make a .jic file. The v1 board has a chip compatible with the EPCQ128. The v3 board has a chip compatible with the EPCS128.
12
13
h2. Making a jic file from a sof
14
15
I now tend to always make and post .jic files with each release, so this is really just a FYI.
16
17
# In quartus go to file->convert programming files
18
# Select programming file type 'jtag indirect programming file'
19
# Select configuration device (v1:EPCQ128, v3:EPCS128, v3.1:??)
20
# Select mode: Active serial
21
# Set appropriate file name
22
# In 'input files to convert' select 'flash loader' and click 'add device' on the right
23
# Select 'Cyclone V' on left and the correct FPGA on the right (v1: 5CEBA2, v3: 5CEBA4)
24
# In 'input files to convert' select 'sof data' and click 'add file'
25
# Select the .sof file to convert 
26
# Select properties on the new line and enable 'compression'
27
# All done, click ok to save .jic file
28
# Then flash using the programmer as you would with a .sof - it takes longer but it will last over a reboot
29
Alternatively I'll post .jics from time to time...