MAP phase sensing #3544

trigger sync better gauges/logging
This commit is contained in:
rusefillc 2021-12-06 17:04:05 -05:00
parent 5a91b365f3
commit f826fe13aa
13 changed files with 63 additions and 61 deletions

View File

@ -68,7 +68,6 @@ void setTestVVTEngineConfiguration() {
engineConfiguration->globalTriggerAngleOffset = 0;
engineConfiguration->vvtMode[0] = VVT_SECOND_HALF;
engineConfiguration->debugMode = DBG_VVT;
}
#if EFI_UNIT_TEST

View File

@ -124,8 +124,6 @@ void setToyota_2jz_vics() {
strcpy(engineConfiguration->vehicleName, "VVT example");
engineConfiguration->debugMode = DBG_VVT;
// todo: these magic values would be hardcoded once we find out proper magic values
// engineConfiguration->fsio_setting[14] = 175 - 45;
// engineConfiguration->fsio_setting[15] = 175 + 45;

View File

@ -184,8 +184,13 @@ entry = vvtTargets2, "vvtTargets2", int, "%d"
entry = vvtTargets3, "vvtTargets3", int, "%d"
entry = vvtTargets4, "vvtTargets4", int, "%d"
entry = turboSpeed, "Turbocharger Speed", int, "%d"
entry = vvtSyncGapRatio, "vvtSyncGapRatio", float, "%.3f"
entry = vvtCurrentPosition, "vvtCurrentPosition", float, "%.3f"
entry = triggerSyncGapRatio, "triggerSyncGapRatio", float, "%.3f"
entry = triggerStateIndex, "triggerStateIndex", int, "%d"
entry = vvtCounter, "vvtCounter", int, "%d"
entry = vvtSyncCounter, "vvtSyncCounter", int, "%d"
entry = vvtStateIndex, "vvtStateIndex", int, "%d"
entry = TEMPLOG_MAP_INSTANT_AVERAGE, "TEMPLOG_MAP_INSTANT_AVERAGE", float, "%.3f"
entry = fallbackMap, "fallbackMap", int, "%d"
entry = TEMPLOG_map_peak, "TEMPLOG_map_peak", int, "%d"

View File

@ -348,19 +348,13 @@ unusedAtTheEnd161Gauge = unusedAtTheEnd161,"unusedAtTheEnd161", "", 0.0,0.0, 0.0
unusedAtTheEnd162Gauge = unusedAtTheEnd162,"unusedAtTheEnd162", "", 0.0,0.0, 0.0,0.0, 0.0,0.0, 0,0
unusedAtTheEnd163Gauge = unusedAtTheEnd163,"unusedAtTheEnd163", "", 0.0,0.0, 0.0,0.0, 0.0,0.0, 0,0
unusedAtTheEnd164Gauge = unusedAtTheEnd164,"unusedAtTheEnd164", "", 0.0,0.0, 0.0,0.0, 0.0,0.0, 0,0
unusedAtTheEnd165Gauge = unusedAtTheEnd165,"unusedAtTheEnd165", "", 0.0,0.0, 0.0,0.0, 0.0,0.0, 0,0
unusedAtTheEnd166Gauge = unusedAtTheEnd166,"unusedAtTheEnd166", "", 0.0,0.0, 0.0,0.0, 0.0,0.0, 0,0
unusedAtTheEnd167Gauge = unusedAtTheEnd167,"unusedAtTheEnd167", "", 0.0,0.0, 0.0,0.0, 0.0,0.0, 0,0
unusedAtTheEnd168Gauge = unusedAtTheEnd168,"unusedAtTheEnd168", "", 0.0,0.0, 0.0,0.0, 0.0,0.0, 0,0
unusedAtTheEnd169Gauge = unusedAtTheEnd169,"unusedAtTheEnd169", "", 0.0,0.0, 0.0,0.0, 0.0,0.0, 0,0
unusedAtTheEnd170Gauge = unusedAtTheEnd170,"unusedAtTheEnd170", "", 0.0,0.0, 0.0,0.0, 0.0,0.0, 0,0
unusedAtTheEnd171Gauge = unusedAtTheEnd171,"unusedAtTheEnd171", "", 0.0,0.0, 0.0,0.0, 0.0,0.0, 0,0
unusedAtTheEnd172Gauge = unusedAtTheEnd172,"unusedAtTheEnd172", "", 0.0,0.0, 0.0,0.0, 0.0,0.0, 0,0
vvtSyncGapRatioGauge = vvtSyncGapRatio,"vvtSyncGapRatio", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
vvtCurrentPositionGauge = vvtCurrentPosition,"vvtCurrentPosition", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
triggerSyncGapRatioGauge = triggerSyncGapRatio,"triggerSyncGapRatio", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
triggerStateIndexGauge = triggerStateIndex,"triggerStateIndex", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
unused1kGauge = unused1k,"unused1k", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
unused2kGauge = unused2k,"unused2k", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
unused3kGauge = unused3k,"unused3k", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
vvtCounterGauge = vvtCounter,"vvtCounter", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
vvtSyncCounterGauge = vvtSyncCounter,"vvtSyncCounter", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
vvtStateIndexGauge = vvtStateIndex,"vvtStateIndex", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
TEMPLOG_MAP_INSTANT_AVERAGEGauge = TEMPLOG_MAP_INSTANT_AVERAGE,"TEMPLOG_MAP_INSTANT_AVERAGE", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
fallbackMapGauge = fallbackMap,"fallbackMap", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
TEMPLOG_map_peakGauge = TEMPLOG_map_peak,"TEMPLOG_map_peak", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3

View File

@ -348,19 +348,13 @@ unusedAtTheEnd161 = scalar, U08, 480, "", 1, 0
unusedAtTheEnd162 = scalar, U08, 481, "", 1, 0
unusedAtTheEnd163 = scalar, U08, 482, "", 1, 0
unusedAtTheEnd164 = scalar, U08, 483, "", 1, 0
unusedAtTheEnd165 = scalar, U08, 484, "", 1, 0
unusedAtTheEnd166 = scalar, U08, 485, "", 1, 0
unusedAtTheEnd167 = scalar, U08, 486, "", 1, 0
unusedAtTheEnd168 = scalar, U08, 487, "", 1, 0
unusedAtTheEnd169 = scalar, U08, 488, "", 1, 0
unusedAtTheEnd170 = scalar, U08, 489, "", 1, 0
unusedAtTheEnd171 = scalar, U08, 490, "", 1, 0
unusedAtTheEnd172 = scalar, U08, 491, "", 1, 0
vvtSyncGapRatio = scalar, F32, 484, "", 1, 0
vvtCurrentPosition = scalar, F32, 488, "", 1, 0
triggerSyncGapRatio = scalar, F32, 492, "", 1, 0
triggerStateIndex = scalar, U08, 496, "", 1, 0
unused1k = scalar, U08, 497, "", 1, 0
unused2k = scalar, U08, 498, "", 1, 0
unused3k = scalar, U08, 499, "", 1, 0
vvtCounter = scalar, U08, 497, "", 1, 0
vvtSyncCounter = scalar, U08, 498, "", 1, 0
vvtStateIndex = scalar, U08, 499, "", 1, 0
TEMPLOG_MAP_INSTANT_AVERAGE = scalar, F32, 500, "", 1, 0
fallbackMap = scalar, U08, 504, "", 1, 0
TEMPLOG_map_peak = scalar, U08, 505, "", 1, 0

View File

@ -253,14 +253,17 @@ uint16_t rpmAcceleration;dRPM;"RPM/s",1, 0, 0, 0, 0
! we have some unused bytes to allow compatible TS changes
uint8_t[172 iterate] unusedAtTheEnd;;"",1, 0, 0, 0, 0
uint8_t[164 iterate] unusedAtTheEnd;;"",1, 0, 0, 0, 0
float autoscale vvtSyncGapRatio;;"", 1, 0, -10000, 10000, 3
float autoscale vvtCurrentPosition;;"", 1, 0, -10000, 10000, 3
float autoscale triggerSyncGapRatio;;"", 1, 0, -10000, 10000, 3
uint8_t triggerStateIndex;;"", 1, 0, -10000, 10000, 3
uint8_t unused1k;;"", 1, 0, -10000, 10000, 3
uint8_t unused2k;;"", 1, 0, -10000, 10000, 3
uint8_t unused3k;;"", 1, 0, -10000, 10000, 3
uint8_t vvtCounter;;"", 1, 0, -10000, 10000, 3
uint8_t vvtSyncCounter;;"", 1, 0, -10000, 10000, 3
uint8_t vvtStateIndex;;"", 1, 0, -10000, 10000, 3
float autoscale TEMPLOG_MAP_INSTANT_AVERAGE;;"", 1, 0, -10000, 10000, 3

View File

@ -1,4 +1,4 @@
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Mon Dec 06 13:05:09 EST 2021
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Mon Dec 06 16:58:18 EST 2021
// by class com.rusefi.output.CHeaderConsumer
// begin
#pragma once
@ -824,7 +824,15 @@ struct ts_outputs_s {
/**
* offset 320
*/
uint8_t unusedAtTheEnd[172];
uint8_t unusedAtTheEnd[164];
/**
* offset 484
*/
scaled_channel<float, 1, 1> vvtSyncGapRatio = (float)0;
/**
* offset 488
*/
scaled_channel<float, 1, 1> vvtCurrentPosition = (float)0;
/**
* offset 492
*/
@ -836,15 +844,15 @@ struct ts_outputs_s {
/**
* offset 497
*/
uint8_t unused1k = (uint8_t)0;
uint8_t vvtCounter = (uint8_t)0;
/**
* offset 498
*/
uint8_t unused2k = (uint8_t)0;
uint8_t vvtSyncCounter = (uint8_t)0;
/**
* offset 499
*/
uint8_t unused3k = (uint8_t)0;
uint8_t vvtStateIndex = (uint8_t)0;
/**
* offset 500
*/
@ -990,4 +998,4 @@ struct ts_outputs_s {
};
// end
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Mon Dec 06 13:05:09 EST 2021
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) console/binary/output_channels.txt Mon Dec 06 16:58:18 EST 2021

View File

@ -1,6 +1,6 @@
#include "global.h"
#include "engine_types.h"
// was generated automatically by rusEFI tool from engine_types.h // by enum2string.jar tool on Mon Nov 29 14:06:03 EST 2021
// was generated automatically by rusEFI tool from engine_types.h // by enum2string.jar tool on Mon Dec 06 17:02:13 EST 2021
// see also gen_config_and_enums.bat
@ -62,6 +62,8 @@ case DBG_37:
return "DBG_37";
case DBG_43:
return "DBG_43";
case DBG_8:
return "DBG_8";
case DBG_9:
return "DBG_9";
case DBG_ANALOG_INPUTS:
@ -134,8 +136,6 @@ case DBG_UNUSED41:
return "DBG_UNUSED41";
case DBG_UNUSED_42:
return "DBG_UNUSED_42";
case DBG_VVT:
return "DBG_VVT";
case DBG_VVT_1_PID:
return "DBG_VVT_1_PID";
case DBG_VVT_2_PID:

View File

@ -258,10 +258,7 @@ typedef enum {
DBG_TRIGGER_COUNTERS = 5,
DBG_SOFT_SPARK_CUT = 6,
DBG_VVT_1_PID = 7,
/**
* VVT position debugging - not VVT valve control. See AUX pid #1 debug for valve position.
*/
DBG_VVT = 8,
DBG_8 = 8,
DBG_9 = 9,
DBG_10 = 10,
DBG_11 = 11,

View File

@ -113,9 +113,9 @@ static angle_t syncAndReport(TriggerCentral *tc, int divider, int remainder) {
angle_t engineCycle = getEngineCycle(engine->getOperationMode());
angle_t offset = tc->triggerState.syncSymmetricalCrank(divider, remainder, engineCycle);
if (offset > 0 && engineConfiguration->debugMode == DBG_VVT) {
if (offset > 0) {
#if EFI_TUNER_STUDIO
tsOutputChannels.debugIntField1++;
tsOutputChannels.vvtSyncCounter++;
#endif /* EFI_TUNER_STUDIO */
}
return offset;
@ -276,12 +276,17 @@ void hwHandleVvtCamSignal(trigger_value_e front, efitick_t nowNt, int index) {
}
if (isVvtWithRealDecoder) {
tc->vvtState[bankIndex][camIndex].decodeTriggerEvent(
TriggerState *vvtState = &tc->vvtState[bankIndex][camIndex];
vvtState->decodeTriggerEvent(
tc->vvtShape[camIndex],
nullptr,
nullptr,
engine->vvtTriggerConfiguration[camIndex],
front == TV_RISE ? SHAFT_PRIMARY_RISING : SHAFT_PRIMARY_FALLING, nowNt);
// yes we log data from all VVT channels into same fields for now
tsOutputChannels.vvtSyncGapRatio = vvtState->currentGap;
tsOutputChannels.vvtStateIndex = vvtState->currentCycle.current_index;
}
tc->vvtCamCounter++;
@ -295,11 +300,9 @@ void hwHandleVvtCamSignal(trigger_value_e front, efitick_t nowNt, int index) {
tc->currentVVTEventPosition[bankIndex][camIndex] = currentPosition;
#endif // EFI_UNIT_TEST
if (engineConfiguration->debugMode == DBG_VVT) {
#if EFI_TUNER_STUDIO
tsOutputChannels.debugFloatField1 = currentPosition;
tsOutputChannels.vvtCurrentPosition = currentPosition;
#endif /* EFI_TUNER_STUDIO */
}
switch(engineConfiguration->vvtMode[camIndex]) {
case VVT_2JZ:
@ -319,11 +322,9 @@ void hwHandleVvtCamSignal(trigger_value_e front, efitick_t nowNt, int index) {
// this is not sync tooth - exiting
return;
}
if (engineConfiguration->debugMode == DBG_VVT) {
#if EFI_TUNER_STUDIO
tsOutputChannels.debugIntField1++;
tsOutputChannels.vvtCounter++;
#endif /* EFI_TUNER_STUDIO */
}
}
default:
// else, do nothing
@ -614,6 +615,12 @@ void TriggerCentral::handleShaftSignal(trigger_event_e signal, efitick_t timesta
engine->primaryTriggerConfiguration,
signal, timestamp);
#if EFI_TUNER_STUDIO
tsOutputChannels.triggerSyncGapRatio = triggerState.currentGap;
tsOutputChannels.triggerStateIndex = triggerState.currentCycle.current_index;
#endif /* EFI_TUNER_STUDIO */
/**
* If we only have a crank position sensor with four stroke, here we are extending crank revolutions with a 360 degree
* cycle into a four stroke, 720 degrees cycle.

View File

@ -547,11 +547,6 @@ void TriggerState::decodeTriggerEvent(
if (triggerShape.isSynchronizationNeeded) {
currentGap = 1.0 * toothDurations[0] / toothDurations[1];
#if EFI_TUNER_STUDIO
tsOutputChannels.triggerSyncGapRatio = currentGap;
tsOutputChannels.triggerStateIndex = currentCycle.current_index;
#endif /* EFI_TUNER_STUDIO */
bool isSync = true;
for (int i = 0; i < triggerShape.gapTrackingLength; i++) {
bool isGapCondition = cisnan(triggerShape.syncronizationRatioFrom[i]) || (toothDurations[i] > toothDurations[i + 1] * triggerShape.syncronizationRatioFrom[i]

View File

@ -214,17 +214,17 @@ enable2ndByteCanID = false
; wall of debug mode :)
; https://rusefi.com/wiki/index.php?title=Manual:Debug_fields
; Alternator TPS Acceleration GPPWM Idle Engine Load Acc Trigger Counters VVT1 PID VVT Sync Cranking Ignition Timing Fu Corr VSS SD Card Knock Wall Wetting ETB PID Executor InstantRpm CJ125 CAN MAP TLE8888 Analog inputs 2 Boost Start Launcher ETB Autotune Injector flow compensation DYNO_VIEW LOGIC_ANALYZER Wideband TCU Lua VVT2 PID VVT3 PID VVT4 PID
; Alternator TPS Acceleration GPPWM Idle Engine Load Acc Trigger Counters VVT1 PID Cranking Ignition Timing Fu Corr VSS SD Card Knock Wall Wetting ETB PID Executor InstantRpm CJ125 CAN MAP TLE8888 Analog inputs 2 Boost Start Launcher ETB Autotune Injector flow compensation DYNO_VIEW LOGIC_ANALYZER Wideband TCU Lua VVT2 PID VVT3 PID VVT4 PID
; 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
; DBG_ALTERNATOR_PID DBG_TPS_ACCEL DBG_GPPWM DBG_IDLE_CONTROL
debugFieldF1List = bits, U08, [0:7], "Alt: Controller Output", "From TPS", "GPPWM 1", "Idle: Controller Output", "Idle output", " ", "", "VVT1: Controller Output","VVT Event Position", "", "Ign IAT Corr", "", "", "Total SD", "last volts", "", "WW: Alpha", "ETB Controller Output", "", "", "df1", "df1", "InstantRpm", "", "24:df1", "CJ125: output", "", "MAP Average", "", "", "", "", "TPS1 Pri/Sec Diff", "", "", "", "Boost Open Loop Duty", "S unused" "", "Osc Amplitude", "", "", "", "Pressure across injector(kpa)", "VSS", "", "WB: Pump DAC duty", "", "Lua Debug 1", "VVT2: Controller Output","VVT3: Controller Output","VVT4: Controller Output"
debugFieldF2List = bits, U08, [0:7], "Alt: I Term", "To TPS", "GPPWM 2", "Idle: I Term", "Idle df2", " ", "", "VVT1: I Term", "VVT Ratio", "", "Ign CLT Corr", "", "", "Write Cnt","last filtered","", "WW: Beta", "ETB I Term", "", "", "df2", "df2", "InstantRPM Ratio","", "24:df2", "CJ125: i term", "", "MAP Duration", "", "", "", "", "TPS2 Pri/Sec Diff", "", "", "", "Boost Closed Loop Duty","S unused" "", "Duty Amplitude", "", "", "", "Pressure ratio vs. nominal", "Speed", "", "WB: ESR", "", "Lua Debug 2", "VVT2: I Term", "VVT3: I Term", "VVT4: I Term"
debugFieldF1List = bits, U08, [0:7], "Alt: Controller Output", "From TPS", "GPPWM 1", "Idle: Controller Output", "Idle output", " ", "", "VVT1: Controller Output"," ", "", "Ign IAT Corr", "", "", "Total SD", "last volts", "", "WW: Alpha", "ETB Controller Output", "", "", "df1", "df1", "InstantRpm", "", "24:df1", "CJ125: output", "", "MAP Average", "", "", "", "", "TPS1 Pri/Sec Diff", "", "", "", "Boost Open Loop Duty", "S unused" "", "Osc Amplitude", "", "", "", "Pressure across injector(kpa)", "VSS", "", "WB: Pump DAC duty", "", "Lua Debug 1", "VVT2: Controller Output","VVT3: Controller Output","VVT4: Controller Output"
debugFieldF2List = bits, U08, [0:7], "Alt: I Term", "To TPS", "GPPWM 2", "Idle: I Term", "Idle df2", " ", "", "VVT1: I Term", " ", "", "Ign CLT Corr", "", "", "Write Cnt","last filtered","", "WW: Beta", "ETB I Term", "", "", "df2", "df2", "InstantRPM Ratio","", "24:df2", "CJ125: i term", "", "MAP Duration", "", "", "", "", "TPS2 Pri/Sec Diff", "", "", "", "Boost Closed Loop Duty","S unused" "", "Duty Amplitude", "", "", "", "Pressure ratio vs. nominal", "Speed", "", "WB: ESR", "", "Lua Debug 2", "VVT2: I Term", "VVT3: I Term", "VVT4: I Term"
debugFieldF3List = bits, U08, [0:7], "Alt: Previous Error", "Current TPS<>TPS", "GPPWM 3", "Idle: prev error", "Idle df3", "ICU sum", "", "VVT1: prev error", "", "", "", "", "", "Sync Cnt", "", "", "WW: film mass", "ETB err", "", "", "df3", "df3", "22df3", "", "24:df3", "CJ125: err", "", "MAP Fast", "", "", "", "", "TPS1/2 Diff", "", "", "", "Boost Duty", "S unused" "", "Tu", "", "", "", "Flow ratio vs. configured", "DeltaSpeed", "", "WB: Nernst Voltage", "", "Lua Debug 3", "VVT2: prev error", "VVT3: prev error", "VVT4: prev error"
debugFieldF4List = bits, U08, [0:7], "Alt: I Gain", "Extra Fuel", "GPPWM 4", "Idle: I Gain", "Idle df4", " ", "", "VVT1: I Gain", "", "", "Ign PID Adj", "", "", "File Cnt", "", "", "WW: m_cmd", "ETB I setting", "", "", "df4", "df4", "22df4", "", "24:df4", "CJ125: UA", "", "MAP Estimate", "", "", "", "", "Acc Pedal Pri/Sec Diff","", "", "", "Boost Target", "S unused" "", "Ku", "", "", "", "", "accel", "", "WB: Lambda", "", "Lua Debug 4", "VVT2: I Gain", "VVT3: I Gain", "VVT4: I Gain"
debugFieldF5List = bits, U08, [0:7], "Alt: D Gain", "df5", "df5", "Idle: D Gain", "Idle df5", " ", "df5", "VVT1: D Gain", "", "", "", "", "", "", "", "", "WW: film mass next","ETB D setting", "df5", "df5", "df5", "df5", "22df5", "", "24:df5", "CJ125: UR", "", "MAP Instant", "", "", "", "", "TPS1 Pri/Sec Ratio", "", "", "", "", "S unused" "", "Kp", "", "", "", "", "", "", "", "", "Lua Debug 5", "VVT2: D Gain", "VVT3: D Gain", "VVT4: D Gain"
debugFieldF6List = bits, U08, [0:7], "Alt: D Term", "", "", "Idle: D Term", "Idle df6", " ", "", "VVT1: D Term", "", "", "", "", "", "", "", "", "", "ETB df6", "", "", "df6", "df6", "22df6", "", "24:df6", "cj: f7", "", "", "", "", "", "", "", "", "", "", "", "S unused" "", "Ki", "", "", "", "", "", "", "", "", "Lua Debug 6", "VVT2: D Term", "VVT3: D Term", "VVT4: D Term"
debugFieldF7List = bits, U08, [0:7], "Alt: Max-Value", "", "", "Idle: Max-Value", "Idle df7", "", "", "VVT1: Max-Value", "", "", "", "", "", "", "", "", "", "ETB df7", "", "", "df7", "df7", "22df7", "", "24:df7", "cj: f7", "", "", "", "", "", "", "", "", "", "", "", "S unused" "", "Kd", "", "", "", "", "", "", "", "", "Lua Debug 7", "", "", ""
debugFieldI1List = bits, U08, [0:7], "Alt: P Gain", "", "", "Idle: P Gain", "Idle di1", " ", "", "VVT1: P Gain", "VVT Sync Counter", "Cycle Counter", "Multispark Count", "", "", "", "hip corr", "", "", "ETB P-Gain", "t counter", "", "di1", "di1", "Spark Event Gap","", "24:di1", "CJ125: state", "read count","MAP counter", "", "", "", "SPI Counter", "", "", "", "", "", "Start Count", "", "", "", "", "", "", "deltatime", "", "", "Solenoid 1 State", "Lua memory used","VVT2: P Gain", "VVT3: P Gain", "VVT4: P Gain"
debugFieldI1List = bits, U08, [0:7], "Alt: P Gain", "", "", "Idle: P Gain", "Idle di1", " ", "", "VVT1: P Gain", " ", "Cycle Counter", "Multispark Count", "", "", "", "hip corr", "", "", "ETB P-Gain", "t counter", "", "di1", "di1", "Spark Event Gap","", "24:di1", "CJ125: state", "read count","MAP counter", "", "", "", "SPI Counter", "", "", "", "", "", "Start Count", "", "", "", "", "", "", "deltatime", "", "", "Solenoid 1 State", "Lua memory used","VVT2: P Gain", "VVT3: P Gain", "VVT4: P Gain"
debugFieldI2List = bits, U08, [0:7], "Alt: Offset", "", "", "Idle: Offset", "Idle di2", " ", "", "VVT1: Offset", "", "", "", "", "", "", "hip incor", "", "", "ETB di2", "invocationcounter", "", "di2", "di2", "Inj Event Gap", "", "24:di2", "", "write count","MAP raw ADC", "", "", "", "Latest Transmit","", "", "", "", "", "Starter Enable", "", "", "", "", "", "", "", "", "", "Solenoid 2 State", "", "VVT2: Offset", "VVT3: Offset", "VVT4: Offset"
debugFieldI3List = bits, U08, [0:7], "Alt: Reset Cnt", "", "", "Idle: Reset Cnt", "Idle di3", " ", "", "VVT1: 10xTarget", "", "", "", "", "", "", "", "", "", "ETB di3", "s counter", "", "di3", "di3", "22di3", "", "24:di3", "", "write err", "", "", "", "", "Latest Received","", "", "", "", "", "Starter Disable","", "", "", "", "", "", "", "", "", "Solenoid 3 State", "", "VVT2: 10xTarger", "VVT3: 10xTarger", "VVT4: 10xTarger"
debugFieldI4List = bits, U08, [0:7], "Alt: Period", "", "", "Idle: State", "Idle di4", "Cycle Cnt 1", "", "", "", "", "", "", "", "", "", "", "", "ETB di4", "executor", "", "di4", "di4", "22di4", "", "24:di4", "", "", "", "", "", "", "Init Count", "", "", "", "", "", "S unused" "", "", "", "", "", "", "", "", "", "Solenoid 4 State", "", "", "", ""
@ -808,6 +808,8 @@ canWriteOkGauge = canWriteOk,"canWriteOk", "", -10000.0,10000.0, -10000.0,10000.
canWriteNotOkGauge = canWriteNotOk,"canWriteNotOk", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
triggerSyncGapRatioGauge = triggerSyncGapRatio,"triggerSyncGapRatio", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
triggerStateIndexGauge = triggerStateIndex,"triggerStateIndex", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
vvtSyncGapRatioGauge = vvtSyncGapRatio,"vvtSyncGapRatio", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
vvtStateIndexGauge = vvtStateIndex,"vvtStateIndex", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3
gaugeCategory = Sensors - Extra 2

View File

@ -12,7 +12,7 @@ public enum debug_mode_e {
DBG_TRIGGER_COUNTERS,
DBG_SOFT_SPARK_CUT,
DBG_VVT_1_PID,
DBG_VVT,
DBG_8,
DBG_9,
DBG_10,
DBG_11,