Difference between revisions of "Manual:Debug fields"
Jump to navigation
Jump to search
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Debug fields is an advanced troubleshooting feature allowing one to monitor internal state of some rusEfi subsystems. In an ideal world we would be always saving all these data points, in reality we need to only save those while troubleshooting something specific. | Debug fields is an advanced troubleshooting feature allowing one to monitor internal state of some rusEfi subsystems. In an ideal world we would be always saving all these data points, in reality we need to only save those while troubleshooting something specific. | ||
− | ''set debug_mode | + | ''set debug_mode CODE'' |
{| class="wikitable" | {| class="wikitable" | ||
− | ! | + | | code |
+ | ! name | ||
! debug f1 | ! debug f1 | ||
! debug f2 | ! debug f2 | ||
Line 16: | Line 17: | ||
! debug i2 | ! debug i2 | ||
! debug i3 | ! debug i3 | ||
+ | ! debug i4 | ||
+ | ! debug i5 | ||
|- | |- | ||
− | | | + | | 0 |
− | | | + | | Alternator_PID |
− | + | | controller output | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
| integration term | | integration term | ||
| previous error | | previous error | ||
Line 41: | Line 33: | ||
| settings change counter | | settings change counter | ||
|- | |- | ||
+ | | 1 | ||
| TPS acceleration | | TPS acceleration | ||
| from TPS | | from TPS | ||
Line 53: | Line 46: | ||
| | | | ||
|- | |- | ||
+ | | 2 | ||
| Warmup PID | | Warmup PID | ||
| | | | ||
Line 65: | Line 59: | ||
| | | | ||
|- | |- | ||
− | | Engine load acceleration | + | | 3 |
+ | | Idle | ||
+ | | controller output | ||
+ | | integration term | ||
+ | | previous error | ||
+ | | I setting | ||
+ | | D setting | ||
+ | | dTerm | ||
+ | | maxValue | ||
+ | | P setting | ||
+ | | offset | ||
+ | | settings change counter | ||
+ | |- | ||
+ | | 4 | ||
+ | | Engine load acceleration | ||
| | | | ||
| | | | ||
Line 77: | Line 85: | ||
| | | | ||
|- | |- | ||
+ | | 5 | ||
| Trigger Counters | | Trigger Counters | ||
| channel #1 rise counter | | channel #1 rise counter | ||
Line 89: | Line 98: | ||
| channel #3 fall counter | | channel #3 fall counter | ||
|- | |- | ||
− | | FSIO ADC | + | | 6 |
+ | | FSIO ADC | ||
| | | | ||
| | | | ||
Line 101: | Line 111: | ||
| | | | ||
|- | |- | ||
+ | | 7 | ||
| Aux PID #1 | | Aux PID #1 | ||
− | | | + | | controller output |
− | | | + | | integration term |
− | | | + | | previous error |
− | | | + | | I setting |
− | | | + | | D setting |
− | | | + | | dTerm |
| | | | ||
| | | | ||
Line 113: | Line 124: | ||
| | | | ||
|- | |- | ||
− | | | + | | 8 |
− | | | + | | VVT position |
| | | | ||
| | | | ||
Line 122: | Line 133: | ||
| | | | ||
| | | | ||
+ | | VVT event counter | ||
| | | | ||
| | | | ||
|- | |- | ||
+ | | 9 | ||
| Cranking | | Cranking | ||
| | | | ||
Line 137: | Line 150: | ||
| | | | ||
|- | |- | ||
+ | | 11 | ||
+ | | short-term closed loop fuel PID | ||
+ | | | ||
+ | | integration term | ||
+ | | previous error | ||
+ | | I setting | ||
+ | | D setting | ||
+ | | dTerm | ||
+ | | maxValue | ||
+ | | P setting | ||
+ | | offset | ||
+ | | settings change counter | ||
+ | |- | ||
+ | | 12 | ||
| VSS | | VSS | ||
| | | | ||
Line 149: | Line 176: | ||
| | | | ||
|- | |- | ||
− | | | + | | 17 |
+ | | ETB electronic throttle body PID | ||
+ | | duty cycle | ||
+ | | integration term | ||
+ | | previous error | ||
+ | | I setting | ||
+ | | D setting | ||
+ | | dTerm | ||
+ | | maxValue | ||
+ | | P setting | ||
+ | | offset | ||
+ | | settings change counter | ||
+ | |- | ||
+ | | 21 | ||
+ | | ADC #1 / Analog Inputs | ||
+ | | VBatt | ||
+ | | TPS | ||
+ | | MAF | ||
+ | | MAP | ||
+ | | CLT | ||
+ | | IAT | ||
+ | | EGO | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | 23 | ||
+ | | FSIO_EXPRESSION | ||
| FSIO output #1 | | FSIO output #1 | ||
| FSIO output #2 | | FSIO output #2 | ||
Line 156: | Line 210: | ||
| FSIO output #5 | | FSIO output #5 | ||
| FSIO output #6 | | FSIO output #6 | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | 24 | ||
+ | | Status | ||
+ | | Seconds since reboot | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | VCS_VERSION | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | 25 | ||
+ | | CJ125 | ||
+ | | Heater Duty | ||
+ | | Heater PID I Term | ||
+ | | Heater PID Err | ||
+ | | UA | ||
+ | | UR | ||
+ | | Calibr.UA | ||
+ | | Calibr.UR | ||
+ | | State | ||
+ | | Diag.reg | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | 26 | ||
+ | | CAN | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | read counter | ||
+ | | write OK | ||
+ | | write NOT ok | ||
+ | |- | ||
+ | | 31 | ||
+ | | TLE8888 | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | SPI counter | ||
+ | | latest transmit | ||
+ | | latest recieved | ||
+ | | init count (should be 2) | ||
+ | | i5 | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
| | | | ||
| | | | ||
Line 172: | Line 293: | ||
| | | | ||
| | | | ||
+ | | | ||
|- | |- | ||
| | | | ||
Line 184: | Line 306: | ||
| | | | ||
| | | | ||
+ | | | ||
|} | |} | ||
Revision as of 21:30, 5 June 2019
Debug fields is an advanced troubleshooting feature allowing one to monitor internal state of some rusEfi subsystems. In an ideal world we would be always saving all these data points, in reality we need to only save those while troubleshooting something specific.
set debug_mode CODE
code | name | debug f1 | debug f2 | debug f3 | debug f4 | debug f5 | debug f6 | debug f7 | debug i1 | debug i2 | debug i3 | debug i4 | debug i5 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | Alternator_PID | controller output | integration term | previous error | I setting | D setting | dTerm | maxValue | P setting | offset | settings change counter | ||
1 | TPS acceleration | from TPS | to TPS | current TPS<>TPS value | extra fuel | ||||||||
2 | Warmup PID | ||||||||||||
3 | Idle | controller output | integration term | previous error | I setting | D setting | dTerm | maxValue | P setting | offset | settings change counter | ||
4 | Engine load acceleration | ||||||||||||
5 | Trigger Counters | channel #1 rise counter | channel #2 rise counter | channel #3 rise counter | channel #1 fall counter | channel #2 fall counter | channel #3 fall counter | ||||||
6 | FSIO ADC | ||||||||||||
7 | Aux PID #1 | controller output | integration term | previous error | I setting | D setting | dTerm | ||||||
8 | VVT position | VVT event counter | |||||||||||
9 | Cranking | cycles from start counter | |||||||||||
11 | short-term closed loop fuel PID | integration term | previous error | I setting | D setting | dTerm | maxValue | P setting | offset | settings change counter | |||
12 | VSS | vss event counter | |||||||||||
17 | ETB electronic throttle body PID | duty cycle | integration term | previous error | I setting | D setting | dTerm | maxValue | P setting | offset | settings change counter | ||
21 | ADC #1 / Analog Inputs | VBatt | TPS | MAF | MAP | CLT | IAT | EGO | |||||
23 | FSIO_EXPRESSION | FSIO output #1 | FSIO output #2 | FSIO output #3 | FSIO output #4 | FSIO output #5 | FSIO output #6 | ||||||
24 | Status | Seconds since reboot | VCS_VERSION | ||||||||||
25 | CJ125 | Heater Duty | Heater PID I Term | Heater PID Err | UA | UR | Calibr.UA | Calibr.UR | State | Diag.reg | |||
26 | CAN | read counter | write OK | write NOT ok | |||||||||
31 | TLE8888 | SPI counter | latest transmit | latest recieved | init count (should be 2) | i5 | |||||||
THIS WIKI IS OUT OF DATE - CURRENT rusEFI knowledge is at https://github.com/rusefi/rusefi/wiki