Project

General

Profile

Wiki » History » Version 35

foft, 05/27/2018 07:08 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 30 foft
h1. Issues to solve for final board (solved in v2 fix)
29 15 foft
30
* Remove video DAC and audio ADC power supplies.
31
* Verify footprint of main board IO area vs standard. Power switch does not fit?
32 22 foft
* Adjust paddle voltage level potential divider.
33 16 foft
* Fix black 'éclaireXL' 
34 24 foft
* Widen cutout next to pbi from 3.7 to 4.75mm (or more)
35 25 foft
* Change REF_N pull up from 4k7 to about 2k.
36 19 foft
37
h2. Potential improvements
38
39 1 admin
* Think again on the sub-board vs external board?
40 19 foft
* Header to connect SIO LED to case
41
* Support hardware to allow main case switch to turn board on/off. Not sure how to go about this...
42 20 foft
* Power on switch invert up/down on/off to match 800XL!
43 22 foft
* Use 5V boost/buck regulator to give stable 5V
44 17 foft
45 28 foft
h1. Board setup videos
46 29 foft
47 28 foft
I put together some basic videos for the v2 boards:
48
https://www.youtube.com/playlist?list=PLYGeDt6lv-p5R4DwdcHtmYUbfL6lOcYLb
49
50 17 foft
h1. SD card setup
51 18 foft
52 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:
53 17 foft
http://www.64kib.com/redmine/boards/1/topics/22?r=26#message-26
54 15 foft
55 5 foft
h1. Flashing
56 10 foft
57 5 foft
Its possible to flash the .sof using the USB blaster, but this only lasts until the board is restarted.
58 9 foft
To do this:
59
#Connect power to the board
60
#Connect the jtag
61
#In quartus go to tools->programmer
62
#In the programmer select 'add file' and choose the .sof file
63
#Tell it to start
64 5 foft
65 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.
66 6 foft
67 1 admin
h2. Making a jic file from a sof
68 9 foft
69 34 foft
I now tend to always make and post .jic files with each release, so this is really just a FYI.
70
71 1 admin
# In quartus go to file->convert programming files
72 5 foft
# Select programming file type 'jtag indirect programming file'
73 27 foft
# Select configuration device (v1:EPCQ128, v3:EPCS128, v3.1:??)
74 5 foft
# Select mode: Active serial
75
# Set appropriate file name
76
# In 'input files to convert' select 'flash loader' and click 'add device' on the right
77 12 sadosp
# Select 'Cyclone V' on left and the correct FPGA on the right (v1: 5CEBA2, v3: 5CEBA4)
78 5 foft
# In 'input files to convert' select 'sof data' and click 'add file'
79
# Select the .sof file to convert 
80
# Select properties on the new line and enable 'compression'
81 1 admin
# All done, click ok to save .jic file
82 34 foft
# Then flash using the programmer as you would with a .sof - it takes longer but it will last over a reboot
83 5 foft
Alternatively I'll post .jics from time to time...
84 1 admin
85 34 foft
h2. Flashing a core from the SD card
86
87
In recent cores (v21 and up) its possible to update from the SD card.
88
89
This is done by:
90
* Copy vxx.rpd file to your SD card
91
* Press F11
92
* Select program RPD
93
* In file selector choose the core version to upgrade to
94
* 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.
95
96 26 foft
h1. Svideo/composite on v2
97
98
On the v2 board svideo and composite are output via the vga connector:
99
100
For svideo luma is on the green output and chroma on the blue output.
101 1 admin
For composite luma is on the green output. 
102 30 foft
103
h1. Board information
104
105 1 admin
[[Pinouts]]
106 34 foft
107
h1. Keyboard mapping
108
109
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
110 35 foft
For an ISO keyboard:
111 34 foft
!http://www.64kib.com/autobuild/keyboard.JPG!