Project

General

Profile

Wiki » History » Version 36

foft, 05/27/2018 07:09 PM

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 31 foft
h2. v1 prototype (initial run on 5)
13 6 foft
14 5 foft
http://www.64kib.com/autobuild/private/prototype_v1/
15 33 foft
(changes: http://www.64kib.com/autobuild/private/prototype_v1/changes)
16 5 foft
17 31 foft
h2. v3 (aka v2!) prototype (run on 10 and subsequent run of 20, with fixes)
18 6 foft
19 5 foft
http://www.64kib.com/autobuild/private/prototype_v2/
20 33 foft
(changes: http://www.64kib.com/autobuild/private/prototype_v2/changes)
21 1 admin
22 31 foft
h2. v3.1 (aka v3!) prototype (only Panos has one)
23 27 foft
24
http://www.64kib.com/autobuild/private/prototype_v3/
25
26 8 foft
See the file changes for what I've changed.
27
28 28 foft
h1. Board setup videos
29 29 foft
30 28 foft
I put together some basic videos for the v2 boards:
31
https://www.youtube.com/playlist?list=PLYGeDt6lv-p5R4DwdcHtmYUbfL6lOcYLb
32
33 17 foft
h1. SD card setup
34 18 foft
35 32 foft
The OS and basic rom are loaded from the flash chip in the new cores, this can still be overridden by the sd card as discussed here:
36 17 foft
http://www.64kib.com/redmine/boards/1/topics/22?r=26#message-26
37 15 foft
38 5 foft
h1. Flashing
39 10 foft
40 5 foft
Its possible to flash the .sof using the USB blaster, but this only lasts until the board is restarted.
41 9 foft
To do this:
42
#Connect power to the board
43
#Connect the jtag
44
#In quartus go to tools->programmer
45
#In the programmer select 'add file' and choose the .sof file
46
#Tell it to start
47 5 foft
48 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.
49 6 foft
50 1 admin
h2. Making a jic file from a sof
51 9 foft
52 34 foft
I now tend to always make and post .jic files with each release, so this is really just a FYI.
53
54 1 admin
# In quartus go to file->convert programming files
55 5 foft
# Select programming file type 'jtag indirect programming file'
56 27 foft
# Select configuration device (v1:EPCQ128, v3:EPCS128, v3.1:??)
57 5 foft
# Select mode: Active serial
58
# Set appropriate file name
59
# In 'input files to convert' select 'flash loader' and click 'add device' on the right
60 12 sadosp
# Select 'Cyclone V' on left and the correct FPGA on the right (v1: 5CEBA2, v3: 5CEBA4)
61 5 foft
# In 'input files to convert' select 'sof data' and click 'add file'
62
# Select the .sof file to convert 
63
# Select properties on the new line and enable 'compression'
64 1 admin
# All done, click ok to save .jic file
65 34 foft
# Then flash using the programmer as you would with a .sof - it takes longer but it will last over a reboot
66 5 foft
Alternatively I'll post .jics from time to time...
67 1 admin
68 34 foft
h2. Flashing a core from the SD card
69
70
In recent cores (v21 and up) its possible to update from the SD card.
71
72 1 admin
This is done by:
73 34 foft
* Copy vxx.rpd file to your SD card
74
* Press F11
75
* Select program RPD
76
* In file selector choose the core version to upgrade to
77
* Wait a few minutes while it flashes. If you turn it off, there is a power cut or it fails for another reason then you will need a USB blaster to recover.
78
79
h1. Svideo/composite on v2
80 26 foft
81
On the v2 board svideo and composite are output via the vga connector:
82
83
For svideo luma is on the green output and chroma on the blue output.
84
For composite luma is on the green output. 
85 1 admin
86 30 foft
h1. Board information
87
88
[[Pinouts]]
89 36 foft
[[V2Issues]]
90 34 foft
91
h1. Keyboard mapping
92
93
The keyboard is mapped to match the standard Atari keyboard layout. It assumes you are using either an ISO or ANSI keyboard. I highly recommend buying stickers from here: https://www.4keyboard.com/commodore/591-2840-commodore-atari-non-transparent-keyboard-stickers.html
94 35 foft
For an ISO keyboard:
95 34 foft
!http://www.64kib.com/autobuild/keyboard.JPG!