opening the door to boost controller!

This commit is contained in:
rusefi 2020-01-31 14:23:15 -05:00
parent 3f08833de2
commit 6dd509a34b
10 changed files with 130 additions and 41 deletions

View File

@ -539,8 +539,8 @@ case Force_4_bytes_size_cranking_ignition_mode:
}
const char *getDebug_mode_e(debug_mode_e value){
switch(value) {
case DBG_36:
return "DBG_36";
case DBG_BOOST:
return "DBG_BOOST";
case DBG_37:
return "DBG_37";
case DBG_ALTERNATOR_PID:

View File

@ -654,7 +654,7 @@ typedef enum {
DBG_DWELL_METRIC = 33,
DBG_AUX_TEMPERATURE = 34,
DBG_ETB_LOGIC = 35,
DBG_36 = 36,
DBG_BOOST = 36,
DBG_37 = 37,
Force_4_bytes_size_debug_mode_e = ENUM_32_BITS,
@ -837,3 +837,8 @@ typedef enum {
*/
Force_4bytes_size_idle_state_e = ENUM_32_BITS,
} idle_state_e;
typedef enum {
OPEN_LOOP = 0,
CLOSED_LOOP = 1,
Force_4bytes_size_boostType_e = ENUM_32_BITS,
} boostType_e;

View File

@ -98,6 +98,7 @@ typedef float baro_corr_table_t[BARO_CORR_SIZE][BARO_CORR_SIZE];
typedef float fsio_table_8x8_f32t[FSIO_TABLE_8][FSIO_TABLE_8];
typedef float tps_tps_table_t[TPS_TPS_ACCEL_TABLE][TPS_TPS_ACCEL_TABLE];
typedef uint8_t fsio_table_8x8_u8t[FSIO_TABLE_8][FSIO_TABLE_8];
typedef uint8_t boost_table_t[BOOST_LOAD_COUNT][BOOST_RPM_COUNT];
// this is different type simply to have different hi/low range in rusefi.ini

View File

@ -1,26 +1,28 @@
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Wed Sep 11 20:00:32 EDT 2019
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Fri Jan 31 14:07:20 EST 2020
// by class com.rusefi.output.FileFsioSettingsConsumer
FSIO_SETTING_FANONTEMPERATURE = 1000,
FSIO_SETTING_FANOFFTEMPERATURE = 1001,
FSIO_SETTING_ALTERNATORCONTROL_OFFSET = 1002,
FSIO_SETTING_ALTERNATORCONTROL_MINVALUE = 1003,
FSIO_SETTING_ETB_OFFSET = 1004,
FSIO_SETTING_ETB_MINVALUE = 1005,
FSIO_SETTING_IDLERPMPID_OFFSET = 1006,
FSIO_SETTING_IDLERPMPID_MINVALUE = 1007,
FSIO_SETTING_STARTUPFUELPUMPDURATION = 1008,
FSIO_SETTING_FUELCLOSEDLOOPPID_OFFSET = 1009,
FSIO_SETTING_FUELCLOSEDLOOPPID_MINVALUE = 1010,
FSIO_SETTING_AUXPID1_OFFSET = 1011,
FSIO_SETTING_AUXPID1_MINVALUE = 1012,
FSIO_SETTING_AUXPID2_OFFSET = 1013,
FSIO_SETTING_AUXPID2_MINVALUE = 1014,
FSIO_SETTING_AUXPID3_OFFSET = 1015,
FSIO_SETTING_AUXPID3_MINVALUE = 1016,
FSIO_SETTING_AUXPID4_OFFSET = 1017,
FSIO_SETTING_AUXPID4_MINVALUE = 1018,
FSIO_SETTING_IDLETIMINGPID_OFFSET = 1019,
FSIO_SETTING_IDLETIMINGPID_MINVALUE = 1020,
FSIO_SETTING_IDLERPMPID2_OFFSET = 1021,
FSIO_SETTING_IDLERPMPID2_MINVALUE = 1022,
FSIO_SETTING_BOOSTPID_OFFSET = 1002,
FSIO_SETTING_BOOSTPID_MINVALUE = 1003,
FSIO_SETTING_ALTERNATORCONTROL_OFFSET = 1004,
FSIO_SETTING_ALTERNATORCONTROL_MINVALUE = 1005,
FSIO_SETTING_ETB_OFFSET = 1006,
FSIO_SETTING_ETB_MINVALUE = 1007,
FSIO_SETTING_IDLERPMPID_OFFSET = 1008,
FSIO_SETTING_IDLERPMPID_MINVALUE = 1009,
FSIO_SETTING_STARTUPFUELPUMPDURATION = 1010,
FSIO_SETTING_FUELCLOSEDLOOPPID_OFFSET = 1011,
FSIO_SETTING_FUELCLOSEDLOOPPID_MINVALUE = 1012,
FSIO_SETTING_AUXPID1_OFFSET = 1013,
FSIO_SETTING_AUXPID1_MINVALUE = 1014,
FSIO_SETTING_AUXPID2_OFFSET = 1015,
FSIO_SETTING_AUXPID2_MINVALUE = 1016,
FSIO_SETTING_AUXPID3_OFFSET = 1017,
FSIO_SETTING_AUXPID3_MINVALUE = 1018,
FSIO_SETTING_AUXPID4_OFFSET = 1019,
FSIO_SETTING_AUXPID4_MINVALUE = 1020,
FSIO_SETTING_IDLETIMINGPID_OFFSET = 1021,
FSIO_SETTING_IDLETIMINGPID_MINVALUE = 1022,
FSIO_SETTING_IDLERPMPID2_OFFSET = 1023,
FSIO_SETTING_IDLERPMPID2_MINVALUE = 1024,

View File

@ -1,10 +1,14 @@
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Wed Sep 11 20:00:32 EDT 2019
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Fri Jan 31 14:07:20 EST 2020
// by class com.rusefi.output.FileFsioSettingsConsumer
case FSIO_SETTING_FANONTEMPERATURE:
return engineConfiguration->fanOnTemperature;
case FSIO_SETTING_FANOFFTEMPERATURE:
return engineConfiguration->fanOffTemperature;
case FSIO_SETTING_BOOSTPID_OFFSET:
return engineConfiguration->boostPid.offset;
case FSIO_SETTING_BOOSTPID_MINVALUE:
return engineConfiguration->boostPid.minValue;
case FSIO_SETTING_ALTERNATORCONTROL_OFFSET:
return engineConfiguration->alternatorControl.offset;
case FSIO_SETTING_ALTERNATORCONTROL_MINVALUE:

View File

@ -1,8 +1,10 @@
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Wed Sep 11 20:00:32 EDT 2019
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Fri Jan 31 14:07:20 EST 2020
// by class com.rusefi.output.FileFsioSettingsConsumer
static LENameOrdinalPair lefanOnTemperature(FSIO_SETTING_FANONTEMPERATURE, "cfg_fanOnTemperature");
static LENameOrdinalPair lefanOffTemperature(FSIO_SETTING_FANOFFTEMPERATURE, "cfg_fanOffTemperature");
static LENameOrdinalPair leboostPid_offset(FSIO_SETTING_BOOSTPID_OFFSET, "cfg_boostPid_offset");
static LENameOrdinalPair leboostPid_minValue(FSIO_SETTING_BOOSTPID_MINVALUE, "cfg_boostPid_minValue");
static LENameOrdinalPair lealternatorControl_offset(FSIO_SETTING_ALTERNATORCONTROL_OFFSET, "cfg_alternatorControl_offset");
static LENameOrdinalPair lealternatorControl_minValue(FSIO_SETTING_ALTERNATORCONTROL_MINVALUE, "cfg_alternatorControl_minValue");
static LENameOrdinalPair leetb_offset(FSIO_SETTING_ETB_OFFSET, "cfg_etb_offset");

View File

@ -1,10 +1,14 @@
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Wed Sep 11 20:00:32 EDT 2019
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Fri Jan 31 14:07:20 EST 2020
// by class com.rusefi.output.FileFsioSettingsConsumer
case FSIO_SETTING_FANONTEMPERATURE:
return "cfg_fanOnTemperature";
case FSIO_SETTING_FANOFFTEMPERATURE:
return "cfg_fanOffTemperature";
case FSIO_SETTING_BOOSTPID_OFFSET:
return "cfg_boostPid_offset";
case FSIO_SETTING_BOOSTPID_MINVALUE:
return "cfg_boostPid_minValue";
case FSIO_SETTING_ALTERNATORCONTROL_OFFSET:
return "cfg_alternatorControl_offset";
case FSIO_SETTING_ALTERNATORCONTROL_MINVALUE:

View File

@ -117,6 +117,8 @@ struct_no_prefix engine_configuration_s
#define FUEL_RPM_COUNT 16
#define FUEL_LOAD_COUNT 16
#define BOOST_RPM_COUNT 8
#define BOOST_LOAD_COUNT 8
#define PEDAL_TO_TPS_SIZE 8
@ -136,7 +138,8 @@ struct_no_prefix engine_configuration_s
#define PACK_MULT_AFR 1000
#define PACK_MULT_ANGLE 50
#define PACK_MULT_VOLTAGE 1000
#define TPS_1_BYTE_PACKING_MULT 2
#define LOAD_1_BYTE_PACKING_MULT 2
#define FSIO_TABLE_8 8
#define FSIO_CURVE_8 8
@ -168,7 +171,7 @@ custom angle_table_t 4*@@IGN_RPM_COUNT@@x@@IGN_LOAD_COUNT@@ array, F32, @OFF
custom pedal_to_tps_t @@PEDAL_TO_TPS_SIZE@@x@@PEDAL_TO_TPS_SIZE@@ array, U08, @OFFSET@, [@@PEDAL_TO_TPS_SIZE@@x@@PEDAL_TO_TPS_SIZE@@],"deg", 1, 0, -720, 720, 2
custom iac_pid_mult_t @@IAC_PID_MULT_SIZE@@x@@IAC_PID_MULT_SIZE@@ array, U08, @OFFSET@, [@@IAC_PID_MULT_SIZE@@x@@IAC_PID_MULT_SIZE@@],"%", 1, 0, 0, 999, 2
custom boost_table_t @@BOOST_RPM_COUNT@@x@@BOOST_LOAD_COUNT@@ array, U08, @OFFSET@, [@@BOOST_RPM_COUNT@@x@@BOOST_LOAD_COUNT@@],"", @@LOAD_1_BYTE_PACKING_MULT@@, 0 , 0, 3000, 0
struct pid_s
float pFactor;;"", 1, 0, -10000, 10000, 4
float iFactor;;"", 1, 0, -10000, 10000, 4
@ -184,7 +187,7 @@ float baseFuel;+Base duration of the fuel injection during cranking, this is mod
int16_t rpm;+This sets the RPM limit below which the ECU will use cranking fuel and ignition logic, typically this is around 350-450rpm. \nset cranking_rpm X;"RPM", 1, 0, 0, 3000, 0
end_struct
#define debug_mode_e_enum "Alternator PID", "TPS acceleration enrichment", "INVALID", "Idle Control", "Engine Load accl enrich", "Trigger Counters", "FSIO_ADC", "AUX_PID_1", "VVT input", "Cranking", "Timing", "Closed-loop fuel corr PID", "VSS", "SD card", "sr5", "Knock", "Trigger Sync", "Electronic Throttle", "Executor", "Bench Test / TS commands", "Aux Valves", "Analog inputs #1", "INSTANT_RPM", "FSIO_EXPRESSION", "Status", "CJ125", "CAN", "MAP", "Metrics", "ETB#2", "Ion Sense", "TLE8888", "Analog inputs #2", "Dwell Metric", "Aux Temperature", "ETB Logic"
#define debug_mode_e_enum "Alternator PID", "TPS acceleration enrichment", "INVALID", "Idle Control", "Engine Load accl enrich", "Trigger Counters", "FSIO_ADC", "AUX_PID_1", "VVT input", "Cranking", "Timing", "Closed-loop fuel corr PID", "VSS", "SD card", "sr5", "Knock", "Trigger Sync", "Electronic Throttle", "Executor", "Bench Test / TS commands", "Aux Valves", "Analog inputs #1", "INSTANT_RPM", "FSIO_EXPRESSION", "Status", "CJ125", "CAN", "MAP", "Metrics", "ETB#2", "Ion Sense", "TLE8888", "Analog inputs #2", "Dwell Metric", "Aux Temperature", "ETB Logic", "Boost Control"
custom debug_mode_e 4 bits, U32, @OFFSET@, [0:7], @@debug_mode_e_enum@@
#define vvt_mode_e_enum "First half", "Second half", "2GZ", "Miata NB2", "mode4", "mode5", "mode6", "mode7"
@ -737,8 +740,18 @@ custom maf_sensor_type_e 4 bits, S32, @OFFSET@, [0:7], @@maf_sensor_type_e_enum@
bit todoClutchUpPinInverted
bit todoClutchDownPinInverted
etb_io[ETB_COUNT iterate] etbIo
! our strategy is to get rid of "boardConfiguration" and make everything just "engineConfiguration". Please do not add new fields into legacy "bc" area.
int[119] unusedAtOldBoardConfigurationEnd;
output_pin_e boostControlPin;
pin_output_mode_e boostControlPinMode;
uint8_t[2] unusedSpace;
pid_s boostPid;
custom boostType_e 4 bits, U32, @OFFSET@, [0:0], "Open Loop", "Closed Loop"
boostType_e boostType;
int boostPwmFrequency;;"Hz", 1, 0, 0, 3000.0, 0
int[111] unusedAtOldBoardConfigurationEnd;
bit vvtDisplayInverted
bit fuelClosedLoopCorrectionEnabled;+Enables lambda sensor closed loop feedback for fuelling.
@ -804,7 +817,7 @@ bit useAdvanceCorrectionsForCranking;+This enables the various ignition correcti
bit useTPSAdvanceTable;+This flag allows to use TPS for ignition lookup while in Speed Density Fuel Mode
bit etbCalibrationOnStart
bit useIacPidMultTable;+This flag allows to use a special 'PID Multiplier' table (0.0-1.0) to compensate for nonlinear nature of IAC-RPM controller
bit unused_1484_bit_22
bit isBoostControlEnabled;
bit unused_1484_bit_23
bit unused_1484_bit_24
bit unused_1484_bit_25
@ -1117,13 +1130,20 @@ uint8_t[4] unusuedsw;
uint8_t[IAC_PID_MULT_SIZE] iacPidMultLoadBins;;"Load", 1, 0.0, 0, 500.0, 2
uint8_t[IAC_PID_MULT_SIZE] iacPidMultRpmBins;;"RPM", @@RPM_1_BYTE_PACKING_MULT@@, 0, 0.0, 12000.0, 0
int[565] mainUnusedEnd;
int[527] mainUnusedEnd;
! end of engine_configuration_s
end_struct
engine_configuration_s engineConfiguration;
boost_table_t boostTableOpenLoop;
uint8_t[BOOST_LOAD_COUNT] boostMapBins;;"", @@LOAD_1_BYTE_PACKING_MULT@@, 0, 0, 600.0, 1
uint8_t[BOOST_RPM_COUNT] boostRpmBins;;"RPM", @@RPM_1_BYTE_PACKING_MULT@@, 0, 0.0, 12000.0, 0
boost_table_t boostTableClosedLoop;
uint8_t[BOOST_LOAD_COUNT] boostTpsBins;;"%", @@TPS_1_BYTE_PACKING_MULT@@, 0.0, 0, 100.0, 2
pedal_to_tps_t pedalToTpsTable;
uint8_t[PEDAL_TO_TPS_SIZE] pedalToTpsPedalBins;;"%", 1, 0, 0.0, 120.0, 0
! it's not serious to use one byte for RPM but let me try that just to try it

View File

@ -158,6 +158,8 @@ typedef Map3D<IGN_RPM_COUNT, IGN_TPS_COUNT, int16_t, float> ign_tps_Map3D_t;
typedef Map3D<FUEL_RPM_COUNT, FUEL_LOAD_COUNT, float, float> fuel_Map3D_t;
typedef Map3D<BARO_CORR_SIZE, BARO_CORR_SIZE, float, float> baroCorr_Map3D_t;
typedef Map3D<PEDAL_TO_TPS_SIZE, PEDAL_TO_TPS_SIZE, uint8_t, uint8_t> pedal2tps_t;
typedef Map3D<BOOST_RPM_COUNT, BOOST_LOAD_COUNT, uint8_t, uint8_t> boostOpenLoop_Map3D_t;
typedef Map3D<BOOST_RPM_COUNT, BOOST_LOAD_COUNT, uint8_t, uint8_t> boostClosedLoop_Map3D_t;
typedef Map3D<IAC_PID_MULT_SIZE, IAC_PID_MULT_SIZE, uint8_t, uint8_t> iacPidMultiplier_t;
void setRpmBin(float array[], int size, float idleRpm, float topRpm);

View File

@ -1,6 +1,6 @@
package com.rusefi.config.generated;
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Sun Jan 12 05:13:41 EST 2020
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Fri Jan 31 14:18:54 EST 2020
// by class com.rusefi.output.FileJavaFieldsConsumer
import com.rusefi.config.*;
@ -166,8 +166,28 @@ public class Fields {
public static final int biQuad_b2_offset = 2348;
public static final int biQuad_offset = 2332;
public static final int BLOCKING_FACTOR = 400;
public static final int BOOST_LOAD_COUNT = 8;
public static final int BOOST_RPM_COUNT = 8;
public static final int boostControlPin_offset = 988;
public static final int boostControlPinMode_offset = 989;
public static final int boostCutPressure_offset = 2132;
public static final int boostCutPressure_offset_hex = 854;
public static final int boostMapBins_offset = 6312;
public static final int boostPid_dFactor_offset = 1000;
public static final int boostPid_iFactor_offset = 996;
public static final int boostPid_maxValue_offset = 1010;
public static final int boostPid_minValue_offset = 1008;
public static final int boostPid_offset = 992;
public static final int boostPid_offset_offset = 1004;
public static final int boostPid_periodMs_offset = 1006;
public static final int boostPid_pFactor_offset = 992;
public static final int boostPwmFrequency_offset = 1016;
public static final int boostRpmBins_offset = 6320;
public static final int boostTableClosedLoop_offset = 6328;
public static final int boostTableOpenLoop_offset = 6248;
public static final int boostTableOpenLoop_offset_hex = 1868;
public static final int boostTpsBins_offset = 6392;
public static final int boostType_offset = 1012;
public static final int brakePedalPin_offset = 2608;
public static final int brakePedalPinMode_offset = 2611;
public static final int byFirmwareVersion_offset = 500;
@ -860,6 +880,7 @@ public class Fields {
public static final int is_enabled_spi_3_offset = 744;
public static final int is_enabled_spi_4_offset = 744;
public static final int isAlternatorControlEnabled_offset = 1464;
public static final int isBoostControlEnabled_offset = 1476;
public static final int isCJ125Enabled_offset = 744;
public static final int isCylinderCleanupEnabled_offset = 1476;
public static final int isEngineChartEnabled_offset = 1464;
@ -919,6 +940,7 @@ public class Fields {
public static final int LDS_TRIGGER_STATE_STATE_INDEX = 11;
public static final int LE_COMMAND_LENGTH = 200;
public static final int LIS302DLCsPin_offset = 2043;
public static final int LOAD_1_BYTE_PACKING_MULT = 2;
public static final int logFormat_offset = 496;
public static final int LOGIC_ANALYZER_CHANNEL_COUNT = 4;
public static final int logicAnalyzerMode_offset = 756;
@ -1200,6 +1222,7 @@ public class Fields {
public static final int tps2_2AdcChannel_offset = 682;
public static final int tps2Max_offset = 1770;
public static final int tps2Min_offset = 1768;
public static final int TPS_1_BYTE_PACKING_MULT = 2;
public static final int TPS_TPS_ACCEL_TABLE = 8;
public static final int tpsAccelEnrichmentThreshold_offset = 2048;
public static final int tpsAccelEnrichmentThreshold_offset_hex = 800;
@ -1319,7 +1342,6 @@ public class Fields {
public static final int unrealisticRpmThreashold_offset = 760;
public static final int unused1059_offset = 3964;
public static final int unused1234234_offset = 2042;
public static final int unused_1484_bit_22_offset = 1476;
public static final int unused_1484_bit_23_offset = 1476;
public static final int unused_1484_bit_24_offset = 1476;
public static final int unused_1484_bit_25_offset = 1476;
@ -1333,7 +1355,7 @@ public class Fields {
public static final int unused_former_warmup_target_afr_offset_hex = 830;
public static final int unused_offset = 972;
public static final int unusedAnotherOne_offset = 744;
public static final int unusedAtOldBoardConfigurationEnd_offset = 988;
public static final int unusedAtOldBoardConfigurationEnd_offset = 1020;
public static final int unusedBit4_1476_offset = 1476;
public static final int unusedBit_249_10_offset = 976;
public static final int unusedBit_249_11_offset = 976;
@ -1371,6 +1393,7 @@ public class Fields {
public static final int unusedFormerWarmupAfrPid_offset = 1772;
public static final int unusedHereo_wires_offset = 76;
public static final int unusedOldWarmupAfr_offset = 744;
public static final int unusedSpace_offset = 990;
public static final int unusedSpiPadding4_offset = 2593;
public static final int unusedSpiPadding5_offset = 2713;
public static final int unusedSpiPadding7_offset = 4005;
@ -1919,6 +1942,17 @@ public class Fields {
public static final Field ETBIO2_DIRECTIONPIN2 = Field.create("ETBIO2_DIRECTIONPIN2", 985, FieldType.INT8, brain_pin_e);
public static final Field ETBIO2_CONTROLPIN1 = Field.create("ETBIO2_CONTROLPIN1", 986, FieldType.INT8, brain_pin_e);
public static final Field ETBIO2_CONTROLPINMODE = Field.create("ETBIO2_CONTROLPINMODE", 987, FieldType.INT8, pin_output_mode_e);
public static final Field BOOSTCONTROLPIN = Field.create("BOOSTCONTROLPIN", 988, FieldType.INT8, output_pin_e);
public static final Field BOOSTCONTROLPINMODE = Field.create("BOOSTCONTROLPINMODE", 989, FieldType.INT8, pin_output_mode_e);
public static final Field BOOSTPID_PFACTOR = Field.create("BOOSTPID_PFACTOR", 992, FieldType.FLOAT);
public static final Field BOOSTPID_IFACTOR = Field.create("BOOSTPID_IFACTOR", 996, FieldType.FLOAT);
public static final Field BOOSTPID_DFACTOR = Field.create("BOOSTPID_DFACTOR", 1000, FieldType.FLOAT);
public static final Field BOOSTPID_OFFSET = Field.create("BOOSTPID_OFFSET", 1004, FieldType.INT16);
public static final Field BOOSTPID_PERIODMS = Field.create("BOOSTPID_PERIODMS", 1006, FieldType.INT16);
public static final Field BOOSTPID_MINVALUE = Field.create("BOOSTPID_MINVALUE", 1008, FieldType.INT16);
public static final Field BOOSTPID_MAXVALUE = Field.create("BOOSTPID_MAXVALUE", 1010, FieldType.INT16);
public static final Field BOOSTTYPE = Field.create("BOOSTTYPE", 1012, FieldType.INT);
public static final Field BOOSTPWMFREQUENCY = Field.create("BOOSTPWMFREQUENCY", 1016, FieldType.INT);
public static final Field VVTDISPLAYINVERTED = Field.create("VVTDISPLAYINVERTED", 1464, FieldType.BIT, 0);
public static final Field FUELCLOSEDLOOPCORRECTIONENABLED = Field.create("FUELCLOSEDLOOPCORRECTIONENABLED", 1464, FieldType.BIT, 1);
public static final Field ISVERBOSEIAC = Field.create("ISVERBOSEIAC", 1464, FieldType.BIT, 2);
@ -1978,7 +2012,7 @@ public class Fields {
public static final Field USETPSADVANCETABLE = Field.create("USETPSADVANCETABLE", 1476, FieldType.BIT, 19);
public static final Field ETBCALIBRATIONONSTART = Field.create("ETBCALIBRATIONONSTART", 1476, FieldType.BIT, 20);
public static final Field USEIACPIDMULTTABLE = Field.create("USEIACPIDMULTTABLE", 1476, FieldType.BIT, 21);
public static final Field UNUSED_1484_BIT_22 = Field.create("UNUSED_1484_BIT_22", 1476, FieldType.BIT, 22);
public static final Field ISBOOSTCONTROLENABLED = Field.create("ISBOOSTCONTROLENABLED", 1476, FieldType.BIT, 22);
public static final Field UNUSED_1484_BIT_23 = Field.create("UNUSED_1484_BIT_23", 1476, FieldType.BIT, 23);
public static final Field UNUSED_1484_BIT_24 = Field.create("UNUSED_1484_BIT_24", 1476, FieldType.BIT, 24);
public static final Field UNUSED_1484_BIT_25 = Field.create("UNUSED_1484_BIT_25", 1476, FieldType.BIT, 25);
@ -2087,7 +2121,7 @@ public class Fields {
public static final Field TPSDECELENLEANMENTTHRESHOLD = Field.create("TPSDECELENLEANMENTTHRESHOLD", 2080, FieldType.FLOAT);
public static final Field TPSDECELENLEANMENTMULTIPLIER = Field.create("TPSDECELENLEANMENTMULTIPLIER", 2084, FieldType.FLOAT);
public static final Field SLOWADCALPHA = Field.create("SLOWADCALPHA", 2088, FieldType.FLOAT);
public static final String[] debug_mode_e = {"Alternator PID", "TPS acceleration enrichment", "INVALID", "Idle Control", "Engine Load accl enrich", "Trigger Counters", "FSIO_ADC", "AUX_PID_1", "VVT input", "Cranking", "Timing", "Closed-loop fuel corr PID", "VSS", "SD card", "sr5", "Knock", "Trigger Sync", "Electronic Throttle", "Executor", "Bench Test / TS commands", "Aux Valves", "Analog inputs #1", "INSTANT_RPM", "FSIO_EXPRESSION", "Status", "CJ125", "CAN", "MAP", "Metrics", "ETB#2", "Ion Sense", "TLE8888", "Analog inputs #2", "Dwell Metric", "Aux Temperature", "ETB Logic"};
public static final String[] debug_mode_e = {"Alternator PID", "TPS acceleration enrichment", "INVALID", "Idle Control", "Engine Load accl enrich", "Trigger Counters", "FSIO_ADC", "AUX_PID_1", "VVT input", "Cranking", "Timing", "Closed-loop fuel corr PID", "VSS", "SD card", "sr5", "Knock", "Trigger Sync", "Electronic Throttle", "Executor", "Bench Test / TS commands", "Aux Valves", "Analog inputs #1", "INSTANT_RPM", "FSIO_EXPRESSION", "Status", "CJ125", "CAN", "MAP", "Metrics", "ETB#2", "Ion Sense", "TLE8888", "Analog inputs #2", "Dwell Metric", "Aux Temperature", "ETB Logic", "Boost Control"};
public static final Field DEBUGMODE = Field.create("DEBUGMODE", 2092, FieldType.INT, debug_mode_e);
public static final Field BOOSTCUTPRESSURE = Field.create("BOOSTCUTPRESSURE", 2132, FieldType.FLOAT);
public static final Field FSIOADC1 = Field.create("FSIOADC1", 2200, FieldType.INT8, adc_channel_e);
@ -2291,6 +2325,8 @@ public class Fields {
public static final Field IDLERPMPID2_MINVALUE = Field.create("IDLERPMPID2_MINVALUE", 4056, FieldType.INT16);
public static final Field IDLERPMPID2_MAXVALUE = Field.create("IDLERPMPID2_MAXVALUE", 4058, FieldType.INT16);
public static final Field IACPIDMULTTABLE = Field.create("IACPIDMULTTABLE", 4060, FieldType.INT);
public static final Field BOOSTTABLEOPENLOOP = Field.create("BOOSTTABLEOPENLOOP", 6248, FieldType.INT);
public static final Field BOOSTTABLECLOSEDLOOP = Field.create("BOOSTTABLECLOSEDLOOP", 6328, FieldType.INT);
public static final Field PEDALTOTPSTABLE = Field.create("PEDALTOTPSTABLE", 6400, FieldType.INT);
public static final Field FSIOFORMULAS1 = Field.create("FSIOFORMULAS1", 6672, FieldType.INT);
public static final Field FSIOFORMULAS2 = Field.create("FSIOFORMULAS2", 6872, FieldType.INT);
@ -2789,6 +2825,17 @@ public class Fields {
ETBIO2_DIRECTIONPIN2,
ETBIO2_CONTROLPIN1,
ETBIO2_CONTROLPINMODE,
BOOSTCONTROLPIN,
BOOSTCONTROLPINMODE,
BOOSTPID_PFACTOR,
BOOSTPID_IFACTOR,
BOOSTPID_DFACTOR,
BOOSTPID_OFFSET,
BOOSTPID_PERIODMS,
BOOSTPID_MINVALUE,
BOOSTPID_MAXVALUE,
BOOSTTYPE,
BOOSTPWMFREQUENCY,
VVTDISPLAYINVERTED,
FUELCLOSEDLOOPCORRECTIONENABLED,
ISVERBOSEIAC,
@ -2848,7 +2895,7 @@ public class Fields {
USETPSADVANCETABLE,
ETBCALIBRATIONONSTART,
USEIACPIDMULTTABLE,
UNUSED_1484_BIT_22,
ISBOOSTCONTROLENABLED,
UNUSED_1484_BIT_23,
UNUSED_1484_BIT_24,
UNUSED_1484_BIT_25,
@ -3156,6 +3203,8 @@ public class Fields {
IDLERPMPID2_MINVALUE,
IDLERPMPID2_MAXVALUE,
IACPIDMULTTABLE,
BOOSTTABLEOPENLOOP,
BOOSTTABLECLOSEDLOOP,
PEDALTOTPSTABLE,
FSIOFORMULAS1,
FSIOFORMULAS2,