MembersPage/EricN/Config (2005-10-26 07:10:40)

This is the config page for MembersPage/EricN

Since I have a hard time reading all those numbers and letters and formulas etc. and I have no LCD yet, I am doing as much as possible in MegaTune and the changes made there I will cut and paste from the terminal program Mcd command.


Using MegaTune 2.25 beta-2

Start by reading the MegaManual


  1. Opened MegaTune. Clicked on VEMS standard 12 x 12 (default).
  2. Starting with the settings tab.
  3. As per [manual],
I am a little while away from having my vehicle done but I was messing around for the heck of it (bad idea) and ran into this.
  1. First option under settings is "VE Table". Click on it, then click on tools. Click on VE specific and then Generate Tables. Fill in all the options as accurately as possible. I left my map at the default 20 100 100 100 as I am not really sure what it will be, but that sounds close. Next clicked "send to ecu" then click close.
  2. Did the same for the spark and the lambda tables.
  3. Noticed if I shut MegaTune off the on again, the tables are all reset. Save when shutting down megatune and when trying to open that file up in the file-open window, it asks me if i want to burn them into the flash, I say yes
  4. but it tells me my power is too low (this MegaTune message is harmless for GenBoard, but it makes sense to adjust battery calibration to read realistic battery voltage anyway, so the dwell and duty are not enlarged due to low reading) I clicked no but it kept asking and asking and I think it eventually did burn it in. Now, looking at all the variables that were in before, EVERYTHING is set to zero. We had similar report last week, it seems MegaTune can trash tables at startup under certain (yet unknown condition - very annoying). Anyway, when this happens, checking with mcd and mct wouldn't hurt to see if the readout/display is wrong, or MegaTune really trashed the config and tables inside the ECU. Keeping backup at all times is recommended. Tables were ok, config completely 00. I was originally going to just leave it at that and just go through and start from scratch, but in case I missed something, I decided to go steal someone elses and practice uploading the config and tables through the serial port.
  5. Re-adjusted the battery correction to read the power supply output voltage and all is fine. Time to re-read the manual.

Engine setup info

Config.txt\n

primep=00
primep_temp_scaling=80
cwl=91
cwh=17
cranking_thres=02
awev=1C
awev_temp_scaling=98
awc=FF
warmup_clt_range[0]=00
warmup_clt_range[1]=14
warmup_clt_range[2]=28
warmup_clt_range[3]=3C
warmup_clt_range[4]=50
warmup_clt_range[5]=64
warmup_clt_range[6]=78
warmup_clt_range[7]=8C
warmup_clt_range[8]=AA
warmup_clt_range[9]=C8
warmup_clt[0]=9A
warmup_clt[1]=9A
warmup_clt[2]=9A
warmup_clt[3]=99
warmup_clt[4]=96
warmup_clt[5]=8A
warmup_clt[6]=7D
warmup_clt[7]=73
warmup_clt[8]=64
warmup_clt[9]=64
warmup_rpm_scale=FF
req_fuel=5A This was double but I halved it as I noticed someone else was told to do so, then I plugged the change into Megatunes ve table editor and doubled the tables, is that right?? (tables.txt is below)
divider=01
alternate=11
injopen=00
battfac=10
kpafac=34
kpaoffs=FC Not 100% sure I understand this one, I adjusted it so that megatune read the correct baro pressure.
injocfuel=28
injrampup_battfac=FF
injpwm=FF
injpwmt=FF
injpwm6=00
# RPM constant. 3000 (0B,B8) is for 4cyl; 2000 (07,D0) is for 6cyl
rpmk[0]=07
rpmk[1]=D0
tpsdot_kpadot_conf=00
tpsdotrate[0]=05
tpsdotrate[1]=0E
tpsdotrate[2]=20
tpsdotrate[3]=40
tpsaq[0]=08
tpsaq[1]=12
tpsaq[2]=17
tpsaq[3]=1B
tps_thresh=04
tpsasync=05
acmult=85
tpsacold=20
tpsdq=64
decel_fuelcut_thres=1E
overrun_fuelcut=37
overrun_fuelresume=37
rev_limit=38
airden_ignore=62
config11=59
config12=30
config13=02
batt_cal=A4
fastidle=C6
baro=64
dbaro=0C
tps_low=00
tps_high=FF
fan_temp=F1
fan_hyst=05
fan_channel=0F
iac_step_seq=D8
iac_conf=72 Suspect I need to change something here if not using idle air control, only timing control, not sure what it should be
iac_max_steps=46
iac_tps_thres=10
iac_cold_idle_temp=CA
iac_warm_idle_temp=D0
iac_cold_rpm=5F
iac_warm_rpm=46
iac_cold_start_pos=40
iac_warm_start_pos=0A
iac_afterstart_rpm=05
iac_afterstart_duration=1E
iac_afterstart_steps=0A
iac_kp=0A
iac_ki=14
iac_kd=2E
iac_integral_speed=36
iac_integral_limit_dec=40
iac_integral_limit_inc=70
iac_integral_deadband=0A
iac_deadband=05
iac_pid_conf=00
iac_overclose_interval=18
iac_ref_pos[0]=30
iac_ref_pos[1]=30
iac_ref_pos[2]=30
iac_ref_pos[3]=2F
iac_ref_pos[4]=2B
iac_ref_pos[5]=26
iac_ref_pos[6]=20
iac_ref_pos[7]=1B
iac_ref_pos[8]=11
iac_ref_pos[9]=00
iac_sol_channel=FF
iac_ign_advance_change=04
iac_ign_retard_change=04
iac_ign_advance_limit=20
iac_ign_retard_limit=20
iac_ign_threshold=28
ego_conf=07
ego_lag=01
ego_coolant=00
ego_maxtps=FF
ego_maxmap=FF
ego_minrpm=06
ego_maxrpm=FF
ego_warmup=01
ego_lean_limit=28
ego_rich_limit=80
ego_pid_kp=25
mt_unused=00
ego_delta=01
ego_target=19
ego_pid_window=FF
wbo2_warmup_ramp=9C
wbo2_warmup_target=FF
wbo2_abs_limit=E4
wbo2_limit_maxt=A0
wbo2_fallback=60
wbo2_retry_t=06
wbo2_edgetime_corr=BA
wbo2_edgetime_min=50
wbo2_ri_target=96
wbo2_nernstdc_target=98
wbo2_pump_pw_zero=65
wbo2_calibration=BF
wbo2_heater_pid_kp=45
wbo2_heater_pid_ki=11
wbo2_heater_pid_kd=1A
wbo2_heater_pid_ilimit=81
wbo2_pump_pid_kp=15
wbo2_pump_pid_ki=4E
wbo2_pump_pid_kd=00
wbo2_pump_pid_ilimit=FF
wbo2_ri_confidence_scale=80
knock_conf=01
knock_sampling_window=E2
knock1_frequency=29
knock1_gain=14
knock1_integrator=11
knock2_frequency=00
knock2_gain=00
knock2_integrator=00
knock_threshold=50
knock_noise_scale=10
knock_max_retard=30
knock_default_retard=10
knock_retard_step=04
knock_retard_delay=10
knock_advance_step=02
knock_advance_delay=10
knock_minrpm=05
knock_maxrpm=FF
ve_learn_coolant=D8
ve_learn_max_power=FF
ve_learn_rpm_scale=1E
ve_learn_kpa_scale=1E
ve_learn_ego_scale=43
ve_learn_min_weight=4D
ve_learn_speed=FF
ve_learn_limit=FF
ve_learn_conf=01
lcd_c0=07
lcd_delay=FF
lcd_backlight=70
lcd_offs[0]=FF
lcd_offs[1]=FF
lcd_offs[2]=FF
lcd_offs[3]=FF
lcd_default_view=01
primary_trigger=01
secondary_trigger=02
tooth_wheel=17
trigger_tooth=01
another_trigger_tooth=04
crank_minper=0D
tooth_wheel_twidth1=05
tooth_wheel_twidth2=19
cam_sync_r_edge_phase=8D
cam_sync_f_edge_phase=21
reset_engphase_after=D8
ign_tdcdelay=8C
ign_dwell14=2F
ign_dwell6=B9
ign_crank_advance=28
ign_out=70
ignchmax=05
engine_off_delay=08
pump_on_mintime=08
fuelpump_channel=57
inj_stage2_rate=00
inj_stage2_start_tps=00
inj_stage2_start_map=00
als_lowrpm=00
als_maxtps=00
als_ignretard=00
als_rich=00
als_rev_limit=00
misc1out_minrpm=00
misc1out_maxrpm=00
misc1out_mintps=00
misc1out_maxtps=00
misc1out_minmap=00
misc1out_maxmap=00
misc1out_channel=FF
misc2out_minrpm=00
misc2out_maxrpm=00
misc2out_mintps=00
misc2out_maxtps=00
misc2out_minmap=00
misc2out_maxmap=00
misc2out_channel=FF
act_wot_rpm=FF
act_wot_channel=FF
act_rpm_rpm=FF
act_rpm_channel=FF
egt1_cal=FF
egt1_offs=FF
boost_conf=00
boost_targetoffs=00
boost_minpressure=00
boost_pid_kp=00
boost_pid_ki=00
boost_pid_kd=00
boost_pid_ilimit=00
boost_channel=FF
water_pump_temp=00
hybrid_rpm_a=00
hybrid_rpm_m=00
water_pump_hyst=00
water_pump_channel=FF
toothrel_normal=76
toothrel_missing=B5
fuelcut_min_kpa=10
fuelcut_max_kpa=FF
tach_channel=6F
tach_divider=7F


Tables.txt\n

Is there something that explains this j[] stuff, my guess is its the ve table, but cant find anything in the manual about what is acceptable etc.
j[0]=2280 3480 4080 4C80 5480 5680 5680 5480 5080 4E80 4C80 4A80
j[1]=2280 3680 4680 5080 5A80 5E80 5C80 5A80 5680 5480 5080 4E80
j[2]=2280 3880 4880 5480 5C80 6080 6080 5C80 5A80 5680 5480 5080
j[3]=2280 3C80 4C80 5880 6280 6680 6680 6280 5E80 5C80 5880 5680
j[4]=2480 3E80 4E80 5A80 6680 6A80 6880 6680 6280 5E80 5C80 5880
j[5]=2680 4280 5280 6080 6C80 7080 6E80 6A80 6880 6480 6080 5E80
j[6]=2680 4480 5680 6280 6E80 7280 7280 6E80 6A80 6680 6480 6080
j[7]=2880 4480 5880 6680 7080 7680 7480 7080 6C80 6A80 6680 6280
j[8]=2A80 4880 5C80 6A80 7680 7C80 7A80 7680 7280 6E80 6C80 6880
j[9]=2A80 4A80 5E80 6E80 7A80 7E80 7E80 7A80 7680 7280 6E80 6A80
j[A]=2E80 4E80 6280 7280 8080 8480 8480 8080 7A80 7680 7280 7080
j[B]=2E80 5080 6480 7680 8280 8880 8680 8280 7E80 7A80 7680 7280
l[0]=37 37 37 37 37 37 37 37 37 37 37 37
l[1]=37 37 37 37 37 37 37 37 37 37 37 37
l[2]=37 37 37 37 37 37 37 37 37 37 37 37
l[3]=37 37 37 37 37 37 37 37 37 37 37 37
l[4]=37 37 37 37 37 37 37 37 37 37 37 37
l[5]=37 37 37 37 37 37 37 37 37 37 37 37
l[6]=37 37 37 37 37 37 37 37 37 37 37 37
l[7]=37 37 37 37 37 37 37 37 37 37 37 37
l[8]=37 37 37 37 37 37 37 37 37 37 37 37
l[9]=37 37 37 37 37 37 37 37 37 37 37 37
l[A]=37 37 37 37 37 37 37 37 37 37 37 37
l[B]=37 37 37 37 37 37 37 37 37 37 37 37
n[0]=44 44 64 84 A0 AC B0 A8 A4 9C 98 94
n[1]=44 44 6C 8C A8 B8 BC B4 B0 A8 A4 9C
n[2]=44 44 70 90 B0 BC C0 BC B4 B0 A8 A4
n[3]=44 48 78 9C BC C8 CC C8 C0 B8 B4 AC
n[4]=44 4C 7C A0 C0 D0 D4 CC C4 C0 B8 B4
n[5]=44 50 80 A8 CC DC E0 D8 D0 C8 C4 BC
n[6]=44 54 84 AC D0 E0 E4 DC D8 D0 C8 C0
n[7]=44 54 88 B0 D4 E4 EC E4 DC D4 CC C8
n[8]=44 58 90 BC E0 F0 F8 F0 E8 E0 D8 D0
n[9]=44 5C 94 C0 E8 F8 FC F4 EC E4 DC D8
n[A]=44 60 9C C8 F0 04 08 00 F8 F0 E8 E0
n[B]=44 60 9C CC F8 08 10 08 FC F4 EC E4
k[0]=14 1E 23 2D 32 3C 41 46 50 55 5F 64
r[0]=06 0B 0F 13 18 1C 21 25 29 2E 32 37
h[0]=05 0A 05 0A 05 0A 05 0A
h[1]=00 00 00 00 00 00 00 00
h[2]=03 01 05 02 04 00 00 00
b[0]=28 30 38 40 48 50 58 60 FF FF FF FF
t[0]=20 40 17 80 A0 C0 E0 FF