Wiki » History » Version 14
foft, 05/25/2017 06:37 AM
Corrected flash chip type
| 1 | 4 | foft | h1. Introduction |
|---|---|---|---|
| 2 | 2 | admin | |
| 3 | 4 | foft | For now please see the general core manual on the main page. |
| 4 | http://www.64kib.com/ |
||
| 5 | 5 | foft | |
| 6 | 11 | foft | h1. Power requirements |
| 7 | |||
| 8 | USB B 5V input. 500mA is enough but I'd go with 1-2A to give some extra for any connected devices. |
||
| 9 | |||
| 10 | 5 | foft | h1. Core location |
| 11 | 7 | foft | |
| 12 | 5 | foft | h2. v1 prototype |
| 13 | 6 | foft | |
| 14 | 5 | foft | http://www.64kib.com/autobuild/private/prototype_v1/ |
| 15 | |||
| 16 | h2. v2 prototype (aka v3!) |
||
| 17 | 6 | foft | |
| 18 | 5 | foft | http://www.64kib.com/autobuild/private/prototype_v2/ |
| 19 | |||
| 20 | 8 | foft | See the file changes for what I've changed. |
| 21 | |||
| 22 | 5 | foft | h1. Flashing |
| 23 | 10 | foft | |
| 24 | 5 | foft | Its possible to flash the .sof using the USB blaster, but this only lasts until the board is restarted. |
| 25 | 9 | foft | To do this: |
| 26 | #Connect power to the board |
||
| 27 | #Connect the jtag |
||
| 28 | #In quartus go to tools->programmer |
||
| 29 | #In the programmer select 'add file' and choose the .sof file |
||
| 30 | #Tell it to start |
||
| 31 | 5 | foft | |
| 32 | 14 | foft | 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. |
| 33 | 5 | foft | |
| 34 | 6 | foft | h2. Making a jic file from a sof |
| 35 | 1 | admin | |
| 36 | 9 | foft | # In quartus go to file->convert programming files |
| 37 | 5 | foft | # Select programming file type 'jtag indirect programming file' |
| 38 | 13 | sadosp | # Select configuration device (v1:EPCQ128, v3:EPCS128) |
| 39 | 5 | foft | # Select mode: Active serial |
| 40 | # Set appropriate file name |
||
| 41 | # In 'input files to convert' select 'flash loader' and click 'add device' on the right |
||
| 42 | 12 | sadosp | # Select 'Cyclone V' on left and the correct FPGA on the right (v1: 5CEBA2, v3: 5CEBA4) |
| 43 | 5 | foft | # In 'input files to convert' select 'sof data' and click 'add file' |
| 44 | # Select the .sof file to convert |
||
| 45 | # Select properties on the new line and enable 'compression' |
||
| 46 | # All done, click ok to save .jic file |
||
| 47 | # The flash using the programmer as you would with a .sof - it takes longer but it will last over a reboot |
||
| 48 | Alternatively I'll post .jics from time to time... |