rout /RST through '03 for supporting the P8000 Compact and P8000
This commit is contained in:
parent
ff4e3433fd
commit
46957d9d95
|
|
@ -28,6 +28,7 @@ AVR_APP_PATH :=$$$AVR_APP_PATH$$$
|
|||
QUOTE := "
|
||||
ADDITIONAL_DEPENDENCIES:=
|
||||
OUTPUT_FILE_DEP:=
|
||||
LIB_DEP:=
|
||||
|
||||
# Every subdirectory with source files must be described here
|
||||
SUBDIRS :=
|
||||
|
|
@ -113,6 +114,8 @@ ADDITIONAL_DEPENDENCIES:=
|
|||
|
||||
OUTPUT_FILE_DEP:= ./makedep.mk
|
||||
|
||||
LIB_DEP+=
|
||||
|
||||
# AVR32/GNU C Compiler
|
||||
|
||||
|
||||
|
|
@ -137,8 +140,8 @@ OUTPUT_FILE_DEP:= ./makedep.mk
|
|||
|
||||
./%.o: .././%.c
|
||||
@echo Building file: $<
|
||||
@echo Invoking: AVR/GNU C Compiler : (AVR_8_bit_GNU_Toolchain_3.4.1_830) 4.6.2
|
||||
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.1.95\AVRToolchain\bin\avr-gcc.exe$(QUOTE) -funsigned-char -funsigned-bitfields -O1 -ffunction-sections -fpack-struct -fshort-enums -Wall -Wundef -Werror -pedantic -pedantic-errors -c -save-temps -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -mmcu=atmega1284p -o"$@" "$<"
|
||||
@echo Invoking: AVR/GNU C Compiler :
|
||||
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.876\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -funsigned-char -funsigned-bitfields -O1 -ffunction-sections -fpack-struct -fshort-enums -Wall -Wundef -Werror -pedantic -pedantic-errors -mmcu=atmega1284p -c -save-temps -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o"$@" "$<"
|
||||
@echo Finished building: $<
|
||||
|
||||
|
||||
|
|
@ -163,16 +166,16 @@ endif
|
|||
# All Target
|
||||
all: $(OUTPUT_FILE_PATH) $(ADDITIONAL_DEPENDENCIES)
|
||||
|
||||
$(OUTPUT_FILE_PATH): $(OBJS) $(USER_OBJS) $(OUTPUT_FILE_DEP)
|
||||
$(OUTPUT_FILE_PATH): $(OBJS) $(USER_OBJS) $(OUTPUT_FILE_DEP) $(LIB_DEP)
|
||||
@echo Building target: $@
|
||||
@echo Invoking: AVR/GNU Linker : (AVR_8_bit_GNU_Toolchain_3.4.1_830) 4.6.2
|
||||
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.1.95\AVRToolchain\bin\avr-gcc.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -Wl,-Map="P8000_WDC_Emulator.map" -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--gc-sections -mmcu=atmega1284p
|
||||
@echo Invoking: AVR/GNU Linker :
|
||||
$(QUOTE)C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.876\avr8-gnu-toolchain\bin\avr-gcc.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -Wl,-Map="P8000_WDC_Emulator.map" -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--gc-sections -mmcu=atmega1284p
|
||||
@echo Finished building target: $@
|
||||
"C:\Program Files (x86)\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.1.95\AVRToolchain\bin\avr-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature "P8000_WDC_Emulator.elf" "P8000_WDC_Emulator.hex"
|
||||
"C:\Program Files (x86)\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.1.95\AVRToolchain\bin\avr-objcopy.exe" -j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O ihex "P8000_WDC_Emulator.elf" "P8000_WDC_Emulator.eep" || exit 0
|
||||
"C:\Program Files (x86)\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.1.95\AVRToolchain\bin\avr-objdump.exe" -h -S "P8000_WDC_Emulator.elf" > "P8000_WDC_Emulator.lss"
|
||||
"C:\Program Files (x86)\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.1.95\AVRToolchain\bin\avr-objcopy.exe" -O srec -R .eeprom -R .fuse -R .lock -R .signature "P8000_WDC_Emulator.elf" "P8000_WDC_Emulator.srec"
|
||||
"C:\Program Files (x86)\Atmel\Atmel Studio 6.0\extensions\Atmel\AVRGCC\3.4.1.95\AVRToolchain\bin\avr-size.exe" "P8000_WDC_Emulator.elf"
|
||||
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.876\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature "P8000_WDC_Emulator.elf" "P8000_WDC_Emulator.hex"
|
||||
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.876\avr8-gnu-toolchain\bin\avr-objcopy.exe" -j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O ihex "P8000_WDC_Emulator.elf" "P8000_WDC_Emulator.eep" || exit 0
|
||||
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.876\avr8-gnu-toolchain\bin\avr-objdump.exe" -h -S "P8000_WDC_Emulator.elf" > "P8000_WDC_Emulator.lss"
|
||||
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.876\avr8-gnu-toolchain\bin\avr-objcopy.exe" -O srec -R .eeprom -R .fuse -R .lock -R .signature "P8000_WDC_Emulator.elf" "P8000_WDC_Emulator.srec"
|
||||
"C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.876\avr8-gnu-toolchain\bin\avr-size.exe" "P8000_WDC_Emulator.elf"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,4 +1,4 @@
|
|||
Cmp-Mod V01 Genere par PcbNew le 21/04/2013 00:07:31
|
||||
Cmp-Mod V01 Genere par PcbNew le 21/04/2013 21:16:38
|
||||
|
||||
BeginCmp
|
||||
TimeStamp = /4FDF8116;
|
||||
|
|
@ -319,7 +319,7 @@ BeginCmp
|
|||
TimeStamp = /4FE094D5;
|
||||
Reference = R5;
|
||||
ValeurCmp = R-SIL_5;
|
||||
IdModule = pin_strip_6;
|
||||
IdModule = pin_strip_7;
|
||||
EndCmp
|
||||
|
||||
BeginCmp
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
EESchema-DOCLIB Version 2.0 Date: 22/06/2012 15:38:09
|
||||
EESchema-DOCLIB Version 2.0 Date: 21/04/2013 19:29:31
|
||||
#
|
||||
$CMP LM317
|
||||
D Linear Regulator (adjustable)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
EESchema-LIBRARY Version 2.3 Date: 22/06/2012 15:38:09
|
||||
EESchema-LIBRARY Version 2.3 Date: 21/04/2013 19:29:31
|
||||
#encoding utf-8
|
||||
#
|
||||
# 4_Pin_Molex
|
||||
|
|
@ -231,6 +231,50 @@ X ~ 6 -300 -250 120 R 50 50 1 1 I
|
|||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# R-SIL_6
|
||||
#
|
||||
DEF R-SIL_6 R 0 0 Y N 1 F N
|
||||
F0 "R" 0 300 50 H V C CNN
|
||||
F1 "R-SIL_6" -15 220 50 H V C CNN
|
||||
$FPLIST
|
||||
R?
|
||||
SM0603
|
||||
SM0805
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S 180 -350 200 -350 0 1 0 N
|
||||
S 180 -250 200 -250 0 1 0 N
|
||||
S 200 -250 205 -250 0 1 0 N
|
||||
S 200 -250 205 -250 0 1 0 N
|
||||
S 200 -250 205 -250 0 1 0 N
|
||||
S 200 -250 205 -250 0 1 0 N
|
||||
S 205 -350 205 -245 0 1 0 N
|
||||
S 205 -250 205 -145 0 1 0 N
|
||||
P 3 0 1 0 -150 -380 -180 -350 -180 -350 N
|
||||
P 3 0 1 0 -150 -280 -180 -250 -180 -250 N
|
||||
P 3 0 1 0 -150 -180 -180 -150 -180 -150 N
|
||||
P 3 0 1 0 -150 -80 -180 -50 -180 -50 N
|
||||
P 3 0 1 0 -150 20 -180 50 -180 50 N
|
||||
P 3 0 1 0 -150 120 -180 150 -180 150 N
|
||||
P 3 0 1 0 180 -50 205 -50 205 -50 N
|
||||
P 3 0 1 0 180 50 205 50 205 50 N
|
||||
P 5 0 1 0 180 -150 205 -150 205 150 180 150 180 150 N
|
||||
P 9 0 1 0 -150 -380 -100 -330 -50 -380 0 -330 50 -380 100 -330 150 -380 180 -350 180 -350 N
|
||||
P 9 0 1 0 -150 -280 -100 -230 -50 -280 0 -230 50 -280 100 -230 150 -280 180 -250 180 -250 N
|
||||
P 9 0 1 0 -150 -180 -100 -130 -50 -180 0 -130 50 -180 100 -130 150 -180 180 -150 180 -150 N
|
||||
P 9 0 1 0 -150 -80 -100 -30 -50 -80 0 -30 50 -80 100 -30 150 -80 180 -50 180 -50 N
|
||||
P 9 0 1 0 -150 20 -100 70 -50 20 0 70 50 20 100 70 150 20 180 50 180 50 N
|
||||
P 9 0 1 0 -150 120 -100 170 -50 120 0 170 50 120 100 170 150 120 180 150 180 150 N
|
||||
X ~ 1 300 -100 95 L 50 50 1 1 P
|
||||
X ~ 2 -300 150 120 R 50 50 1 1 P
|
||||
X ~ 3 -300 50 120 R 50 50 1 1 P
|
||||
X ~ 4 -300 -50 120 R 50 50 1 1 P
|
||||
X ~ 5 -300 -150 120 R 50 50 1 1 P
|
||||
X ~ 6 -300 -250 120 R 50 50 1 1 I
|
||||
X ~ 7 -300 -350 120 R 50 50 1 1 I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# R_PACK4
|
||||
#
|
||||
DEF R_PACK4 RP 0 20 Y N 1 F N
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
PCBNEW-LibModule-V1 21/04/2013 00:07:00
|
||||
PCBNEW-LibModule-V1 21/04/2013 21:16:12
|
||||
# encoding utf-8
|
||||
$INDEX
|
||||
4PIN_MOLEX
|
||||
|
|
@ -15,6 +15,7 @@ TO92-LM317
|
|||
crystal_hc-49s
|
||||
mini_din-M_DIN6
|
||||
pin_strip_6
|
||||
pin_strip_7
|
||||
pin_strip_8
|
||||
sd_cocket_yamaichi_fps009_3001
|
||||
sd_socket
|
||||
|
|
@ -1316,4 +1317,77 @@ Of 0.000000 0.000000 0.000000
|
|||
Ro 0.000000 0.000000 0.000000
|
||||
$EndSHAPE3D
|
||||
$EndMODULE PIN_ARRAY_5x2
|
||||
$MODULE pin_strip_7
|
||||
Po 0 0 0 15 51743AF5 00000000 ~~
|
||||
Li pin_strip_7
|
||||
Cd Pin strip 6pin
|
||||
Kw CONN DEV
|
||||
Sc 00000000
|
||||
AR /51742221
|
||||
Op 0 0 0
|
||||
T0 0 -850 400 400 0 80 N V 21 N "R5"
|
||||
T1 100 -1400 400 350 0 80 N I 21 N "R-SIL_7"
|
||||
DS 2950 500 4050 500 120 21
|
||||
DS 3000 -500 4050 -500 120 21
|
||||
DS -2000 -500 -2000 500 120 21
|
||||
DS -3000 500 -3000 -500 120 21
|
||||
DS -3000 -500 3000 -500 120 21
|
||||
DS 4050 -500 4050 500 120 21
|
||||
DS 3000 500 -3000 500 120 21
|
||||
$PAD
|
||||
Sh "7" O 600 866 0 0 0
|
||||
Dr 394 0 0
|
||||
At STD N 00E0FFFF
|
||||
Ne 0 ""
|
||||
Po 3500 0
|
||||
$EndPAD
|
||||
$PAD
|
||||
Sh "1" R 600 866 0 0 0
|
||||
Dr 394 0 0
|
||||
At STD N 00E0FFFF
|
||||
Ne 6 "VCC"
|
||||
Po -2500 0
|
||||
$EndPAD
|
||||
$PAD
|
||||
Sh "2" O 600 866 0 0 0
|
||||
Dr 394 0 0
|
||||
At STD N 00E0FFFF
|
||||
Ne 4 "N-000114"
|
||||
Po -1500 0
|
||||
$EndPAD
|
||||
$PAD
|
||||
Sh "3" O 600 866 0 0 0
|
||||
Dr 394 0 0
|
||||
At STD N 00E0FFFF
|
||||
Ne 1 "N-000081"
|
||||
Po -500 0
|
||||
$EndPAD
|
||||
$PAD
|
||||
Sh "4" O 600 866 0 0 0
|
||||
Dr 394 0 0
|
||||
At STD N 00E0FFFF
|
||||
Ne 5 "N-000133"
|
||||
Po 500 0
|
||||
$EndPAD
|
||||
$PAD
|
||||
Sh "5" O 600 866 0 0 0
|
||||
Dr 394 0 0
|
||||
At STD N 00E0FFFF
|
||||
Ne 2 "N-000100"
|
||||
Po 1500 0
|
||||
$EndPAD
|
||||
$PAD
|
||||
Sh "6" O 600 866 0 0 0
|
||||
Dr 394 0 0
|
||||
At STD N 00E0FFFF
|
||||
Ne 3 "N-000101"
|
||||
Po 2500 0
|
||||
$EndPAD
|
||||
$SHAPE3D
|
||||
Na "walter\\pin_strip\\pin_strip_6.wrl"
|
||||
Sc 1.000000 1.000000 1.000000
|
||||
Of 0.000000 0.000000 0.000000
|
||||
Ro 0.000000 0.000000 0.000000
|
||||
$EndSHAPE3D
|
||||
$EndMODULE pin_strip_7
|
||||
$EndLIBRARY
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,4 +1,4 @@
|
|||
update=29/06/2012 18:02:54
|
||||
update=21/04/2013 20:14:03
|
||||
version=1
|
||||
last_client=eeschema
|
||||
[general]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
EESchema Schematic File Version 2 date 21/04/2013 00:50:37
|
||||
EESchema Schematic File Version 2 date 21/04/2013 21:10:21
|
||||
LIBS:P8000_WDC_Emulator
|
||||
LIBS:power
|
||||
LIBS:device
|
||||
|
|
@ -38,16 +38,45 @@ $Descr A2 23400 16535
|
|||
encoding utf-8
|
||||
Sheet 1 1
|
||||
Title "P8000 WDC Emulator v1.1"
|
||||
Date "20 apr 2013"
|
||||
Rev "$Revision: 1.27 $"
|
||||
Date "21 apr 2013"
|
||||
Rev "$Revision: 1.28 $"
|
||||
Comp ""
|
||||
Comment1 ""
|
||||
Comment2 ""
|
||||
Comment3 ""
|
||||
Comment4 ""
|
||||
$EndDescr
|
||||
$Comp
|
||||
L GND #PWR?
|
||||
U 1 1 51742395
|
||||
P 5400 3150
|
||||
F 0 "#PWR?" H 5400 3150 30 0001 C CNN
|
||||
F 1 "GND" H 5400 3080 30 0001 C CNN
|
||||
1 5400 3150
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L VCC #PWR?
|
||||
U 1 1 5174238F
|
||||
P 5400 2750
|
||||
F 0 "#PWR?" H 5400 2850 30 0001 C CNN
|
||||
F 1 "VCC" H 5400 2850 30 0000 C CNN
|
||||
1 5400 2750
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
5200 1650 5450 1650
|
||||
6200 2950 7000 2950
|
||||
Connection ~ 2350 3300
|
||||
Wire Wire Line
|
||||
2350 3300 2350 5750
|
||||
Wire Wire Line
|
||||
9600 8600 9600 9000
|
||||
Wire Wire Line
|
||||
12800 1650 12800 2700
|
||||
Wire Wire Line
|
||||
12800 1650 2450 1650
|
||||
Wire Wire Line
|
||||
4600 2850 5000 2850
|
||||
Wire Wire Line
|
||||
12150 2350 12150 2450
|
||||
Wire Wire Line
|
||||
|
|
@ -72,9 +101,7 @@ Wire Wire Line
|
|||
Wire Wire Line
|
||||
10900 2550 11250 2550
|
||||
Wire Wire Line
|
||||
9600 8500 9600 9050
|
||||
Wire Wire Line
|
||||
9600 9050 9550 9050
|
||||
9600 9000 9550 9000
|
||||
Wire Wire Line
|
||||
1150 7100 1150 6850
|
||||
Wire Wire Line
|
||||
|
|
@ -105,8 +132,6 @@ Wire Bus Line
|
|||
900 2700 3300 2700
|
||||
Wire Bus Line
|
||||
2700 3000 2700 9450
|
||||
Wire Wire Line
|
||||
5450 1650 5450 2000
|
||||
Wire Wire Line
|
||||
3100 2600 3100 1450
|
||||
Wire Bus Line
|
||||
|
|
@ -130,7 +155,7 @@ Wire Wire Line
|
|||
Wire Wire Line
|
||||
2450 1350 3200 1350
|
||||
Wire Wire Line
|
||||
3400 3550 4850 3550
|
||||
3400 4250 4850 4250
|
||||
Wire Wire Line
|
||||
2100 5250 3200 5250
|
||||
Wire Wire Line
|
||||
|
|
@ -162,7 +187,7 @@ Wire Wire Line
|
|||
Wire Bus Line
|
||||
7100 7200 7100 2100
|
||||
Wire Wire Line
|
||||
7000 3650 6050 3650
|
||||
7000 4350 6050 4350
|
||||
Connection ~ 7050 12250
|
||||
Wire Wire Line
|
||||
7500 11650 7500 12250
|
||||
|
|
@ -190,9 +215,9 @@ Wire Wire Line
|
|||
10950 7000 10950 10700
|
||||
Wire Wire Line
|
||||
10950 7000 9700 7000
|
||||
Connection ~ 6250 4150
|
||||
Connection ~ 6250 4850
|
||||
Wire Wire Line
|
||||
6250 4150 6250 4350
|
||||
6250 4850 6250 5050
|
||||
Wire Bus Line
|
||||
9950 8950 9950 8150
|
||||
Wire Wire Line
|
||||
|
|
@ -529,18 +554,16 @@ Wire Wire Line
|
|||
8500 4550 7200 4550
|
||||
Wire Wire Line
|
||||
3200 3650 2100 3650
|
||||
Wire Wire Line
|
||||
3200 5750 2100 5750
|
||||
Wire Wire Line
|
||||
3200 5350 2100 5350
|
||||
Wire Wire Line
|
||||
6250 4350 6050 4350
|
||||
6250 5050 6050 5050
|
||||
Wire Wire Line
|
||||
6050 3450 6350 3450
|
||||
6050 4150 6350 4150
|
||||
Wire Wire Line
|
||||
6350 3450 6350 2950
|
||||
6350 4150 6350 3650
|
||||
Wire Wire Line
|
||||
6350 2950 5900 2950
|
||||
6350 3650 5900 3650
|
||||
Wire Wire Line
|
||||
2100 4350 2600 4350
|
||||
Wire Wire Line
|
||||
|
|
@ -558,11 +581,11 @@ Wire Wire Line
|
|||
Wire Wire Line
|
||||
2100 4450 2600 4450
|
||||
Wire Wire Line
|
||||
3400 2950 5000 2950
|
||||
3400 3650 5000 3650
|
||||
Wire Wire Line
|
||||
2250 4850 2100 4850
|
||||
Wire Wire Line
|
||||
7000 4150 6050 4150
|
||||
7000 4850 6050 4850
|
||||
Wire Wire Line
|
||||
3200 5450 2100 5450
|
||||
Wire Wire Line
|
||||
|
|
@ -988,11 +1011,9 @@ Wire Bus Line
|
|||
7100 2100 3300 2100
|
||||
Wire Bus Line
|
||||
3300 2100 3300 6050
|
||||
Wire Wire Line
|
||||
2450 1650 3300 1650
|
||||
Connection ~ 19800 6200
|
||||
Wire Wire Line
|
||||
4850 4250 3400 4250
|
||||
4850 4950 3400 4950
|
||||
Wire Wire Line
|
||||
20250 6100 19200 6100
|
||||
Wire Wire Line
|
||||
|
|
@ -1064,14 +1085,57 @@ Wire Wire Line
|
|||
Wire Wire Line
|
||||
12900 2600 14000 2600
|
||||
Wire Wire Line
|
||||
4200 1650 4600 1650
|
||||
3700 2850 3500 2850
|
||||
Wire Wire Line
|
||||
3500 2850 3500 1650
|
||||
Wire Wire Line
|
||||
12800 2700 14000 2700
|
||||
Connection ~ 3500 1650
|
||||
Wire Wire Line
|
||||
14400 2700 14550 2700
|
||||
Wire Wire Line
|
||||
14550 2700 14550 2850
|
||||
Wire Wire Line
|
||||
8950 8750 8450 8750
|
||||
Wire Wire Line
|
||||
8450 8750 8450 8500
|
||||
Wire Wire Line
|
||||
8450 8500 900 8500
|
||||
Wire Wire Line
|
||||
900 8500 900 3300
|
||||
Wire Wire Line
|
||||
900 3300 3500 3300
|
||||
Wire Wire Line
|
||||
3500 3300 3500 3050
|
||||
Wire Wire Line
|
||||
3500 3050 5000 3050
|
||||
Wire Wire Line
|
||||
2350 5750 2100 5750
|
||||
$Comp
|
||||
L JUMPER JP5
|
||||
U 1 1 51730FFF
|
||||
P 4900 1650
|
||||
F 0 "JP5" H 4900 1800 60 0000 C CNN
|
||||
F 1 "JUMPER" H 4900 1570 40 0000 C CNN
|
||||
1 4900 1650
|
||||
L R-SIL_6 R5
|
||||
U 1 1 51742221
|
||||
P 9250 8900
|
||||
F 0 "R5" H 9250 9200 50 0000 C CNN
|
||||
F 1 "R-SIL_6" H 9235 9120 50 0000 C CNN
|
||||
1 9250 8900
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L GND #PWR?
|
||||
U 1 1 51741F98
|
||||
P 14550 2850
|
||||
F 0 "#PWR?" H 14550 2850 30 0001 C CNN
|
||||
F 1 "GND" H 14550 2780 30 0001 C CNN
|
||||
1 14550 2850
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L 74LS03 D9
|
||||
U 3 1 51741EF3
|
||||
P 5600 2950
|
||||
F 0 "D9" H 5600 3000 60 0000 C CNN
|
||||
F 1 "74HCT03" H 5600 2900 60 0000 C CNN
|
||||
3 5600 2950
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
NoConn ~ 9700 7200
|
||||
|
|
@ -1104,7 +1168,7 @@ F 1 "ISP" V 11650 2650 40 0000 C CNN
|
|||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Notes 1450 5250 1 60 ~ 0
|
||||
US-Norm!! 7,2mm
|
||||
EU-Norm!! 7,2mm
|
||||
$Comp
|
||||
L LM317 D3
|
||||
U 1 1 4FE371A3
|
||||
|
|
@ -1242,19 +1306,19 @@ $EndComp
|
|||
$Comp
|
||||
L GND #PWR014
|
||||
U 1 1 4FE0A2C4
|
||||
P 3700 1750
|
||||
F 0 "#PWR014" H 3700 1750 30 0001 C CNN
|
||||
F 1 "GND" H 3700 1680 30 0001 C CNN
|
||||
1 3700 1750
|
||||
P 4100 2950
|
||||
F 0 "#PWR014" H 4100 2950 30 0001 C CNN
|
||||
F 1 "GND" H 4100 2880 30 0001 C CNN
|
||||
1 4100 2950
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L VCC #PWR015
|
||||
U 1 1 4FE0A2C1
|
||||
P 3700 1550
|
||||
F 0 "#PWR015" H 3700 1650 30 0001 C CNN
|
||||
F 1 "VCC" H 3700 1650 30 0000 C CNN
|
||||
1 3700 1550
|
||||
P 4100 2750
|
||||
F 0 "#PWR015" H 4100 2850 30 0001 C CNN
|
||||
F 1 "VCC" H 4100 2850 30 0000 C CNN
|
||||
1 4100 2750
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
NoConn ~ 2450 1250
|
||||
|
|
@ -1266,7 +1330,7 @@ NoConn ~ 1650 2450
|
|||
NoConn ~ 1650 2350
|
||||
NoConn ~ 1650 2150
|
||||
Entry Wire Line
|
||||
5350 2100 5450 2000
|
||||
7100 2850 7000 2950
|
||||
Entry Wire Line
|
||||
3100 2700 3200 2600
|
||||
Entry Wire Line
|
||||
|
|
@ -1318,10 +1382,10 @@ $EndComp
|
|||
$Comp
|
||||
L 74HCT04 D8
|
||||
U 5 1 4FE09BE0
|
||||
P 3750 1650
|
||||
F 0 "D8" H 3900 1750 40 0000 C CNN
|
||||
F 1 "74HCT04" H 3950 1550 40 0000 C CNN
|
||||
5 3750 1650
|
||||
P 4150 2850
|
||||
F 0 "D8" H 4300 2950 40 0000 C CNN
|
||||
F 1 "74HCT04" H 4350 2750 40 0000 C CNN
|
||||
5 4150 2850
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Label 1100 2550 1 60 ~ 0
|
||||
|
|
@ -1333,9 +1397,9 @@ Text Label 3150 5250 2 60 ~ 0
|
|||
Text Label 3150 4700 2 60 ~ 0
|
||||
/ASTB
|
||||
Entry Wire Line
|
||||
3300 4350 3400 4250
|
||||
3300 5050 3400 4950
|
||||
Entry Wire Line
|
||||
3300 3650 3400 3550
|
||||
3300 4350 3400 4250
|
||||
Entry Wire Line
|
||||
3200 4700 3300 4800
|
||||
Entry Wire Line
|
||||
|
|
@ -1348,8 +1412,8 @@ Text Label 900 2550 1 60 ~ 0
|
|||
STATUS2
|
||||
Text Label 3100 2550 1 60 ~ 0
|
||||
STATUS1
|
||||
Text Label 5450 1950 1 60 ~ 0
|
||||
/RST
|
||||
Text Label 6950 2950 2 60 ~ 0
|
||||
RST
|
||||
Text Label 3000 2550 1 60 ~ 0
|
||||
/TE
|
||||
Text Label 1500 2850 1 60 ~ 0
|
||||
|
|
@ -1378,15 +1442,6 @@ F 1 "EFS_26" V 2050 1850 50 0000 C CNN
|
|||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L R-SIL_5 R5
|
||||
U 1 1 4FE094D5
|
||||
P 9250 9000
|
||||
F 0 "R5" H 9250 9300 50 0000 C CNN
|
||||
F 1 "R-SIL_5" H 9235 9220 50 0000 C CNN
|
||||
1 9250 9000
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L GND #PWR018
|
||||
U 1 1 4FE0922A
|
||||
P 20800 6000
|
||||
|
|
@ -1479,10 +1534,10 @@ $EndComp
|
|||
$Comp
|
||||
L GND #PWR024
|
||||
U 1 1 4FDF76BF
|
||||
P 5650 4450
|
||||
F 0 "#PWR024" H 5650 4450 30 0001 C CNN
|
||||
F 1 "GND" H 5650 4380 30 0001 C CNN
|
||||
1 5650 4450
|
||||
P 5650 5150
|
||||
F 0 "#PWR024" H 5650 5150 30 0001 C CNN
|
||||
F 1 "GND" H 5650 5080 30 0001 C CNN
|
||||
1 5650 5150
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
|
|
@ -1498,10 +1553,10 @@ Text Label 6750 7300 0 60 ~ 0
|
|||
ASTB
|
||||
Entry Wire Line
|
||||
7000 7300 7100 7200
|
||||
Text Label 6750 3650 0 60 ~ 0
|
||||
Text Label 6750 4350 0 60 ~ 0
|
||||
ASTB
|
||||
Entry Wire Line
|
||||
7000 3650 7100 3550
|
||||
7000 4350 7100 4250
|
||||
$Comp
|
||||
L GND #PWR026
|
||||
U 1 1 4FDF7561
|
||||
|
|
@ -1640,10 +1695,10 @@ $EndComp
|
|||
$Comp
|
||||
L VCC #PWR031
|
||||
U 1 1 4FDF7353
|
||||
P 5650 4050
|
||||
F 0 "#PWR031" H 5650 4150 30 0001 C CNN
|
||||
F 1 "VCC" H 5650 4150 30 0000 C CNN
|
||||
1 5650 4050
|
||||
P 5650 4750
|
||||
F 0 "#PWR031" H 5650 4850 30 0001 C CNN
|
||||
F 1 "VCC" H 5650 4850 30 0000 C CNN
|
||||
1 5650 4750
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
|
|
@ -1667,10 +1722,10 @@ $EndComp
|
|||
$Comp
|
||||
L GND #PWR034
|
||||
U 1 1 4FDF7304
|
||||
P 5400 3050
|
||||
F 0 "#PWR034" H 5400 3050 30 0001 C CNN
|
||||
F 1 "GND" H 5400 2980 30 0001 C CNN
|
||||
1 5400 3050
|
||||
P 5400 3750
|
||||
F 0 "#PWR034" H 5400 3750 30 0001 C CNN
|
||||
F 1 "GND" H 5400 3680 30 0001 C CNN
|
||||
1 5400 3750
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
|
|
@ -1820,28 +1875,28 @@ $EndComp
|
|||
$Comp
|
||||
L GND #PWR051
|
||||
U 1 1 4FDF71BD
|
||||
P 5650 3750
|
||||
F 0 "#PWR051" H 5650 3750 30 0001 C CNN
|
||||
F 1 "GND" H 5650 3680 30 0001 C CNN
|
||||
1 5650 3750
|
||||
P 5650 4450
|
||||
F 0 "#PWR051" H 5650 4450 30 0001 C CNN
|
||||
F 1 "GND" H 5650 4380 30 0001 C CNN
|
||||
1 5650 4450
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L VCC #PWR052
|
||||
U 1 1 4FDF71B5
|
||||
P 5650 3350
|
||||
F 0 "#PWR052" H 5650 3450 30 0001 C CNN
|
||||
F 1 "VCC" H 5650 3450 30 0000 C CNN
|
||||
1 5650 3350
|
||||
P 5650 4050
|
||||
F 0 "#PWR052" H 5650 4150 30 0001 C CNN
|
||||
F 1 "VCC" H 5650 4150 30 0000 C CNN
|
||||
1 5650 4050
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L VCC #PWR053
|
||||
U 1 1 4FDF71B2
|
||||
P 5400 2850
|
||||
F 0 "#PWR053" H 5400 2950 30 0001 C CNN
|
||||
F 1 "VCC" H 5400 2950 30 0000 C CNN
|
||||
1 5400 2850
|
||||
P 5400 3550
|
||||
F 0 "#PWR053" H 5400 3650 30 0001 C CNN
|
||||
F 1 "VCC" H 5400 3650 30 0000 C CNN
|
||||
1 5400 3550
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Entry Wire Line
|
||||
|
|
@ -2340,8 +2395,6 @@ F 1 "47u" H 15500 2300 50 0000 L CNN
|
|||
$EndComp
|
||||
NoConn ~ 15550 4000
|
||||
NoConn ~ 15550 3900
|
||||
NoConn ~ 14400 2700
|
||||
NoConn ~ 14000 2700
|
||||
$Comp
|
||||
L SD-CON X3
|
||||
U 1 1 4FDF5E6E
|
||||
|
|
@ -2455,10 +2508,10 @@ $EndComp
|
|||
$Comp
|
||||
L VCC #PWR067
|
||||
U 1 1 4FDF51CD
|
||||
P 9600 8500
|
||||
F 0 "#PWR067" H 9600 8600 30 0001 C CNN
|
||||
F 1 "VCC" H 9600 8600 30 0000 C CNN
|
||||
1 9600 8500
|
||||
P 9600 8600
|
||||
F 0 "#PWR067" H 9600 8700 30 0001 C CNN
|
||||
F 1 "VCC" H 9600 8700 30 0000 C CNN
|
||||
1 9600 8600
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text Notes 9400 7950 0 60 ~ 0
|
||||
|
|
@ -2629,10 +2682,10 @@ TR
|
|||
$Comp
|
||||
L 74HCT04 D8
|
||||
U 2 1 4FDE300D
|
||||
P 5450 2950
|
||||
F 0 "D8" H 5600 3050 40 0000 C CNN
|
||||
F 1 "74HCT04" H 5650 2850 40 0000 C CNN
|
||||
2 5450 2950
|
||||
P 5450 3650
|
||||
F 0 "D8" H 5600 3750 40 0000 C CNN
|
||||
F 1 "74HCT04" H 5650 3550 40 0000 C CNN
|
||||
2 5450 3650
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
|
|
@ -2795,7 +2848,7 @@ PA2
|
|||
Text Label 7850 2850 0 60 ~ 0
|
||||
PA1
|
||||
Text Label 7250 5250 0 60 ~ 0
|
||||
/RST
|
||||
RST
|
||||
Text Label 7250 5150 0 60 ~ 0
|
||||
TR
|
||||
Text Label 7250 5050 0 60 ~ 0
|
||||
|
|
@ -2822,24 +2875,24 @@ Entry Wire Line
|
|||
7100 4750 7200 4650
|
||||
Entry Wire Line
|
||||
7100 4650 7200 4550
|
||||
Text Label 6750 4150 0 60 ~ 0
|
||||
Text Label 6750 4850 0 60 ~ 0
|
||||
TR
|
||||
Entry Wire Line
|
||||
7000 4150 7100 4050
|
||||
Text Label 3450 4250 0 60 ~ 0
|
||||
7000 4850 7100 4750
|
||||
Text Label 3450 4950 0 60 ~ 0
|
||||
/TR
|
||||
$Comp
|
||||
L 74LS03 D9
|
||||
U 2 1 4FDE1840
|
||||
P 5450 4250
|
||||
F 0 "D9" H 5450 4300 60 0000 C CNN
|
||||
F 1 "74HCT03" H 5450 4200 60 0000 C CNN
|
||||
2 5450 4250
|
||||
P 5450 4950
|
||||
F 0 "D9" H 5450 5000 60 0000 C CNN
|
||||
F 1 "74HCT03" H 5450 4900 60 0000 C CNN
|
||||
2 5450 4950
|
||||
-1 0 0 -1
|
||||
$EndComp
|
||||
Text Label 3150 5950 2 60 ~ 0
|
||||
/TE
|
||||
Text Label 3150 5750 2 60 ~ 0
|
||||
Text Label 2600 5750 2 60 ~ 0
|
||||
/RST
|
||||
Text Label 3150 5450 2 60 ~ 0
|
||||
STATUS1
|
||||
|
|
@ -2849,27 +2902,25 @@ Text Label 3150 5150 2 60 ~ 0
|
|||
STATUS0
|
||||
Entry Wire Line
|
||||
3200 5950 3300 6050
|
||||
Entry Wire Line
|
||||
3200 5750 3300 5850
|
||||
Entry Wire Line
|
||||
3200 5450 3300 5550
|
||||
Entry Wire Line
|
||||
3200 5150 3300 5250
|
||||
Entry Wire Line
|
||||
3200 5350 3300 5450
|
||||
Text Label 3450 2950 0 60 ~ 0
|
||||
Text Label 3450 3650 0 60 ~ 0
|
||||
/RDY
|
||||
Entry Wire Line
|
||||
3300 3050 3400 2950
|
||||
Text Label 3450 3550 0 60 ~ 0
|
||||
3300 3750 3400 3650
|
||||
Text Label 3450 4250 0 60 ~ 0
|
||||
/ASTB
|
||||
$Comp
|
||||
L 74LS03 D9
|
||||
U 1 1 4FDE16FB
|
||||
P 5450 3550
|
||||
F 0 "D9" H 5450 3600 60 0000 C CNN
|
||||
F 1 "74HCT03" H 5450 3500 60 0000 C CNN
|
||||
1 5450 3550
|
||||
P 5450 4250
|
||||
F 0 "D9" H 5450 4300 60 0000 C CNN
|
||||
F 1 "74HCT03" H 5450 4200 60 0000 C CNN
|
||||
1 5450 4250
|
||||
-1 0 0 -1
|
||||
$EndComp
|
||||
NoConn ~ 2100 5850
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* $Id: wdc_avr.h,v 1.5 2013/04/20 23:22:47 olivleh1 Exp $
|
||||
* $Id: wdc_avr.h,v 1.6 2013/04/21 20:19:41 olivleh1 Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
#define configure_pin_te() DDR_INFO &= ~( 1 << PIN_INFO_TE )
|
||||
#define configure_pin_wdardy() DDR_INFO &= ~( 1 << PIN_INFO_WDARDY )
|
||||
#define configure_pin_tr() DDR_INFO |= ( 1 << PIN_INFO_TR )
|
||||
#define configure_pin_reset() DDR_INFO &= ~( 1 << PIN_INFO_RST )
|
||||
#define configure_pin_reset() DDR_INFO &= ~( 1 << PIN_INFO_RST ); PORT_INFO |= ( 1 << PIN_INFO_RST )
|
||||
|
||||
#define port_data_set(x) ( PORT_DATA = ( x ) )
|
||||
#define port_info_set(x) ( PORT_INFO = ( x ) )
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* $Id: wdc_if_p8000.c,v 1.12 2013/04/20 23:22:47 olivleh1 Exp $
|
||||
* $Id: wdc_if_p8000.c,v 1.13 2013/04/21 20:19:41 olivleh1 Exp $
|
||||
*/
|
||||
|
||||
#include "wdc_config.h"
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
void wdc_wait_for_reset()
|
||||
{
|
||||
while ( !isset_info_reset() ) {
|
||||
while ( isset_info_reset() ) {
|
||||
port_data_set ( DATA_CLEAR );
|
||||
port_info_set ( INFO_CLEAR );
|
||||
wdc_set_initialized ( 1 );
|
||||
|
|
@ -56,7 +56,8 @@ uint8_t wdc_read_data_from_p8k ( uint8_t *buffer, uint16_t count, uint8_t wdc_st
|
|||
datacnt = 0;
|
||||
port_info_set ( wdc_status );
|
||||
while ( !isset_info_te() )
|
||||
if ( !isset_info_reset() )
|
||||
nop();nop();
|
||||
if ( isset_info_reset() )
|
||||
return 0;
|
||||
while ( !isset_info_wdardy() );
|
||||
do {
|
||||
|
|
|
|||
Loading…
Reference in New Issue