Difference between revisions of "Manual:Debug fields"

From rusEfi
Jump to navigation Jump to search
 
(21 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 CODE''
  
  
 
{| class="wikitable"
 
{| class="wikitable"
!  
+
| code
 +
! name
 
! debug f1
 
! debug f1
 
! debug f2
 
! debug f2
Line 14: Line 17:
 
! debug i2
 
! debug i2
 
! debug i3
 
! debug i3
 +
! debug i4
 +
! debug i5
 
|-
 
|-
 +
| 0
 
| Alternator_PID
 
| Alternator_PID
| duty cycle
+
| controller output
| integration term
 
| previous error
 
| I setting
 
| D setting
 
| dTerm
 
| maxValue
 
| P setting
 
| offset
 
| settings change counter
 
|-
 
| Idle
 
| previous result
 
 
| integration term
 
| integration term
 
| previous error
 
| previous error
Line 39: Line 33:
 
| settings change counter
 
| settings change counter
 
|-
 
|-
 +
| 1
 
| TPS acceleration
 
| TPS acceleration
 
| from TPS
 
| from TPS
Line 51: Line 46:
 
|  
 
|  
 
|-
 
|-
 +
| 2
 
| Warmup PID
 
| Warmup PID
 
|  
 
|  
Line 63: Line 59:
 
|  
 
|  
 
|-
 
|-
 +
| 3
 +
| Idle
 +
| controller output
 +
| integration term
 +
| previous error
 +
| I setting
 +
| D setting
 +
| dTerm
 +
| maxValue
 +
| P setting
 +
| offset
 +
| settings change counter
 +
|-
 +
| 4
 
| Engine load acceleration
 
| Engine load acceleration
 
|  
 
|  
Line 75: Line 85:
 
|  
 
|  
 
|-
 
|-
 +
| 5
 
| Trigger Counters
 
| Trigger Counters
 
| channel #1 rise counter
 
| channel #1 rise counter
Line 87: Line 98:
 
| channel #3 fall counter
 
| channel #3 fall counter
 
|-
 
|-
 +
| 6
 
| FSIO ADC
 
| FSIO ADC
 
|  
 
|  
Line 99: Line 111:
 
|  
 
|  
 
|-
 
|-
 +
| 7
 
| Aux PID #1
 
| Aux PID #1
 +
| controller output
 +
| integration term
 +
| previous error
 +
| I setting
 +
| D setting
 +
| dTerm
 
|  
 
|  
 
|  
 
|  
 
|  
 
|  
 
|  
 
|  
 +
|-
 +
| 8
 +
| VVT position
 
|  
 
|  
 
|  
 
|  
 
|  
 
|  
 
|  
 
|  
 +
|
 +
|
 +
|
 +
| VVT event counter
 
|  
 
|  
 
|  
 
|  
 
|-
 
|-
| VVT PID
+
| 9
 +
| Cranking
 
|  
 
|  
 
|  
 
|  
Line 119: Line 146:
 
|  
 
|  
 
|  
 
|  
 +
| 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
 
|-
 
|-
| Cranking
+
| 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
 
|  
 
|  
 
|  
 
|  
 
|  
 
|  
 +
|
 
|  
 
|  
| cycles from start counter
 
 
|  
 
|  
 
|  
 
|  
 +
| SPI counter
 +
| latest transmit
 +
| latest recieved
 +
| init count (should be 2)
 +
| i5
 
|-
 
|-
| VSS
 
 
|  
 
|  
 
|  
 
|  
Line 143: Line 277:
 
|  
 
|  
 
|  
 
|  
| vss event counter
+
|  
 +
|
 
|  
 
|  
 
|  
 
|  
Line 158: Line 293:
 
|  
 
|  
 
|  
 
|  
 +
|
 
|-
 
|-
 
|  
 
|  
Line 170: Line 306:
 
|  
 
|  
 
|  
 
|  
 +
|
 
|}
 
|}
 +
 +
 +
https://github.com/rusefi/rusefi/raw/master/firmware/tunerstudio/docs/1-Base_Engine_Settings.png
 +
 +
[[File:debug_gauges.png]]

Latest revision as of 22: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


1-Base_Engine_Settings.png

Debug gauges.png