sorting c64 folder / adding 4464 tester
This commit is contained in:
@@ -0,0 +1,298 @@
|
||||
EESchema-LIBRARY Version 2.3
|
||||
#encoding utf-8
|
||||
#
|
||||
# +5V
|
||||
#
|
||||
DEF +5V #PWR 0 0 Y Y 1 F P
|
||||
F0 "#PWR" 0 -150 50 H I C CNN
|
||||
F1 "+5V" 0 140 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
P 2 0 1 0 -30 50 0 100 N
|
||||
P 2 0 1 0 0 0 0 100 N
|
||||
P 2 0 1 0 0 100 30 50 N
|
||||
X +5V 1 0 0 0 U 50 50 1 1 W N
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# 4464
|
||||
#
|
||||
DEF 4464 U 0 40 Y Y 1 F N
|
||||
F0 "U" 150 550 60 H V C CNN
|
||||
F1 "4464" -150 550 60 H V C CNN
|
||||
F2 "" 0 -500 60 H I C CNN
|
||||
F3 "" 0 -500 60 H I C CNN
|
||||
DRAW
|
||||
S -250 500 250 -500 0 1 0 N
|
||||
X /OE 1 -450 400 200 R 50 50 1 1 I
|
||||
X D0 2 -450 300 200 R 50 50 1 1 I
|
||||
X D1 3 -450 200 200 R 50 50 1 1 I
|
||||
X /WE 4 -450 100 200 R 50 50 1 1 I
|
||||
X /RAS 5 -450 0 200 R 50 50 1 1 I
|
||||
X A6 6 -450 -100 200 R 50 50 1 1 I
|
||||
X A5 7 -450 -200 200 R 50 50 1 1 I
|
||||
X A4 8 -450 -300 200 R 50 50 1 1 I
|
||||
X VCC 9 -450 -400 200 R 50 50 1 1 I
|
||||
X A7 10 450 -400 200 L 50 50 1 1 I
|
||||
X A0 11 450 -300 200 L 50 50 1 1 I
|
||||
X A1 12 450 -200 200 L 50 50 1 1 I
|
||||
X A2 13 450 -100 200 L 50 50 1 1 I
|
||||
X A3 14 450 0 200 L 50 50 1 1 I
|
||||
X D2 15 450 100 200 L 50 50 1 1 I
|
||||
X CAS 16 450 200 200 L 50 50 1 1 I
|
||||
X D3 17 450 300 200 L 50 50 1 1 I
|
||||
X GND 18 450 400 200 L 50 50 1 1 I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# CONN_01X02
|
||||
#
|
||||
DEF CONN_01X02 J 0 40 Y N 1 F N
|
||||
F0 "J" 0 150 50 H V C CNN
|
||||
F1 "CONN_01X02" 100 0 50 V V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Pin_Header_Straight_1X*
|
||||
Pin_Header_Angled_1X*
|
||||
Socket_Strip_Straight_1X*
|
||||
Socket_Strip_Angled_1X*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -50 -45 10 -55 0 1 0 N
|
||||
S -50 55 10 45 0 1 0 N
|
||||
S -50 100 50 -100 0 1 0 N
|
||||
X P1 1 -200 50 150 R 50 50 1 1 P
|
||||
X P2 2 -200 -50 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# GND
|
||||
#
|
||||
DEF GND #PWR 0 0 Y Y 1 F P
|
||||
F0 "#PWR" 0 -250 50 H I C CNN
|
||||
F1 "GND" 0 -150 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
|
||||
X GND 1 0 0 0 D 50 50 1 1 W N
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# KM44256
|
||||
#
|
||||
DEF KM44256 U 0 20 Y Y 1 F N
|
||||
F0 "U" 0 600 60 H V C CNN
|
||||
F1 "KM44256" 0 700 60 H V C CNN
|
||||
F2 "" 0 600 60 H I C CNN
|
||||
F3 "" 0 600 60 H I C CNN
|
||||
DRAW
|
||||
S -250 500 250 -500 0 1 0 N
|
||||
X D0 1 -450 450 200 R 50 50 1 1 I
|
||||
X D1 2 -450 350 200 R 50 50 1 1 I
|
||||
X /WE 3 -450 250 200 R 50 50 1 1 I
|
||||
X /RAS 4 -450 150 200 R 50 50 1 1 I
|
||||
X NC 5 -450 50 200 R 50 50 1 1 I
|
||||
X A0 6 -450 -50 200 R 50 50 1 1 I
|
||||
X A1 7 -450 -150 200 R 50 50 1 1 I
|
||||
X A2 8 -450 -250 200 R 50 50 1 1 I
|
||||
X A3 9 -450 -350 200 R 50 50 1 1 I
|
||||
X VCC 10 -450 -450 200 R 50 50 1 1 I
|
||||
X GND 20 450 450 200 L 50 50 1 1 I
|
||||
X A4 11 450 -450 200 L 50 50 1 1 I
|
||||
X A5 12 450 -350 200 L 50 50 1 1 I
|
||||
X A6 13 450 -250 200 L 50 50 1 1 I
|
||||
X A7 14 450 -150 200 L 50 50 1 1 I
|
||||
X A8 15 450 -50 200 L 50 50 1 1 I
|
||||
X /OE 16 450 50 200 L 50 50 1 1 I
|
||||
X /CAS 17 450 150 200 L 50 50 1 1 I
|
||||
X D2 18 450 250 200 L 50 50 1 1 I
|
||||
X D3 19 450 350 200 L 50 50 1 1 I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# LED
|
||||
#
|
||||
DEF LED D 0 40 Y N 1 F N
|
||||
F0 "D" 0 100 50 H V C CNN
|
||||
F1 "LED" 0 -100 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
LED*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
P 2 0 1 8 -50 -50 -50 50 N
|
||||
P 2 0 1 0 -50 0 50 0 N
|
||||
P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N
|
||||
P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N
|
||||
P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N
|
||||
X K 1 -150 0 100 R 50 50 1 1 P
|
||||
X A 2 150 0 100 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Nano
|
||||
#
|
||||
DEF Nano U 0 30 Y Y 1 F N
|
||||
F0 "U" 150 800 60 H V C CNN
|
||||
F1 "Nano" -50 800 60 H V C CNN
|
||||
F2 "" 50 -550 60 H I C CNN
|
||||
F3 "" 50 -550 60 H I C CNN
|
||||
DRAW
|
||||
S -200 750 200 -750 0 1 0 N
|
||||
X TX 1 -400 700 200 R 50 50 1 1 B
|
||||
X RX 2 -400 600 200 R 50 50 1 1 B
|
||||
X RST 3 -400 500 200 R 50 50 1 1 B
|
||||
X GND 4 -400 400 200 R 50 50 1 1 B
|
||||
X D2 5 -400 300 200 R 50 50 1 1 B
|
||||
X D3 6 -400 200 200 R 50 50 1 1 B
|
||||
X D4 7 -400 100 200 R 50 50 1 1 B
|
||||
X D5 8 -400 0 200 R 50 50 1 1 B
|
||||
X D6 9 -400 -100 200 R 50 50 1 1 B
|
||||
X D7 10 -400 -200 200 R 50 50 1 1 B
|
||||
X A1 20 400 -300 200 L 50 50 1 1 B
|
||||
X VIN 30 400 700 200 L 50 50 1 1 B
|
||||
X D8 11 -400 -300 200 R 50 50 1 1 B
|
||||
X A2 21 400 -200 200 L 50 50 1 1 B
|
||||
X D9 12 -400 -400 200 R 50 50 1 1 B
|
||||
X A3 22 400 -100 200 L 50 50 1 1 B
|
||||
X D10 13 -400 -500 200 R 50 50 1 1 B
|
||||
X A4 23 400 0 200 L 50 50 1 1 B
|
||||
X D11 14 -400 -600 200 R 50 50 1 1 B
|
||||
X A5 24 400 100 200 L 50 50 1 1 B
|
||||
X D12 15 -400 -700 200 R 50 50 1 1 B
|
||||
X A6 25 400 200 200 L 50 50 1 1 B
|
||||
X D13 16 400 -700 200 L 50 50 1 1 B
|
||||
X A7 26 400 300 200 L 50 50 1 1 B
|
||||
X 3V3 17 400 -600 200 L 50 50 1 1 B
|
||||
X 5V 27 400 400 200 L 50 50 1 1 B
|
||||
X REF 18 400 -500 200 L 50 50 1 1 B
|
||||
X RST 28 400 500 200 L 50 50 1 1 B
|
||||
X A0 19 400 -400 200 L 50 50 1 1 B
|
||||
X GND 29 400 600 200 L 50 50 1 1 B
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# ProMini
|
||||
#
|
||||
DEF ProMini U 0 40 Y Y 1 F N
|
||||
F0 "U" 0 -150 60 H V C CNN
|
||||
F1 "ProMini" 0 -50 60 H V C CNN
|
||||
F2 "" -500 -150 60 H I C CNN
|
||||
F3 "" -500 -150 60 H I C CNN
|
||||
DRAW
|
||||
S -500 600 500 -600 0 1 0 N
|
||||
X TX 1 -700 550 200 R 50 50 1 1 B
|
||||
X RX 2 -700 450 200 R 50 50 1 1 B
|
||||
X RST 3 -700 350 200 R 50 50 1 1 I
|
||||
X GND 4 -700 250 200 R 50 50 1 1 W
|
||||
X D2 5 -700 150 200 R 50 50 1 1 B
|
||||
X D3 6 -700 50 200 R 50 50 1 1 B
|
||||
X D4 7 -700 -50 200 R 50 50 1 1 B
|
||||
X D5 8 -700 -150 200 R 50 50 1 1 B
|
||||
X D6 9 -700 -250 200 R 50 50 1 1 B
|
||||
X D7 10 -700 -350 200 R 50 50 1 1 B
|
||||
X A3 20 700 150 200 L 50 50 1 1 B
|
||||
X DTR 30 -250 800 200 D 50 50 1 1 B
|
||||
X D8 11 -700 -450 200 R 50 50 1 1 B
|
||||
X VCC 21 700 250 200 L 50 50 1 1 W
|
||||
X TX 31 -150 800 200 D 50 50 1 1 B
|
||||
X D9 12 -700 -550 200 R 50 50 1 1 B
|
||||
X RST 22 700 350 200 L 50 50 1 1 I
|
||||
X RX 32 -50 800 200 D 50 50 1 1 B
|
||||
X D10 13 700 -550 200 L 50 50 1 1 B
|
||||
X GND 23 700 450 200 L 50 50 1 1 W
|
||||
X VCC 33 50 800 200 D 50 50 1 1 W
|
||||
X D11 14 700 -450 200 L 50 50 1 1 B
|
||||
X RAW 24 700 550 200 L 50 50 1 1 W
|
||||
X GND 34 150 800 200 D 50 50 1 1 W
|
||||
X D12 15 700 -350 200 L 50 50 1 1 B
|
||||
X GND 25 -200 -800 200 U 50 50 1 1 W
|
||||
X GND 35 250 800 200 D 50 50 1 1 W
|
||||
X D13 16 700 -250 200 L 50 50 1 1 B
|
||||
X A4 26 -100 -800 200 U 50 50 1 1 B
|
||||
X A5' 36 250 200 200 L 50 50 1 1 B
|
||||
X A0 17 700 -150 200 L 50 50 1 1 B
|
||||
X A5/GND 27 0 -800 200 U 50 50 1 1 B
|
||||
X A4' 37 250 100 200 L 50 50 1 1 B
|
||||
X A1 18 700 -50 200 L 50 50 1 1 B
|
||||
X A6 28 100 -800 200 U 50 50 1 1 B
|
||||
X A2 19 700 50 200 L 50 50 1 1 B
|
||||
X A7 29 200 -800 200 U 50 50 1 1 B
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# R
|
||||
#
|
||||
DEF R R 0 0 N Y 1 F N
|
||||
F0 "R" 80 0 50 V V C CNN
|
||||
F1 "R" 0 0 50 V V C CNN
|
||||
F2 "" -70 0 50 V I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
R_*
|
||||
R_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -40 -100 40 100 0 1 10 N
|
||||
X ~ 1 0 150 50 D 50 50 1 1 P
|
||||
X ~ 2 0 -150 50 U 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# SW_SPDT
|
||||
#
|
||||
DEF SW_SPDT SW 0 3 Y Y 1 F N
|
||||
F0 "SW" 0 400 60 H V C CNN
|
||||
F1 "SW_SPDT" 0 300 60 H V C CNN
|
||||
F2 "" 0 0 60 H I C CNN
|
||||
F3 "" 0 0 60 H I C CNN
|
||||
DRAW
|
||||
C -150 -150 50 0 1 0 N
|
||||
C -150 150 50 0 1 0 N
|
||||
C 150 0 50 0 1 0 N
|
||||
S -200 200 200 -200 0 1 0 N
|
||||
P 2 0 1 0 150 0 -150 150 N
|
||||
X P1 1 -400 50 200 R 50 50 1 1 I
|
||||
X COMM 2 400 -100 200 L 50 50 1 1 I
|
||||
X P2 3 -400 -50 200 R 50 50 1 1 I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# USB_B
|
||||
#
|
||||
DEF USB_B J 0 40 Y Y 1 F N
|
||||
F0 "J" -200 450 50 H V L CNN
|
||||
F1 "USB_B" -200 350 50 H V L CNN
|
||||
F2 "" 150 -50 50 H I C CNN
|
||||
F3 "" 150 -50 50 H I C CNN
|
||||
$FPLIST
|
||||
USB*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
C -150 85 25 0 1 10 F
|
||||
C -25 135 15 0 1 10 F
|
||||
S -200 -300 200 300 0 1 10 f
|
||||
S -150 220 -100 180 0 1 0 F
|
||||
S -5 -300 5 -270 0 1 0 N
|
||||
S 10 50 -20 20 0 1 10 F
|
||||
S 200 -105 170 -95 0 1 0 N
|
||||
S 200 -5 170 5 0 1 0 N
|
||||
S 200 195 170 205 0 1 0 N
|
||||
P 2 0 1 10 -75 85 25 85 N
|
||||
P 4 0 1 10 -125 85 -100 85 -50 135 -25 135 N
|
||||
P 4 0 1 10 -100 85 -75 85 -50 35 0 35 N
|
||||
P 4 0 1 10 25 110 25 60 75 85 25 110 F
|
||||
P 7 0 1 0 -160 170 -90 170 -90 225 -105 240 -145 240 -160 225 -160 170 N
|
||||
X VBUS 1 300 200 100 L 50 50 1 1 w
|
||||
X D- 2 300 -100 100 L 50 50 1 1 P
|
||||
X D+ 3 300 0 100 L 50 50 1 1 P
|
||||
X GND 4 0 -400 100 U 50 50 1 1 w
|
||||
X Shield 5 -100 -400 100 U 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
#End Library
|
||||
1665
dram.tester/C64/DRAM_Tester-master/DRAM_Tester/DRAM_Tester.kicad_pcb
Normal file
1665
dram.tester/C64/DRAM_Tester-master/DRAM_Tester/DRAM_Tester.kicad_pcb
Normal file
File diff suppressed because it is too large
Load Diff
446
dram.tester/C64/DRAM_Tester-master/DRAM_Tester/DRAM_Tester.net
Normal file
446
dram.tester/C64/DRAM_Tester-master/DRAM_Tester/DRAM_Tester.net
Normal file
@@ -0,0 +1,446 @@
|
||||
(export (version D)
|
||||
(design
|
||||
(source D:\Work\KiCad\DRAM_Tester\DRAM_Tester.sch)
|
||||
(date "2019-04-04 오후 8:59:38")
|
||||
(tool "Eeschema 4.0.6")
|
||||
(sheet (number 1) (name /) (tstamps /)
|
||||
(title_block
|
||||
(title)
|
||||
(company)
|
||||
(rev)
|
||||
(date)
|
||||
(source DRAM_Tester.sch)
|
||||
(comment (number 1) (value ""))
|
||||
(comment (number 2) (value ""))
|
||||
(comment (number 3) (value ""))
|
||||
(comment (number 4) (value "")))))
|
||||
(components
|
||||
(comp (ref U1)
|
||||
(value Nano)
|
||||
(footprint Modules:Arduino_Nano)
|
||||
(libsource (lib cloudree_arduino) (part Nano))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C923C5E))
|
||||
(comp (ref SW1)
|
||||
(value SW_SPDT)
|
||||
(footprint Socket_Strips:Socket_Strip_Straight_1x03_Pitch2.54mm)
|
||||
(libsource (lib cloudree_switch) (part SW_SPDT))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C923E04))
|
||||
(comp (ref U2)
|
||||
(value 4464)
|
||||
(footprint Housings_DIP:DIP-18_W7.62mm_Socket)
|
||||
(libsource (lib cloudree_memory) (part 4464))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C923EF9))
|
||||
(comp (ref U3)
|
||||
(value KM44256)
|
||||
(footprint Housings_DIP:DIP-20_W7.62mm_Socket)
|
||||
(libsource (lib cloudree_memory) (part KM44256))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C9245BD))
|
||||
(comp (ref R1)
|
||||
(value 330)
|
||||
(footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
|
||||
(libsource (lib device) (part R))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C924A23))
|
||||
(comp (ref R2)
|
||||
(value 330)
|
||||
(footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
|
||||
(libsource (lib device) (part R))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C924A48))
|
||||
(comp (ref D1)
|
||||
(value LED)
|
||||
(footprint LEDs:LED_Rectangular_W5.0mm_H2.0mm)
|
||||
(libsource (lib device) (part LED))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C924A99))
|
||||
(comp (ref D2)
|
||||
(value LED)
|
||||
(footprint LEDs:LED_Rectangular_W5.0mm_H2.0mm)
|
||||
(libsource (lib device) (part LED))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C924AFC))
|
||||
(comp (ref J1)
|
||||
(value CONN_01X02)
|
||||
(footprint Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm)
|
||||
(libsource (lib conn) (part CONN_01X02))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C9713E7))
|
||||
(comp (ref J2)
|
||||
(value USB_B)
|
||||
(footprint Connectors:USB_B)
|
||||
(libsource (lib conn) (part USB_B))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5C971484))
|
||||
(comp (ref U4)
|
||||
(value ProMini)
|
||||
(footprint Library:Arduino_Pro_Mini)
|
||||
(libsource (lib cloudree_arduino) (part ProMini))
|
||||
(sheetpath (names /) (tstamps /))
|
||||
(tstamp 5CA5F938)))
|
||||
(libparts
|
||||
(libpart (lib cloudree_memory) (part 4464)
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) 4464))
|
||||
(pins
|
||||
(pin (num 1) (name /OE) (type input))
|
||||
(pin (num 2) (name D0) (type input))
|
||||
(pin (num 3) (name D1) (type input))
|
||||
(pin (num 4) (name /WE) (type input))
|
||||
(pin (num 5) (name /RAS) (type input))
|
||||
(pin (num 6) (name A6) (type input))
|
||||
(pin (num 7) (name A5) (type input))
|
||||
(pin (num 8) (name A4) (type input))
|
||||
(pin (num 9) (name VCC) (type input))
|
||||
(pin (num 10) (name A7) (type input))
|
||||
(pin (num 11) (name A0) (type input))
|
||||
(pin (num 12) (name A1) (type input))
|
||||
(pin (num 13) (name A2) (type input))
|
||||
(pin (num 14) (name A3) (type input))
|
||||
(pin (num 15) (name D2) (type input))
|
||||
(pin (num 16) (name CAS) (type input))
|
||||
(pin (num 17) (name D3) (type input))
|
||||
(pin (num 18) (name GND) (type input))))
|
||||
(libpart (lib conn) (part CONN_01X02)
|
||||
(description "Connector, single row, 01x02, pin header")
|
||||
(footprints
|
||||
(fp Pin_Header_Straight_1X*)
|
||||
(fp Pin_Header_Angled_1X*)
|
||||
(fp Socket_Strip_Straight_1X*)
|
||||
(fp Socket_Strip_Angled_1X*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) CONN_01X02))
|
||||
(pins
|
||||
(pin (num 1) (name P1) (type passive))
|
||||
(pin (num 2) (name P2) (type passive))))
|
||||
(libpart (lib cloudree_memory) (part KM44256)
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) KM44256))
|
||||
(pins
|
||||
(pin (num 1) (name D0) (type input))
|
||||
(pin (num 2) (name D1) (type input))
|
||||
(pin (num 3) (name /WE) (type input))
|
||||
(pin (num 4) (name /RAS) (type input))
|
||||
(pin (num 5) (name NC) (type input))
|
||||
(pin (num 6) (name A0) (type input))
|
||||
(pin (num 7) (name A1) (type input))
|
||||
(pin (num 8) (name A2) (type input))
|
||||
(pin (num 9) (name A3) (type input))
|
||||
(pin (num 10) (name VCC) (type input))
|
||||
(pin (num 11) (name A4) (type input))
|
||||
(pin (num 12) (name A5) (type input))
|
||||
(pin (num 13) (name A6) (type input))
|
||||
(pin (num 14) (name A7) (type input))
|
||||
(pin (num 15) (name A8) (type input))
|
||||
(pin (num 16) (name /OE) (type input))
|
||||
(pin (num 17) (name /CAS) (type input))
|
||||
(pin (num 18) (name D2) (type input))
|
||||
(pin (num 19) (name D3) (type input))
|
||||
(pin (num 20) (name GND) (type input))))
|
||||
(libpart (lib device) (part LED)
|
||||
(description "LED generic")
|
||||
(footprints
|
||||
(fp LED*))
|
||||
(fields
|
||||
(field (name Reference) D)
|
||||
(field (name Value) LED))
|
||||
(pins
|
||||
(pin (num 1) (name K) (type passive))
|
||||
(pin (num 2) (name A) (type passive))))
|
||||
(libpart (lib cloudree_arduino) (part Nano)
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) Nano))
|
||||
(pins
|
||||
(pin (num 1) (name TX) (type BiDi))
|
||||
(pin (num 2) (name RX) (type BiDi))
|
||||
(pin (num 3) (name RST) (type BiDi))
|
||||
(pin (num 4) (name GND) (type BiDi))
|
||||
(pin (num 5) (name D2) (type BiDi))
|
||||
(pin (num 6) (name D3) (type BiDi))
|
||||
(pin (num 7) (name D4) (type BiDi))
|
||||
(pin (num 8) (name D5) (type BiDi))
|
||||
(pin (num 9) (name D6) (type BiDi))
|
||||
(pin (num 10) (name D7) (type BiDi))
|
||||
(pin (num 11) (name D8) (type BiDi))
|
||||
(pin (num 12) (name D9) (type BiDi))
|
||||
(pin (num 13) (name D10) (type BiDi))
|
||||
(pin (num 14) (name D11) (type BiDi))
|
||||
(pin (num 15) (name D12) (type BiDi))
|
||||
(pin (num 16) (name D13) (type BiDi))
|
||||
(pin (num 17) (name 3V3) (type BiDi))
|
||||
(pin (num 18) (name REF) (type BiDi))
|
||||
(pin (num 19) (name A0) (type BiDi))
|
||||
(pin (num 20) (name A1) (type BiDi))
|
||||
(pin (num 21) (name A2) (type BiDi))
|
||||
(pin (num 22) (name A3) (type BiDi))
|
||||
(pin (num 23) (name A4) (type BiDi))
|
||||
(pin (num 24) (name A5) (type BiDi))
|
||||
(pin (num 25) (name A6) (type BiDi))
|
||||
(pin (num 26) (name A7) (type BiDi))
|
||||
(pin (num 27) (name 5V) (type BiDi))
|
||||
(pin (num 28) (name RST) (type BiDi))
|
||||
(pin (num 29) (name GND) (type BiDi))
|
||||
(pin (num 30) (name VIN) (type BiDi))))
|
||||
(libpart (lib cloudree_arduino) (part ProMini)
|
||||
(fields
|
||||
(field (name Reference) U)
|
||||
(field (name Value) ProMini))
|
||||
(pins
|
||||
(pin (num 1) (name TX) (type BiDi))
|
||||
(pin (num 2) (name RX) (type BiDi))
|
||||
(pin (num 3) (name RST) (type input))
|
||||
(pin (num 4) (name GND) (type power_in))
|
||||
(pin (num 5) (name D2) (type BiDi))
|
||||
(pin (num 6) (name D3) (type BiDi))
|
||||
(pin (num 7) (name D4) (type BiDi))
|
||||
(pin (num 8) (name D5) (type BiDi))
|
||||
(pin (num 9) (name D6) (type BiDi))
|
||||
(pin (num 10) (name D7) (type BiDi))
|
||||
(pin (num 11) (name D8) (type BiDi))
|
||||
(pin (num 12) (name D9) (type BiDi))
|
||||
(pin (num 13) (name D10) (type BiDi))
|
||||
(pin (num 14) (name D11) (type BiDi))
|
||||
(pin (num 15) (name D12) (type BiDi))
|
||||
(pin (num 16) (name D13) (type BiDi))
|
||||
(pin (num 17) (name A0) (type BiDi))
|
||||
(pin (num 18) (name A1) (type BiDi))
|
||||
(pin (num 19) (name A2) (type BiDi))
|
||||
(pin (num 20) (name A3) (type BiDi))
|
||||
(pin (num 21) (name VCC) (type power_in))
|
||||
(pin (num 22) (name RST) (type input))
|
||||
(pin (num 23) (name GND) (type power_in))
|
||||
(pin (num 24) (name RAW) (type power_in))
|
||||
(pin (num 25) (name GND) (type power_in))
|
||||
(pin (num 26) (name A4) (type BiDi))
|
||||
(pin (num 27) (name A5/GND) (type BiDi))
|
||||
(pin (num 28) (name A6) (type BiDi))
|
||||
(pin (num 29) (name A7) (type BiDi))
|
||||
(pin (num 30) (name DTR) (type BiDi))
|
||||
(pin (num 31) (name TX) (type BiDi))
|
||||
(pin (num 32) (name RX) (type BiDi))
|
||||
(pin (num 33) (name VCC) (type power_in))
|
||||
(pin (num 34) (name GND) (type power_in))
|
||||
(pin (num 35) (name GND) (type power_in))
|
||||
(pin (num 36) (name A5') (type BiDi))
|
||||
(pin (num 37) (name A4') (type BiDi))))
|
||||
(libpart (lib device) (part R)
|
||||
(description Resistor)
|
||||
(footprints
|
||||
(fp R_*)
|
||||
(fp R_*))
|
||||
(fields
|
||||
(field (name Reference) R)
|
||||
(field (name Value) R))
|
||||
(pins
|
||||
(pin (num 1) (name ~) (type passive))
|
||||
(pin (num 2) (name ~) (type passive))))
|
||||
(libpart (lib cloudree_switch) (part SW_SPDT)
|
||||
(fields
|
||||
(field (name Reference) SW)
|
||||
(field (name Value) SW_SPDT))
|
||||
(pins
|
||||
(pin (num 1) (name P1) (type input))
|
||||
(pin (num 2) (name COMM) (type input))
|
||||
(pin (num 3) (name P2) (type input))))
|
||||
(libpart (lib conn) (part USB_B)
|
||||
(description "USB Type B connector")
|
||||
(footprints
|
||||
(fp USB*))
|
||||
(fields
|
||||
(field (name Reference) J)
|
||||
(field (name Value) USB_B))
|
||||
(pins
|
||||
(pin (num 1) (name VBUS) (type power_out))
|
||||
(pin (num 2) (name D-) (type passive))
|
||||
(pin (num 3) (name D+) (type passive))
|
||||
(pin (num 4) (name GND) (type power_out))
|
||||
(pin (num 5) (name Shield) (type passive)))))
|
||||
(libraries
|
||||
(library (logical conn)
|
||||
(uri D:\Programs\KiCad\share\kicad\library\conn.lib))
|
||||
(library (logical device)
|
||||
(uri D:\Programs\KiCad\share\kicad\library\device.lib))
|
||||
(library (logical cloudree_switch)
|
||||
(uri D:\Work\KiCad\cloudree_switch.lib))
|
||||
(library (logical cloudree_arduino)
|
||||
(uri D:\Work\KiCad\cloudree_arduino.lib))
|
||||
(library (logical cloudree_memory)
|
||||
(uri D:\Work\KiCad\cloudree_memory.lib)))
|
||||
(nets
|
||||
(net (code 1) (name "Net-(U4-Pad33)")
|
||||
(node (ref U4) (pin 33)))
|
||||
(net (code 2) (name GND)
|
||||
(node (ref U2) (pin 18))
|
||||
(node (ref U2) (pin 1))
|
||||
(node (ref U4) (pin 25))
|
||||
(node (ref U1) (pin 29))
|
||||
(node (ref U3) (pin 20))
|
||||
(node (ref U3) (pin 16))
|
||||
(node (ref D1) (pin 1))
|
||||
(node (ref U4) (pin 23))
|
||||
(node (ref U4) (pin 4))
|
||||
(node (ref D2) (pin 1))
|
||||
(node (ref J1) (pin 2))
|
||||
(node (ref J2) (pin 4))
|
||||
(node (ref SW1) (pin 3))
|
||||
(node (ref U1) (pin 4)))
|
||||
(net (code 3) (name "Net-(U4-Pad24)")
|
||||
(node (ref U4) (pin 24)))
|
||||
(net (code 4) (name "Net-(U4-Pad22)")
|
||||
(node (ref U4) (pin 22)))
|
||||
(net (code 5) (name "Net-(U4-Pad3)")
|
||||
(node (ref U4) (pin 3)))
|
||||
(net (code 6) (name "Net-(U4-Pad2)")
|
||||
(node (ref U4) (pin 2)))
|
||||
(net (code 7) (name "Net-(U4-Pad1)")
|
||||
(node (ref U4) (pin 1)))
|
||||
(net (code 8) (name "Net-(U4-Pad35)")
|
||||
(node (ref U4) (pin 35)))
|
||||
(net (code 9) (name "Net-(U4-Pad34)")
|
||||
(node (ref U4) (pin 34)))
|
||||
(net (code 10) (name "Net-(U4-Pad32)")
|
||||
(node (ref U4) (pin 32)))
|
||||
(net (code 11) (name "Net-(U4-Pad31)")
|
||||
(node (ref U4) (pin 31)))
|
||||
(net (code 12) (name "Net-(U4-Pad30)")
|
||||
(node (ref U4) (pin 30)))
|
||||
(net (code 13) (name G-LED)
|
||||
(node (ref U4) (pin 20))
|
||||
(node (ref R2) (pin 2))
|
||||
(node (ref U1) (pin 22)))
|
||||
(net (code 14) (name R-LED)
|
||||
(node (ref U4) (pin 36))
|
||||
(node (ref U4) (pin 27))
|
||||
(node (ref U1) (pin 24))
|
||||
(node (ref R1) (pin 2)))
|
||||
(net (code 15) (name +5V)
|
||||
(node (ref U3) (pin 10))
|
||||
(node (ref U1) (pin 27))
|
||||
(node (ref J2) (pin 1))
|
||||
(node (ref SW1) (pin 1))
|
||||
(node (ref J1) (pin 1))
|
||||
(node (ref U2) (pin 9))
|
||||
(node (ref U4) (pin 21)))
|
||||
(net (code 16) (name "Net-(U3-Pad5)")
|
||||
(node (ref U3) (pin 5)))
|
||||
(net (code 17) (name "Net-(D1-Pad2)")
|
||||
(node (ref R1) (pin 1))
|
||||
(node (ref D1) (pin 2)))
|
||||
(net (code 18) (name "Net-(D2-Pad2)")
|
||||
(node (ref D2) (pin 2))
|
||||
(node (ref R2) (pin 1)))
|
||||
(net (code 19) (name A2)
|
||||
(node (ref U1) (pin 13))
|
||||
(node (ref U3) (pin 8))
|
||||
(node (ref U4) (pin 13))
|
||||
(node (ref U2) (pin 13)))
|
||||
(net (code 20) (name A1)
|
||||
(node (ref U2) (pin 12))
|
||||
(node (ref U4) (pin 12))
|
||||
(node (ref U3) (pin 7))
|
||||
(node (ref U1) (pin 12)))
|
||||
(net (code 21) (name A0)
|
||||
(node (ref U3) (pin 6))
|
||||
(node (ref U1) (pin 11))
|
||||
(node (ref U2) (pin 11))
|
||||
(node (ref U4) (pin 11)))
|
||||
(net (code 22) (name WE)
|
||||
(node (ref U1) (pin 10))
|
||||
(node (ref U3) (pin 3))
|
||||
(node (ref U2) (pin 4))
|
||||
(node (ref U4) (pin 10)))
|
||||
(net (code 23) (name RAS)
|
||||
(node (ref U1) (pin 9))
|
||||
(node (ref U3) (pin 4))
|
||||
(node (ref U2) (pin 5))
|
||||
(node (ref U4) (pin 9)))
|
||||
(net (code 24) (name CAS)
|
||||
(node (ref U1) (pin 8))
|
||||
(node (ref U4) (pin 8))
|
||||
(node (ref U2) (pin 16))
|
||||
(node (ref U3) (pin 17)))
|
||||
(net (code 25) (name D2)
|
||||
(node (ref U3) (pin 18))
|
||||
(node (ref U1) (pin 7))
|
||||
(node (ref U2) (pin 15))
|
||||
(node (ref U4) (pin 7)))
|
||||
(net (code 26) (name "Net-(U4-Pad29)")
|
||||
(node (ref U4) (pin 29)))
|
||||
(net (code 27) (name SW)
|
||||
(node (ref SW1) (pin 2))
|
||||
(node (ref U1) (pin 25))
|
||||
(node (ref U4) (pin 28)))
|
||||
(net (code 28) (name D1)
|
||||
(node (ref U4) (pin 6))
|
||||
(node (ref U3) (pin 2))
|
||||
(node (ref U2) (pin 3))
|
||||
(node (ref U1) (pin 6)))
|
||||
(net (code 29) (name D3)
|
||||
(node (ref U4) (pin 37))
|
||||
(node (ref U3) (pin 19))
|
||||
(node (ref U4) (pin 26))
|
||||
(node (ref U1) (pin 23))
|
||||
(node (ref U2) (pin 17)))
|
||||
(net (code 30) (name "Net-(J2-Pad2)")
|
||||
(node (ref J2) (pin 2)))
|
||||
(net (code 31) (name "Net-(J2-Pad3)")
|
||||
(node (ref J2) (pin 3)))
|
||||
(net (code 32) (name "Net-(J2-Pad5)")
|
||||
(node (ref J2) (pin 5)))
|
||||
(net (code 33) (name D0)
|
||||
(node (ref U1) (pin 5))
|
||||
(node (ref U2) (pin 2))
|
||||
(node (ref U3) (pin 1))
|
||||
(node (ref U4) (pin 5)))
|
||||
(net (code 34) (name "Net-(U1-Pad17)")
|
||||
(node (ref U1) (pin 17)))
|
||||
(net (code 35) (name "Net-(U1-Pad18)")
|
||||
(node (ref U1) (pin 18)))
|
||||
(net (code 36) (name "Net-(U1-Pad28)")
|
||||
(node (ref U1) (pin 28)))
|
||||
(net (code 37) (name "Net-(U1-Pad26)")
|
||||
(node (ref U1) (pin 26)))
|
||||
(net (code 38) (name "Net-(U1-Pad30)")
|
||||
(node (ref U1) (pin 30)))
|
||||
(net (code 39) (name "Net-(U1-Pad3)")
|
||||
(node (ref U1) (pin 3)))
|
||||
(net (code 40) (name "Net-(U1-Pad2)")
|
||||
(node (ref U1) (pin 2)))
|
||||
(net (code 41) (name "Net-(U1-Pad1)")
|
||||
(node (ref U1) (pin 1)))
|
||||
(net (code 42) (name A3)
|
||||
(node (ref U4) (pin 14))
|
||||
(node (ref U2) (pin 14))
|
||||
(node (ref U1) (pin 14))
|
||||
(node (ref U3) (pin 9)))
|
||||
(net (code 43) (name A4)
|
||||
(node (ref U4) (pin 15))
|
||||
(node (ref U2) (pin 8))
|
||||
(node (ref U3) (pin 11))
|
||||
(node (ref U1) (pin 15)))
|
||||
(net (code 44) (name A5)
|
||||
(node (ref U4) (pin 16))
|
||||
(node (ref U1) (pin 16))
|
||||
(node (ref U2) (pin 7))
|
||||
(node (ref U3) (pin 12)))
|
||||
(net (code 45) (name A6)
|
||||
(node (ref U4) (pin 17))
|
||||
(node (ref U3) (pin 13))
|
||||
(node (ref U1) (pin 19))
|
||||
(node (ref U2) (pin 6)))
|
||||
(net (code 46) (name A7)
|
||||
(node (ref U1) (pin 20))
|
||||
(node (ref U3) (pin 14))
|
||||
(node (ref U2) (pin 10))
|
||||
(node (ref U4) (pin 18)))
|
||||
(net (code 47) (name A8)
|
||||
(node (ref U1) (pin 21))
|
||||
(node (ref U4) (pin 19))
|
||||
(node (ref U3) (pin 15)))))
|
||||
@@ -0,0 +1,63 @@
|
||||
update=2019-03-20 오후 10:19:40
|
||||
version=1
|
||||
last_client=kicad
|
||||
[pcbnew]
|
||||
version=1
|
||||
LastNetListRead=
|
||||
UseCmpFile=1
|
||||
PadDrill=0.600000000000
|
||||
PadDrillOvalY=0.600000000000
|
||||
PadSizeH=1.500000000000
|
||||
PadSizeV=1.500000000000
|
||||
PcbTextSizeV=1.500000000000
|
||||
PcbTextSizeH=1.500000000000
|
||||
PcbTextThickness=0.300000000000
|
||||
ModuleTextSizeV=1.000000000000
|
||||
ModuleTextSizeH=1.000000000000
|
||||
ModuleTextSizeThickness=0.150000000000
|
||||
SolderMaskClearance=0.000000000000
|
||||
SolderMaskMinWidth=0.000000000000
|
||||
DrawSegmentWidth=0.200000000000
|
||||
BoardOutlineThickness=0.100000000000
|
||||
ModuleOutlineThickness=0.150000000000
|
||||
[cvpcb]
|
||||
version=1
|
||||
NetIExt=net
|
||||
[general]
|
||||
version=1
|
||||
[eeschema]
|
||||
version=1
|
||||
LibDir=
|
||||
[eeschema/libraries]
|
||||
LibName1=power
|
||||
LibName2=device
|
||||
LibName3=transistors
|
||||
LibName4=conn
|
||||
LibName5=linear
|
||||
LibName6=regul
|
||||
LibName7=74xx
|
||||
LibName8=cmos4000
|
||||
LibName9=adc-dac
|
||||
LibName10=memory
|
||||
LibName11=xilinx
|
||||
LibName12=microcontrollers
|
||||
LibName13=dsp
|
||||
LibName14=microchip
|
||||
LibName15=analog_switches
|
||||
LibName16=motorola
|
||||
LibName17=texas
|
||||
LibName18=intel
|
||||
LibName19=audio
|
||||
LibName20=interface
|
||||
LibName21=digital-audio
|
||||
LibName22=philips
|
||||
LibName23=display
|
||||
LibName24=cypress
|
||||
LibName25=siliconi
|
||||
LibName26=opto
|
||||
LibName27=atmel
|
||||
LibName28=contrib
|
||||
LibName29=valves
|
||||
LibName30=D:/Work/KiCad/cloudree_arduino
|
||||
LibName31=D:/Work/KiCad/cloudree_memory
|
||||
LibName32=D:/Work/KiCad/cloudree_switch
|
||||
@@ -0,0 +1,78 @@
|
||||
|
||||
(rules PCB DRAM_Tester
|
||||
(snap_angle
|
||||
fortyfive_degree
|
||||
)
|
||||
(autoroute_settings
|
||||
(fanout off)
|
||||
(autoroute on)
|
||||
(postroute on)
|
||||
(vias on)
|
||||
(via_costs 50)
|
||||
(plane_via_costs 5)
|
||||
(start_ripup_costs 100)
|
||||
(start_pass_no 1802)
|
||||
(layer_rule F.Cu
|
||||
(active on)
|
||||
(preferred_direction horizontal)
|
||||
(preferred_direction_trace_costs 1.0)
|
||||
(against_preferred_direction_trace_costs 2.3)
|
||||
)
|
||||
(layer_rule B.Cu
|
||||
(active on)
|
||||
(preferred_direction vertical)
|
||||
(preferred_direction_trace_costs 1.0)
|
||||
(against_preferred_direction_trace_costs 1.8)
|
||||
)
|
||||
)
|
||||
(rule
|
||||
(width 250.0)
|
||||
(clear 200.2)
|
||||
(clear 125.0 (type smd_to_turn_gap))
|
||||
(clear 50.0 (type smd_smd))
|
||||
)
|
||||
(padstack "Via[0-1]_600:400_um"
|
||||
(shape
|
||||
(circle F.Cu 600.0 0.0 0.0)
|
||||
)
|
||||
(shape
|
||||
(circle B.Cu 600.0 0.0 0.0)
|
||||
)
|
||||
(attach off)
|
||||
)
|
||||
(via
|
||||
"Via[0-1]_600:400_um" "Via[0-1]_600:400_um" default
|
||||
)
|
||||
(via
|
||||
"Via[0-1]_600:400_um-kicad_default" "Via[0-1]_600:400_um" "kicad_default"
|
||||
)
|
||||
(via_rule
|
||||
default "Via[0-1]_600:400_um"
|
||||
)
|
||||
(via_rule
|
||||
"kicad_default" "Via[0-1]_600:400_um-kicad_default"
|
||||
)
|
||||
(class default
|
||||
(clearance_class default)
|
||||
(via_rule default)
|
||||
(rule
|
||||
(width 250.0)
|
||||
)
|
||||
(circuit
|
||||
(use_layer F.Cu B.Cu)
|
||||
)
|
||||
)
|
||||
(class "kicad_default"
|
||||
GND "Net-(D1-Pad2)" "Net-(D2-Pad2)" "R-LED" "G-LED" +5V SW A6
|
||||
A7 D0 A8 D1 D2 D3 CAS RAS
|
||||
WE A0 A1 A2 A3 A4 A5 "Net-(J2-Pad5)"
|
||||
(clearance_class "kicad_default")
|
||||
(via_rule kicad_default)
|
||||
(rule
|
||||
(width 250.0)
|
||||
)
|
||||
(circuit
|
||||
(use_layer F.Cu B.Cu)
|
||||
)
|
||||
)
|
||||
)
|
||||
573
dram.tester/C64/DRAM_Tester-master/DRAM_Tester/DRAM_Tester.sch
Normal file
573
dram.tester/C64/DRAM_Tester-master/DRAM_Tester/DRAM_Tester.sch
Normal file
@@ -0,0 +1,573 @@
|
||||
EESchema Schematic File Version 2
|
||||
LIBS:power
|
||||
LIBS:device
|
||||
LIBS:transistors
|
||||
LIBS:conn
|
||||
LIBS:linear
|
||||
LIBS:regul
|
||||
LIBS:74xx
|
||||
LIBS:cmos4000
|
||||
LIBS:adc-dac
|
||||
LIBS:memory
|
||||
LIBS:xilinx
|
||||
LIBS:microcontrollers
|
||||
LIBS:dsp
|
||||
LIBS:microchip
|
||||
LIBS:analog_switches
|
||||
LIBS:motorola
|
||||
LIBS:texas
|
||||
LIBS:intel
|
||||
LIBS:audio
|
||||
LIBS:interface
|
||||
LIBS:digital-audio
|
||||
LIBS:philips
|
||||
LIBS:display
|
||||
LIBS:cypress
|
||||
LIBS:siliconi
|
||||
LIBS:opto
|
||||
LIBS:atmel
|
||||
LIBS:contrib
|
||||
LIBS:valves
|
||||
LIBS:cloudree_arduino
|
||||
LIBS:cloudree_memory
|
||||
LIBS:cloudree_switch
|
||||
LIBS:DRAM_Tester-cache
|
||||
EELAYER 25 0
|
||||
EELAYER END
|
||||
$Descr A4 11693 8268
|
||||
encoding utf-8
|
||||
Sheet 1 1
|
||||
Title ""
|
||||
Date ""
|
||||
Rev ""
|
||||
Comp ""
|
||||
Comment1 ""
|
||||
Comment2 ""
|
||||
Comment3 ""
|
||||
Comment4 ""
|
||||
$EndDescr
|
||||
$Comp
|
||||
L Nano U1
|
||||
U 1 1 5C923C5E
|
||||
P 4700 3850
|
||||
F 0 "U1" H 4850 4650 60 0000 C CNN
|
||||
F 1 "Nano" H 4650 4650 60 0000 C CNN
|
||||
F 2 "Modules:Arduino_Nano" H 4750 3300 60 0001 C CNN
|
||||
F 3 "" H 4750 3300 60 0001 C CNN
|
||||
1 4700 3850
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
NoConn ~ 4300 3150
|
||||
NoConn ~ 4300 3250
|
||||
NoConn ~ 4300 3350
|
||||
NoConn ~ 5100 3150
|
||||
NoConn ~ 5100 3350
|
||||
NoConn ~ 5100 4350
|
||||
NoConn ~ 5100 4450
|
||||
$Comp
|
||||
L GND #PWR01
|
||||
U 1 1 5C923D1C
|
||||
P 4300 3450
|
||||
F 0 "#PWR01" H 4300 3200 50 0001 C CNN
|
||||
F 1 "GND" H 4300 3300 50 0000 C CNN
|
||||
F 2 "" H 4300 3450 50 0001 C CNN
|
||||
F 3 "" H 4300 3450 50 0001 C CNN
|
||||
1 4300 3450
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L GND #PWR02
|
||||
U 1 1 5C923D31
|
||||
P 5100 3250
|
||||
F 0 "#PWR02" H 5100 3000 50 0001 C CNN
|
||||
F 1 "GND" H 5100 3100 50 0000 C CNN
|
||||
F 2 "" H 5100 3250 50 0001 C CNN
|
||||
F 3 "" H 5100 3250 50 0001 C CNN
|
||||
1 5100 3250
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L +5V #PWR03
|
||||
U 1 1 5C923D40
|
||||
P 5100 3450
|
||||
F 0 "#PWR03" H 5100 3300 50 0001 C CNN
|
||||
F 1 "+5V" H 5100 3590 50 0000 C CNN
|
||||
F 2 "" H 5100 3450 50 0001 C CNN
|
||||
F 3 "" H 5100 3450 50 0001 C CNN
|
||||
1 5100 3450
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
Text GLabel 4300 3950 0 60 Output ~ 0
|
||||
RAS
|
||||
Text GLabel 4300 3850 0 60 Output ~ 0
|
||||
CAS
|
||||
Text GLabel 4300 4050 0 60 Output ~ 0
|
||||
WE
|
||||
Text GLabel 5100 3950 2 60 Output ~ 0
|
||||
G-LED
|
||||
Text GLabel 5100 3750 2 60 Output ~ 0
|
||||
R-LED
|
||||
Text GLabel 5100 3650 2 60 Input ~ 0
|
||||
SW
|
||||
Text GLabel 4300 3550 0 60 BiDi ~ 0
|
||||
D0
|
||||
Text GLabel 4300 3650 0 60 BiDi ~ 0
|
||||
D1
|
||||
Text GLabel 5100 3850 2 60 BiDi ~ 0
|
||||
D3
|
||||
Text GLabel 4300 3750 0 60 BiDi ~ 0
|
||||
D2
|
||||
Text GLabel 4300 4150 0 60 Output ~ 0
|
||||
A0
|
||||
Text GLabel 4300 4250 0 60 Output ~ 0
|
||||
A1
|
||||
Text GLabel 4300 4350 0 60 Output ~ 0
|
||||
A2
|
||||
Text GLabel 4300 4450 0 60 Output ~ 0
|
||||
A3
|
||||
Text GLabel 4300 4550 0 60 Output ~ 0
|
||||
A4
|
||||
Text GLabel 5100 4550 2 60 Output ~ 0
|
||||
A5
|
||||
Text GLabel 5100 4250 2 60 Output ~ 0
|
||||
A6
|
||||
Text GLabel 5100 4150 2 60 Output ~ 0
|
||||
A7
|
||||
Text GLabel 5100 4050 2 60 Output ~ 0
|
||||
A8
|
||||
NoConn ~ 5100 3550
|
||||
$Comp
|
||||
L SW_SPDT SW1
|
||||
U 1 1 5C923E04
|
||||
P 6300 3050
|
||||
F 0 "SW1" H 6300 3450 60 0000 C CNN
|
||||
F 1 "SW_SPDT" H 6300 3350 60 0000 C CNN
|
||||
F 2 "Socket_Strips:Socket_Strip_Straight_1x03_Pitch2.54mm" H 6300 3050 60 0001 C CNN
|
||||
F 3 "" H 6300 3050 60 0001 C CNN
|
||||
1 6300 3050
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text GLabel 6700 3150 2 60 Output ~ 0
|
||||
SW
|
||||
$Comp
|
||||
L +5V #PWR04
|
||||
U 1 1 5C923EA3
|
||||
P 5900 3000
|
||||
F 0 "#PWR04" H 5900 2850 50 0001 C CNN
|
||||
F 1 "+5V" H 5900 3140 50 0000 C CNN
|
||||
F 2 "" H 5900 3000 50 0001 C CNN
|
||||
F 3 "" H 5900 3000 50 0001 C CNN
|
||||
1 5900 3000
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L GND #PWR05
|
||||
U 1 1 5C923EBB
|
||||
P 5900 3100
|
||||
F 0 "#PWR05" H 5900 2850 50 0001 C CNN
|
||||
F 1 "GND" H 5900 2950 50 0000 C CNN
|
||||
F 2 "" H 5900 3100 50 0001 C CNN
|
||||
F 3 "" H 5900 3100 50 0001 C CNN
|
||||
1 5900 3100
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L 4464 U2
|
||||
U 1 1 5C923EF9
|
||||
P 6300 4150
|
||||
F 0 "U2" H 6450 4700 60 0000 C CNN
|
||||
F 1 "4464" H 6150 4700 60 0000 C CNN
|
||||
F 2 "Housings_DIP:DIP-18_W7.62mm_Socket" H 6300 3650 60 0001 C CNN
|
||||
F 3 "" H 6300 3650 60 0001 C CNN
|
||||
1 6300 4150
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text GLabel 5850 3850 0 60 BiDi ~ 0
|
||||
D0
|
||||
Text GLabel 5850 3950 0 60 BiDi ~ 0
|
||||
D1
|
||||
Text GLabel 5850 4250 0 60 Input ~ 0
|
||||
A6
|
||||
Text GLabel 5850 4350 0 60 Input ~ 0
|
||||
A5
|
||||
Text GLabel 5850 4450 0 60 Input ~ 0
|
||||
A4
|
||||
Text GLabel 6750 4550 2 60 Input ~ 0
|
||||
A7
|
||||
Text GLabel 6750 4450 2 60 Input ~ 0
|
||||
A0
|
||||
Text GLabel 6750 4350 2 60 Input ~ 0
|
||||
A1
|
||||
Text GLabel 6750 4250 2 60 Input ~ 0
|
||||
A2
|
||||
Text GLabel 6750 4150 2 60 Input ~ 0
|
||||
A3
|
||||
Text GLabel 6750 4050 2 60 BiDi ~ 0
|
||||
D2
|
||||
Text GLabel 6750 3850 2 60 BiDi ~ 0
|
||||
D3
|
||||
Text GLabel 6750 3950 2 60 Input ~ 0
|
||||
CAS
|
||||
Text GLabel 5850 4050 0 60 Input ~ 0
|
||||
WE
|
||||
Text GLabel 5850 4150 0 60 Input ~ 0
|
||||
RAS
|
||||
$Comp
|
||||
L GND #PWR06
|
||||
U 1 1 5C923FF0
|
||||
P 6750 3750
|
||||
F 0 "#PWR06" H 6750 3500 50 0001 C CNN
|
||||
F 1 "GND" H 6750 3600 50 0000 C CNN
|
||||
F 2 "" H 6750 3750 50 0001 C CNN
|
||||
F 3 "" H 6750 3750 50 0001 C CNN
|
||||
1 6750 3750
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L +5V #PWR07
|
||||
U 1 1 5C92400A
|
||||
P 5850 4550
|
||||
F 0 "#PWR07" H 5850 4400 50 0001 C CNN
|
||||
F 1 "+5V" H 5850 4690 50 0000 C CNN
|
||||
F 2 "" H 5850 4550 50 0001 C CNN
|
||||
F 3 "" H 5850 4550 50 0001 C CNN
|
||||
1 5850 4550
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L GND #PWR08
|
||||
U 1 1 5C924024
|
||||
P 5850 3750
|
||||
F 0 "#PWR08" H 5850 3500 50 0001 C CNN
|
||||
F 1 "GND" H 5850 3600 50 0000 C CNN
|
||||
F 2 "" H 5850 3750 50 0001 C CNN
|
||||
F 3 "" H 5850 3750 50 0001 C CNN
|
||||
1 5850 3750
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L KM44256 U3
|
||||
U 1 1 5C9245BD
|
||||
P 8050 4150
|
||||
F 0 "U3" H 8050 4750 60 0000 C CNN
|
||||
F 1 "KM44256" H 8050 4850 60 0000 C CNN
|
||||
F 2 "Housings_DIP:DIP-20_W7.62mm_Socket" H 8050 4750 60 0001 C CNN
|
||||
F 3 "" H 8050 4750 60 0001 C CNN
|
||||
1 8050 4150
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text GLabel 7600 3700 0 60 BiDi ~ 0
|
||||
D0
|
||||
Text GLabel 7600 3800 0 60 BiDi ~ 0
|
||||
D1
|
||||
Text GLabel 8500 3900 2 60 BiDi ~ 0
|
||||
D2
|
||||
Text GLabel 8500 3800 2 60 BiDi ~ 0
|
||||
D3
|
||||
Text GLabel 7600 3900 0 60 Input ~ 0
|
||||
WE
|
||||
Text GLabel 7600 4000 0 60 Input ~ 0
|
||||
RAS
|
||||
Text GLabel 7600 4200 0 60 Input ~ 0
|
||||
A0
|
||||
Text GLabel 7600 4300 0 60 Input ~ 0
|
||||
A1
|
||||
Text GLabel 7600 4400 0 60 Input ~ 0
|
||||
A2
|
||||
Text GLabel 7600 4500 0 60 Input ~ 0
|
||||
A3
|
||||
Text GLabel 8500 4200 2 60 Input ~ 0
|
||||
A8
|
||||
Text GLabel 8500 4300 2 60 Input ~ 0
|
||||
A7
|
||||
Text GLabel 8500 4400 2 60 Input ~ 0
|
||||
A6
|
||||
Text GLabel 8500 4500 2 60 Input ~ 0
|
||||
A5
|
||||
Text GLabel 8500 4600 2 60 Input ~ 0
|
||||
A4
|
||||
NoConn ~ 7600 4100
|
||||
Text GLabel 8500 4000 2 60 Input ~ 0
|
||||
CAS
|
||||
$Comp
|
||||
L GND #PWR09
|
||||
U 1 1 5C924779
|
||||
P 8500 3700
|
||||
F 0 "#PWR09" H 8500 3450 50 0001 C CNN
|
||||
F 1 "GND" H 8500 3550 50 0000 C CNN
|
||||
F 2 "" H 8500 3700 50 0001 C CNN
|
||||
F 3 "" H 8500 3700 50 0001 C CNN
|
||||
1 8500 3700
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L GND #PWR010
|
||||
U 1 1 5C924795
|
||||
P 8500 4100
|
||||
F 0 "#PWR010" H 8500 3850 50 0001 C CNN
|
||||
F 1 "GND" H 8500 3950 50 0000 C CNN
|
||||
F 2 "" H 8500 4100 50 0001 C CNN
|
||||
F 3 "" H 8500 4100 50 0001 C CNN
|
||||
1 8500 4100
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L +5V #PWR011
|
||||
U 1 1 5C9247B1
|
||||
P 7600 4600
|
||||
F 0 "#PWR011" H 7600 4450 50 0001 C CNN
|
||||
F 1 "+5V" H 7600 4740 50 0000 C CNN
|
||||
F 2 "" H 7600 4600 50 0001 C CNN
|
||||
F 3 "" H 7600 4600 50 0001 C CNN
|
||||
1 7600 4600
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L R R1
|
||||
U 1 1 5C924A23
|
||||
P 7850 2950
|
||||
F 0 "R1" V 7930 2950 50 0000 C CNN
|
||||
F 1 "330" V 7850 2950 50 0000 C CNN
|
||||
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 7780 2950 50 0001 C CNN
|
||||
F 3 "" H 7850 2950 50 0001 C CNN
|
||||
1 7850 2950
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L R R2
|
||||
U 1 1 5C924A48
|
||||
P 7850 3150
|
||||
F 0 "R2" V 7930 3150 50 0000 C CNN
|
||||
F 1 "330" V 7850 3150 50 0000 C CNN
|
||||
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 7780 3150 50 0001 C CNN
|
||||
F 3 "" H 7850 3150 50 0001 C CNN
|
||||
1 7850 3150
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L LED D1
|
||||
U 1 1 5C924A99
|
||||
P 8150 2950
|
||||
F 0 "D1" H 8150 3050 50 0000 C CNN
|
||||
F 1 "LED" H 8150 2850 50 0000 C CNN
|
||||
F 2 "LEDs:LED_Rectangular_W5.0mm_H2.0mm" H 8150 2950 50 0001 C CNN
|
||||
F 3 "" H 8150 2950 50 0001 C CNN
|
||||
1 8150 2950
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
$Comp
|
||||
L LED D2
|
||||
U 1 1 5C924AFC
|
||||
P 8150 3150
|
||||
F 0 "D2" H 8150 3250 50 0000 C CNN
|
||||
F 1 "LED" H 8150 3050 50 0000 C CNN
|
||||
F 2 "LEDs:LED_Rectangular_W5.0mm_H2.0mm" H 8150 3150 50 0001 C CNN
|
||||
F 3 "" H 8150 3150 50 0001 C CNN
|
||||
1 8150 3150
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
$Comp
|
||||
L GND #PWR012
|
||||
U 1 1 5C924B5B
|
||||
P 8500 2950
|
||||
F 0 "#PWR012" H 8500 2700 50 0001 C CNN
|
||||
F 1 "GND" H 8500 2800 50 0000 C CNN
|
||||
F 2 "" H 8500 2950 50 0001 C CNN
|
||||
F 3 "" H 8500 2950 50 0001 C CNN
|
||||
1 8500 2950
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
8500 2950 8300 2950
|
||||
Wire Wire Line
|
||||
8400 2950 8400 3150
|
||||
Wire Wire Line
|
||||
8400 3150 8300 3150
|
||||
Connection ~ 8400 2950
|
||||
Text GLabel 7600 2950 0 60 Input ~ 0
|
||||
R-LED
|
||||
Text GLabel 7600 3150 0 60 Input ~ 0
|
||||
G-LED
|
||||
Wire Wire Line
|
||||
7700 2950 7600 2950
|
||||
Wire Wire Line
|
||||
7600 3150 7700 3150
|
||||
NoConn ~ 4700 950
|
||||
NoConn ~ 4800 950
|
||||
NoConn ~ 4900 950
|
||||
NoConn ~ 5000 950
|
||||
NoConn ~ 5100 950
|
||||
NoConn ~ 5200 950
|
||||
NoConn ~ 4250 1200
|
||||
NoConn ~ 4250 1300
|
||||
NoConn ~ 4250 1400
|
||||
NoConn ~ 5650 1400
|
||||
NoConn ~ 5650 1200
|
||||
$Comp
|
||||
L GND #PWR013
|
||||
U 1 1 5C970E6D
|
||||
P 4250 1500
|
||||
F 0 "#PWR013" H 4250 1250 50 0001 C CNN
|
||||
F 1 "GND" H 4250 1350 50 0000 C CNN
|
||||
F 2 "" H 4250 1500 50 0001 C CNN
|
||||
F 3 "" H 4250 1500 50 0001 C CNN
|
||||
1 4250 1500
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L GND #PWR014
|
||||
U 1 1 5C970E93
|
||||
P 4750 2550
|
||||
F 0 "#PWR014" H 4750 2300 50 0001 C CNN
|
||||
F 1 "GND" H 4750 2400 50 0000 C CNN
|
||||
F 2 "" H 4750 2550 50 0001 C CNN
|
||||
F 3 "" H 4750 2550 50 0001 C CNN
|
||||
1 4750 2550
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L GND #PWR015
|
||||
U 1 1 5C970EB9
|
||||
P 5650 1300
|
||||
F 0 "#PWR015" H 5650 1050 50 0001 C CNN
|
||||
F 1 "GND" H 5650 1150 50 0000 C CNN
|
||||
F 2 "" H 5650 1300 50 0001 C CNN
|
||||
F 3 "" H 5650 1300 50 0001 C CNN
|
||||
1 5650 1300
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L +5V #PWR016
|
||||
U 1 1 5C970EDF
|
||||
P 5650 1500
|
||||
F 0 "#PWR016" H 5650 1350 50 0001 C CNN
|
||||
F 1 "+5V" H 5650 1640 50 0000 C CNN
|
||||
F 2 "" H 5650 1500 50 0001 C CNN
|
||||
F 3 "" H 5650 1500 50 0001 C CNN
|
||||
1 5650 1500
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
Text GLabel 4250 1600 0 60 BiDi ~ 0
|
||||
D0
|
||||
Text GLabel 4250 1700 0 60 BiDi ~ 0
|
||||
D1
|
||||
Text GLabel 4250 1800 0 60 BiDi ~ 0
|
||||
D2
|
||||
Text GLabel 4850 2550 3 60 BiDi ~ 0
|
||||
D3
|
||||
Text GLabel 4250 1900 0 60 Output ~ 0
|
||||
CAS
|
||||
Text GLabel 4250 2000 0 60 Output ~ 0
|
||||
RAS
|
||||
Text GLabel 4250 2100 0 60 Output ~ 0
|
||||
WE
|
||||
Text GLabel 4250 2200 0 60 Output ~ 0
|
||||
A0
|
||||
Text GLabel 4250 2300 0 60 Output ~ 0
|
||||
A1
|
||||
Text GLabel 5650 2300 2 60 Output ~ 0
|
||||
A2
|
||||
Text GLabel 5650 2200 2 60 Output ~ 0
|
||||
A3
|
||||
Text GLabel 5650 2100 2 60 Output ~ 0
|
||||
A4
|
||||
Text GLabel 5650 2000 2 60 Output ~ 0
|
||||
A5
|
||||
Text GLabel 5650 1900 2 60 Output ~ 0
|
||||
A6
|
||||
Text GLabel 5650 1800 2 60 Output ~ 0
|
||||
A7
|
||||
Text GLabel 5650 1700 2 60 Output ~ 0
|
||||
A8
|
||||
Text GLabel 5650 1600 2 60 Output ~ 0
|
||||
G-LED
|
||||
Text GLabel 4950 2550 3 60 Output ~ 0
|
||||
R-LED
|
||||
Text GLabel 5050 2550 3 60 Input ~ 0
|
||||
SW
|
||||
NoConn ~ 5150 2550
|
||||
$Comp
|
||||
L CONN_01X02 J1
|
||||
U 1 1 5C9713E7
|
||||
P 6600 1300
|
||||
F 0 "J1" H 6600 1450 50 0000 C CNN
|
||||
F 1 "CONN_01X02" V 6700 1300 50 0000 C CNN
|
||||
F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" H 6600 1300 50 0001 C CNN
|
||||
F 3 "" H 6600 1300 50 0001 C CNN
|
||||
1 6600 1300
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L +5V #PWR017
|
||||
U 1 1 5C971434
|
||||
P 6400 1250
|
||||
F 0 "#PWR017" H 6400 1100 50 0001 C CNN
|
||||
F 1 "+5V" H 6400 1390 50 0000 C CNN
|
||||
F 2 "" H 6400 1250 50 0001 C CNN
|
||||
F 3 "" H 6400 1250 50 0001 C CNN
|
||||
1 6400 1250
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L GND #PWR018
|
||||
U 1 1 5C97145C
|
||||
P 6400 1350
|
||||
F 0 "#PWR018" H 6400 1100 50 0001 C CNN
|
||||
F 1 "GND" H 6400 1200 50 0000 C CNN
|
||||
F 2 "" H 6400 1350 50 0001 C CNN
|
||||
F 3 "" H 6400 1350 50 0001 C CNN
|
||||
1 6400 1350
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L USB_B J2
|
||||
U 1 1 5C971484
|
||||
P 7400 1600
|
||||
F 0 "J2" H 7200 2050 50 0000 L CNN
|
||||
F 1 "USB_B" H 7200 1950 50 0000 L CNN
|
||||
F 2 "Connectors:USB_B" H 7550 1550 50 0001 C CNN
|
||||
F 3 "" H 7550 1550 50 0001 C CNN
|
||||
1 7400 1600
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
NoConn ~ 7700 1600
|
||||
NoConn ~ 7700 1700
|
||||
NoConn ~ 7300 2000
|
||||
$Comp
|
||||
L GND #PWR019
|
||||
U 1 1 5C971553
|
||||
P 7400 2000
|
||||
F 0 "#PWR019" H 7400 1750 50 0001 C CNN
|
||||
F 1 "GND" H 7400 1850 50 0000 C CNN
|
||||
F 2 "" H 7400 2000 50 0001 C CNN
|
||||
F 3 "" H 7400 2000 50 0001 C CNN
|
||||
1 7400 2000
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L +5V #PWR020
|
||||
U 1 1 5C97157D
|
||||
P 7700 1400
|
||||
F 0 "#PWR020" H 7700 1250 50 0001 C CNN
|
||||
F 1 "+5V" H 7700 1540 50 0000 C CNN
|
||||
F 2 "" H 7700 1400 50 0001 C CNN
|
||||
F 3 "" H 7700 1400 50 0001 C CNN
|
||||
1 7700 1400
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L ProMini U4
|
||||
U 1 1 5CA5F938
|
||||
P 4950 1750
|
||||
F 0 "U4" H 4950 1600 60 0000 C CNN
|
||||
F 1 "ProMini" H 4950 1700 60 0000 C CNN
|
||||
F 2 "Library:Arduino_Pro_Mini" H 4450 1600 60 0001 C CNN
|
||||
F 3 "" H 4450 1600 60 0001 C CNN
|
||||
1 4950 1750
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text GLabel 5200 1550 2 60 Output ~ 0
|
||||
R-LED
|
||||
Text GLabel 5200 1650 2 60 BiDi ~ 0
|
||||
D3
|
||||
$EndSCHEMATC
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,163 @@
|
||||
G04 #@! TF.FileFunction,Soldermask,Bot*
|
||||
%FSLAX46Y46*%
|
||||
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||
G04 Created by KiCad (PCBNEW 4.0.6) date 04/12/19 16:58:46*
|
||||
%MOMM*%
|
||||
%LPD*%
|
||||
G01*
|
||||
G04 APERTURE LIST*
|
||||
%ADD10C,0.100000*%
|
||||
%ADD11C,1.920000*%
|
||||
%ADD12C,3.100000*%
|
||||
%ADD13R,2.000000X2.000000*%
|
||||
%ADD14O,2.000000X2.000000*%
|
||||
%ADD15R,2.200000X2.200000*%
|
||||
%ADD16C,2.200000*%
|
||||
%ADD17C,2.000000*%
|
||||
%ADD18R,2.100000X2.100000*%
|
||||
%ADD19O,2.100000X2.100000*%
|
||||
%ADD20O,2.400000X1.600000*%
|
||||
%ADD21C,1.924000*%
|
||||
G04 APERTURE END LIST*
|
||||
D10*
|
||||
D11*
|
||||
X153162000Y-125762000D03*
|
||||
X155702000Y-125762000D03*
|
||||
X155702000Y-127762000D03*
|
||||
X153162000Y-127762000D03*
|
||||
D12*
|
||||
X148432000Y-130462000D03*
|
||||
X160432000Y-130462000D03*
|
||||
D13*
|
||||
X111760000Y-90932000D03*
|
||||
D14*
|
||||
X127000000Y-123952000D03*
|
||||
X111760000Y-93472000D03*
|
||||
X127000000Y-121412000D03*
|
||||
X111760000Y-96012000D03*
|
||||
X127000000Y-118872000D03*
|
||||
X111760000Y-98552000D03*
|
||||
X127000000Y-116332000D03*
|
||||
X111760000Y-101092000D03*
|
||||
X127000000Y-113792000D03*
|
||||
X111760000Y-103632000D03*
|
||||
X127000000Y-111252000D03*
|
||||
X111760000Y-106172000D03*
|
||||
X127000000Y-108712000D03*
|
||||
X111760000Y-108712000D03*
|
||||
X127000000Y-106172000D03*
|
||||
X111760000Y-111252000D03*
|
||||
X127000000Y-103632000D03*
|
||||
X111760000Y-113792000D03*
|
||||
X127000000Y-101092000D03*
|
||||
X111760000Y-116332000D03*
|
||||
X127000000Y-98552000D03*
|
||||
X111760000Y-118872000D03*
|
||||
X127000000Y-96012000D03*
|
||||
X111760000Y-121412000D03*
|
||||
X127000000Y-93472000D03*
|
||||
X111760000Y-123952000D03*
|
||||
X127000000Y-90932000D03*
|
||||
X111760000Y-126492000D03*
|
||||
X127000000Y-126492000D03*
|
||||
D13*
|
||||
X139700000Y-87884000D03*
|
||||
D14*
|
||||
X147320000Y-110744000D03*
|
||||
X139700000Y-90424000D03*
|
||||
X147320000Y-108204000D03*
|
||||
X139700000Y-92964000D03*
|
||||
X147320000Y-105664000D03*
|
||||
X139700000Y-95504000D03*
|
||||
X147320000Y-103124000D03*
|
||||
X139700000Y-98044000D03*
|
||||
X147320000Y-100584000D03*
|
||||
X139700000Y-100584000D03*
|
||||
X147320000Y-98044000D03*
|
||||
X139700000Y-103124000D03*
|
||||
X147320000Y-95504000D03*
|
||||
X139700000Y-105664000D03*
|
||||
X147320000Y-92964000D03*
|
||||
X139700000Y-108204000D03*
|
||||
X147320000Y-90424000D03*
|
||||
X139700000Y-110744000D03*
|
||||
X147320000Y-87884000D03*
|
||||
D15*
|
||||
X107188000Y-106172000D03*
|
||||
D16*
|
||||
X107188000Y-103632000D03*
|
||||
D17*
|
||||
X106680000Y-98552000D03*
|
||||
D14*
|
||||
X106680000Y-88392000D03*
|
||||
D17*
|
||||
X106680000Y-118872000D03*
|
||||
D14*
|
||||
X106680000Y-129032000D03*
|
||||
D18*
|
||||
X137922000Y-129032000D03*
|
||||
D19*
|
||||
X140462000Y-129032000D03*
|
||||
X143002000Y-129032000D03*
|
||||
D13*
|
||||
X157480000Y-87884000D03*
|
||||
D14*
|
||||
X165100000Y-108204000D03*
|
||||
X157480000Y-90424000D03*
|
||||
X165100000Y-105664000D03*
|
||||
X157480000Y-92964000D03*
|
||||
X165100000Y-103124000D03*
|
||||
X157480000Y-95504000D03*
|
||||
X165100000Y-100584000D03*
|
||||
X157480000Y-98044000D03*
|
||||
X165100000Y-98044000D03*
|
||||
X157480000Y-100584000D03*
|
||||
X165100000Y-95504000D03*
|
||||
X157480000Y-103124000D03*
|
||||
X165100000Y-92964000D03*
|
||||
X157480000Y-105664000D03*
|
||||
X165100000Y-90424000D03*
|
||||
X157480000Y-108204000D03*
|
||||
X165100000Y-87884000D03*
|
||||
D15*
|
||||
X107188000Y-111252000D03*
|
||||
D16*
|
||||
X107188000Y-113792000D03*
|
||||
D18*
|
||||
X164592000Y-126492000D03*
|
||||
D19*
|
||||
X164592000Y-129032000D03*
|
||||
D20*
|
||||
X132588000Y-101346000D03*
|
||||
X117348000Y-101346000D03*
|
||||
X132588000Y-103886000D03*
|
||||
X117348000Y-103886000D03*
|
||||
X132588000Y-106426000D03*
|
||||
X117348000Y-106426000D03*
|
||||
X132588000Y-108966000D03*
|
||||
X117348000Y-108966000D03*
|
||||
X132588000Y-111506000D03*
|
||||
X117348000Y-111506000D03*
|
||||
X132588000Y-114046000D03*
|
||||
X117348000Y-114046000D03*
|
||||
X132588000Y-116586000D03*
|
||||
X117348000Y-116586000D03*
|
||||
X132588000Y-119126000D03*
|
||||
X117348000Y-119126000D03*
|
||||
X132588000Y-121666000D03*
|
||||
X117348000Y-121666000D03*
|
||||
X132588000Y-124206000D03*
|
||||
X117348000Y-124206000D03*
|
||||
X132588000Y-126746000D03*
|
||||
X117348000Y-126746000D03*
|
||||
X132588000Y-129286000D03*
|
||||
X117348000Y-129286000D03*
|
||||
D21*
|
||||
X119888000Y-129286000D03*
|
||||
X122428000Y-129286000D03*
|
||||
X124968000Y-129286000D03*
|
||||
X127508000Y-129286000D03*
|
||||
X130048000Y-129286000D03*
|
||||
X130048000Y-110236000D03*
|
||||
X130048000Y-112776000D03*
|
||||
M02*
|
||||
@@ -0,0 +1,22 @@
|
||||
G04 #@! TF.FileFunction,Profile,NP*
|
||||
%FSLAX46Y46*%
|
||||
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||
G04 Created by KiCad (PCBNEW 4.0.6) date 04/12/19 16:58:46*
|
||||
%MOMM*%
|
||||
%LPD*%
|
||||
G01*
|
||||
G04 APERTURE LIST*
|
||||
%ADD10C,0.100000*%
|
||||
%ADD11C,0.150000*%
|
||||
G04 APERTURE END LIST*
|
||||
D10*
|
||||
D11*
|
||||
X168932000Y-134332000D02*
|
||||
X103932000Y-134332000D01*
|
||||
X168932000Y-84332000D02*
|
||||
X168932000Y-134332000D01*
|
||||
X103932000Y-84332000D02*
|
||||
X103932000Y-134332000D01*
|
||||
X103932000Y-84332000D02*
|
||||
X168932000Y-84332000D01*
|
||||
M02*
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,163 @@
|
||||
G04 #@! TF.FileFunction,Soldermask,Top*
|
||||
%FSLAX46Y46*%
|
||||
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||
G04 Created by KiCad (PCBNEW 4.0.6) date 04/12/19 16:58:46*
|
||||
%MOMM*%
|
||||
%LPD*%
|
||||
G01*
|
||||
G04 APERTURE LIST*
|
||||
%ADD10C,0.100000*%
|
||||
%ADD11C,1.920000*%
|
||||
%ADD12C,3.100000*%
|
||||
%ADD13R,2.000000X2.000000*%
|
||||
%ADD14O,2.000000X2.000000*%
|
||||
%ADD15R,2.200000X2.200000*%
|
||||
%ADD16C,2.200000*%
|
||||
%ADD17C,2.000000*%
|
||||
%ADD18R,2.100000X2.100000*%
|
||||
%ADD19O,2.100000X2.100000*%
|
||||
%ADD20O,2.400000X1.600000*%
|
||||
%ADD21C,1.924000*%
|
||||
G04 APERTURE END LIST*
|
||||
D10*
|
||||
D11*
|
||||
X153162000Y-125762000D03*
|
||||
X155702000Y-125762000D03*
|
||||
X155702000Y-127762000D03*
|
||||
X153162000Y-127762000D03*
|
||||
D12*
|
||||
X148432000Y-130462000D03*
|
||||
X160432000Y-130462000D03*
|
||||
D13*
|
||||
X111760000Y-90932000D03*
|
||||
D14*
|
||||
X127000000Y-123952000D03*
|
||||
X111760000Y-93472000D03*
|
||||
X127000000Y-121412000D03*
|
||||
X111760000Y-96012000D03*
|
||||
X127000000Y-118872000D03*
|
||||
X111760000Y-98552000D03*
|
||||
X127000000Y-116332000D03*
|
||||
X111760000Y-101092000D03*
|
||||
X127000000Y-113792000D03*
|
||||
X111760000Y-103632000D03*
|
||||
X127000000Y-111252000D03*
|
||||
X111760000Y-106172000D03*
|
||||
X127000000Y-108712000D03*
|
||||
X111760000Y-108712000D03*
|
||||
X127000000Y-106172000D03*
|
||||
X111760000Y-111252000D03*
|
||||
X127000000Y-103632000D03*
|
||||
X111760000Y-113792000D03*
|
||||
X127000000Y-101092000D03*
|
||||
X111760000Y-116332000D03*
|
||||
X127000000Y-98552000D03*
|
||||
X111760000Y-118872000D03*
|
||||
X127000000Y-96012000D03*
|
||||
X111760000Y-121412000D03*
|
||||
X127000000Y-93472000D03*
|
||||
X111760000Y-123952000D03*
|
||||
X127000000Y-90932000D03*
|
||||
X111760000Y-126492000D03*
|
||||
X127000000Y-126492000D03*
|
||||
D13*
|
||||
X139700000Y-87884000D03*
|
||||
D14*
|
||||
X147320000Y-110744000D03*
|
||||
X139700000Y-90424000D03*
|
||||
X147320000Y-108204000D03*
|
||||
X139700000Y-92964000D03*
|
||||
X147320000Y-105664000D03*
|
||||
X139700000Y-95504000D03*
|
||||
X147320000Y-103124000D03*
|
||||
X139700000Y-98044000D03*
|
||||
X147320000Y-100584000D03*
|
||||
X139700000Y-100584000D03*
|
||||
X147320000Y-98044000D03*
|
||||
X139700000Y-103124000D03*
|
||||
X147320000Y-95504000D03*
|
||||
X139700000Y-105664000D03*
|
||||
X147320000Y-92964000D03*
|
||||
X139700000Y-108204000D03*
|
||||
X147320000Y-90424000D03*
|
||||
X139700000Y-110744000D03*
|
||||
X147320000Y-87884000D03*
|
||||
D15*
|
||||
X107188000Y-106172000D03*
|
||||
D16*
|
||||
X107188000Y-103632000D03*
|
||||
D17*
|
||||
X106680000Y-98552000D03*
|
||||
D14*
|
||||
X106680000Y-88392000D03*
|
||||
D17*
|
||||
X106680000Y-118872000D03*
|
||||
D14*
|
||||
X106680000Y-129032000D03*
|
||||
D18*
|
||||
X137922000Y-129032000D03*
|
||||
D19*
|
||||
X140462000Y-129032000D03*
|
||||
X143002000Y-129032000D03*
|
||||
D13*
|
||||
X157480000Y-87884000D03*
|
||||
D14*
|
||||
X165100000Y-108204000D03*
|
||||
X157480000Y-90424000D03*
|
||||
X165100000Y-105664000D03*
|
||||
X157480000Y-92964000D03*
|
||||
X165100000Y-103124000D03*
|
||||
X157480000Y-95504000D03*
|
||||
X165100000Y-100584000D03*
|
||||
X157480000Y-98044000D03*
|
||||
X165100000Y-98044000D03*
|
||||
X157480000Y-100584000D03*
|
||||
X165100000Y-95504000D03*
|
||||
X157480000Y-103124000D03*
|
||||
X165100000Y-92964000D03*
|
||||
X157480000Y-105664000D03*
|
||||
X165100000Y-90424000D03*
|
||||
X157480000Y-108204000D03*
|
||||
X165100000Y-87884000D03*
|
||||
D15*
|
||||
X107188000Y-111252000D03*
|
||||
D16*
|
||||
X107188000Y-113792000D03*
|
||||
D18*
|
||||
X164592000Y-126492000D03*
|
||||
D19*
|
||||
X164592000Y-129032000D03*
|
||||
D20*
|
||||
X132588000Y-101346000D03*
|
||||
X117348000Y-101346000D03*
|
||||
X132588000Y-103886000D03*
|
||||
X117348000Y-103886000D03*
|
||||
X132588000Y-106426000D03*
|
||||
X117348000Y-106426000D03*
|
||||
X132588000Y-108966000D03*
|
||||
X117348000Y-108966000D03*
|
||||
X132588000Y-111506000D03*
|
||||
X117348000Y-111506000D03*
|
||||
X132588000Y-114046000D03*
|
||||
X117348000Y-114046000D03*
|
||||
X132588000Y-116586000D03*
|
||||
X117348000Y-116586000D03*
|
||||
X132588000Y-119126000D03*
|
||||
X117348000Y-119126000D03*
|
||||
X132588000Y-121666000D03*
|
||||
X117348000Y-121666000D03*
|
||||
X132588000Y-124206000D03*
|
||||
X117348000Y-124206000D03*
|
||||
X132588000Y-126746000D03*
|
||||
X117348000Y-126746000D03*
|
||||
X132588000Y-129286000D03*
|
||||
X117348000Y-129286000D03*
|
||||
D21*
|
||||
X119888000Y-129286000D03*
|
||||
X122428000Y-129286000D03*
|
||||
X124968000Y-129286000D03*
|
||||
X127508000Y-129286000D03*
|
||||
X130048000Y-129286000D03*
|
||||
X130048000Y-110236000D03*
|
||||
X130048000Y-112776000D03*
|
||||
M02*
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,27 @@
|
||||
Drill report for D:\Work\KiCad\DRAM_Tester\DRAM_Tester.kicad_pcb
|
||||
Created on 2019-04-12 오후 4:58:59
|
||||
|
||||
Copper Layer Stackup:
|
||||
=============================================================
|
||||
L1 : F.Cu front
|
||||
L2 : B.Cu back
|
||||
|
||||
|
||||
Drill file 'DRAM_Tester.drl' contains
|
||||
plated through holes:
|
||||
=============================================================
|
||||
T1 0.76mm 0.030" (7 holes)
|
||||
T2 0.80mm 0.031" (96 holes)
|
||||
T3 0.81mm 0.032" (4 holes)
|
||||
T4 0.90mm 0.035" (4 holes)
|
||||
T5 1.00mm 0.039" (5 holes)
|
||||
T6 2.30mm 0.091" (2 holes)
|
||||
|
||||
Total plated holes count 118
|
||||
|
||||
|
||||
Drill file 'DRAM_Tester-NPTH.drl' contains
|
||||
unplated through holes:
|
||||
=============================================================
|
||||
|
||||
Total unplated holes count 0
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,141 @@
|
||||
M48
|
||||
;DRILL file {KiCad 4.0.6} date 04/12/19 16:58:52
|
||||
;FORMAT={-:-/ absolute / metric / decimal}
|
||||
FMAT,2
|
||||
METRIC,TZ
|
||||
T1C0.762
|
||||
T2C0.800
|
||||
T3C0.810
|
||||
T4C0.900
|
||||
T5C1.000
|
||||
T6C2.300
|
||||
%
|
||||
G90
|
||||
G05
|
||||
M71
|
||||
T1
|
||||
X119.888Y-129.286
|
||||
X122.428Y-129.286
|
||||
X124.968Y-129.286
|
||||
X127.508Y-129.286
|
||||
X130.048Y-110.236
|
||||
X130.048Y-112.776
|
||||
X130.048Y-129.286
|
||||
T2
|
||||
X106.68Y-88.392
|
||||
X106.68Y-98.552
|
||||
X106.68Y-118.872
|
||||
X106.68Y-129.032
|
||||
X111.76Y-90.932
|
||||
X111.76Y-93.472
|
||||
X111.76Y-96.012
|
||||
X111.76Y-98.552
|
||||
X111.76Y-101.092
|
||||
X111.76Y-103.632
|
||||
X111.76Y-106.172
|
||||
X111.76Y-108.712
|
||||
X111.76Y-111.252
|
||||
X111.76Y-113.792
|
||||
X111.76Y-116.332
|
||||
X111.76Y-118.872
|
||||
X111.76Y-121.412
|
||||
X111.76Y-123.952
|
||||
X111.76Y-126.492
|
||||
X117.348Y-101.346
|
||||
X117.348Y-103.886
|
||||
X117.348Y-106.426
|
||||
X117.348Y-108.966
|
||||
X117.348Y-111.506
|
||||
X117.348Y-114.046
|
||||
X117.348Y-116.586
|
||||
X117.348Y-119.126
|
||||
X117.348Y-121.666
|
||||
X117.348Y-124.206
|
||||
X117.348Y-126.746
|
||||
X117.348Y-129.286
|
||||
X127.Y-90.932
|
||||
X127.Y-93.472
|
||||
X127.Y-96.012
|
||||
X127.Y-98.552
|
||||
X127.Y-101.092
|
||||
X127.Y-103.632
|
||||
X127.Y-106.172
|
||||
X127.Y-108.712
|
||||
X127.Y-111.252
|
||||
X127.Y-113.792
|
||||
X127.Y-116.332
|
||||
X127.Y-118.872
|
||||
X127.Y-121.412
|
||||
X127.Y-123.952
|
||||
X127.Y-126.492
|
||||
X132.588Y-101.346
|
||||
X132.588Y-103.886
|
||||
X132.588Y-106.426
|
||||
X132.588Y-108.966
|
||||
X132.588Y-111.506
|
||||
X132.588Y-114.046
|
||||
X132.588Y-116.586
|
||||
X132.588Y-119.126
|
||||
X132.588Y-121.666
|
||||
X132.588Y-124.206
|
||||
X132.588Y-126.746
|
||||
X132.588Y-129.286
|
||||
X139.7Y-87.884
|
||||
X139.7Y-90.424
|
||||
X139.7Y-92.964
|
||||
X139.7Y-95.504
|
||||
X139.7Y-98.044
|
||||
X139.7Y-100.584
|
||||
X139.7Y-103.124
|
||||
X139.7Y-105.664
|
||||
X139.7Y-108.204
|
||||
X139.7Y-110.744
|
||||
X147.32Y-87.884
|
||||
X147.32Y-90.424
|
||||
X147.32Y-92.964
|
||||
X147.32Y-95.504
|
||||
X147.32Y-98.044
|
||||
X147.32Y-100.584
|
||||
X147.32Y-103.124
|
||||
X147.32Y-105.664
|
||||
X147.32Y-108.204
|
||||
X147.32Y-110.744
|
||||
X157.48Y-87.884
|
||||
X157.48Y-90.424
|
||||
X157.48Y-92.964
|
||||
X157.48Y-95.504
|
||||
X157.48Y-98.044
|
||||
X157.48Y-100.584
|
||||
X157.48Y-103.124
|
||||
X157.48Y-105.664
|
||||
X157.48Y-108.204
|
||||
X165.1Y-87.884
|
||||
X165.1Y-90.424
|
||||
X165.1Y-92.964
|
||||
X165.1Y-95.504
|
||||
X165.1Y-98.044
|
||||
X165.1Y-100.584
|
||||
X165.1Y-103.124
|
||||
X165.1Y-105.664
|
||||
X165.1Y-108.204
|
||||
T3
|
||||
X153.162Y-125.762
|
||||
X153.162Y-127.762
|
||||
X155.702Y-125.762
|
||||
X155.702Y-127.762
|
||||
T4
|
||||
X107.188Y-103.632
|
||||
X107.188Y-106.172
|
||||
X107.188Y-111.252
|
||||
X107.188Y-113.792
|
||||
T5
|
||||
X137.922Y-129.032
|
||||
X140.462Y-129.032
|
||||
X143.002Y-129.032
|
||||
X164.592Y-126.492
|
||||
X164.592Y-129.032
|
||||
T6
|
||||
X148.432Y-130.462
|
||||
X160.432Y-130.462
|
||||
T0
|
||||
M30
|
||||
183
dram.tester/C64/DRAM_Tester-master/DRAM_Testers/DRAM_Testers.ino
Normal file
183
dram.tester/C64/DRAM_Tester-master/DRAM_Testers/DRAM_Testers.ino
Normal file
@@ -0,0 +1,183 @@
|
||||
//
|
||||
// DRAM_Testers for 4464, 44256
|
||||
// by cloudree@naver.com
|
||||
//
|
||||
// 4464 RAS CAS W D0 D1 D2 D3 A0 A1 A2 A3 A4 A5 A6 A7
|
||||
// 44256 RAS CAS W D0 D1 D2 D3 A0 A1 A2 A3 A4 A5 A6 A7 A8 G-LED R-LED SW
|
||||
// Arduino D6 D5 D7 D2 D3 D4 A4 D8 D9 D10 D11 D12 D13 A0 A1 A2 A3 A5 A6
|
||||
//
|
||||
|
||||
/* Simple DRAM tester
|
||||
* Chris Osborn <fozztexx@fozztexx.com>
|
||||
* http://insentricity.com/a.cl/252
|
||||
*/
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
#define _DEBUG
|
||||
#define DATA_BITS 4
|
||||
#define MAX_ADDR_BITS 10
|
||||
|
||||
int DATA[ DATA_BITS ] = { 2, 3, 4, A4 };
|
||||
|
||||
#define CAS 5
|
||||
#define RAS 6
|
||||
#define WE 7
|
||||
|
||||
#define G_LED A3
|
||||
#define R_LED A5
|
||||
#define SW A6
|
||||
|
||||
bool g_is44256 = false;
|
||||
|
||||
inline void writePrepare()
|
||||
{
|
||||
for( int i = 0; i < DATA_BITS; i ++ )
|
||||
pinMode( DATA[i], OUTPUT );
|
||||
}
|
||||
|
||||
inline void writeData( int value )
|
||||
{
|
||||
digitalWrite( DATA[0], value & 1 );
|
||||
digitalWrite( DATA[1], value & 2 );
|
||||
digitalWrite( DATA[2], value & 4 );
|
||||
digitalWrite( DATA[3], value & 8 );
|
||||
}
|
||||
|
||||
inline void readPrepare()
|
||||
{
|
||||
for( int i = 0; i < DATA_BITS; i ++ )
|
||||
pinMode( DATA[i], INPUT );
|
||||
}
|
||||
|
||||
inline int readData()
|
||||
{
|
||||
return digitalRead( DATA[0] )
|
||||
| ( digitalRead( DATA[1] ) << 1 )
|
||||
| ( digitalRead( DATA[2] ) << 2 )
|
||||
| ( digitalRead( DATA[3] ) << 3 );
|
||||
}
|
||||
|
||||
inline int getAddrSize()
|
||||
{
|
||||
return g_is44256 ? 10 : 8;
|
||||
}
|
||||
|
||||
inline void setAddress( int row, int col )
|
||||
{
|
||||
PORTB = row & 0x3f;
|
||||
PORTC = (PORTC & 0xf0) | (row >> 6) & 0x0f;
|
||||
digitalWrite(RAS, LOW);
|
||||
digitalWrite(WE, LOW);
|
||||
|
||||
PORTB = col & 0x3f;
|
||||
PORTC = (PORTC & 0xf0) | (col >> 6) & 0x0f;
|
||||
digitalWrite(CAS, LOW);
|
||||
digitalWrite(WE, HIGH);
|
||||
|
||||
digitalWrite(CAS, HIGH);
|
||||
digitalWrite(RAS, HIGH);
|
||||
}
|
||||
|
||||
inline int getAddress( int row, int col )
|
||||
{
|
||||
PORTB = row & 0x3f;
|
||||
PORTC = (PORTC & 0xf0) | (row >> 6) & 0x0f;
|
||||
digitalWrite(RAS, LOW);
|
||||
|
||||
PORTB = col & 0x3f;
|
||||
PORTC = (PORTC & 0xf0) | (col >> 6) & 0x0f;
|
||||
digitalWrite(CAS, LOW);
|
||||
|
||||
int val = readData( );
|
||||
|
||||
digitalWrite(CAS, HIGH);
|
||||
digitalWrite(RAS, HIGH);
|
||||
|
||||
return val;
|
||||
}
|
||||
|
||||
void result( bool success )
|
||||
{
|
||||
digitalWrite( G_LED, success ? HIGH : LOW );
|
||||
digitalWrite( R_LED, success ? LOW : HIGH );
|
||||
#ifdef _DEBUG
|
||||
Serial.println( success ? "\nSuccess" : "\nFailed" );
|
||||
#endif
|
||||
while( 1 ) ;
|
||||
}
|
||||
|
||||
void setup()
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
Serial.begin( 57600 );
|
||||
Serial.println( "DRAM Tester by cloudree@naver.com");
|
||||
#endif
|
||||
|
||||
pinMode(CAS, OUTPUT);
|
||||
pinMode(RAS, OUTPUT);
|
||||
pinMode(WE, OUTPUT);
|
||||
digitalWrite(CAS, HIGH);
|
||||
digitalWrite(RAS, HIGH);
|
||||
digitalWrite(WE, HIGH);
|
||||
|
||||
/* 10 is max address bits, even if chip is smaller */
|
||||
int mask = (1 << MAX_ADDR_BITS) - 1;
|
||||
DDRB = mask & 0x3f;
|
||||
mask >>= 6;
|
||||
DDRC = mask & 0x0f;
|
||||
|
||||
pinMode( G_LED, OUTPUT );
|
||||
pinMode( R_LED, OUTPUT );
|
||||
digitalWrite( G_LED, LOW );
|
||||
digitalWrite( R_LED, LOW );
|
||||
|
||||
pinMode( SW, INPUT );
|
||||
g_is44256 = analogRead( SW ) > 500;
|
||||
Serial.println( g_is44256 ? "Checking 44256" : "Checking 4464");
|
||||
}
|
||||
|
||||
void loop()
|
||||
{
|
||||
int count = 0;
|
||||
byte vals[] = { 0x5, 0xa };
|
||||
|
||||
for( int col = 0; col < (1 << getAddrSize()); col ++ )
|
||||
{
|
||||
for( int row = 0; row < (1 << getAddrSize()); row ++ )
|
||||
{
|
||||
for( int idx = 0; idx < sizeof(vals); idx ++ )
|
||||
{
|
||||
if ( millis() % 1000 > 500 ) digitalWrite( G_LED, HIGH );
|
||||
byte val = vals[idx];
|
||||
writePrepare();
|
||||
writeData( val );
|
||||
setAddress( row, col );
|
||||
writeData( ~val );
|
||||
digitalWrite( G_LED, LOW );
|
||||
|
||||
readPrepare();
|
||||
int ret = getAddress( row, col );
|
||||
if( ret != val )
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
Serial.println( "Error, row=" + String(row) + ", col=" + String(col) + " : " + String(val) + "/" + String(ret) );
|
||||
#endif
|
||||
result( false );
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
Serial.print(".");
|
||||
#endif
|
||||
|
||||
if( ++count > 64 )
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
Serial.println("");
|
||||
#endif
|
||||
count = 0;
|
||||
}
|
||||
}
|
||||
result( true );
|
||||
}
|
||||
674
dram.tester/C64/DRAM_Tester-master/LICENSE
Normal file
674
dram.tester/C64/DRAM_Tester-master/LICENSE
Normal file
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
14
dram.tester/C64/DRAM_Tester-master/README.md
Normal file
14
dram.tester/C64/DRAM_Tester-master/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# DRAM_Tester
|
||||
44256 / 4464 Dram Tester with Arduino
|
||||
|
||||
DRAM_Tester folder : KiCAD schematics and gerber files for arduino nano (or pro-mini)
|
||||
|
||||
DRAM_Testers : Arduino source
|
||||
|
||||
my blog posting (korean) :
|
||||
|
||||
https://blog.naver.com/cloudree/221388540394
|
||||
|
||||
https://blog.naver.com/cloudree/221524164049
|
||||
|
||||
Good Luck!
|
||||
6
dram.tester/C64/README.md
Normal file
6
dram.tester/C64/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# dram.tester/C64
|
||||
## Propose: Testing C64 DRAMs
|
||||
### Dram 4164 1x 65536 bit (8 x 8 KB IC Chips / Long Board)
|
||||
Based on Git Project: https://github.com/randyrossi/arduino_dram4164_tester
|
||||
### Dram 4464 4x 65536 bit (2 x 32 KB IC Chips / Short Board)
|
||||
Based on Git Project: https://github.com/cloudree/DRAM_Tester
|
||||
33
dram.tester/C64/arduino_dram4164_tester-main/README.md
Normal file
33
dram.tester/C64/arduino_dram4164_tester-main/README.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# arduino_dram4164_tester
|
||||
A simple 4164 DRAM tester for Commodore 64 RAM chips using an Arduino UNO
|
||||
|
||||
This is a modified version of the DRAM test program by marekl73 found here:
|
||||
|
||||
https://ezcontents.org/4164-dynamic-ram-arduino
|
||||
|
||||
Schematics are identical to what you find on the arduino playground except there is an additional LED. (GREEN on pin 12 and RED on pin 7). Use 220 ohm resistors for each.
|
||||
|
||||
https://create.arduino.cc/editor/marekl73/b565f0c6-8055-41e2-a38b-35dc9009f218/preview
|
||||
|
||||
## Usage
|
||||
|
||||
The test begins by flashing the GREEN LED 3 times quickly at power up.
|
||||
|
||||
It runs through 6 tests:
|
||||
|
||||
1. RANDOM PATTERN 1
|
||||
2. RANDOM PATTERN 2
|
||||
3. ALL 1's
|
||||
4. ALL 0's
|
||||
5. ALTERNATING PATTERN 1
|
||||
6. ALTERNATING PATTERN 2
|
||||
|
||||
The LEDs will alternate RED/GREEN while a test is running. This is normal.
|
||||
|
||||
After each test, it blinks GREEN as many times as the test # above.
|
||||
If all tests pass, it will slow blink GREEN until shutdown.
|
||||
If at any time there was an error, it will show solid RED.
|
||||
|
||||
Status messages are printed to serial but is not necessary for operation.
|
||||
|
||||
I make no guarantees for this program. It does not test DRAM refresh, only store/load matches expected values. I have used it on 120ns, 150ns and 200ns 4164 DRAM and it seems to work for me. Use at your own risk.
|
||||
@@ -0,0 +1,244 @@
|
||||
/*
|
||||
4164 DRAM Tester
|
||||
*/
|
||||
|
||||
#define RAS 4
|
||||
#define CAS 5
|
||||
#define D 6 // chip data IN
|
||||
#define Q 8 // chip data OUT
|
||||
#define WRITE 9
|
||||
#define RED_STATUS_LED 7 // use 220ohm resistor
|
||||
#define GREEN_STATUS_LED 12 // use 220ohm resistor
|
||||
|
||||
#define RANDOM_1 0
|
||||
#define RANDOM_2 1
|
||||
#define ALL_HIGH 2
|
||||
#define ALL_LOW 3
|
||||
#define ALTERNATING_1 4
|
||||
#define ALTERNATING_2 5
|
||||
#define NUM_PATTERNS 6
|
||||
|
||||
int patterns[2][256] = {
|
||||
{1,0,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,0,0,1,1,1,0,1,0,0,0,0,1,1,0,0,1,1,1,0,1,0,1,1,0,1,0,1,1,1,0,1,0,0,1,0,1,1,1,1,1,1,1,0,0,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,0,1,0,0,1,1,1,0,1,1,0,1,1,0,0,0,1,1,0,0,1,1,1,0,1,0,0,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,1,1,0,0,1,0,1,1,1,1,1,1,0,1,0,1,1,0,1,0,0,0,0,1,1,0,0,1,1,1,0,1,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,0,1,1,1,0,1,1,0,1,1,0,1,1,1,1,1,1,1,0,0,0,1,0,0,0,1,1,0,1,0,0,1,0,1,1,1,0,0,1,0,1,0,1,1,0,0},
|
||||
{0,0,0,0,0,1,1,1,1,1,1,1,0,1,0,0,0,1,0,1,1,0,0,0,0,1,1,0,0,0,0,1,0,1,1,1,0,0,0,0,0,1,1,0,1,1,0,0,0,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,1,1,0,1,1,1,0,0,1,0,0,0,1,1,0,0,1,1,1,1,0,1,1,0,0,0,1,1,1,1,1,0,0,1,0,1,0,1,1,0,1,0,1,1,1,1,0,1,0,0,1,0,0,1,1,0,0,1,0,1,0,0,1,1,0,0,0,0,1,0,0,1,0,1,1,0,1,1,0,0,0,1,1,1,0,1,1,0,0,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,1,1,0,0,0,0,0,1,0,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,0,1,1,1,1,1,0,0,1,0,1,1,1,1,1,1,0,0,0,1,1,0,1,0,1,1,1,0,0,1,1,1,1,0,0,1,0,0,0,0,0,0,0,1,0,1,1,0,1,0,1,0,0,0,1,1,1,0,0,0,0,1},
|
||||
};
|
||||
|
||||
// the setup function runs once when you press reset or power the board
|
||||
void setup() {
|
||||
Serial.begin(9600);
|
||||
|
||||
pinMode(A0, OUTPUT);
|
||||
pinMode(A1, OUTPUT);
|
||||
pinMode(A2, OUTPUT);
|
||||
pinMode(A3, OUTPUT);
|
||||
pinMode(A4, OUTPUT);
|
||||
pinMode(A5, OUTPUT);
|
||||
pinMode(10, OUTPUT);
|
||||
pinMode(11, OUTPUT);
|
||||
|
||||
pinMode(D, OUTPUT);
|
||||
pinMode(Q, INPUT);
|
||||
|
||||
pinMode(RAS, OUTPUT);
|
||||
pinMode(CAS, OUTPUT);
|
||||
pinMode(WRITE, OUTPUT);
|
||||
|
||||
pinMode(RED_STATUS_LED, OUTPUT);
|
||||
pinMode(GREEN_STATUS_LED, OUTPUT);
|
||||
}
|
||||
|
||||
// the loop function runs over and over again forever
|
||||
void loop() {
|
||||
digitalWrite(RED_STATUS_LED, LOW);
|
||||
digitalWrite(GREEN_STATUS_LED, LOW);
|
||||
|
||||
Serial.println("Starting test...");
|
||||
|
||||
for (int t = 0; t < 3; t++) {
|
||||
digitalWrite(GREEN_STATUS_LED, HIGH);
|
||||
delay(200);
|
||||
digitalWrite(GREEN_STATUS_LED, LOW);
|
||||
delay(200);
|
||||
}
|
||||
|
||||
// Do a write/read but ignore return.
|
||||
writeBits(ALL_LOW, 0);
|
||||
readBits(ALL_LOW, 0);
|
||||
|
||||
for(int pattern = 0 ; pattern < NUM_PATTERNS; pattern++) {
|
||||
for(int row=0; row<=255; row++) {
|
||||
Serial.println("Testing pattern " + String(pattern) + " row: " + String(row));
|
||||
|
||||
writeBits(pattern, row);
|
||||
int col = readBits(pattern, row);
|
||||
|
||||
if (col>=0) {
|
||||
digitalWrite(RED_STATUS_LED, HIGH);
|
||||
Serial.println("ERROR: row " + String(row) + " col " + String(col) + " did not match pattern.");
|
||||
while(1);
|
||||
}
|
||||
|
||||
digitalWrite(RED_STATUS_LED, row % 2 ? HIGH : LOW);
|
||||
digitalWrite(GREEN_STATUS_LED, row % 2 ? LOW : HIGH);
|
||||
}
|
||||
|
||||
digitalWrite(RED_STATUS_LED, LOW);
|
||||
digitalWrite(GREEN_STATUS_LED, LOW);
|
||||
|
||||
delay(1000);
|
||||
|
||||
// Flash green with pattern num for success
|
||||
for (int t = 0; t < pattern+1; t++) {
|
||||
digitalWrite(GREEN_STATUS_LED, HIGH);
|
||||
delay(200);
|
||||
digitalWrite(GREEN_STATUS_LED, LOW);
|
||||
delay(200);
|
||||
}
|
||||
delay(1000);
|
||||
}
|
||||
|
||||
Serial.println("Test DONE. All OK!");
|
||||
|
||||
while(1) {
|
||||
digitalWrite(GREEN_STATUS_LED, HIGH);
|
||||
delay(500);
|
||||
digitalWrite(GREEN_STATUS_LED, LOW);
|
||||
delay(500);
|
||||
}
|
||||
}
|
||||
|
||||
void writeBits(int pattern, int row) {
|
||||
|
||||
// Pull RAS and CAS HIGH
|
||||
digitalWrite(RAS, HIGH);
|
||||
digitalWrite(CAS, HIGH);
|
||||
|
||||
// Loop though all the columns
|
||||
for (int col=0; col<=255; col++) {
|
||||
|
||||
// Set row address
|
||||
digitalWrite(A0, bitRead(row, 0));
|
||||
digitalWrite(A1, bitRead(row, 1));
|
||||
digitalWrite(A2, bitRead(row, 2));
|
||||
digitalWrite(A3, bitRead(row, 3));
|
||||
digitalWrite(A4, bitRead(row, 4));
|
||||
digitalWrite(A5, bitRead(row, 5));
|
||||
digitalWrite(10, bitRead(row, 6));
|
||||
digitalWrite(11, bitRead(row, 7));
|
||||
|
||||
// Pull RAS LOW
|
||||
digitalWrite(RAS, LOW);
|
||||
|
||||
// Pull Write LOW (Enables write)
|
||||
digitalWrite(WRITE, LOW);
|
||||
|
||||
// Set Data
|
||||
switch (pattern) {
|
||||
case RANDOM_1:
|
||||
case RANDOM_2:
|
||||
digitalWrite(D, patterns[pattern][col] ? HIGH : LOW);
|
||||
break;
|
||||
case ALL_HIGH:
|
||||
digitalWrite(D, HIGH);
|
||||
break;
|
||||
case ALL_LOW:
|
||||
digitalWrite(D, LOW);
|
||||
break;
|
||||
case ALTERNATING_1:
|
||||
digitalWrite(D, col % 2 ? HIGH : LOW);
|
||||
break;
|
||||
case ALTERNATING_2:
|
||||
digitalWrite(D, col % 2 ? LOW : HIGH);
|
||||
break;
|
||||
}
|
||||
|
||||
// Set column address
|
||||
digitalWrite(A0, bitRead(col, 0));
|
||||
digitalWrite(A1, bitRead(col, 1));
|
||||
digitalWrite(A2, bitRead(col, 2));
|
||||
digitalWrite(A3, bitRead(col, 3));
|
||||
digitalWrite(A4, bitRead(col, 4));
|
||||
digitalWrite(A5, bitRead(col, 5));
|
||||
digitalWrite(10, bitRead(col, 6));
|
||||
digitalWrite(11, bitRead(col, 7));
|
||||
|
||||
// Pull CAS LOW
|
||||
digitalWrite(CAS, LOW);
|
||||
|
||||
digitalWrite(RAS, HIGH);
|
||||
digitalWrite(CAS, HIGH);
|
||||
}
|
||||
}
|
||||
|
||||
int readBits(int pattern, int row) {
|
||||
|
||||
// Bit counter
|
||||
int numberOfBits = 0;
|
||||
|
||||
// Pull RAS, CAS and Write HIGH
|
||||
digitalWrite(RAS, HIGH);
|
||||
digitalWrite(CAS, HIGH);
|
||||
digitalWrite(WRITE, HIGH);
|
||||
|
||||
// Loop though all the columns
|
||||
for (int col=0; col<=255; col++) {
|
||||
|
||||
// Set row address
|
||||
digitalWrite(A0, bitRead(row, 0));
|
||||
digitalWrite(A1, bitRead(row, 1));
|
||||
digitalWrite(A2, bitRead(row, 2));
|
||||
digitalWrite(A3, bitRead(row, 3));
|
||||
digitalWrite(A4, bitRead(row, 4));
|
||||
digitalWrite(A5, bitRead(row, 5));
|
||||
digitalWrite(10, bitRead(row, 6));
|
||||
digitalWrite(11, bitRead(row, 7));
|
||||
|
||||
// Pull RAS LOW
|
||||
digitalWrite(RAS, LOW);
|
||||
|
||||
// Set column address
|
||||
digitalWrite(A0, bitRead(col, 0));
|
||||
digitalWrite(A1, bitRead(col, 1));
|
||||
digitalWrite(A2, bitRead(col, 2));
|
||||
digitalWrite(A3, bitRead(col, 3));
|
||||
digitalWrite(A4, bitRead(col, 4));
|
||||
digitalWrite(A5, bitRead(col, 5));
|
||||
digitalWrite(10, bitRead(col, 6));
|
||||
digitalWrite(11, bitRead(col, 7));
|
||||
|
||||
// Pull CAS LOW
|
||||
digitalWrite(CAS, LOW);
|
||||
|
||||
// Read the stored bit and compare
|
||||
|
||||
int expect;
|
||||
switch (pattern) {
|
||||
case RANDOM_1:
|
||||
case RANDOM_2:
|
||||
expect = patterns[pattern][col] ? HIGH : LOW;
|
||||
break;
|
||||
case ALL_HIGH:
|
||||
expect = HIGH;
|
||||
break;
|
||||
case ALL_LOW:
|
||||
expect = LOW;
|
||||
break;
|
||||
case ALTERNATING_1:
|
||||
expect = col % 2 ? HIGH : LOW;
|
||||
break;
|
||||
case ALTERNATING_2:
|
||||
expect = col % 2 ? LOW : HIGH;
|
||||
break;
|
||||
}
|
||||
|
||||
if (digitalRead(Q) != expect) {
|
||||
return col;
|
||||
}
|
||||
|
||||
// Pull RAS and CAS HIGH
|
||||
digitalWrite(RAS, HIGH);
|
||||
digitalWrite(CAS, HIGH);
|
||||
}
|
||||
|
||||
return -1; // OKAY!
|
||||
}
|
||||
Reference in New Issue
Block a user