|set_gain|1|Sets HIP gain parameter, betweb 0.1 and 2. New value would be applied on the fly|
|set_band|1|Sets HIP target frequency, in kHz. New value would be applied on the fly|
|set_hip_prescalerandsdo|1|Sets HIP prescaler and SDO. 0 for 4mHz, 6 for 8mHz|
## General
|Command|Number Of Parameters|Description|
|-|-|-|
|adc|1 |
|adcDebug|1|
|appendToLog|3|
|chart|1|
|chartsize|1|Sets the size of engine sniffing buffer in ECU. Nothing would change on your screen until a new larger packet of engine sniffing would arrive from ECU.|
|get date|0 |Gets current real time clock|
|set date XXX|1|XXX is time in seconds sins Unix epoch - see http://www.epochconverter.com|
|echo|1|Just prints out the parameter - this is useful for troubleshooting connectivity|
|fatal|0 |This command would cause the firmware to halt. I am not sure that you want to try this one :)|
|fadc|0|
|faststat|0 |
|fl|1 |'full logging', Turns-off constant dev console data output. fl 1 would turn it back on. |
|set cranking_rpm|1|Sets the RPM level at which we consider the engine to be cranking - not running|
|rpm|1| For example, rpm 1200 sets the RPM for built-in position sensor simulator|
|set engine_type|1 |This will change the configuration from the default Dodge Neon configuration.<br>You should reboot the firmware after changing engine type.<br>Hit the reset button or just power off/on the microcontroller.|
|set global_trigger_offset_angle|1|Change the offset between trigger sync point and TDC#1|
|sfm|5|
|showconfig|0|Shows current configuration stored in the flash memory - that's where you can see your current fuel map etc.|
|status|0 |
|testmath|1|
|threadsinfo|0 |list of ChibiOS threads|
|umountsd|0 |Un-mount SD/MMC card|
|writeconfig|0|Write config to flash (you only need this if you have used one of the 'setXXX' commands) TODO: implement a feature of not actually writing changes into flash while engine is running since flash writes freeze the CPU. TunerStudio burn has this feature of delayed until engine is stopped burn already.|
|wm|5|
|get_int, get_short, get_float|1|prints the configuration value at given offset|
|set_int, set_short, set_float|2|changes configuration value at given offset, for example set_float 102 1.23|
## Logging
|Command|Number Of Parameters|Description|
|-|-|-|
|sdinfo|0 | Prints a report of SD/MMC usage|
|umountsd|0 | Un-mount SD card|
|enable sd/disable sd|0 |
## Trigger
Trigger is the camshaft or/and crankshaft position sensor(s)
`triggerinfo`
shows some info regarding trigger situation
set global_trigger_offset_angle XX
sets global trigger offset from synchronization point of trigger decoder to actual TDC #1
TODO? rename command? rename variable?
`enable/disable trigger_only_front`
In 'only front' mode, only signal rises are used for trigger decoding. For example, `enable trigger_only_front`
`enable/disable trigger_details`
Trigger details additional output helps with troubleshooting trigger synchronization issues.
`trigger_shape_info`
Prints trigger shape definition
## Sensors
|analoginfo|0|Shows ADC intut values|
|tempinfo|0| prints out some debug information on CLT and IAT sensors|
|tpsinfo|0| prints out some debug information on TPS sensor|
|mapinfo|0| prints out some debug information on MAP sensor|
## Board Control
set_injection_pin: 2 parameters: index, PIN
For example,
set_injection_pin 1 PB7
set injection_pin_mode: 1 parameter
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)
set's idle duty cycle, value between 0 and 100, for example `set idle_position 50`
enable/disable stepperidle
for example, `enable stepperidle`
**blipidle X Y**
overrides idle position to X for Y duration of time
for example `blipidle 20 2000` would set idle position to 80 for 2000 ms / 2 seconds
## I/O testing
|Command|Number Of Parameters|Description|
|-|-|-|
|fuelpumpbench|0|Turns fuel pump on for three seconds after a one second delay|
|fuelbench2|5|for example, fuelbench2 10000 1 2 1200 3<br> This command would send out a series of 3 on/off squirts out to injector #1, on time: 2ms, off time: 1200ms, after a 10000ms (10 seconds) delay|
|fuelbench|3|for example, fuelbench 5 2000 4 <br> This command would send out a series of 3 on/off squirts out to injector #1, on time: 5ms, off time: 2000ms|
|fuelbench2|5|for example, fuelbench2 1000 2 9 200 10<br> This command would send out a series of 10 on/off squirts out to injector #2, on time: 9ms, off time: 200ms, after a 1000ms delay|
|sparkbench|3|for example, sparkbench 5 200 3 <br> This command would send out a series of 3 on/off squirts out to coil #1, on time: 5ms, off time: 200ms|
|sparkbench2|5|for example, sparkbench2 1000 2 4 200 10<br> This command would send out a series of 10 on/off squirts out to coil #2, on time: 4ms, off time: 200ms, after a 1000ms delay|
|fanbench|0|Turns radiator fan on for three seconds after a one second delay|
|milbench|0|Turns MIL on for three seconds after a one second delay|
## Engineering support
|Command|Number Of Parameters|Description|
|-|-|-|
|enable self_stimulation|0|Routes simulated trigger signal directly into trigger processing logic|