auto-sync

This commit is contained in:
rusEfi 2014-11-14 10:03:49 -06:00
parent 397b0a9102
commit 998f3f2a9d
12 changed files with 65 additions and 49 deletions

View File

@ -111,8 +111,8 @@ extern board_configuration_s *boardConfiguration;
static void printStats(void) {
#if EFI_PROD_CODE
if (!isSerialOverUart()) {
scheduleMsg(&logger, "TS RX on %s%d/TX on %s%d", portname(TS_SERIAL_RX_PORT), TS_SERIAL_RX_PIN,
portname(TS_SERIAL_TX_PORT), TS_SERIAL_TX_PIN);
scheduleMsg(&logger, "TS RX on %s%d/TX on %s%d @%d", portname(TS_SERIAL_RX_PORT), TS_SERIAL_RX_PIN,
portname(TS_SERIAL_TX_PORT), TS_SERIAL_TX_PIN, TS_SERIAL_SPEED);
}
#endif /* EFI_PROD_CODE */
scheduleMsg(&logger, "TunerStudio total/error counter=%d/%d H=%d / O counter=%d size=%d / P=%d / B=%d", tsCounter, tsState.errorCounter, tsState.queryCommandCounter, tsState.outputChannelsCommandCounter,

View File

@ -216,7 +216,8 @@ static void triggerInfo(Engine *engine) {
scheduleMsg(&logger, "expected duty #0=%f/#1=%f", engineConfiguration2->triggerShape.dutyCycle[0],
engineConfiguration2->triggerShape.dutyCycle[1]);
scheduleMsg(&logger, "isError %d/total errors=%d/total revolutions=%d", isTriggerDecoderError(),
scheduleMsg(&logger, "isError %s/total errors=%d/total revolutions=%d",
boolToString(isTriggerDecoderError()),
triggerCentral.triggerState.totalTriggerErrorCounter,
triggerCentral.triggerState.getTotalRevolutionCounter());

View File

@ -46,7 +46,7 @@ Logging logger;
/**
* @return TRUE is something is wrong with trigger decoding
*/
int isTriggerDecoderError(void) {
bool_t isTriggerDecoderError(void) {
return errorDetection.sum(6) > 4;
}

View File

@ -83,6 +83,6 @@ uint32_t findTriggerZeroEventIndex(trigger_shape_s * shape, trigger_config_s con
void initializeTriggerShape(Logging *logger, engine_configuration_s const *engineConfiguration, engine_configuration2_s *engineConfiguration2);
void initTriggerDecoder(void);
int isTriggerDecoderError(void);
bool_t isTriggerDecoderError(void);
#endif /* TRIGGER_DECODER_H_ */

View File

@ -252,5 +252,5 @@ void firmwareError(const char *fmt, ...) {
}
int getRusEfiVersion(void) {
return 20141113;
return 20141114;
}

View File

@ -15,7 +15,7 @@
(page B)
(title_block
(title Frankenso)
(rev R.02)
(rev R.03)
(company http://rusefi.com/)
)
@ -885,6 +885,43 @@
(add_net /stm32f407_board/PA12)
)
(module SMDSVP10 (layer F.Cu) (tedit 53A60C7A) (tstamp 533A91F4)
(at 131.445 60.96 90)
(path /539DA32A/51297942)
(attr smd)
(fp_text reference C1001 (at 0 -2.159 90) (layer F.SilkS)
(effects (font (size 1.016 1.00076) (thickness 0.15748)))
)
(fp_text value "470uF 25V" (at 0 2.79908 90) (layer F.SilkS) hide
(effects (font (size 1.016 1.00076) (thickness 0.2032)))
)
(fp_line (start -5.461 4.191) (end -5.461 1.397) (layer F.SilkS) (width 0.2032))
(fp_line (start -5.461 -4.191) (end -5.461 -1.397) (layer F.SilkS) (width 0.2032))
(fp_line (start 5.461 5.207) (end 5.461 1.397) (layer F.SilkS) (width 0.2032))
(fp_line (start 5.461 -5.207) (end 5.461 -1.397) (layer F.SilkS) (width 0.2032))
(fp_text user + (at -3.683 1.905 90) (layer F.SilkS)
(effects (font (size 1.524 1.524) (thickness 0.3048)))
)
(fp_circle (center 0 0) (end 4.89966 0) (layer F.SilkS) (width 0.2032))
(fp_line (start 5.4991 -5.19938) (end -4.50088 -5.19938) (layer F.SilkS) (width 0.2032))
(fp_line (start -4.50088 -5.19938) (end -5.4991 -4.20116) (layer F.SilkS) (width 0.2032))
(fp_line (start -5.4991 4.20116) (end -4.50088 5.19938) (layer F.SilkS) (width 0.2032))
(fp_line (start -4.50088 5.19938) (end 5.4991 5.19938) (layer F.SilkS) (width 0.2032))
(pad 1 smd rect (at -4.39928 0 90) (size 4.39928 1.89992)
(layers F.Cu F.Paste F.Mask)
(net 12 /PWR_buck_12V_switcher/VBAT)
)
(pad 2 smd rect (at 4.30022 0 90) (size 4.39928 1.89992)
(layers F.Cu F.Paste F.Mask)
(net 156 GND)
)
(model smd\capacitors\c_elec_10x10_5.wrl
(at (xyz 0 0 0.001))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)
(module DISPLAY_4x20_BL (layer F.Cu) (tedit 53E5746E) (tstamp 539AC44C)
(at 176.53 106.045 270)
(descr "Connecteur 16 pins")
@ -7982,43 +8019,6 @@
)
)
(module SMDSVP10 (layer F.Cu) (tedit 53A60C7A) (tstamp 533A91F4)
(at 131.445 60.96 90)
(path /539DA32A/51297942)
(attr smd)
(fp_text reference C1001 (at 0 -2.159 90) (layer F.SilkS)
(effects (font (size 1.016 1.00076) (thickness 0.15748)))
)
(fp_text value "470uF 25V" (at 0 2.79908 90) (layer F.SilkS) hide
(effects (font (size 1.016 1.00076) (thickness 0.2032)))
)
(fp_line (start -5.461 4.191) (end -5.461 1.397) (layer F.SilkS) (width 0.2032))
(fp_line (start -5.461 -4.191) (end -5.461 -1.397) (layer F.SilkS) (width 0.2032))
(fp_line (start 5.461 5.207) (end 5.461 1.397) (layer F.SilkS) (width 0.2032))
(fp_line (start 5.461 -5.207) (end 5.461 -1.397) (layer F.SilkS) (width 0.2032))
(fp_text user + (at -3.683 1.905 90) (layer F.SilkS)
(effects (font (size 1.524 1.524) (thickness 0.3048)))
)
(fp_circle (center 0 0) (end 4.89966 0) (layer F.SilkS) (width 0.2032))
(fp_line (start 5.4991 -5.19938) (end -4.50088 -5.19938) (layer F.SilkS) (width 0.2032))
(fp_line (start -4.50088 -5.19938) (end -5.4991 -4.20116) (layer F.SilkS) (width 0.2032))
(fp_line (start -5.4991 4.20116) (end -4.50088 5.19938) (layer F.SilkS) (width 0.2032))
(fp_line (start -4.50088 5.19938) (end 5.4991 5.19938) (layer F.SilkS) (width 0.2032))
(pad 1 smd rect (at -4.39928 0 90) (size 4.39928 1.89992)
(layers F.Cu F.Paste F.Mask)
(net 12 /PWR_buck_12V_switcher/VBAT)
)
(pad 2 smd rect (at 4.30022 0 90) (size 4.39928 1.89992)
(layers F.Cu F.Paste F.Mask)
(net 156 GND)
)
(model smd\capacitors\c_elec_10x10_5.wrl
(at (xyz 0 0 0.001))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module SM0805 (layer F.Cu) (tedit 53A60CAA) (tstamp 533A9B6E)
(at 127.1425 75.0825)
(path /539DA32A/533A08F3)
@ -22709,7 +22709,7 @@
(arrow2a (pts (xy 251.206 215.264999) (xy 250.079497 214.678579)))
(arrow2b (pts (xy 251.206 215.264999) (xy 250.079497 215.851419)))
)
(gr_text "Frankenso 0.2" (at 115.57 162.56 90) (layer F.SilkS)
(gr_text "Frankenso 0.3" (at 115.57 162.56 90) (layer F.SilkS)
(effects (font (size 1.5 1.5) (thickness 0.3)))
)
(gr_line (start 220 192.024) (end 120 192.024) (angle 90) (layer Eco1.User) (width 0.1))
@ -23472,7 +23472,7 @@
(gr_text GND (at 151.765 102.87) (layer F.SilkS)
(effects (font (size 0.7 0.7) (thickness 0.125)))
)
(gr_text "http://code.google.com/p/daecu/\nfor rusEFI R.02" (at 110.49 165.735 90) (layer F.SilkS)
(gr_text "http://code.google.com/p/daecu/\nfor rusEFI R.03" (at 110.49 165.735 90) (layer F.SilkS)
(effects (font (size 1.016 1.016) (thickness 0.2032)))
)
(gr_text GND (at 204.47 57.785) (layer B.SilkS)

View File

@ -56,7 +56,7 @@ encoding utf-8
Sheet 1 14
Title "Frankenso"
Date "3 nov 2014"
Rev ".02"
Rev ".03"
Comp "rusEFI.com"
Comment1 ""
Comment2 ""

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 KiB

After

Width:  |  Height:  |  Size: 230 KiB

View File

@ -27,6 +27,7 @@
27) RESOLVED IN R0.2 surge suppression diode option for some low-side
28) RESOLVED IN R0.2 better silkscreen for P602 & P604 - explicit "5v" "12v" "GND"
29) RESOLVED IN R0.2 Add LED indicators to injector channels.
30) RESOLVED IN R0.3 3D for C1001 bulk cap has black mark on wrong side
For honda add-on / rewiring board
-- Add 2A high side solinoid drive for VTec sol

View File

@ -1,11 +1,11 @@
PCBNEW-LibModule-V1 5/3/2014 7:56:45 PM
PCBNEW-LibModule-V1 7/4/2014 6:24:21 AM
# encoding utf-8
Units mm
$INDEX
SM0805_jumper
$EndINDEX
$MODULE SM0805_jumper
Po 0 0 0 15 536581C0 00000000 ~~
Po 0 0 0 15 53B680BA 00000000 ~~
Li SM0805_jumper
Sc 0
AR
@ -21,6 +21,13 @@ DS 0.508 -0.762 1.524 -0.762 0.09906 21
DS 1.524 -0.762 1.524 0.762 0.09906 21
DS 1.524 0.762 0.508 0.762 0.09906 21
$PAD
Sh "2" R 1.524 0.2032 0 0 0
Dr 0 0 0
At SMD N 00888000
Ne 0 ""
Po 1.27 0
$EndPAD
$PAD
Sh "1" R 0.889 1.397 0 0 0
Dr 0 0 0
At SMD N 00888000
@ -48,6 +55,13 @@ At STD N 00E0FFFF
Ne 0 ""
Po -1.905 0
$EndPAD
$PAD
Sh "1" R 1.524 0.2032 0 0 0
Dr 0 0 0
At SMD N 00888000
Ne 0 ""
Po -1.27 0
$EndPAD
$SHAPE3D
Na "smd/chip_cms.wrl"
Sc 0.1 0.1 0.1