Added emulator with flash and microSD

This commit is contained in:
Gregor Riepl 2021-10-02 22:17:44 +02:00
parent 2696934f6f
commit acdabf9445
4 changed files with 4453 additions and 0 deletions

442
emulator/emulator-cache.lib Normal file
View file

@ -0,0 +1,442 @@
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# Connector_AVR-ISP-6
#
DEF Connector_AVR-ISP-6 J 0 40 Y Y 1 F N
F0 "J" -250 450 50 H V L CNN
F1 "Connector_AVR-ISP-6" 0 450 50 H V L CNN
F2 "" -250 50 50 V I C CNN
F3 "" -1275 -550 50 H I C CNN
$FPLIST
IDC?Header*2x03*
Pin?Header*2x03*
$ENDFPLIST
DRAW
S -105 -270 -95 -300 0 1 0 N
S -105 400 -95 370 0 1 0 N
S 300 -95 270 -105 0 1 0 N
S 300 5 270 -5 0 1 0 N
S 300 105 270 95 0 1 0 N
S 300 205 270 195 0 1 0 N
S 300 400 -300 -300 0 1 10 f
X MISO 1 400 200 100 L 50 50 1 1 P
X VCC 2 -100 500 100 D 50 50 1 1 P
X SCK 3 400 0 100 L 50 50 1 1 P
X MOSI 4 400 100 100 L 50 50 1 1 P
X ~RST 5 400 -100 100 L 50 50 1 1 P
X GND 6 -100 -400 100 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Connector_Generic_Conn_02x20_Odd_Even
#
DEF Connector_Generic_Conn_02x20_Odd_Even J 0 40 Y N 1 F N
F0 "J" 50 1000 50 H V C CNN
F1 "Connector_Generic_Conn_02x20_Odd_Even" 50 -1100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_2x??_*
$ENDFPLIST
DRAW
S -50 -995 0 -1005 1 1 6 N
S -50 -895 0 -905 1 1 6 N
S -50 -795 0 -805 1 1 6 N
S -50 -695 0 -705 1 1 6 N
S -50 -595 0 -605 1 1 6 N
S -50 -495 0 -505 1 1 6 N
S -50 -395 0 -405 1 1 6 N
S -50 -295 0 -305 1 1 6 N
S -50 -195 0 -205 1 1 6 N
S -50 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 105 0 95 1 1 6 N
S -50 205 0 195 1 1 6 N
S -50 305 0 295 1 1 6 N
S -50 405 0 395 1 1 6 N
S -50 505 0 495 1 1 6 N
S -50 605 0 595 1 1 6 N
S -50 705 0 695 1 1 6 N
S -50 805 0 795 1 1 6 N
S -50 905 0 895 1 1 6 N
S -50 950 150 -1050 1 1 10 f
S 150 -995 100 -1005 1 1 6 N
S 150 -895 100 -905 1 1 6 N
S 150 -795 100 -805 1 1 6 N
S 150 -695 100 -705 1 1 6 N
S 150 -595 100 -605 1 1 6 N
S 150 -495 100 -505 1 1 6 N
S 150 -395 100 -405 1 1 6 N
S 150 -295 100 -305 1 1 6 N
S 150 -195 100 -205 1 1 6 N
S 150 -95 100 -105 1 1 6 N
S 150 5 100 -5 1 1 6 N
S 150 105 100 95 1 1 6 N
S 150 205 100 195 1 1 6 N
S 150 305 100 295 1 1 6 N
S 150 405 100 395 1 1 6 N
S 150 505 100 495 1 1 6 N
S 150 605 100 595 1 1 6 N
S 150 705 100 695 1 1 6 N
S 150 805 100 795 1 1 6 N
S 150 905 100 895 1 1 6 N
X Pin_1 1 -200 900 150 R 50 50 1 1 P
X Pin_10 10 300 500 150 L 50 50 1 1 P
X Pin_11 11 -200 400 150 R 50 50 1 1 P
X Pin_12 12 300 400 150 L 50 50 1 1 P
X Pin_13 13 -200 300 150 R 50 50 1 1 P
X Pin_14 14 300 300 150 L 50 50 1 1 P
X Pin_15 15 -200 200 150 R 50 50 1 1 P
X Pin_16 16 300 200 150 L 50 50 1 1 P
X Pin_17 17 -200 100 150 R 50 50 1 1 P
X Pin_18 18 300 100 150 L 50 50 1 1 P
X Pin_19 19 -200 0 150 R 50 50 1 1 P
X Pin_2 2 300 900 150 L 50 50 1 1 P
X Pin_20 20 300 0 150 L 50 50 1 1 P
X Pin_21 21 -200 -100 150 R 50 50 1 1 P
X Pin_22 22 300 -100 150 L 50 50 1 1 P
X Pin_23 23 -200 -200 150 R 50 50 1 1 P
X Pin_24 24 300 -200 150 L 50 50 1 1 P
X Pin_25 25 -200 -300 150 R 50 50 1 1 P
X Pin_26 26 300 -300 150 L 50 50 1 1 P
X Pin_27 27 -200 -400 150 R 50 50 1 1 P
X Pin_28 28 300 -400 150 L 50 50 1 1 P
X Pin_29 29 -200 -500 150 R 50 50 1 1 P
X Pin_3 3 -200 800 150 R 50 50 1 1 P
X Pin_30 30 300 -500 150 L 50 50 1 1 P
X Pin_31 31 -200 -600 150 R 50 50 1 1 P
X Pin_32 32 300 -600 150 L 50 50 1 1 P
X Pin_33 33 -200 -700 150 R 50 50 1 1 P
X Pin_34 34 300 -700 150 L 50 50 1 1 P
X Pin_35 35 -200 -800 150 R 50 50 1 1 P
X Pin_36 36 300 -800 150 L 50 50 1 1 P
X Pin_37 37 -200 -900 150 R 50 50 1 1 P
X Pin_38 38 300 -900 150 L 50 50 1 1 P
X Pin_39 39 -200 -1000 150 R 50 50 1 1 P
X Pin_4 4 300 800 150 L 50 50 1 1 P
X Pin_40 40 300 -1000 150 L 50 50 1 1 P
X Pin_5 5 -200 700 150 R 50 50 1 1 P
X Pin_6 6 300 700 150 L 50 50 1 1 P
X Pin_7 7 -200 600 150 R 50 50 1 1 P
X Pin_8 8 300 600 150 L 50 50 1 1 P
X Pin_9 9 -200 500 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Connector_Micro_SD_Card_Det
#
DEF Connector_Micro_SD_Card_Det J 0 40 Y Y 1 F N
F0 "J" -650 700 50 H V C CNN
F1 "Connector_Micro_SD_Card_Det" 650 700 50 H V R CNN
F2 "" 2050 700 50 H I C CNN
F3 "" 0 100 50 H I C CNN
ALIAS Micro_SD_Card_Det_Hirose_DM3AT
$FPLIST
microSD*
$ENDFPLIST
DRAW
S -300 -275 -200 -325 0 1 0 F
S -300 -175 -200 -225 0 1 0 F
S -300 -75 -200 -125 0 1 0 F
S -300 25 -200 -25 0 1 0 F
S -300 125 -200 75 0 1 0 F
S -300 225 -200 175 0 1 0 F
S -300 325 -200 275 0 1 0 F
S -300 425 -200 375 0 1 0 F
P 6 0 1 10 650 600 650 650 -750 650 -750 -650 650 -650 650 -350 N
P 11 0 1 10 -350 -350 -350 450 -50 450 100 600 150 600 150 550 250 550 300 600 800 600 800 -350 -350 -350 f
X DAT2 1 -900 400 150 R 50 50 1 1 B
X DET_A 10 -900 -400 150 R 50 50 1 1 P
X SHIELD 11 800 -500 150 L 50 50 1 1 P
X DAT3/CD 2 -900 300 150 R 50 50 1 1 B
X CMD 3 -900 200 150 R 50 50 1 1 I
X VDD 4 -900 100 150 R 50 50 1 1 W
X CLK 5 -900 0 150 R 50 50 1 1 I
X VSS 6 -900 -100 150 R 50 50 1 1 W
X DAT0 7 -900 -200 150 R 50 50 1 1 B
X DAT1 8 -900 -300 150 R 50 50 1 1 B
X DET_B 9 -900 -500 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_C
#
DEF Device_C C 0 10 N Y 1 F N
F0 "C" 25 100 50 H V L CNN
F1 "Device_C" 25 -100 50 H V L CNN
F2 "" 38 -150 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
C_*
$ENDFPLIST
DRAW
P 2 0 1 20 -80 -30 80 -30 N
P 2 0 1 20 -80 30 80 30 N
X ~ 1 0 150 110 D 50 50 1 1 P
X ~ 2 0 -150 110 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_Crystal
#
DEF Device_Crystal Y 0 40 N N 1 F N
F0 "Y" 0 150 50 H V C CNN
F1 "Device_Crystal" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Crystal*
$ENDFPLIST
DRAW
S -45 100 45 -100 0 1 12 N
P 2 0 1 0 -100 0 -75 0 N
P 2 0 1 20 -75 -50 -75 50 N
P 2 0 1 20 75 -50 75 50 N
P 2 0 1 0 100 0 75 0 N
X 1 1 -150 0 50 R 50 50 1 1 P
X 2 2 150 0 50 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Device_R
#
DEF Device_R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "Device_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_*
$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
#
# Logic_LevelTranslator_TXB0104D
#
DEF Logic_LevelTranslator_TXB0104D U 0 20 Y Y 1 F N
F0 "U" -250 650 50 H V C CNN
F1 "Logic_LevelTranslator_TXB0104D" 150 650 50 H V L CNN
F2 "Package_SO:SOIC-14_3.9x8.7mm_P1.27mm" 0 -750 50 H I C CNN
F3 "" 110 95 50 H I C CNN
$FPLIST
SOIC*14*7mm*P1.27mm*
$ENDFPLIST
DRAW
S -300 -600 -300 -500 0 1 10 N
S -300 600 300 -600 0 1 10 f
P 3 0 1 0 -90 -305 -90 -265 -20 -265 N
P 3 0 1 0 -90 -105 -90 -65 -20 -65 N
P 3 0 1 0 -90 95 -90 135 -20 135 N
P 3 0 1 0 -90 295 -90 335 -20 335 N
P 3 0 1 0 120 -305 120 -345 50 -345 N
P 3 0 1 0 120 -105 120 -145 50 -145 N
P 3 0 1 0 120 95 120 55 50 55 N
P 3 0 1 0 120 295 120 255 50 255 N
P 4 0 1 0 -20 -345 -90 -345 -90 -305 -160 -305 N
P 4 0 1 0 -20 -345 50 -305 50 -385 -20 -345 N
P 4 0 1 0 -20 -145 -90 -145 -90 -105 -160 -105 N
P 4 0 1 0 -20 -145 50 -105 50 -185 -20 -145 N
P 4 0 1 0 -20 55 -90 55 -90 95 -160 95 N
P 4 0 1 0 -20 55 50 95 50 15 -20 55 N
P 4 0 1 0 -20 255 -90 255 -90 295 -170 295 N
P 4 0 1 0 -20 255 50 295 50 215 -20 255 N
P 4 0 1 0 50 -265 -20 -305 -20 -225 50 -265 N
P 4 0 1 0 50 -265 120 -265 120 -305 170 -305 N
P 4 0 1 0 50 -65 -20 -105 -20 -25 50 -65 N
P 4 0 1 0 50 -65 120 -65 120 -105 170 -105 N
P 4 0 1 0 50 135 -20 95 -20 175 50 135 N
P 4 0 1 0 50 135 120 135 120 95 170 95 N
P 4 0 1 0 50 335 -20 295 -20 375 50 335 N
P 4 0 1 0 50 335 120 335 120 295 170 295 N
X VCCA 1 -100 700 100 D 50 50 1 1 W
X B4 10 400 -300 100 L 50 50 1 1 B
X B3 11 400 -100 100 L 50 50 1 1 B
X B2 12 400 100 100 L 50 50 1 1 B
X B1 13 400 300 100 L 50 50 1 1 B
X VCCB 14 100 700 100 D 50 50 1 1 W
X A1 2 -400 300 100 R 50 50 1 1 B
X A2 3 -400 100 100 R 50 50 1 1 B
X A3 4 -400 -100 100 R 50 50 1 1 B
X A4 5 -400 -300 100 R 50 50 1 1 B
X NC 6 -400 -500 100 R 50 50 1 1 N N
X GND 7 0 -700 100 U 50 50 1 1 W
X OE 8 -400 500 100 R 50 50 1 1 I
X NC 9 400 -500 100 L 50 50 1 1 N N
ENDDRAW
ENDDEF
#
# MCU_Microchip_ATmega_ATmega165PA-AU
#
DEF MCU_Microchip_ATmega_ATmega165PA-AU U 0 20 Y Y 1 F N
F0 "U" -500 1950 50 H V L BNN
F1 "MCU_Microchip_ATmega_ATmega165PA-AU" 100 -1950 50 H V L TNN
F2 "Package_QFP:TQFP-64_14x14mm_P0.8mm" 0 0 50 H I C CIN
F3 "" 0 0 50 H I C CNN
ALIAS ATmega165PA-AU ATmega325A-AU ATmega325PA-AU ATmega645A-AU ATmega645P-AU
$FPLIST
TQFP*14x14mm*P0.8mm*
$ENDFPLIST
DRAW
S -500 -1900 500 1900 0 1 10 f
X NC 1 -500 -1800 100 R 50 50 1 1 N N
X PB0 10 600 800 100 L 50 50 1 1 B
X PB1 11 600 700 100 L 50 50 1 1 B
X PB2 12 600 600 100 L 50 50 1 1 B
X PB3 13 600 500 100 L 50 50 1 1 B
X PB4 14 600 400 100 L 50 50 1 1 B
X PB5 15 600 300 100 L 50 50 1 1 B
X PB6 16 600 200 100 L 50 50 1 1 B
X PB7 17 600 100 100 L 50 50 1 1 B
X PG3 18 -600 500 100 R 50 50 1 1 B
X PG4 19 -600 400 100 R 50 50 1 1 B
X PE0 2 -600 -1000 100 R 50 50 1 1 B
X PG5/~RESET 20 -600 300 100 R 50 50 1 1 B
X VCC 21 0 2000 100 D 50 50 1 1 W
X GND 22 0 -2000 100 U 50 50 1 1 W
X XTAL2 23 -600 1500 100 R 50 50 1 1 O
X XTAL1 24 -600 1700 100 R 50 50 1 1 I
X PD0 25 600 -1000 100 L 50 50 1 1 B
X PD1 26 600 -1100 100 L 50 50 1 1 B
X PD2 27 600 -1200 100 L 50 50 1 1 B
X PD3 28 600 -1300 100 L 50 50 1 1 B
X PD4 29 600 -1400 100 L 50 50 1 1 B
X PE1 3 -600 -1100 100 R 50 50 1 1 B
X PD5 30 600 -1500 100 L 50 50 1 1 B
X PD6 31 600 -1600 100 L 50 50 1 1 B
X PD7 32 600 -1700 100 L 50 50 1 1 B
X PG0 33 -600 800 100 R 50 50 1 1 B
X PG1 34 -600 700 100 R 50 50 1 1 B
X PC0 35 600 -100 100 L 50 50 1 1 B
X PC1 36 600 -200 100 L 50 50 1 1 B
X PC2 37 600 -300 100 L 50 50 1 1 B
X PC3 38 600 -400 100 L 50 50 1 1 B
X PC4 39 600 -500 100 L 50 50 1 1 B
X PE2 4 -600 -1200 100 R 50 50 1 1 B
X PC5 40 600 -600 100 L 50 50 1 1 B
X PC6 41 600 -700 100 L 50 50 1 1 B
X PC7 42 600 -800 100 L 50 50 1 1 B
X PG2 43 -600 600 100 R 50 50 1 1 B
X PA7 44 600 1000 100 L 50 50 1 1 B
X PA6 45 600 1100 100 L 50 50 1 1 B
X PA5 46 600 1200 100 L 50 50 1 1 B
X PA4 47 600 1300 100 L 50 50 1 1 B
X PA3 48 600 1400 100 L 50 50 1 1 B
X PA2 49 600 1500 100 L 50 50 1 1 B
X PE3 5 -600 -1300 100 R 50 50 1 1 B
X PA1 50 600 1600 100 L 50 50 1 1 B
X PA0 51 600 1700 100 L 50 50 1 1 B
X VCC 52 0 2000 100 D 50 50 1 1 P N
X GND 53 0 -2000 100 U 50 50 1 1 P N
X PF7 54 -600 -800 100 R 50 50 1 1 B
X PF6 55 -600 -700 100 R 50 50 1 1 B
X PF5 56 -600 -600 100 R 50 50 1 1 B
X PF4 57 -600 -500 100 R 50 50 1 1 B
X PF3 58 -600 -400 100 R 50 50 1 1 B
X PF2 59 -600 -300 100 R 50 50 1 1 B
X PE4 6 -600 -1400 100 R 50 50 1 1 B
X PF1 60 -600 -200 100 R 50 50 1 1 B
X PF0 61 -600 -100 100 R 50 50 1 1 B
X AREF 62 -600 1300 100 R 50 50 1 1 P
X GND 63 0 -2000 100 U 50 50 1 1 P N
X AVCC 64 100 2000 100 D 50 50 1 1 W
X PE5 7 -600 -1500 100 R 50 50 1 1 B
X PE6 8 -600 -1600 100 R 50 50 1 1 B
X PE7 9 -600 -1700 100 R 50 50 1 1 B
ENDDRAW
ENDDEF
#
# Memory_EEPROM_AT25xxx
#
DEF Memory_EEPROM_AT25xxx U 0 20 Y Y 1 F N
F0 "U" -300 250 50 H V C CNN
F1 "Memory_EEPROM_AT25xxx" 100 -250 50 H V L CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
ALIAS BR25Sxxx CAT250xxx AT25xxx
$FPLIST
DIP*W7.62mm*
SOIC*3.9x4.9mm*
TSSOP*4.4x3mm*P0.65mm*
$ENDFPLIST
DRAW
S -300 200 300 -200 1 1 10 f
X ~CS 1 -400 -100 100 R 50 50 1 1 I
X MISO 2 400 -100 100 L 50 50 1 1 T
X ~WP 3 -400 100 100 R 50 50 1 1 I
X GND 4 0 -300 100 U 50 50 1 1 W
X MOSI 5 400 0 100 L 50 50 1 1 I
X SCK 6 400 100 100 L 50 50 1 1 I
X ~HOLD 7 -400 0 100 R 50 50 1 1 I
X VCC 8 0 300 100 D 50 50 1 1 W
ENDDRAW
ENDDEF
#
# Regulator_Linear_LM2937xMP
#
DEF Regulator_Linear_LM2937xMP U 0 10 Y Y 1 F N
F0 "U" -150 125 50 H V C CNN
F1 "Regulator_Linear_LM2937xMP" 0 125 50 H V L CNN
F2 "Package_TO_SOT_SMD:SOT-223-3_TabPin2" 0 225 50 H I C CIN
F3 "" 0 -50 50 H I C CNN
ALIAS SPX2920M3-5.0_SOT223 LT1129-3.3_SOT223 LT1129-5.0_SOT223 LM2937xMP AP7361C-10E AP7361C-12E AP7361C-15E AP7361C-18E AP7361C-25E AP7361C-28E AP7361C-33E
$FPLIST
SOT?223*
$ENDFPLIST
DRAW
S -200 -200 200 75 0 1 10 f
X VI 1 -300 0 100 R 50 50 1 1 W
X GND 2 0 -300 100 U 50 50 1 1 W
X VO 3 300 0 100 L 50 50 1 1 w
ENDDRAW
ENDDEF
#
# power_+3V3
#
DEF power_+3V3 #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "power_+3V3" 0 140 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
ALIAS +3.3V
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 +3V3 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# power_+5V
#
DEF power_+5V #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "power_+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
#
# power_GND
#
DEF power_GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "power_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
#
#End Library

2915
emulator/emulator.kicad_pcb Normal file

File diff suppressed because it is too large Load diff

33
emulator/emulator.pro Normal file
View file

@ -0,0 +1,33 @@
update=22/05/2015 07:44:53
version=1
last_client=kicad
[general]
version=1
RootSch=
BoardNm=
[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
[eeschema]
version=1
LibDir=
[eeschema/libraries]

1063
emulator/emulator.sch Normal file

File diff suppressed because it is too large Load diff