mirror of https://github.com/rusefi/rusefi-1.git
auto-sync
This commit is contained in:
parent
edf35dea19
commit
af75ea9178
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
@ -1,6 +1,6 @@
|
||||||
update=9/1/2013 7:18:23 AM
|
update=2/5/2017 2:22:23 PM
|
||||||
version=1
|
version=1
|
||||||
last_client=eeschema
|
last_client=kicad
|
||||||
[cvpcb]
|
[cvpcb]
|
||||||
version=1
|
version=1
|
||||||
NetITyp=0
|
NetITyp=0
|
||||||
|
@ -13,80 +13,22 @@ NetType=0
|
||||||
EquName1=devcms
|
EquName1=devcms
|
||||||
[general]
|
[general]
|
||||||
version=1
|
version=1
|
||||||
[pcbnew]
|
|
||||||
version=1
|
|
||||||
PadDrlX=320
|
|
||||||
PadDimH=600
|
|
||||||
PadDimV=600
|
|
||||||
BoardThickness=630
|
|
||||||
TxtPcbV=800
|
|
||||||
TxtPcbH=600
|
|
||||||
TxtModV=600
|
|
||||||
TxtModH=600
|
|
||||||
TxtModW=120
|
|
||||||
VEgarde=100
|
|
||||||
DrawLar=150
|
|
||||||
EdgeLar=150
|
|
||||||
TxtLar=120
|
|
||||||
MSegLar=150
|
|
||||||
LastNetListRead=
|
|
||||||
[pcbnew/libraries]
|
|
||||||
LibDir=
|
|
||||||
LibName1=sockets
|
|
||||||
LibName2=connect
|
|
||||||
LibName3=discret
|
|
||||||
LibName4=pin_array
|
|
||||||
LibName5=divers
|
|
||||||
LibName6=libcms
|
|
||||||
LibName7=display
|
|
||||||
LibName8=valves
|
|
||||||
LibName9=led
|
|
||||||
LibName10=dip_sockets
|
|
||||||
LibName11=modules/0176122-06
|
|
||||||
[eeschema]
|
[eeschema]
|
||||||
version=1
|
version=1
|
||||||
LibDir=
|
LibDir=
|
||||||
NetFmt=1
|
|
||||||
HPGLSpd=20
|
|
||||||
HPGLDm=15
|
|
||||||
HPGLNum=1
|
|
||||||
offX_A4=0
|
|
||||||
offY_A4=0
|
|
||||||
offX_A3=0
|
|
||||||
offY_A3=0
|
|
||||||
offX_A2=0
|
|
||||||
offY_A2=0
|
|
||||||
offX_A1=0
|
|
||||||
offY_A1=0
|
|
||||||
offX_A0=0
|
|
||||||
offY_A0=0
|
|
||||||
offX_A=0
|
|
||||||
offY_A=0
|
|
||||||
offX_B=0
|
|
||||||
offY_B=0
|
|
||||||
offX_C=0
|
|
||||||
offY_C=0
|
|
||||||
offX_D=0
|
|
||||||
offY_D=0
|
|
||||||
offX_E=0
|
|
||||||
offY_E=0
|
|
||||||
RptD_X=0
|
|
||||||
RptD_Y=100
|
|
||||||
RptLab=1
|
|
||||||
LabSize=60
|
|
||||||
[eeschema/libraries]
|
[eeschema/libraries]
|
||||||
LibName1=power
|
LibName1=../rusefi_lib/KICAD_Older_Version
|
||||||
LibName2=device
|
LibName2=power
|
||||||
LibName3=transistors
|
LibName3=device
|
||||||
LibName4=conn
|
LibName4=transistors
|
||||||
LibName5=linear
|
LibName5=conn
|
||||||
LibName6=regul
|
LibName6=linear
|
||||||
LibName7=74xx
|
LibName7=regul
|
||||||
LibName8=cmos4000
|
LibName8=74xx
|
||||||
LibName9=adc-dac
|
LibName9=cmos4000
|
||||||
LibName10=memory
|
LibName10=adc-dac
|
||||||
LibName11=xilinx
|
LibName11=memory
|
||||||
LibName12=special
|
LibName12=xilinx
|
||||||
LibName13=microcontrollers
|
LibName13=microcontrollers
|
||||||
LibName14=dsp
|
LibName14=dsp
|
||||||
LibName15=microchip
|
LibName15=microchip
|
||||||
|
@ -106,3 +48,32 @@ LibName28=atmel
|
||||||
LibName29=contrib
|
LibName29=contrib
|
||||||
LibName30=valves
|
LibName30=valves
|
||||||
LibName31=symbols/0176122-06
|
LibName31=symbols/0176122-06
|
||||||
|
[pcbnew]
|
||||||
|
version=1
|
||||||
|
PageLayoutDescrFile=C:/Users/Vista_64_D630/Desktop/Jared/code/Hardware/trunk/rusefi.com/rusefi_lib/Border.kicad_wks
|
||||||
|
LastNetListRead=
|
||||||
|
PadDrill=1.016
|
||||||
|
PadDrillOvalY=1.016
|
||||||
|
PadSizeH=1.4224
|
||||||
|
PadSizeV=1.4224
|
||||||
|
PcbTextSizeV=2.032
|
||||||
|
PcbTextSizeH=1.524
|
||||||
|
PcbTextThickness=0.3048
|
||||||
|
ModuleTextSizeV=1.524
|
||||||
|
ModuleTextSizeH=1.524
|
||||||
|
ModuleTextSizeThickness=0.3048
|
||||||
|
SolderMaskClearance=0.254
|
||||||
|
SolderMaskMinWidth=0
|
||||||
|
DrawSegmentWidth=0.381
|
||||||
|
BoardOutlineThickness=0.381
|
||||||
|
ModuleOutlineThickness=0.381
|
||||||
|
[schematic_editor]
|
||||||
|
version=1
|
||||||
|
PageLayoutDescrFile=C:/Users/Vista_64_D630/Desktop/Jared/code/Hardware/trunk/rusefi.com/rusefi_lib/Border.kicad_wks
|
||||||
|
PlotDirectoryName=
|
||||||
|
SubpartIdSeparator=0
|
||||||
|
SubpartFirstId=65
|
||||||
|
NetFmtName=
|
||||||
|
SpiceForceRefPrefix=0
|
||||||
|
SpiceUseNetNumbers=0
|
||||||
|
LabSize=60
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
EESchema Schematic File Version 2 date 9/1/2013 7:18:26 AM
|
EESchema Schematic File Version 2
|
||||||
|
LIBS:KICAD_Older_Version
|
||||||
LIBS:power
|
LIBS:power
|
||||||
LIBS:device
|
LIBS:device
|
||||||
LIBS:transistors
|
LIBS:transistors
|
||||||
|
@ -10,7 +11,6 @@ LIBS:cmos4000
|
||||||
LIBS:adc-dac
|
LIBS:adc-dac
|
||||||
LIBS:memory
|
LIBS:memory
|
||||||
LIBS:xilinx
|
LIBS:xilinx
|
||||||
LIBS:special
|
|
||||||
LIBS:microcontrollers
|
LIBS:microcontrollers
|
||||||
LIBS:dsp
|
LIBS:dsp
|
||||||
LIBS:microchip
|
LIBS:microchip
|
||||||
|
@ -30,16 +30,15 @@ LIBS:atmel
|
||||||
LIBS:contrib
|
LIBS:contrib
|
||||||
LIBS:valves
|
LIBS:valves
|
||||||
LIBS:0176122-06
|
LIBS:0176122-06
|
||||||
LIBS:176122-6-cache
|
EELAYER 25 0
|
||||||
EELAYER 25 0
|
|
||||||
EELAYER END
|
EELAYER END
|
||||||
$Descr A 11000 8500
|
$Descr A 11000 8500
|
||||||
encoding utf-8
|
encoding utf-8
|
||||||
Sheet 1 1
|
Sheet 1 1
|
||||||
Title "ECU adapter"
|
Title "ECU adapter"
|
||||||
Date "1 sep 2013"
|
Date "2017-02-05"
|
||||||
Rev "1"
|
Rev "R0.2"
|
||||||
Comp "DAECU"
|
Comp "rusEFI by DAECU"
|
||||||
Comment1 ""
|
Comment1 ""
|
||||||
Comment2 ""
|
Comment2 ""
|
||||||
Comment3 ""
|
Comment3 ""
|
||||||
|
@ -248,347 +247,383 @@ U 1 1 5223134E
|
||||||
P 2900 6050
|
P 2900 6050
|
||||||
F 0 "#PWR01" H 2900 6050 30 0001 C CNN
|
F 0 "#PWR01" H 2900 6050 30 0001 C CNN
|
||||||
F 1 "GND" H 2900 5980 30 0001 C CNN
|
F 1 "GND" H 2900 5980 30 0001 C CNN
|
||||||
|
F 2 "" H 2900 6050 60 0001 C CNN
|
||||||
|
F 3 "" H 2900 6050 60 0001 C CNN
|
||||||
1 2900 6050
|
1 2900 6050
|
||||||
1 0 0 -1
|
1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P39
|
L CONN_01X01 P39
|
||||||
U 1 1 52231348
|
U 1 1 52231348
|
||||||
P 2750 5850
|
P 2700 5850
|
||||||
F 0 "P39" H 2830 5850 40 0000 L CNN
|
F 0 "P39" H 2780 5850 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 2750 5905 30 0001 C CNN
|
F 1 "CONN_1" H 2700 5905 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 2750 6005 30 0001 C CNN
|
F 2 "SIL-1" H 2700 6005 30 0001 C CNN
|
||||||
1 2750 5850
|
F 3 "" H 2700 5850 60 0001 C CNN
|
||||||
|
1 2700 5850
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P38
|
L CONN_01X01 P38
|
||||||
U 1 1 52231347
|
U 1 1 52231347
|
||||||
P 2750 5750
|
P 2700 5750
|
||||||
F 0 "P38" H 2830 5750 40 0000 L CNN
|
F 0 "P38" H 2780 5750 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 2750 5805 30 0001 C CNN
|
F 1 "CONN_1" H 2700 5805 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 2750 5905 30 0001 C CNN
|
F 2 "SIL-1" H 2700 5905 30 0001 C CNN
|
||||||
1 2750 5750
|
F 3 "" H 2700 5750 60 0001 C CNN
|
||||||
|
1 2700 5750
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P40
|
L CONN_01X01 P40
|
||||||
U 1 1 52231346
|
U 1 1 52231346
|
||||||
P 2750 5950
|
P 2700 5950
|
||||||
F 0 "P40" H 2830 5950 40 0000 L CNN
|
F 0 "P40" H 2780 5950 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 2750 6005 30 0001 C CNN
|
F 1 "CONN_1" H 2700 6005 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 2750 6105 30 0001 C CNN
|
F 2 "SIL-1" H 2700 6105 30 0001 C CNN
|
||||||
1 2750 5950
|
F 3 "" H 2700 5950 60 0001 C CNN
|
||||||
|
1 2700 5950
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P41
|
L CONN_01X01 P41
|
||||||
U 1 1 52231345
|
U 1 1 52231345
|
||||||
P 2750 6050
|
P 2700 6050
|
||||||
F 0 "P41" H 2830 6050 40 0000 L CNN
|
F 0 "P41" H 2780 6050 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 2750 6105 30 0001 C CNN
|
F 1 "CONN_1" H 2700 6105 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 2750 6205 30 0001 C CNN
|
F 2 "SIL-1" H 2700 6205 30 0001 C CNN
|
||||||
1 2750 6050
|
F 3 "" H 2700 6050 60 0001 C CNN
|
||||||
|
1 2700 6050
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_3 P13
|
L CONN_01X03 P13
|
||||||
U 1 1 52230E1C
|
U 1 1 52230E1C
|
||||||
P 2800 3300
|
P 2950 3300
|
||||||
F 0 "P13" V 2750 3300 50 0000 C CNN
|
F 0 "P13" V 2900 3300 50 0000 C CNN
|
||||||
F 1 "CONN_3" V 2850 3300 40 0000 C CNN
|
F 1 "CONN_3" V 3000 3300 40 0000 C CNN
|
||||||
F 2 "SIL-3" V 2950 3300 40 0001 C CNN
|
F 2 "SIL-3" V 3100 3300 40 0001 C CNN
|
||||||
1 2800 3300
|
F 3 "" H 2950 3300 60 0001 C CNN
|
||||||
|
1 2950 3300
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_3 P14
|
L CONN_01X03 P14
|
||||||
U 1 1 52230E1B
|
U 1 1 52230E1B
|
||||||
P 2800 3600
|
P 2950 3600
|
||||||
F 0 "P14" V 2750 3600 50 0000 C CNN
|
F 0 "P14" V 2900 3600 50 0000 C CNN
|
||||||
F 1 "CONN_3" V 2850 3600 40 0000 C CNN
|
F 1 "CONN_3" V 3000 3600 40 0000 C CNN
|
||||||
F 2 "SIL-3" V 2950 3600 40 0001 C CNN
|
F 2 "SIL-3" V 3100 3600 40 0001 C CNN
|
||||||
1 2800 3600
|
F 3 "" H 2950 3600 60 0001 C CNN
|
||||||
|
1 2950 3600
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P20
|
L CONN_01X01 P20
|
||||||
U 1 1 52230E1A
|
U 1 1 52230E1A
|
||||||
P 3000 4300
|
P 2950 4300
|
||||||
F 0 "P20" H 3080 4300 40 0000 L CNN
|
F 0 "P20" H 3030 4300 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 3000 4355 30 0001 C CNN
|
F 1 "CONN_1" H 2950 4355 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 3000 4455 30 0001 C CNN
|
F 2 "SIL-1" H 2950 4455 30 0001 C CNN
|
||||||
1 3000 4300
|
F 3 "" H 2950 4300 60 0001 C CNN
|
||||||
|
1 2950 4300
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P19
|
L CONN_01X01 P19
|
||||||
U 1 1 52230E19
|
U 1 1 52230E19
|
||||||
P 3000 4200
|
P 2950 4200
|
||||||
F 0 "P19" H 3080 4200 40 0000 L CNN
|
F 0 "P19" H 3030 4200 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 3000 4255 30 0001 C CNN
|
F 1 "CONN_1" H 2950 4255 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 3000 4355 30 0001 C CNN
|
F 2 "SIL-1" H 2950 4355 30 0001 C CNN
|
||||||
1 3000 4200
|
F 3 "" H 2950 4200 60 0001 C CNN
|
||||||
|
1 2950 4200
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P17
|
L CONN_01X01 P17
|
||||||
U 1 1 52230E18
|
U 1 1 52230E18
|
||||||
P 3000 4000
|
P 2950 4000
|
||||||
F 0 "P17" H 3080 4000 40 0000 L CNN
|
F 0 "P17" H 3030 4000 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 3000 4055 30 0001 C CNN
|
F 1 "CONN_1" H 2950 4055 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 3000 4155 30 0001 C CNN
|
F 2 "SIL-1" H 2950 4155 30 0001 C CNN
|
||||||
1 3000 4000
|
F 3 "" H 2950 4000 60 0001 C CNN
|
||||||
|
1 2950 4000
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P18
|
L CONN_01X01 P18
|
||||||
U 1 1 52230E17
|
U 1 1 52230E17
|
||||||
P 3000 4100
|
P 2950 4100
|
||||||
F 0 "P18" H 3080 4100 40 0000 L CNN
|
F 0 "P18" H 3030 4100 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 3000 4155 30 0001 C CNN
|
F 1 "CONN_1" H 2950 4155 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 3000 4255 30 0001 C CNN
|
F 2 "SIL-1" H 2950 4255 30 0001 C CNN
|
||||||
1 3000 4100
|
F 3 "" H 2950 4100 60 0001 C CNN
|
||||||
|
1 2950 4100
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P16
|
L CONN_01X01 P16
|
||||||
U 1 1 52230E16
|
U 1 1 52230E16
|
||||||
P 3000 3900
|
P 2950 3900
|
||||||
F 0 "P16" H 3080 3900 40 0000 L CNN
|
F 0 "P16" H 3030 3900 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 3000 3955 30 0001 C CNN
|
F 1 "CONN_1" H 2950 3955 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 3000 4055 30 0001 C CNN
|
F 2 "SIL-1" H 2950 4055 30 0001 C CNN
|
||||||
1 3000 3900
|
F 3 "" H 2950 3900 60 0001 C CNN
|
||||||
|
1 2950 3900
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P15
|
L CONN_01X01 P15
|
||||||
U 1 1 52230E15
|
U 1 1 52230E15
|
||||||
P 3000 3800
|
P 2950 3800
|
||||||
F 0 "P15" H 3080 3800 40 0000 L CNN
|
F 0 "P15" H 3030 3800 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 3000 3855 30 0001 C CNN
|
F 1 "CONN_1" H 2950 3855 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 3000 3955 30 0001 C CNN
|
F 2 "SIL-1" H 2950 3955 30 0001 C CNN
|
||||||
1 3000 3800
|
F 3 "" H 2950 3800 60 0001 C CNN
|
||||||
|
1 2950 3800
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P22
|
L CONN_01X01 P22
|
||||||
U 1 1 52230E14
|
U 1 1 52230E14
|
||||||
P 3000 4500
|
P 2950 4500
|
||||||
F 0 "P22" H 3080 4500 40 0000 L CNN
|
F 0 "P22" H 3030 4500 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 3000 4555 30 0001 C CNN
|
F 1 "CONN_1" H 2950 4555 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 3000 4655 30 0001 C CNN
|
F 2 "SIL-1" H 2950 4655 30 0001 C CNN
|
||||||
1 3000 4500
|
F 3 "" H 2950 4500 60 0001 C CNN
|
||||||
|
1 2950 4500
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P21
|
L CONN_01X01 P21
|
||||||
U 1 1 52230E13
|
U 1 1 52230E13
|
||||||
P 3000 4400
|
P 2950 4400
|
||||||
F 0 "P21" H 3080 4400 40 0000 L CNN
|
F 0 "P21" H 3030 4400 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 3000 4455 30 0001 C CNN
|
F 1 "CONN_1" H 2950 4455 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 3000 4555 30 0001 C CNN
|
F 2 "SIL-1" H 2950 4555 30 0001 C CNN
|
||||||
1 3000 4400
|
F 3 "" H 2950 4400 60 0001 C CNN
|
||||||
|
1 2950 4400
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P23
|
L CONN_01X01 P23
|
||||||
U 1 1 52230E12
|
U 1 1 52230E12
|
||||||
P 3000 4600
|
P 2950 4600
|
||||||
F 0 "P23" H 3080 4600 40 0000 L CNN
|
F 0 "P23" H 3030 4600 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 3000 4655 30 0001 C CNN
|
F 1 "CONN_1" H 2950 4655 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 3000 4755 30 0001 C CNN
|
F 2 "SIL-1" H 2950 4755 30 0001 C CNN
|
||||||
1 3000 4600
|
F 3 "" H 2950 4600 60 0001 C CNN
|
||||||
|
1 2950 4600
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P24
|
L CONN_01X01 P24
|
||||||
U 1 1 52230E11
|
U 1 1 52230E11
|
||||||
P 3000 4700
|
P 2950 4700
|
||||||
F 0 "P24" H 3080 4700 40 0000 L CNN
|
F 0 "P24" H 3030 4700 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 3000 4755 30 0001 C CNN
|
F 1 "CONN_1" H 2950 4755 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 3000 4855 30 0001 C CNN
|
F 2 "SIL-1" H 2950 4855 30 0001 C CNN
|
||||||
1 3000 4700
|
F 3 "" H 2950 4700 60 0001 C CNN
|
||||||
|
1 2950 4700
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P12
|
L CONN_01X01 P12
|
||||||
U 1 1 52230E03
|
U 1 1 52230E03
|
||||||
P 2450 4700
|
P 2400 4700
|
||||||
F 0 "P12" H 2530 4700 40 0000 L CNN
|
F 0 "P12" H 2480 4700 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 2450 4755 30 0001 C CNN
|
F 1 "CONN_1" H 2400 4755 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 2450 4855 30 0001 C CNN
|
F 2 "SIL-1" H 2400 4855 30 0001 C CNN
|
||||||
1 2450 4700
|
F 3 "" H 2400 4700 60 0001 C CNN
|
||||||
|
1 2400 4700
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P11
|
L CONN_01X01 P11
|
||||||
U 1 1 52230E02
|
U 1 1 52230E02
|
||||||
P 2450 4600
|
P 2400 4600
|
||||||
F 0 "P11" H 2530 4600 40 0000 L CNN
|
F 0 "P11" H 2480 4600 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 2450 4655 30 0001 C CNN
|
F 1 "CONN_1" H 2400 4655 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 2450 4755 30 0001 C CNN
|
F 2 "SIL-1" H 2400 4755 30 0001 C CNN
|
||||||
1 2450 4600
|
F 3 "" H 2400 4600 60 0001 C CNN
|
||||||
|
1 2400 4600
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P9
|
L CONN_01X01 P9
|
||||||
U 1 1 52230E01
|
U 1 1 52230E01
|
||||||
P 2450 4400
|
P 2400 4400
|
||||||
F 0 "P9" H 2530 4400 40 0000 L CNN
|
F 0 "P9" H 2480 4400 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 2450 4455 30 0001 C CNN
|
F 1 "CONN_1" H 2400 4455 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 2450 4555 30 0001 C CNN
|
F 2 "SIL-1" H 2400 4555 30 0001 C CNN
|
||||||
1 2450 4400
|
F 3 "" H 2400 4400 60 0001 C CNN
|
||||||
|
1 2400 4400
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P10
|
L CONN_01X01 P10
|
||||||
U 1 1 52230E00
|
U 1 1 52230E00
|
||||||
P 2450 4500
|
P 2400 4500
|
||||||
F 0 "P10" H 2530 4500 40 0000 L CNN
|
F 0 "P10" H 2480 4500 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 2450 4555 30 0001 C CNN
|
F 1 "CONN_1" H 2400 4555 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 2450 4655 30 0001 C CNN
|
F 2 "SIL-1" H 2400 4655 30 0001 C CNN
|
||||||
1 2450 4500
|
F 3 "" H 2400 4500 60 0001 C CNN
|
||||||
|
1 2400 4500
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P3
|
L CONN_01X01 P3
|
||||||
U 1 1 52230DFB
|
U 1 1 52230DFB
|
||||||
P 2450 3800
|
P 2400 3800
|
||||||
F 0 "P3" H 2530 3800 40 0000 L CNN
|
F 0 "P3" H 2480 3800 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 2450 3855 30 0001 C CNN
|
F 1 "CONN_1" H 2400 3855 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 2450 3955 30 0001 C CNN
|
F 2 "SIL-1" H 2400 3955 30 0001 C CNN
|
||||||
1 2450 3800
|
F 3 "" H 2400 3800 60 0001 C CNN
|
||||||
|
1 2400 3800
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P4
|
L CONN_01X01 P4
|
||||||
U 1 1 52230DFA
|
U 1 1 52230DFA
|
||||||
P 2450 3900
|
P 2400 3900
|
||||||
F 0 "P4" H 2530 3900 40 0000 L CNN
|
F 0 "P4" H 2480 3900 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 2450 3955 30 0001 C CNN
|
F 1 "CONN_1" H 2400 3955 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 2450 4055 30 0001 C CNN
|
F 2 "SIL-1" H 2400 4055 30 0001 C CNN
|
||||||
1 2450 3900
|
F 3 "" H 2400 3900 60 0001 C CNN
|
||||||
|
1 2400 3900
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P6
|
L CONN_01X01 P6
|
||||||
U 1 1 52230DF8
|
U 1 1 52230DF8
|
||||||
P 2450 4100
|
P 2400 4100
|
||||||
F 0 "P6" H 2530 4100 40 0000 L CNN
|
F 0 "P6" H 2480 4100 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 2450 4155 30 0001 C CNN
|
F 1 "CONN_1" H 2400 4155 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 2450 4255 30 0001 C CNN
|
F 2 "SIL-1" H 2400 4255 30 0001 C CNN
|
||||||
1 2450 4100
|
F 3 "" H 2400 4100 60 0001 C CNN
|
||||||
|
1 2400 4100
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P5
|
L CONN_01X01 P5
|
||||||
U 1 1 52230DF7
|
U 1 1 52230DF7
|
||||||
P 2450 4000
|
P 2400 4000
|
||||||
F 0 "P5" H 2530 4000 40 0000 L CNN
|
F 0 "P5" H 2480 4000 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 2450 4055 30 0001 C CNN
|
F 1 "CONN_1" H 2400 4055 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 2450 4155 30 0001 C CNN
|
F 2 "SIL-1" H 2400 4155 30 0001 C CNN
|
||||||
1 2450 4000
|
F 3 "" H 2400 4000 60 0001 C CNN
|
||||||
|
1 2400 4000
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P7
|
L CONN_01X01 P7
|
||||||
U 1 1 52230D10
|
U 1 1 52230D10
|
||||||
P 2450 4200
|
P 2400 4200
|
||||||
F 0 "P7" H 2530 4200 40 0000 L CNN
|
F 0 "P7" H 2480 4200 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 2450 4255 30 0001 C CNN
|
F 1 "CONN_1" H 2400 4255 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 2450 4355 30 0001 C CNN
|
F 2 "SIL-1" H 2400 4355 30 0001 C CNN
|
||||||
1 2450 4200
|
F 3 "" H 2400 4200 60 0001 C CNN
|
||||||
|
1 2400 4200
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_1 P8
|
L CONN_01X01 P8
|
||||||
U 1 1 52230D09
|
U 1 1 52230D09
|
||||||
P 2450 4300
|
P 2400 4300
|
||||||
F 0 "P8" H 2530 4300 40 0000 L CNN
|
F 0 "P8" H 2480 4300 40 0000 L CNN
|
||||||
F 1 "CONN_1" H 2450 4355 30 0001 C CNN
|
F 1 "CONN_1" H 2400 4355 30 0001 C CNN
|
||||||
F 2 "SIL-1" H 2450 4455 30 0001 C CNN
|
F 2 "SIL-1" H 2400 4455 30 0001 C CNN
|
||||||
1 2450 4300
|
F 3 "" H 2400 4300 60 0001 C CNN
|
||||||
|
1 2400 4300
|
||||||
-1 0 0 1
|
-1 0 0 1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_3 P2
|
L CONN_01X03 P2
|
||||||
U 1 1 52230CF7
|
U 1 1 52230CF7
|
||||||
P 2250 3600
|
P 2400 3600
|
||||||
F 0 "P2" V 2200 3600 50 0000 C CNN
|
F 0 "P2" V 2350 3600 50 0000 C CNN
|
||||||
F 1 "CONN_3" V 2300 3600 40 0000 C CNN
|
F 1 "CONN_3" V 2450 3600 40 0000 C CNN
|
||||||
F 2 "SIL-3" V 2400 3600 40 0001 C CNN
|
F 2 "SIL-3" V 2550 3600 40 0001 C CNN
|
||||||
1 2250 3600
|
F 3 "" H 2400 3600 60 0001 C CNN
|
||||||
|
1 2400 3600
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_3 P1
|
L CONN_01X03 P1
|
||||||
U 1 1 52230CDE
|
U 1 1 52230CDE
|
||||||
P 2250 3300
|
P 2400 3300
|
||||||
F 0 "P1" V 2200 3300 50 0000 C CNN
|
F 0 "P1" V 2350 3300 50 0000 C CNN
|
||||||
F 1 "CONN_3" V 2300 3300 40 0000 C CNN
|
F 1 "CONN_3" V 2450 3300 40 0000 C CNN
|
||||||
F 2 "SIL-3" V 2400 3300 40 0001 C CNN
|
F 2 "SIL-3" V 2550 3300 40 0001 C CNN
|
||||||
1 2250 3300
|
F 3 "" H 2400 3300 60 0001 C CNN
|
||||||
|
1 2400 3300
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_8 P32
|
L CONN_01X08 P32
|
||||||
U 1 1 52230BEA
|
U 1 1 52230BEA
|
||||||
P 5800 2000
|
P 5950 2000
|
||||||
F 0 "P32" V 5750 2000 60 0000 C CNN
|
F 0 "P32" V 5900 2000 60 0000 C CNN
|
||||||
F 1 "CONN_8" V 5850 2000 60 0000 C CNN
|
F 1 "CONN_8" V 6000 2000 60 0000 C CNN
|
||||||
F 2 "SIL-8" V 5950 2000 60 0001 C CNN
|
F 2 "SIL-8" V 6100 2000 60 0001 C CNN
|
||||||
1 5800 2000
|
F 3 "" H 5950 2000 60 0001 C CNN
|
||||||
|
1 5950 2000
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_8 P33
|
L CONN_01X08 P33
|
||||||
U 1 1 52230BE9
|
U 1 1 52230BE9
|
||||||
P 5800 2800
|
P 5950 2800
|
||||||
F 0 "P33" V 5750 2800 60 0000 C CNN
|
F 0 "P33" V 5900 2800 60 0000 C CNN
|
||||||
F 1 "CONN_8" V 5850 2800 60 0000 C CNN
|
F 1 "CONN_8" V 6000 2800 60 0000 C CNN
|
||||||
F 2 "SIL-8" V 5950 2800 60 0001 C CNN
|
F 2 "SIL-8" V 6100 2800 60 0001 C CNN
|
||||||
1 5800 2800
|
F 3 "" H 5950 2800 60 0001 C CNN
|
||||||
|
1 5950 2800
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_8 P35
|
L CONN_01X08 P35
|
||||||
U 1 1 52230BE8
|
U 1 1 52230BE8
|
||||||
P 5800 4400
|
P 5950 4400
|
||||||
F 0 "P35" V 5750 4400 60 0000 C CNN
|
F 0 "P35" V 5900 4400 60 0000 C CNN
|
||||||
F 1 "CONN_8" V 5850 4400 60 0000 C CNN
|
F 1 "CONN_8" V 6000 4400 60 0000 C CNN
|
||||||
F 2 "SIL-8" V 5950 4400 60 0001 C CNN
|
F 2 "SIL-8" V 6100 4400 60 0001 C CNN
|
||||||
1 5800 4400
|
F 3 "" H 5950 4400 60 0001 C CNN
|
||||||
|
1 5950 4400
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_8 P34
|
L CONN_01X08 P34
|
||||||
U 1 1 52230BE7
|
U 1 1 52230BE7
|
||||||
P 5800 3600
|
P 5950 3600
|
||||||
F 0 "P34" V 5750 3600 60 0000 C CNN
|
F 0 "P34" V 5900 3600 60 0000 C CNN
|
||||||
F 1 "CONN_8" V 5850 3600 60 0000 C CNN
|
F 1 "CONN_8" V 6000 3600 60 0000 C CNN
|
||||||
F 2 "SIL-8" V 5950 3600 60 0001 C CNN
|
F 2 "SIL-8" V 6100 3600 60 0001 C CNN
|
||||||
1 5800 3600
|
F 3 "" H 5950 3600 60 0001 C CNN
|
||||||
|
1 5950 3600
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_8 P36
|
L CONN_01X08 P36
|
||||||
U 1 1 52230BE6
|
U 1 1 52230BE6
|
||||||
P 5800 5200
|
P 5950 5200
|
||||||
F 0 "P36" V 5750 5200 60 0000 C CNN
|
F 0 "P36" V 5900 5200 60 0000 C CNN
|
||||||
F 1 "CONN_8" V 5850 5200 60 0000 C CNN
|
F 1 "CONN_8" V 6000 5200 60 0000 C CNN
|
||||||
F 2 "SIL-8" V 5950 5200 60 0001 C CNN
|
F 2 "SIL-8" V 6100 5200 60 0001 C CNN
|
||||||
1 5800 5200
|
F 3 "" H 5950 5200 60 0001 C CNN
|
||||||
|
1 5950 5200
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_8 P37
|
L CONN_01X08 P37
|
||||||
U 1 1 52230BE5
|
U 1 1 52230BE5
|
||||||
P 5800 6000
|
P 5950 6000
|
||||||
F 0 "P37" V 5750 6000 60 0000 C CNN
|
F 0 "P37" V 5900 6000 60 0000 C CNN
|
||||||
F 1 "CONN_8" V 5850 6000 60 0000 C CNN
|
F 1 "CONN_8" V 6000 6000 60 0000 C CNN
|
||||||
F 2 "SIL-8" V 5950 6000 60 0001 C CNN
|
F 2 "SIL-8" V 6100 6000 60 0001 C CNN
|
||||||
1 5800 6000
|
F 3 "" H 5950 6000 60 0001 C CNN
|
||||||
|
1 5950 6000
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
|
@ -614,63 +649,69 @@ F 3 "DOCUMENTATION" H 3950 3700 50 0001 C CNN
|
||||||
1 0 0 -1
|
1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_8 P31
|
L CONN_01X08 P31
|
||||||
U 1 1 522309BF
|
U 1 1 522309BF
|
||||||
P 5300 6000
|
P 5450 6000
|
||||||
F 0 "P31" V 5250 6000 60 0000 C CNN
|
F 0 "P31" V 5400 6000 60 0000 C CNN
|
||||||
F 1 "CONN_8" V 5350 6000 60 0000 C CNN
|
F 1 "CONN_8" V 5500 6000 60 0000 C CNN
|
||||||
F 2 "SIL-8" V 5450 6000 60 0001 C CNN
|
F 2 "SIL-8" V 5600 6000 60 0001 C CNN
|
||||||
1 5300 6000
|
F 3 "" H 5450 6000 60 0001 C CNN
|
||||||
|
1 5450 6000
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_8 P30
|
L CONN_01X08 P30
|
||||||
U 1 1 522309BE
|
U 1 1 522309BE
|
||||||
P 5300 5200
|
P 5450 5200
|
||||||
F 0 "P30" V 5250 5200 60 0000 C CNN
|
F 0 "P30" V 5400 5200 60 0000 C CNN
|
||||||
F 1 "CONN_8" V 5350 5200 60 0000 C CNN
|
F 1 "CONN_8" V 5500 5200 60 0000 C CNN
|
||||||
F 2 "SIL-8" V 5450 5200 60 0001 C CNN
|
F 2 "SIL-8" V 5600 5200 60 0001 C CNN
|
||||||
1 5300 5200
|
F 3 "" H 5450 5200 60 0001 C CNN
|
||||||
|
1 5450 5200
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_8 P28
|
L CONN_01X08 P28
|
||||||
U 1 1 522309B9
|
U 1 1 522309B9
|
||||||
P 5300 3600
|
P 5450 3600
|
||||||
F 0 "P28" V 5250 3600 60 0000 C CNN
|
F 0 "P28" V 5400 3600 60 0000 C CNN
|
||||||
F 1 "CONN_8" V 5350 3600 60 0000 C CNN
|
F 1 "CONN_8" V 5500 3600 60 0000 C CNN
|
||||||
F 2 "SIL-8" V 5450 3600 60 0001 C CNN
|
F 2 "SIL-8" V 5600 3600 60 0001 C CNN
|
||||||
1 5300 3600
|
F 3 "" H 5450 3600 60 0001 C CNN
|
||||||
|
1 5450 3600
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_8 P29
|
L CONN_01X08 P29
|
||||||
U 1 1 522309B8
|
U 1 1 522309B8
|
||||||
P 5300 4400
|
P 5450 4400
|
||||||
F 0 "P29" V 5250 4400 60 0000 C CNN
|
F 0 "P29" V 5400 4400 60 0000 C CNN
|
||||||
F 1 "CONN_8" V 5350 4400 60 0000 C CNN
|
F 1 "CONN_8" V 5500 4400 60 0000 C CNN
|
||||||
F 2 "SIL-8" V 5450 4400 60 0001 C CNN
|
F 2 "SIL-8" V 5600 4400 60 0001 C CNN
|
||||||
1 5300 4400
|
F 3 "" H 5450 4400 60 0001 C CNN
|
||||||
|
1 5450 4400
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_8 P27
|
L CONN_01X08 P27
|
||||||
U 1 1 522309A0
|
U 1 1 522309A0
|
||||||
P 5300 2800
|
P 5450 2800
|
||||||
F 0 "P27" V 5250 2800 60 0000 C CNN
|
F 0 "P27" V 5400 2800 60 0000 C CNN
|
||||||
F 1 "CONN_8" V 5350 2800 60 0000 C CNN
|
F 1 "CONN_8" V 5500 2800 60 0000 C CNN
|
||||||
F 2 "SIL-8" V 5450 2800 60 0001 C CNN
|
F 2 "SIL-8" V 5600 2800 60 0001 C CNN
|
||||||
1 5300 2800
|
F 3 "" H 5450 2800 60 0001 C CNN
|
||||||
|
1 5450 2800
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$Comp
|
$Comp
|
||||||
L CONN_8 P26
|
L CONN_01X08 P26
|
||||||
U 1 1 52230991
|
U 1 1 52230991
|
||||||
P 5300 2000
|
P 5450 2000
|
||||||
F 0 "P26" V 5250 2000 60 0000 C CNN
|
F 0 "P26" V 5400 2000 60 0000 C CNN
|
||||||
F 1 "CONN_8" V 5350 2000 60 0000 C CNN
|
F 1 "CONN_8" V 5500 2000 60 0000 C CNN
|
||||||
F 2 "SIL-8" V 5450 2000 60 0001 C CNN
|
F 2 "SIL-8" V 5600 2000 60 0001 C CNN
|
||||||
1 5300 2000
|
F 3 "" H 5450 2000 60 0001 C CNN
|
||||||
|
1 5450 2000
|
||||||
-1 0 0 -1
|
-1 0 0 -1
|
||||||
$EndComp
|
$EndComp
|
||||||
$EndSCHEMATC
|
$EndSCHEMATC
|
||||||
|
|
Binary file not shown.
|
@ -44,7 +44,7 @@ import static com.rusefi.ui.storage.PersistentConfiguration.getConfig;
|
||||||
* @see EngineSnifferPanel
|
* @see EngineSnifferPanel
|
||||||
*/
|
*/
|
||||||
public class Launcher {
|
public class Launcher {
|
||||||
public static final int CONSOLE_VERSION = 20170129;
|
public static final int CONSOLE_VERSION = 20170205;
|
||||||
public static final boolean SHOW_STIMULATOR = false;
|
public static final boolean SHOW_STIMULATOR = false;
|
||||||
private static final String TAB_INDEX = "main_tab";
|
private static final String TAB_INDEX = "main_tab";
|
||||||
protected static final String PORT_KEY = "port";
|
protected static final String PORT_KEY = "port";
|
||||||
|
|
|
@ -9,7 +9,7 @@ import java.awt.event.ActionEvent;
|
||||||
public class EraseChip extends ProcessStatusWindow {
|
public class EraseChip extends ProcessStatusWindow {
|
||||||
private final JButton button = new JButton("Erase Chip");
|
private final JButton button = new JButton("Erase Chip");
|
||||||
|
|
||||||
private static final String OPEN_OCD_COMMAND = FirmwareFlasher.OPENOCD_BIN +
|
private static final String OPEN_OCD_COMMAND = FirmwareFlasher.OPENOCD_CMD +
|
||||||
" -c init -c targets -c \"halt\" -c \"flash erase_address 0x08000000 0x080000\" -c shutdown";
|
" -c init -c targets -c \"halt\" -c \"flash erase_address 0x08000000 0x080000\" -c shutdown";
|
||||||
|
|
||||||
public EraseChip() {
|
public EraseChip() {
|
||||||
|
|
|
@ -12,7 +12,9 @@ import java.io.*;
|
||||||
public class FirmwareFlasher extends ProcessStatusWindow {
|
public class FirmwareFlasher extends ProcessStatusWindow {
|
||||||
public static final String IMAGE_DEBUG_FILE = "rusefi_debug.bin";
|
public static final String IMAGE_DEBUG_FILE = "rusefi_debug.bin";
|
||||||
public static final String IMAGE_RELEASE_FILE = "rusefi_release.bin";
|
public static final String IMAGE_RELEASE_FILE = "rusefi_release.bin";
|
||||||
static final String OPENOCD_BIN = "openocd.exe -f stm32f429disc1.cfg";
|
static final String OPENOCD_EXE = "openocd.exe";
|
||||||
|
static final String BINARY_LOCATION = "openocd";
|
||||||
|
static final String OPENOCD_CMD = BINARY_LOCATION + File.separator + OPENOCD_EXE + " -f stm32f429disc1.cfg";
|
||||||
private static final String SUCCESS_MESSAGE_TAG = "shutdown command invoked";
|
private static final String SUCCESS_MESSAGE_TAG = "shutdown command invoked";
|
||||||
private static final String FAILED_MESSAGE_TAG = "failed";
|
private static final String FAILED_MESSAGE_TAG = "failed";
|
||||||
private static final String NO_DRIVER_MESSAGE_TAG = "failed with LIBUSB_ERROR_NOT_SUPPORTED";
|
private static final String NO_DRIVER_MESSAGE_TAG = "failed with LIBUSB_ERROR_NOT_SUPPORTED";
|
||||||
|
@ -50,7 +52,7 @@ public class FirmwareFlasher extends ProcessStatusWindow {
|
||||||
wnd.appendMsg(fileName + " not found, cannot proceed !!!");
|
wnd.appendMsg(fileName + " not found, cannot proceed !!!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
StringBuffer error = executeCommand(OPENOCD_BIN + " -c \"program ../" +
|
StringBuffer error = executeCommand(OPENOCD_CMD + " -c \"program ../" +
|
||||||
fileName +
|
fileName +
|
||||||
" verify reset exit 0x08000000\"");
|
" verify reset exit 0x08000000\"");
|
||||||
if (error.toString().contains(NO_DRIVER_MESSAGE_TAG)) {
|
if (error.toString().contains(NO_DRIVER_MESSAGE_TAG)) {
|
||||||
|
|
|
@ -8,6 +8,7 @@ import java.io.*;
|
||||||
* (c) Andrey Belomutskiy 2013-2017
|
* (c) Andrey Belomutskiy 2013-2017
|
||||||
*/
|
*/
|
||||||
public class ProcessStatusWindow {
|
public class ProcessStatusWindow {
|
||||||
|
|
||||||
public static boolean isWindows() {
|
public static boolean isWindows() {
|
||||||
return System.getProperty("os.name").toLowerCase().contains("win");
|
return System.getProperty("os.name").toLowerCase().contains("win");
|
||||||
}
|
}
|
||||||
|
@ -50,11 +51,17 @@ public class ProcessStatusWindow {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected StringBuffer executeCommand(String command) {
|
protected StringBuffer executeCommand(String command) {
|
||||||
|
StringBuffer error = new StringBuffer();
|
||||||
|
String binaryFullName = FirmwareFlasher.BINARY_LOCATION + File.separator + FirmwareFlasher.OPENOCD_EXE;
|
||||||
|
if (!new File(binaryFullName).exists()) {
|
||||||
|
wnd.appendMsg(binaryFullName + " not found :(");
|
||||||
|
return error;
|
||||||
|
}
|
||||||
|
|
||||||
wnd.appendMsg("Executing " + command);
|
wnd.appendMsg("Executing " + command);
|
||||||
StringBuffer output = new StringBuffer();
|
StringBuffer output = new StringBuffer();
|
||||||
StringBuffer error = new StringBuffer();
|
|
||||||
try {
|
try {
|
||||||
File workingDir = new File("openocd");
|
File workingDir = new File(FirmwareFlasher.BINARY_LOCATION);
|
||||||
Process p = Runtime.getRuntime().exec(command, null, workingDir);
|
Process p = Runtime.getRuntime().exec(command, null, workingDir);
|
||||||
startStreamThread(p, p.getInputStream(), output);
|
startStreamThread(p, p.getInputStream(), output);
|
||||||
startStreamThread(p, p.getErrorStream(), error);
|
startStreamThread(p, p.getErrorStream(), error);
|
||||||
|
|
|
@ -58,7 +58,7 @@ public class IniFileModel {
|
||||||
if (fields.isEmpty())
|
if (fields.isEmpty())
|
||||||
return;
|
return;
|
||||||
if (dialogUiName == null)
|
if (dialogUiName == null)
|
||||||
throw new NullPointerException("dialogUiName for" + fields);
|
dialogUiName = dialogId;
|
||||||
dialogs.put(dialogUiName, new DialogModel(dialogId, dialogUiName, fields));
|
dialogs.put(dialogUiName, new DialogModel(dialogId, dialogUiName, fields));
|
||||||
|
|
||||||
dialogId = null;
|
dialogId = null;
|
||||||
|
|
Loading…
Reference in New Issue