Author Topic: 10deg fixed advance in MT, doesn't change... 1.1.44alpha2  (Read 12115 times)

Offline Pet

  • Full Member
  • ***
  • Posts: 121
  • BHP: 7
10deg fixed advance in MT, doesn't change... 1.1.44alpha2
« on: February 27, 2009, 01:28:48 pm »
Hi, I am benching my V33 unit on the desk, I have 60-2 PIC MCU simulator connected direct to the IC3 (pin 9) of ATmega, RPM is reading nicely from 600-5500 (this is limitation of my PIC sw), MPX4250 MAP sensor is connected (95kPa baro reading) , CLT and MAT simulation resistors are connected (both reading aprox. 60C, it's ok), TPS pot connected. Everything is reading and changing ok, injectors are firing on the scope well too, wasted spark IGN outputs are set to ECC11 and 12  I can see on the scope dwell time as defined (outputs are in 180deg phase), so still ok (I tried stteper outputs A-B, working ok too), BUT when I am changing RPM, there IS NO SPARK ADVANCE CHANGE IN MEGATUNE, STILL FIX ON THE 10deg. My Spark table is correct,  Here is my config (Note. I have cranking limit set to 700 now, due min RPM output from my PIC test board).
 Because I am new in VEMS and I am making my config from nothing, I am pretty sure, there is some stupid mistake in my config, but after 3days playing with it, I can't see it  :-\ Thank a lot for any help

Edit: config is planned for Opel C20XE M2.8 turbo (before fuel-only Megasquirted)

Pet

tables:

j[0]=17 20 27 2C 2E 2D 2B 2A 28 27 26 25
j[1]=19 23 2A 2F 31 30 2E 2D 2B 2A 28 27
j[2]=1A 25 2C 32 34 33 31 2F 2E 2C 2B 29
j[3]=1C 27 2F 35 37 36 34 32 30 2F 2D 2C
j[4]=1E 29 32 38 3A 39 37 35 33 32 30 2E
j[5]=1F 2B 34 3B 3D 3C 3A 38 36 34 32 31
j[6]=21 2D 37 3E 40 3F 3D 3B 39 37 35 33
j[7]=21 2E 38 3F 42 40 3E 3C 3A 38 36 34
j[8]=23 31 3B 42 45 43 41 3F 3D 3B 39 37
j[9]=28 38 44 4D 4F 4D 4B 48 46 44 41 3F
j[A]=2D 3F 4C 55 59 56 54 51 4E 4C 49 47
j=32 45 54 5E 62 5F 5C 59 56 53 51 4E
l[0]=47 47 37 37 37 37 37 37 37 37 37 37
l[1]=47 47 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 3D 3D 3D 3D 3D 3D 3D 3D 3D
l[5]=47 44 44 44 44 44 44 44 44 44 44 44
l[6]=48 48 48 48 48 48 48 48 48 48 48 48
l[7]=4F 4F 4F 4F 4F 4F 4F 4F 4F 4F 4F 4F
l[8]=55 55 55 55 55 55 55 55 55 55 55 55
l[9]=5C 5C 5C 5C 5C 5C 5C 5C 5C 5C 5C 5C
l[A]=6D 6D 6D 6D 6D 6D 6D 6D 6D 6D 6D 6D
l=7B 7B 7B 7B 7B 7B 7B 7B 7B 7B 7B 7B
n[0]=47 48 58 7C 80 8C 8C 8C 8C 8C 8C 8C
n[1]=48 48 58 74 7C 80 80 80 80 80 80 80
n[2]=40 48 58 6C 70 78 78 78 78 78 78 78
n[3]=3C 40 54 64 68 70 70 70 70 70 70 70
n[4]=30 38 50 60 64 6C 6C 6C 6C 6C 6C 6C
n[5]=30 38 4C 58 5C 66 66 66 66 66 66 66
n[6]=28 34 44 4C 54 5C 5C 5C 5C 5C 5C 5C
n[7]=39 30 3C 44 4C 56 56 56 56 56 56 56
n[8]=20 28 34 40 48 54 54 54 54 54 54 54
n[9]=18 20 2C 38 40 4C 4C 4C 4C 4C 4C 4C
n[A]=14 18 24 30 38 44 44 44 44 44 44 44
n=0C 10 18 24 2C 38 38 38 38 38 38 38
k[0]=19 23 2D 37 41 4B 55 5A 64 8C AF D2
r[0]=08 0D 12 18 1E 23 29 2F 34 3A 40 46
h[0]=08 04 02 01 00 00 00 00
h[1]=1E 00 1E 00 9D E3 A0 A0
h[2]=39 4B 39 4B 01 03 01 03
y[0]=80 80 3C 40 40 44 44 44 44 44 44 44
y[1]=44 44 44 44 44 44 FF FF FF FF FF FF
y[2]=FF FF FF FF FF FF FF FF FF FF FF FF
y[3]=FF FF FF FF FF FF FF FF FF FF FF FF
y[4]=FF FF FF FF FF FF FF FF FF FF FF FF
y[5]=FF FF FF FF FF FF FF FF FF FF FF FF
y[6]=FF FF FF FF FF FF FF FF FF FF FF FF
y[7]=FF FF FF FF FF FF FF FF FF FF FF FF
y[8]=FF FF FF FF FF FF FF FF FF FF FF FF
y[9]=FF FF FF FF FF FF FF FF FF FF FF FF
y[A]=FF FF FF FF FF FF FF FF FF FF FF FF
y=FF FF FF FF FF FF FF FF FF FF FF FF
b[0]=80 80 80 80 80 80 80 80 80 80 80 80
t[0]=80 80 80 80 80 80 80 80
e[0]=FF FF FF FF FF FF FF FF
e[1]=FF FF FF FF FF FF FF FF
e[2]=FF FF FF FF FF FF FF FF
e[3]=FF FF FF FF FF FF FF FF
e[4]=FF FF FF FF FF FF FF FF
e[5]=FF FF FF FF FF FF FF FF
e[6]=FF FF FF FF FF FF FF FF
e[7]=06 08 0D 11 15 19 1D 21
e[8]=25 29 2D 31 35 39 3D 41
e[9]=1E 28 2D 37 3C 41 4B 50

# Dump generated from version 1.1.44

primep=00
primep_temp_scaling=FF
cwl=96
cwh=23
cranking_thres=07
awev=0A
awev_temp_scaling=1A
awec=35
shiftcut_potlow=00
shiftcut_pothi=FF
shiftcut_retcut=00
boost_matdec=FF
boost_egtdec=7D
iacref_matslope=FF
shiftcut_minrpm=FF
blabla[0]=FF
blabla[1]=FF
blabla[2]=FF
warmup_clt[0]=64
warmup_clt[1]=64
warmup_clt[2]=64
warmup_clt[3]=64
warmup_clt[4]=64
warmup_clt[5]=64
warmup_clt[6]=64
warmup_clt[7]=64
warmup_clt[8]=64
warmup_clt[9]=64
warmup_rpm_scale=FF
req_fuel=44
divider=01
alternate=03
injopen=20
battfac=10
kpafac=7F
kpaoffs=9E
injocfuel=08
injrampup_battfac=FF
injpwm=FF
injpwmt=FF
als_launch_input=CC
rpmk[0]=0B
rpmk[1]=B8
tpsdot_kpadot_conf=FE
tpsdotrate[0]=02
tpsdotrate[1]=05
tpsdotrate[2]=0A
tpsdotrate[3]=14
tpsaq[0]=00
tpsaq[1]=00
tpsaq[2]=00
tpsaq[3]=00
als_cut_mintps=FF
tpsasync=08
acmult=1E
tpsacold=1E
launch_enrich=FF
launch_retard=00
overrun_fuelcut=64
overrun_fuelresume=63
rev_limit=46
airden_ignore=00
config11=33
config12=FF
config13=F0
batt_cal=B9
iac2load=FF
als_max_cut=00
dbaro=0A
tps_low=FF
tps_high=00
fan_temp=FC
fan_hyst=04
fan_channel=BF
iac_step_seq=FF
iac_conf=66
iac_max_steps=FF
iac_tps_thres=FF
iac_cold_idle_temp=FF
iac_warm_idle_temp=FF
iac_cold_rpm=FF
iac_warm_rpm=FF
iac_cold_start_pos=FF
iac_warm_start_pos=FF
iac_afterstart_rpm=FF
iac_afterstart_duration=FF
iac_speed=FF
iac_kp=FF
iac_ki=FF
iac_kd=FF
launch_rpm=FF
iac_integral_limit_dec=FF
iac_integral_limit_inc=FF
iac_integral_deadband=FF
iac_deadband=FF
als_cut_maxtps=00
confswitch=00
iac_ref_pos[0]=FF
iac_ref_pos[1]=FF
iac_ref_pos[2]=FF
iac_ref_pos[3]=FF
iac_ref_pos[4]=FF
iac_ref_pos[5]=FF
iac_ref_pos[6]=FF
iac_ref_pos[7]=FF
iac_ref_pos[8]=FF
iac_ref_pos[9]=FF
iac_sol_channel=FF
iac_ign_slope=FF
softrpm_range=7D
iac_ign_advance_limit=FF
iac_ign_retard_limit=FF
iac_ign_threshold=FF
ego_conf=BE
ego_lag=FF
ego_coolant=FF
ego_maxtps=FF
ego_maxmap=FF
ego_minrpm=FF
ego_maxrpm=FF
ego_warmup=FF
ego_lean_limit=80
ego_rich_limit=80
ego_pid_kp=FF
als_enrich=00
ego_delta=FF
ego_target=FF
ego_pid_window=FF
wbo2_warmup_ramp=A0
als_react_tps=00
wbo2_abs_limit=E4
wbo2_limit_maxt=A0
wbo2_fallback=B0
wbo2_retry_t=06
als_retard_rpm1=FF
als_retard_rpm2=FF
wbo2_ri_target=96
wbo2_nernstdc_target=FF
wbo2_pump_pw_zero=FF
wbo2_calibration=FF
wbo2_heater_pid_kp=46
wbo2_heater_pid_ki=10
wbo2_heater_pid_kd=1A
wbo2_heater_pid_ilimit=80
wbo2_pump_pid_kp=15
wbo2_pump_pid_ki=4E
wbo2_pump_pid_kd=00
wbo2_pump_pid_ilimit=84
wbo2_ri_confidence_scale=80
knock_chan=F0
knock_sampling_window=00
knock1_frequency=FF
knock1_gain=FF
knock1_integrator=FF
knock2_frequency=E7
knock2_gain=FF
knock2_integrator=FF
knock_threshold=FF
knock_noise_scale=FF
knock_max_retard=FF
knock_default_retard=FF
knock_retard_step=FF
knock_retard_delay=FF
knock_advance_step=FF
knock_advance_delay=FF
knock_minrpm=FF
knock_maxrpm=FF
ve_learn_coolant=FF
ve_learn_max_power=FF
ve_learn_rpm_scale=FF
ve_learn_kpa_scale=FF
ve_learn_ego_scale=FF
ve_learn_min_weight=FF
ve_learn_speed=FF
ve_learn_limit=FF
ve_learn_conf=FF
lcd_c0=80
lcd_delay=FF
lcd_backlight=FF
kpa_conf=21
als_igncut_rpm2=FF
als_retard_mintps=FF
als_retard_maxtps=00
lcd_default_view=FF
primary_trigger=01
secondary_trigger=02
tooth_wheel=3A
trigger_tooth=08
another_trigger_tooth=1E
crank_minper=50
tooth_wheel_twidth[0]=02
tooth_wheel_twidth[1]=06
cam_sync_r_edge_phase=FF
cam_sync_f_edge_phase=FF
reset_engphase_after=FF
ign_tdcdelay=8C
ign_dwell14=2F
ign_dwellmap=01
ign_crank_advance=64
ign_out=FC
ignchmax=03
engine_off_delay=04
pump_on_mintime=08
fuelpump_channel=32
inj_stage2_rate=FF
inj_stage2_start_tps=FF
inj_stage2_start_map=FF
als_igncut_rpm1=FF
als_deact_time=01
als_deact_egt=00
als_retard=00
als_rev_limit=40
misc1out_minrpm=FF
misc1out_maxrpm=FF
misc1out_mintps=FF
misc1out_maxtps=FF
misc1out_minmap=FF
misc1out_maxmap=FF
misc1out_channel=FF
misc2out_minrpm=FF
misc2out_maxrpm=FF
misc2out_mintps=FF
misc2out_maxtps=FF
misc2out_minmap=FF
misc2out_maxmap=FF
misc2out_channel=FF
act_wot_rpm=FF
act_wot_channel=FF
act_rpm_rpm=FF
act_rpm_channel=FF
egt1_cal=FF
als_tks_channel=FF
boost_conf=00
boost_targetoffs=FF
boost_minpressure=FF
boost_pid_kp=FF
boost_pid_ki=FF
boost_pid_kd=FF
boost_pid_ilimit=FF
boost_channel=FF
water_pump_temp=00
hybrid_rpm_a=C8
hybrid_rpm_m=00
water_pump_hyst=00
water_pump_channel=76
toothrel_normal=FF
toothrel_missing=FF
fuelcut_min_kpa=19
fuelcut_max_kpa=FF
tach_channel=CF
tach_div=FF
shiftcut_conf_input=8D
shiftcut_tpsthresh=FF
shiftcut_time=FF
softrpm_rpm=4B
n2o_mintps=FF
n2o_minrpm=FF
n2o_maxrpm=FF
n2o_retard=FF
n2o_minkpa=FF
n2o_maxkpa=FF
n2o_input=FF
n2o_output_channel=FF
n2o_settings=FF
launch_out_channel=FF
launch_out_delay=FF
launch_out_pwmlow=FF
launch_out_pwmhigh=FF
launch_out_pwmramp=FF
launch_out_ontime=FF
launch_out_conf=FF
boostsw_conf=FF
boostgauge_channel=FF
boostgauge_offset=FF
boostgauge_mul=FF
map_filter=FF
speed_sensor=FF
gears[0]=FF
gears[1]=FF
gears[2]=FF
gears[3]=FF
gears[4]=FF
gears[5]=FF
boost_mult[0]=FF
boost_mult[1]=FF
boost_mult[2]=FF
boost_mult[3]=FF
boost_mult[4]=FF
inj_mult_trim[0]=FF
inj_mult_trim[1]=FF
inj_mult_trim[2]=FF
inj_mult_trim[3]=FF
inj_mult_trim[4]=FF
inj_mult_trim[5]=FF
inj_mult_trim[6]=FF
inj_mult_trim[7]=FF
iac_conf2=FF
warning_rpm=FF
warning_kpa=FF
warning_conf=FF
warning_adc_value=FF
warning_egt=FF
warning_afr=FF
warning_clt=FF
warning_channel=FF
injection_angle=FF
boost_tps_dc_scale=FF
n2o_mingear=FF
misc1out_conditions=FF
misc1out_condition1=FF
misc1out_condition2=FF
misc2out_conditions=FF
misc2out_condition1=FF
misc2out_condition2=00
knock_gain[0]=00
knock_gain[1]=00
knock_gain[2]=00
knock_gain[3]=00
knock_gain[4]=00
knock_gain[5]=00
knock_gain[6]=00
knock_gain[7]=00
knock_reference[0]=00
knock_reference[1]=00
knock_reference[2]=00
knock_reference[3]=00
knock_reference[4]=00
knock_reference[5]=00
knock_reference[6]=00
knock_reference[7]=FF
knock_calibration_min=FF
knock_calibration_max=FF
inj_add_trim[0]=FF
inj_add_trim[1]=FF
inj_add_trim[2]=FF
inj_add_trim[3]=FF
inj_add_trim[4]=FF
inj_add_trim[5]=FF
inj_add_trim[6]=FF
inj_add_trim[7]=FF
inj_deadtime[0]=FF
inj_deadtime[1]=FF
inj_deadtime[2]=FF
inj_deadtime[3]=FF
inj_deadtime[4]=FF
inj_deadtime[5]=FF
inj_deadtime[6]=FF
inj_deadtime[7]=FF
inj_deadtime[8]=FF
inj_deadtime[9]=FF
acc_coeff_cold=FF
acc_coeff_warm=FF
acc_fadeout_rate1=FF
acc_fadeout_rate2=FF
acc_tps_deadband=FF
dec_coeff_cold=FF
dec_coeff_warm=FF
dec_fadeout_rate1=FF
dec_fadeout_rate2=FF
dec_tps_deadband=FF
film_coeff_cold=FF
film_coeff_warm=FF
film_rate=FF
film_scale=FF
film_rpm_scale=FF
vvti_cold=FF
vvti_idle=FF
vvti_pid_kp=FF
vvti_pid_ki=FF
vvti_pid_kd=FF
vvti_pid_ilimit=FF
vvti_channel=FF
accel_rpm[0]=FF
accel_rpm[1]=FF
accel_rpm[2]=FF
accel_rpm[3]=FF
accel_scale[0]=FF
accel_scale[1]=FF
accel_scale[2]=FF
accel_scale[3]=FF
inj_stage2_conf=FE
crankpw[0]=FF
crankpw[1]=FF
crankpw[2]=FF
crankpw[3]=FF
crankpw[4]=FF
crankpw[5]=FF
crankpw[6]=FF
crankpw[7]=FF
crankpw[8]=FF
crankpw[9]=FF
« Last Edit: February 27, 2009, 03:19:45 pm by Pet »

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: 10deg fixed advance in MT, doesn't change... 1.1.44alpha2
« Reply #1 on: February 27, 2009, 05:05:26 pm »
Direct orders from Hungary are best supported via the wiki.

Offline GintsK

  • Hero Member
  • *****
  • Posts: 1257
  • BHP: 50
Re: 10deg fixed advance in MT, doesn't change... 1.1.44alpha2
« Reply #2 on: February 28, 2009, 01:31:45 am »
For most of us .msq is more usable. How TPS is simulated?

Offline Pet

  • Full Member
  • ***
  • Posts: 121
  • BHP: 7
Re: 10deg fixed advance in MT, doesn't change... 1.1.44alpha2
« Reply #3 on: February 28, 2009, 02:59:53 am »
Sorry of course, here it is. TPS is simulated via potentiometr, one pin to the +5V, second AGND and wiper is leading to the AD channel 2.
http://frydstejn.unas.cz/pet_1.1.44a2.zip

I am now playing with it again and I find out, that values from VE table are choosen strange too, So my both VE and SPARK tables are reading badly, or here is some problem with my bench testing.....  But PW is changing, so maybe it's ok...
« Last Edit: February 28, 2009, 03:02:22 am by Pet »

Offline GintsK

  • Hero Member
  • *****
  • Posts: 1257
  • BHP: 50
Re: 10deg fixed advance in MT, doesn't change... 1.1.44alpha2
« Reply #4 on: February 28, 2009, 03:44:42 am »
refference tooth table should be 0-30-0-30. Or 0-30 safer.
Disable ALS and launch control!
Your VE and Spark maps looks normal. It is 12x12. MAT table is not filled.

I have some cars on 1.1.44 - advance is OK.

Offline Pet

  • Full Member
  • ***
  • Posts: 121
  • BHP: 7
Hi, so I think ALS and Launch ctrls are off......but still 10deg reading in MT. I already tried the debug mode and command "mdaxx", where xx is advance in 0.25deg and it works. (for ex. when I send mde20 (=>8.00deg, I can see this on the scope and MT really shows 8.0deg too).........Pls and what about Slot0 and Slot1 dual config setting ?, I have input for this feature disabled, so I thing it's ok....

Edit: I've tried upload 1.0.73 FW and it works, advance is changing !!!! Then when I use 1.0.73 working config for a new 1.1.44a2 FW, the situation is the same as before: advance is fixed on 10deg.....
« Last Edit: March 02, 2009, 01:58:06 am by Pet »

Offline Pet

  • Full Member
  • ***
  • Posts: 121
  • BHP: 7
Re: 10deg fixed advance in MT, doesn't change... 1.1.44alpha2
« Reply #6 on: October 02, 2009, 10:09:42 pm »
Hi, I tried once more this code, and still have the issue with advance locked on 10deg. When there are zero RPM, then cranking advance is changing well, exactly what I set then I see in MT spark gauge.
I was looking around configs etc and in "my_make" file I've found
#MY_CONF += -D NOIGN  # Disable all ignition related code, currently not supported:
Is it possible, that I have disabled all ignition code ?
The same situation is with newer FW like 1.1.59 etc. Please, anybody know, how to fix it ?? Thanks a lot for your help.

Offline Sambas

  • Sandwiches
  • Jr. Member
  • *
  • Posts: 71
  • BHP: 15
Re: 10deg fixed advance in MT, doesn't change... 1.1.44alpha2
« Reply #7 on: October 03, 2009, 01:02:11 am »
What is your board serialnumber? Have you used ISP?
Firmware, Software and Hardware

Offline Pet

  • Full Member
  • ***
  • Posts: 121
  • BHP: 7
Re: 10deg fixed advance in MT, doesn't change... 1.1.44alpha2
« Reply #8 on: October 04, 2009, 12:54:03 pm »
What is your board serialnumber? Have you used ISP?

PM sent.