parent
a56c8320b7
commit
8f432dc88b
|
@ -300,6 +300,9 @@ void executeTSCommand(uint16_t subsystem, uint16_t index) {
|
|||
setEngineType(DEFAULT_ENGINE_TYPE);
|
||||
} else if (subsystem == 0x79) {
|
||||
scheduleStopEngine();
|
||||
} else if (subsystem == 0xba) {
|
||||
// todo: this does not work yet
|
||||
// DFU mode
|
||||
} else if (subsystem == 0xbb) {
|
||||
#if EFI_PROD_CODE
|
||||
rebootNow();
|
||||
|
|
|
@ -82,7 +82,7 @@ enable2ndByteCanID = false
|
|||
|
||||
; see PAGE_0_SIZE in C source code
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Mon Jul 22 17:38:10 EDT 2019
|
||||
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Thu Jul 25 17:58:47 EDT 2019
|
||||
|
||||
pageSize = 20000
|
||||
page = 1
|
||||
|
@ -2287,7 +2287,10 @@ cmd_test_idle_valve = "w\x00\x17\x00\x01"
|
|||
cmd_call_from_pit = "w\x00\x20\x34\x56"
|
||||
cmd_stop_engine = "w\x00\x79\x00\x00"
|
||||
|
||||
; reboot ECU
|
||||
cmd_reset_controller = "w\x00\xbb\x00\x00"
|
||||
; jump to DFU mode
|
||||
cmd_dfu = "w\x00\xba\x00\x00"
|
||||
|
||||
; See 'executeTSCommand' in firmware source code
|
||||
; MIATA_NA6_MAP = 41
|
||||
|
@ -3473,6 +3476,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
|||
commandButton = "Idle Air Valve", cmd_test_idle_valve
|
||||
commandButton = "Stop Engine", cmd_stop_engine
|
||||
commandButton = "Reset ECU", cmd_reset_controller
|
||||
commandButton = "Reset to DFU", cmd_dfu
|
||||
|
||||
; bench test
|
||||
dialog = ioTest, "Bench Test & Commands", border
|
||||
|
|
|
@ -1309,7 +1309,10 @@ cmd_test_idle_valve = "w\x00\x17\x00\x01"
|
|||
cmd_call_from_pit = "w\x00\x20\x34\x56"
|
||||
cmd_stop_engine = "w\x00\x79\x00\x00"
|
||||
|
||||
; reboot ECU
|
||||
cmd_reset_controller = "w\x00\xbb\x00\x00"
|
||||
; jump to DFU mode
|
||||
cmd_dfu = "w\x00\xba\x00\x00"
|
||||
|
||||
; See 'executeTSCommand' in firmware source code
|
||||
; MIATA_NA6_MAP = 41
|
||||
|
@ -2495,6 +2498,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
|||
commandButton = "Idle Air Valve", cmd_test_idle_valve
|
||||
commandButton = "Stop Engine", cmd_stop_engine
|
||||
commandButton = "Reset ECU", cmd_reset_controller
|
||||
commandButton = "Reset to DFU", cmd_dfu
|
||||
|
||||
; bench test
|
||||
dialog = ioTest, "Bench Test & Commands", border
|
||||
|
|
|
@ -82,7 +82,7 @@ enable2ndByteCanID = false
|
|||
|
||||
; see PAGE_0_SIZE in C source code
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Mon Jul 22 17:38:15 EDT 2019
|
||||
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Thu Jul 25 17:58:52 EDT 2019
|
||||
|
||||
pageSize = 20000
|
||||
page = 1
|
||||
|
@ -2287,7 +2287,10 @@ cmd_test_idle_valve = "w\x00\x17\x00\x01"
|
|||
cmd_call_from_pit = "w\x00\x20\x34\x56"
|
||||
cmd_stop_engine = "w\x00\x79\x00\x00"
|
||||
|
||||
; reboot ECU
|
||||
cmd_reset_controller = "w\x00\xbb\x00\x00"
|
||||
; jump to DFU mode
|
||||
cmd_dfu = "w\x00\xba\x00\x00"
|
||||
|
||||
; See 'executeTSCommand' in firmware source code
|
||||
; MIATA_NA6_MAP = 41
|
||||
|
@ -3473,6 +3476,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
|||
commandButton = "Idle Air Valve", cmd_test_idle_valve
|
||||
commandButton = "Stop Engine", cmd_stop_engine
|
||||
commandButton = "Reset ECU", cmd_reset_controller
|
||||
commandButton = "Reset to DFU", cmd_dfu
|
||||
|
||||
; bench test
|
||||
dialog = ioTest, "Bench Test & Commands", border
|
||||
|
|
|
@ -82,7 +82,7 @@ enable2ndByteCanID = false
|
|||
|
||||
; see PAGE_0_SIZE in C source code
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Mon Jul 22 17:38:13 EDT 2019
|
||||
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Thu Jul 25 17:58:50 EDT 2019
|
||||
|
||||
pageSize = 20000
|
||||
page = 1
|
||||
|
@ -2280,7 +2280,10 @@ cmd_test_idle_valve = "w\x00\x17\x00\x01"
|
|||
cmd_call_from_pit = "w\x00\x20\x34\x56"
|
||||
cmd_stop_engine = "w\x00\x79\x00\x00"
|
||||
|
||||
; reboot ECU
|
||||
cmd_reset_controller = "w\x00\xbb\x00\x00"
|
||||
; jump to DFU mode
|
||||
cmd_dfu = "w\x00\xba\x00\x00"
|
||||
|
||||
; See 'executeTSCommand' in firmware source code
|
||||
; MIATA_NA6_MAP = 41
|
||||
|
@ -3457,6 +3460,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
|||
commandButton = "Idle Air Valve", cmd_test_idle_valve
|
||||
commandButton = "Stop Engine", cmd_stop_engine
|
||||
commandButton = "Reset ECU", cmd_reset_controller
|
||||
commandButton = "Reset to DFU", cmd_dfu
|
||||
|
||||
; bench test
|
||||
dialog = ioTest, "Bench Test & Commands", border
|
||||
|
|
|
@ -82,7 +82,7 @@ enable2ndByteCanID = false
|
|||
|
||||
; see PAGE_0_SIZE in C source code
|
||||
; CONFIG_DEFINITION_START
|
||||
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Mon Jul 22 17:38:18 EDT 2019
|
||||
; this section was generated automatically by rusEfi tool ConfigDefinition.jar based on integration\rusefi_config.txt Thu Jul 25 17:58:54 EDT 2019
|
||||
|
||||
pageSize = 20000
|
||||
page = 1
|
||||
|
@ -2283,7 +2283,10 @@ cmd_test_idle_valve = "w\x00\x17\x00\x01"
|
|||
cmd_call_from_pit = "w\x00\x20\x34\x56"
|
||||
cmd_stop_engine = "w\x00\x79\x00\x00"
|
||||
|
||||
; reboot ECU
|
||||
cmd_reset_controller = "w\x00\xbb\x00\x00"
|
||||
; jump to DFU mode
|
||||
cmd_dfu = "w\x00\xba\x00\x00"
|
||||
|
||||
; See 'executeTSCommand' in firmware source code
|
||||
; MIATA_NA6_MAP = 41
|
||||
|
@ -3469,6 +3472,7 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00"
|
|||
commandButton = "Idle Air Valve", cmd_test_idle_valve
|
||||
commandButton = "Stop Engine", cmd_stop_engine
|
||||
commandButton = "Reset ECU", cmd_reset_controller
|
||||
commandButton = "Reset to DFU", cmd_dfu
|
||||
|
||||
; bench test
|
||||
dialog = ioTest, "Bench Test & Commands", border
|
||||
|
|
Loading…
Reference in New Issue