Manual:Software:dev console commands

From rusEfi
Jump to: navigation, search
This page is a translated version of the page Manual:Software:dev console commands and the translation is 100% complete.

Other languages:

General

CommandNumber of ParametersDescription
help0prints the list of supported commands
echo1just prints out the parameter - this is useful for troubleshooting connectivity
hello0 prints the version of firmware
tempinfo0 prints out some debug information on CLT and IAT sensors
tsinfo0 Prints TunerStudio communication summary
gpsinfo0Prints current GPS state
showconfig0Shows current configuration stored in the flash memory - that's where you can see your current fuel map etc.
readconfig0 read config from flash/EEPROM
writeconfig0Write config to flash (you only need this if you have used one of the 'setXXX' commands)
resetconfig0Resets configuration to default
fatal0 this command would cause the firmware to halt. I am not sure that you want to try this one :)
threadsinfo0 list of ChibiOS threads
date_get0 gets current real time clock?
date_set3
date_help0please try it
adcDebug1
adc1
fadc0
sdstat0 Prints a report of SD/MMC usage
mountsd0
appendToLog3
umountsd0 Un-mount SD/MMC card
ls3
i2c5
sfm5
fl1 Turns-off constant dev console data output. fl 1 would turn it back on. ('fl' stands for 'full logging')
status0
set_ignition_offset1
set_global_trigger_offset_angle1
set_analog_chart_mode1
set_engine_type1 Would change the configuration to the default Dodge Neon configuration.
You should reboot the firmware after changing engine type - hit the reset button or just power off/on the microcontroller.
set_rpm_multiplier: 1 parameters,
chartsize1
chart1
wm5
injector5
gfc1
faststat0
performance info0 Development:Software:performance#Event_handling
testmath1
rpm1 For example, rpm 1200 sets the RPM for build-in position sensor simulator


Board Control

set_injection_pin_mode: 1 parameters, For example, set_injection_pin_mode 1 Currently four modes are supported:

OM_DEFAULT = 0 (GND for logical OFF, VCC for logical ON) and OM_INVERTED = 1 (GND for logical ON, VCC for logical OFF)

OM_OPENDRAIN = 2 OM_OPENDRAIN_INVERTED = 3

set_ignition_pin_mode: 1 parameters,

set_idle_pin_mode: 1 parameters, For example, set_idle_pin_mode 1

set_fuel_pump_pin_mode: 1 parameters,

set_malfunction_indicator_pin_mode: 1 parameters,


Fuel Control

set_whole_fuel_map: 1 parameter: global value for the whole fuel map, in ms


set_fuel_map: 3 parameters For example set_fuel_map 2200 4 15.66 Set 15.66ms value for 2200 rpm @ engine load 4

set_cranking_fuel_min: 2 parameters For example set_cranking_fuel_min 20 0

Would mean that at and below 0C we should inject fuel for 20ms We need more fuel while engine cranking, current implementation uses linear interpolation based on two point - 'min temperature' point and 'max temperature' point. The temperatures are in C.

set_cranking_fuel_max: 2 parameters,

Timing Control

set_whole_timing_map: 1 parameter: global timing for the whole timing map

set_timing_map: 3 parameters For example et_timing_map 2200 4 360

set_fixed_mode_timing: 1 parameters,

set_timing_mode: 1 parameters,


I/O testing


CommandNumber of ParametersDescription
fuelpumpbench2for example, fuelpumpbench 100 1000
This command would turn on fuel pump for 100 ms after a 1000ms delay
fuelbench25for example, fuelbench2 1000 2 100 200 10
This command would send out a series of 10 on/off squirts out to injector #2, on time: 100ms, off time: 200ms, after a 1000ms delay
fuelbench3for example, fuelbench 100 200 10
This command would send out a series of 10 on/off squirts out to injector #1, on time: 100ms, off time: 200ms
fuelbench25for example, fuelbench2 1000 2 100 200 10
This command would send out a series of 10 on/off squirts out to injector #2, on time: 100ms, off time: 200ms, after a 1000ms delay
sparkbench3for example, sparkbench 100 200 10
This command would send out a series of 10 on/off squirts out to coil #1, on time: 100ms, off time: 200ms
sparkbench25for example, sparkbench2 1000 2 100 200 10
This command would send out a series of 10 on/off squirts out to coil #2, on time: 100ms, off time: 200ms, after a 1000ms delay