Console commands are broken fix #1671
This commit is contained in:
parent
2b06b4a0fc
commit
9d457aabae
|
@ -49,11 +49,11 @@ enable2ndByteCanID = false
|
|||
|
||||
|
||||
pageIdentifier = "\x00\x00"
|
||||
pageReadCommand = "R\x00\x00%2o%2c"
|
||||
burnCommand = "B\x00\x00"
|
||||
pageActivate = "P\x00\x00"
|
||||
pageValueWrite = "W\x00\x00%2o%v"
|
||||
pageChunkWrite = "C\x00\x00%2o%2c%v"
|
||||
pageReadCommand = "@@TS_READ_COMMAND_char@@\x00\x00%2o%2c"
|
||||
burnCommand = "@@TS_BURN_COMMAND_char@@\x00\x00"
|
||||
pageActivate = "@@TS_PAGE_COMMAND_char@@\x00\x00"
|
||||
pageValueWrite = "@@TS_SINGLE_WRITE_COMMAND_char@@\x00\x00%2o%v"
|
||||
pageChunkWrite = "@@TS_CHUNK_WRITE_COMMAND_char@@\x00\x00%2o%2c%v"
|
||||
; todo: make this command shorter one day, no need to have all these zeros
|
||||
crc32CheckCommand = "k\x00\x00\x00\x00\x00\x00"
|
||||
retrieveConfigError = "e"
|
||||
|
@ -1391,102 +1391,102 @@ menuDialog = main
|
|||
; see TS_IO_TEST_COMMAND in firmware code
|
||||
;
|
||||
|
||||
cmd_test_spk1 = "w\x00\x12\x00\x01"
|
||||
cmd_test_spk2 = "w\x00\x12\x00\x02"
|
||||
cmd_test_spk3 = "w\x00\x12\x00\x03"
|
||||
cmd_test_spk4 = "w\x00\x12\x00\x04"
|
||||
cmd_test_spk5 = "w\x00\x12\x00\x05"
|
||||
cmd_test_spk6 = "w\x00\x12\x00\x06"
|
||||
cmd_test_spk7 = "w\x00\x12\x00\x07"
|
||||
cmd_test_spk8 = "w\x00\x12\x00\x08"
|
||||
cmd_test_spk9 = "w\x00\x12\x00\x09"
|
||||
cmd_test_spk10 = "w\x00\x12\x00\x0a"
|
||||
cmd_test_spk11 = "w\x00\x12\x00\x0b"
|
||||
cmd_test_spk12 = "w\x00\x12\x00\x0c"
|
||||
cmd_test_spk13 = "w\x00\x12\x00\x0d"
|
||||
cmd_test_spk14 = "w\x00\x12\x00\x0e"
|
||||
cmd_test_spk15 = "w\x00\x12\x00\x0f"
|
||||
cmd_test_spk16 = "w\x00\x12\x00\x10"
|
||||
cmd_test_spk1 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x01"
|
||||
cmd_test_spk2 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x02"
|
||||
cmd_test_spk3 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x03"
|
||||
cmd_test_spk4 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x04"
|
||||
cmd_test_spk5 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x05"
|
||||
cmd_test_spk6 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x06"
|
||||
cmd_test_spk7 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x07"
|
||||
cmd_test_spk8 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x08"
|
||||
cmd_test_spk9 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x09"
|
||||
cmd_test_spk10 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x0a"
|
||||
cmd_test_spk11 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x0b"
|
||||
cmd_test_spk12 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x0c"
|
||||
cmd_test_spk13 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x0d"
|
||||
cmd_test_spk14 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x0e"
|
||||
cmd_test_spk15 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x0f"
|
||||
cmd_test_spk16 = "@@TS_IO_TEST_COMMAND_char@@\x00\x12\x00\x10"
|
||||
|
||||
|
||||
cmd_test_inj1 = "w\x00\x13\x00\x01"
|
||||
cmd_test_inj2 = "w\x00\x13\x00\x02"
|
||||
cmd_test_inj3 = "w\x00\x13\x00\x03"
|
||||
cmd_test_inj4 = "w\x00\x13\x00\x04"
|
||||
cmd_test_inj5 = "w\x00\x13\x00\x05"
|
||||
cmd_test_inj6 = "w\x00\x13\x00\x06"
|
||||
cmd_test_inj7 = "w\x00\x13\x00\x07"
|
||||
cmd_test_inj8 = "w\x00\x13\x00\x08"
|
||||
cmd_test_inj9 = "w\x00\x13\x00\x09"
|
||||
cmd_test_inj10 = "w\x00\x13\x00\x0a"
|
||||
cmd_test_inj11 = "w\x00\x13\x00\x0b"
|
||||
cmd_test_inj12 = "w\x00\x13\x00\x0c"
|
||||
cmd_test_inj13 = "w\x00\x13\x00\x0d"
|
||||
cmd_test_inj14 = "w\x00\x13\x00\x0e"
|
||||
cmd_test_inj15 = "w\x00\x13\x00\x0f"
|
||||
cmd_test_inj16 = "w\x00\x13\x00\x10"
|
||||
cmd_test_inj1 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x01"
|
||||
cmd_test_inj2 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x02"
|
||||
cmd_test_inj3 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x03"
|
||||
cmd_test_inj4 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x04"
|
||||
cmd_test_inj5 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x05"
|
||||
cmd_test_inj6 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x06"
|
||||
cmd_test_inj7 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x07"
|
||||
cmd_test_inj8 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x08"
|
||||
cmd_test_inj9 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x09"
|
||||
cmd_test_inj10 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x0a"
|
||||
cmd_test_inj11 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x0b"
|
||||
cmd_test_inj12 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x0c"
|
||||
cmd_test_inj13 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x0d"
|
||||
cmd_test_inj14 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x0e"
|
||||
cmd_test_inj15 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x0f"
|
||||
cmd_test_inj16 = "@@TS_IO_TEST_COMMAND_char@@\x00\x13\x00\x10"
|
||||
|
||||
cmd_test_fuel_pump = "w\x00\x14\x00\x01"
|
||||
cmd_calibrate_tps_1_closed = "w\x00\x14\x00\x02"
|
||||
cmd_calibrate_tps_1_wot = "w\x00\x14\x00\x03"
|
||||
cmd_calibrate_tps_2_closed = "w\x00\x14\x00\x04"
|
||||
cmd_calibrate_tps_2_wot = "w\x00\x14\x00\x05"
|
||||
cmd_calibrate_pedal_up = "w\x00\x14\x00\x06"
|
||||
cmd_calibrate_pedal_down = "w\x00\x14\x00\x07"
|
||||
cmd_tle8888_init = "w\x00\x14\x00\x08"
|
||||
cmd_test_ac_relay = "w\x00\x14\x00\x09"
|
||||
cmd_write_config = "w\x00\x14\x00\x0A"
|
||||
cmd_test_starter_relay = "w\x00\x14\x00\x0B"
|
||||
cmd_etb_autotune = "w\x00\x14\x00\x0C"
|
||||
cmd_enable_self_stim = "w\x00\x14\x00\x0D"
|
||||
cmb_etb_auto_calibrate = "w\x00\x14\x00\x0E"
|
||||
cmd_disable_self_stim = "w\x00\x14\x00\x0F"
|
||||
cmd_etb_autotune_stop = "w\x00\x14\x00\x10"
|
||||
cmd_test_fuel_pump = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x01"
|
||||
cmd_calibrate_tps_1_closed = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x02"
|
||||
cmd_calibrate_tps_1_wot = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x03"
|
||||
cmd_calibrate_tps_2_closed = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x04"
|
||||
cmd_calibrate_tps_2_wot = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x05"
|
||||
cmd_calibrate_pedal_up = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x06"
|
||||
cmd_calibrate_pedal_down = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x07"
|
||||
cmd_tle8888_init = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x08"
|
||||
cmd_test_ac_relay = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x09"
|
||||
cmd_write_config = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x0A"
|
||||
cmd_test_starter_relay = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x0B"
|
||||
cmd_etb_autotune = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x0C"
|
||||
cmd_enable_self_stim = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x0D"
|
||||
cmb_etb_auto_calibrate = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x0E"
|
||||
cmd_disable_self_stim = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x0F"
|
||||
cmd_etb_autotune_stop = "@@TS_IO_TEST_COMMAND_char@@\x00\x14\x00\x10"
|
||||
|
||||
cmd_test_radiator_fan = "w\x00\x15\x00\x01"
|
||||
cmd_test_check_engine_light = "w\x00\x16\x00\x01"
|
||||
cmd_test_idle_valve = "w\x00\x17\x00\x01"
|
||||
cmd_cj125_calibrate = "w\x00\x18\x00\x00"
|
||||
cmd_call_from_pit = "w\x00\x20\x34\x56"
|
||||
cmd_stop_engine = "w\x00\x79\x00\x00"
|
||||
cmd_test_radiator_fan = "@@TS_IO_TEST_COMMAND_char@@\x00\x15\x00\x01"
|
||||
cmd_test_check_engine_light = "@@TS_IO_TEST_COMMAND_char@@\x00\x16\x00\x01"
|
||||
cmd_test_idle_valve = "@@TS_IO_TEST_COMMAND_char@@\x00\x17\x00\x01"
|
||||
cmd_cj125_calibrate = "@@TS_IO_TEST_COMMAND_char@@\x00\x18\x00\x00"
|
||||
cmd_call_from_pit = "@@TS_IO_TEST_COMMAND_char@@\x00\x20\x34\x56"
|
||||
cmd_stop_engine = "@@TS_IO_TEST_COMMAND_char@@\x00\x79\x00\x00"
|
||||
|
||||
; reboot ECU
|
||||
cmd_reset_controller = "w\x00\xbb\x00\x00"
|
||||
cmd_reset_controller = "@@TS_IO_TEST_COMMAND_char@@\x00\xbb\x00\x00"
|
||||
; jump to DFU mode
|
||||
cmd_dfu = "w\x00\xba\x00\x00"
|
||||
cmd_dfu = "@@TS_IO_TEST_COMMAND_char@@\x00\xba\x00\x00"
|
||||
|
||||
; See 'executeTSCommand' in firmware source code
|
||||
|
||||
|
||||
; MRE_MIATA_NB2_MAP = 11
|
||||
cmd_set_engine_type_microRusEFI_Miata_NB2_MAP = "w\x00\x30@@ET_MRE_MIATA_NB2_MAP_16_hex@@"
|
||||
cmd_set_engine_type_microRusEFI_Miata_NB2_MAP = "@@TS_IO_TEST_COMMAND_char@@\x00\x30@@ET_MRE_MIATA_NB2_MAP_16_hex@@"
|
||||
|
||||
; MRE_MIATA_NA6 12
|
||||
cmd_set_engine_type_microRusEFI_Miata_NA6_VAF = "w\x00\x30@@ET_MRE_MIATA_NA6_VAF_16_hex@@"
|
||||
cmd_set_engine_type_microRusEFI_Miata_NA6_VAF = "@@TS_IO_TEST_COMMAND_char@@\x00\x30@@ET_MRE_MIATA_NA6_VAF_16_hex@@"
|
||||
|
||||
cmd_set_engine_type_microRusEFI_Miata_NA6_MAP = "w\x00\x30@@ET_MRE_MIATA_NA6_MAP_16_hex@@"
|
||||
cmd_set_engine_type_microRusEFI_Miata_NA6_MAP = "@@TS_IO_TEST_COMMAND_char@@\x00\x30@@ET_MRE_MIATA_NA6_MAP_16_hex@@"
|
||||
|
||||
|
||||
; MRE_MIATA_NB2_MAF = 15
|
||||
cmd_set_engine_type_microRusEFI_Miata_NB2_MAF = "w\x00\x30@@ET_MRE_MIATA_NB2_MAF_16_hex@@"
|
||||
cmd_set_engine_type_microRusEFI_Miata_NB2_MAF = "@@TS_IO_TEST_COMMAND_char@@\x00\x30@@ET_MRE_MIATA_NB2_MAF_16_hex@@"
|
||||
|
||||
cmd_set_engine_type_microRusEFI_Defaults = "w\x00\x30@@ET_MRE_DEFAULTS_16_hex@@"
|
||||
cmd_set_engine_type_microRusEFI_Defaults = "@@TS_IO_TEST_COMMAND_char@@\x00\x30@@ET_MRE_DEFAULTS_16_hex@@"
|
||||
|
||||
; MIATA_NA6_MAP = 41
|
||||
cmd_set_engine_type_Frankenso_Miata_NA6_MAP = "w\x00\x30@@ET_FRANKENSO_MIATA_NA6_16_hex@@"
|
||||
cmd_set_engine_type_Frankenso_Miata_NA6_MAP = "@@TS_IO_TEST_COMMAND_char@@\x00\x30@@ET_FRANKENSO_MIATA_NA6_16_hex@@"
|
||||
; MIATA_NA6_VAF = 57
|
||||
cmd_set_engine_type_Frankenso_Miata_NA6_VAF = "w\x00\x30@@ET_FRANKENSO_MIATA_NA6_VAF_16_hex@@"
|
||||
cmd_set_engine_type_Frankenso_Miata_NA6_VAF = "@@TS_IO_TEST_COMMAND_char@@\x00\x30@@ET_FRANKENSO_MIATA_NA6_VAF_16_hex@@"
|
||||
; MAZDA_MIATA_2003 = 47
|
||||
cmd_set_engine_type_Frankenso_Miata_NB2 = "w\x00\x30@@ET_FRANKENSO_MIATA_NB2_16_hex@@"
|
||||
cmd_set_engine_type_Frankenso_Miata_NB2 = "@@TS_IO_TEST_COMMAND_char@@\x00\x30@@ET_FRANKENSO_MIATA_NB2_16_hex@@"
|
||||
|
||||
cmd_set_engine_type_Proteus_M73 = "w\x00\x30@@ET_BMW_M73_PROTEUS_16_hex@@"
|
||||
cmd_set_engine_type_Proteus_M73 = "@@TS_IO_TEST_COMMAND_char@@\x00\x30@@ET_BMW_M73_PROTEUS_16_hex@@"
|
||||
|
||||
|
||||
; ETB_BENCH_ENGINE = 58
|
||||
cmd_set_engine_type_etb_test = "w\x00\x30\x00\x3A"
|
||||
cmd_set_engine_type_etb_test = "@@TS_IO_TEST_COMMAND_char@@\x00\x30\x00\x3A"
|
||||
; ETB_BENCH_ENGINE = 59
|
||||
cmd_set_engine_type_8888_test = "w\x00\x30\x00\x3B"
|
||||
cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
||||
cmd_set_engine_type_8888_test = "@@TS_IO_TEST_COMMAND_char@@\x00\x30\x00\x3B"
|
||||
cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00"
|
||||
|
||||
[UserDefined]
|
||||
dialog = tChargeRpmTpsSettings, "RPM+TPS Mode Settings"
|
||||
|
|
Loading…
Reference in New Issue