Re: Z32, knock gauge gone
Posted: Wed Mar 21, 2012 11:17 pm
Nothing available as configurable by end user for normal use (ie no gauge etc to match) but user can use the RAM trace monitor under 'Display'
Nistune is a real-time tuning suite designed especially for Nissan vehicles
https://nistune.com/forum/
Code: Select all
CODE:EA00 register_table: fdb rpm ; ...
CODE:EA00 ; Register 0
CODE:EA02 fdb rpm+1 ; Register 1
CODE:EA04 fdb rpm_ref ; Register 2
CODE:EA06 fdb rpm_ref+1 ; Register 3
CODE:EA08 fdb maf ; Register 4
CODE:EA0A fdb maf+1 ; Register 5
CODE:EA0C fdb $FFFF ; Register 6 RH MAF voltage
CODE:EA0E fdb $FFFF ; Register 7 RH MAF voltage
CODE:EA10 fdb engine_temp ; Register 8
CODE:EA12 fdb lambda_left ; Register 9
CODE:EA14 mil_const1: fdb lambda_right ; ...
CODE:EA14 ; Register A
CODE:EA16 fdb speed ; Register B
CODE:EA18 fdb battery ; Register C
CODE:EA1A fdb throttle1 ; Register D
CODE:EA1C fdb $FFFF ; Register E empty
CODE:EA1E fdb fuel_temp ; Register F
CODE:EA20 fdb $FFFF ; Register 10 empty
CODE:EA22 fdb $FFFF ; Register 11 Intake air temp
CODE:EA24 fdb $FFFF ; Register 12 Exhaust gas temp
CODE:EA26 fdb digital1 ; Register 13
CODE:EA28 fdb inj_bbb2 ; Register 14
CODE:EA2A fdb inj_bbb2+1 ; Register 15
CODE:EA2C fdb ign_timing ; Register 16
CODE:EA2E fdb idle_air ; Register 17
CODE:EA30 fdb $FFFF ; Register 18 empty
CODE:EA32 fdb $FFFF ; Register 19 empty
CODE:EA34 fdb afr_left ; Register 1A
CODE:EA36 fdb afr_right ; Register 1B
CODE:EA38 fdb afr_learn_left ; Register 1C
CODE:EA3A fdb afr_learn_right ; Register 1D
CODE:EA3C fdb digital2 ; Register 1E
CODE:EA3E fdb digital3 ; Register 1F
CODE:EA40 fdb $FFFF ; Register 20 empty
CODE:EA42 fdb mr_fc_mnt ; Register 21
CODE:EA44 fdb inj_bbb1 ; Register 22
CODE:EA46 fdb inj_bbb1+1 ; Register 23
CODE:EA48 fdb $FFFF ; Register 24 empty
CODE:EA4A fdb $FFFF ; Register 25 empty
CODE:EA4C fdb $FFFF ; Register 26 empty
CODE:EA4E fdb $FFFF ; Register 27 empty
Code: Select all
1E CONSULT_DESC_REGISTER_DIGITAL_CONTROL2,
1F CONSULT_DESC_REGISTER_DIGITAL_CONTROL3,
20 CONSULT_DESC_REGISTER_DIGITAL_CONTROL5,
21 CONSULT_DESC_REGISTER_DIGITAL_CONTROL4,
Interesting, how is this going to work?Matt wrote: Next version highlights the VTC area on the map. I
I agree this is not the right track, that would make it messy/noisy at the end.Matt wrote:Disagree with DIG REG 2. This contains VTC which is very useful when tuners are changing the VTC points. Next version highlights the VTC area on the map. I use fuel pump relay sometimes when testing ECUs on the bench against the output wire
Also DIG REG 3 contains coolant low/high fans which are useful for determining when those are starting to kick in (especially if adjusting in the software)
Regardless I would not replace any of these in the firmware
Code: Select all
CODE:EA50 activation_table: fdb $101, $203, $405,$FFFF,$1009,$FFFF,$FFFF,$800F ; ...
CODE:EA50 fdb $151, $253, $455, $857,$1059,$205B,$FFFF,$805F
CODE:EA50 fdb $FFFF,$FFFF,$FFFF, $8A7,$10A9,$FFFF,$FFFF,$FFFF
CODE:EA80 fcb $FF ;
CODE:EA81 fcb $FF ;
CODE:EA82 fcb $FF ;
CODE:EA83 fcb $FF ;
CODE:EA84 fcb $3F ; ?
CODE:EA85 fcb $3F ; ?
CODE:EA86 fcb $3F ; ?
CODE:EA87 fcb $3F ; ?
CODE:EA88 fcb $3F ; ?
CODE:EA89 fcb $3F ; ?
(...)
Code: Select all
CODE:AABC ; Read register parameters mode --------------------------------------------------
CODE:AABC
CODE:AABC sr_register_params: ; ...
CODE:AABC tim #%1000, sio_flags2 ; $5A mode ?
CODE:AABF beq sr_activation_params ; If not $5A mode then branch
CODE:AABF
CODE:AAC1 cmpb #39 ; The register table contains 39 values
CODE:AAC1 ; B is the index parameter
CODE:AAC3 bls sr_28
CODE:AAC3
CODE:AAC5
CODE:AAC5 sr_27: ; ...
CODE:AAC5 jmp sr_error ; Outside of register table
CODE:AAC5
CODE:AAC8
CODE:AAC8 sr_28: ; ...
It will highlight a region of the map (ie block) using the TP min/max and RPM min/max values available in the address file to give an indication where VTC is currently workingDo you mean while connected to the ECU you highlight the specific cells where it is engaged?
I need to be very careful here - already have the problem of TP MSB/LSB using a space where known registers are and need to fix that nowThere's an alternative (requiring code patch though), extending virtually the Consult registers table
These tables are even larger because they hold consult 2 registers. Best idea is to move the whole table and extend into a consult 2 table perhaps? Not sure yet. Need more thinking timeS15_SR20_LOOKUP: // 0xF510-F569 (0x5A) = 45
ER34_RB25_LOOKUP: // 1100-117F (0x80) = 64
B14_SR20DE_LOOKUP_95_96: // FE00-FE8F (0x90) = 72
K11_CG10_LATE_LOOKUP: // 8F80-8FD9 (0xDA) = 109 (72)
A32_VG30_LOOKUP: //E000-E09F (0x100) = 128 (72)