Manual:Software:dev console commands

From rusEfi
Revision as of 11:57, 3 June 2014 by Puff (talk | contribs) (General)
Jump to navigation Jump to search
Other languages:
English

General

CommandParametersDescription
help0 parametersprints the list of supported commands
echo1 parameterjust prints out the parameter - this is useful for troubleshooting connectivity
hello0 parameters prints the version of firmware
tempinfo0 parameters prints out some debug information on CLT and IAT sensors
tsinfo0 parametersPrints TunerStudio communication summary
gpsinfo0 parametersPrints current GPS state
showconfig0 parametersShows current configuration stored in the flash memory - that's where you can see your current fuel map etc.
readconfig0 parametersread config from flash/EEPROM
writeconfig0 parametersWrite config to flash (you only need this if you have used one of the 'setXXX' commands)
resetconfig0 parametersResets configuration to default
fatal0 parametersthis command would cause the firmware to halt. I am not sure that you want to try this one :)
threadsinfo0 parameterslist of ChibiOS threads
date_get0 parametersgets current real time clock?
date_set3 parameters
date_help0 parametersplease try it
adcDebug1 parameters
adc1 parameters
fadc0 parameters
sdstat0 parameters Prints a report of SD/MMC usage
mountsd0 parameters
appendToLog3 parameters
umountsd0 parametersUn-mount SD/MMC card
ls3 parameters
i2c5 parameters
sfm5 parameters
fl1 parametersTurns-off constant dev console data output. fl 1 would turn it back on. ('fl' stands for 'full logging')
status0 parameters
set_ignition_offset1 parameters
set_global_trigger_offset_angle1 parameters
set_analog_chart_mode1 parameters
set_engine_type1 parametersWould 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,

chartsize: 1 parameters,

chart: 1 parameters,

wm: 5 parameters,

injector: 5 parameters,

gfc: 1 parameters,

fuelbench: 4 parameters, for example, fuelbench 4.1 5.8 60000This command would send out a series of on/off squirts out to injector #1, this could be used while testing something like injector output

faststat: 0 parameters,

performanceinfo: 0 parameters, Development:Software:performance#Event_handling

testmath: 1 parameters,

rpm: 1 parameters, 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,