This is for my 2L Alfa spider 4 cyl
trigger is runing at cam speed 36-1
trigger feeding trigger configed to hall
driving 2 wasted coils
coil driver 5 and coil driver 6
one if the injector drivers(any one) will feed the servo to control the mec-FI
after I found out the generate-config.bat and the upload-config.bat do not work right.
I loaded 1.0.36 fw and used a saved MT file I have for my other car then loaded 1.0.73 and changed the stuff like the trigger etc and it seems to have worked.
I nolonger get stuff on the com port while triggering too.
inside wiring for knock
It is working now. I started out clean with mcells config and it just worked.
I here that tooth_wheel_twidth is not used any more and to set it to 0xff
it does not seem to care what I put in there.
Everything looks good to me except tooth_wheel_twidth1 should be 0x0A, for a 10 degree tooth width on the trigger wheel.
Hall
showing the tooth cut out of my Spica pump drive wheel
had 36 teth now I only have 35 left.
This is my 2nd proto
This is my first proto
I will remake it now and clean stuff up
http://www.vems.hu/files/sly/megasquirt200507080255.msq
- Where is your system description ?
- Where are your tables ?
Notes
- For outputs, you should prefer that ECU pulls to GND5 when active. This way any output (with sufficient current capability) can be used easily. Although stepper outputs can drive to high, you can invert them so they drive low when active. This way it is easier to change outputs. Changing output can be necessary in a clone-install that uses stepper outputs for ignition or stepper idle, or in your install if the given output is damaged (or misbehaving, or just for test). See GenBoard/Manual/DigitalOut. To use active-low :
- fan_channel=56 should be fan_channel=D6
- fuelpump_channel=36 should be fuelpump_channel=B6
config
primep=BE # do you really need this loooong 19 msec priming pulse ?
primep_temp_scaling=A0 # do you really need this extremely long 19msec * 160/256 = 11.9 msec priming pulse at warm ?
cwl=DC
cwh=0F
cranking_thres=03 # threshold 399 RPM
awev=28
awev_temp_scaling=A0
awec=FF
warmup_clt_range[0]=00
warmup_clt_range[1]=00
warmup_clt_range[2]=00
warmup_clt_range[3]=10
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]=7A
warmup_clt[1]=78
warmup_clt[2]=76
warmup_clt[3]=74
warmup_clt[4]=72
warmup_clt[5]=70
warmup_clt[6]=6D
warmup_clt[7]=67
warmup_clt[8]=64
warmup_clt[9]=64
warmup_rpm_scale=DE
req_fuel=03
divider=02
alternate=10
injopen=00
battfac=10
kpafac=7E
kpaoffs=AA
injocfuel=2E
injrampup_battfac=FF
injpwm=FF
injpwmt=FF
als_launch_input=FF
rpmk[0]=07
rpmk[1]=D0
tpsdot_kpadot_conf=00
tpsdotrate[0]=0A
tpsdotrate[1]=14
tpsdotrate[2]=28
tpsdotrate[3]=A0
tpsaq[0]=00
tpsaq[1]=01
tpsaq[2]=02
tpsaq[3]=04
als_cut_mintps=03
tpsasync=02
acmult=FF
tpsacold=05
launch_enrich=64
launch_retard=0A
overrun_fuelcut=3C
overrun_fuelresume=37
rev_limit=41
airden_ignore=62
config11=31
config12=30
config13=02
batt_cal=BA
fastidle=80
als_max_cut=04
dbaro=0C
tps_low=AC
tps_high=1C
fan_temp=E1
fan_hyst=02
fan_channel=56 # stepper C
iac_step_seq=C9
iac_conf=58
iac_max_steps=F0
iac_tps_thres=03
iac_cold_idle_temp=A0
iac_warm_idle_temp=CF
iac_cold_rpm=6E
iac_warm_rpm=55
iac_cold_start_pos=BF
iac_warm_start_pos=A6
iac_afterstart_rpm=0A
iac_afterstart_duration=1E
iac_speed=01
iac_kp=19
iac_ki=05
iac_kd=05
launch_rpm=36
iac_integral_limit_dec=46
iac_integral_limit_inc=14
iac_integral_deadband=01
iac_deadband=02
als_cut_maxtps=00
iac_overclose_interval=05
iac_ref_pos[0]=94
iac_ref_pos[1]=91
iac_ref_pos[2]=8F
iac_ref_pos[3]=8C
iac_ref_pos[4]=8C
iac_ref_pos[5]=8C
iac_ref_pos[6]=8C
iac_ref_pos[7]=8C
iac_ref_pos[8]=8A
iac_ref_pos[9]=8A
iac_sol_channel=70
iac_ign_slope=FE
softrpm_range=50
iac_ign_advance_limit=3C
iac_ign_retard_limit=00
iac_ign_threshold=14
ego_conf=06
ego_lag=0C
ego_coolant=00
ego_maxtps=00
ego_maxmap=6E
ego_minrpm=05
ego_maxrpm=50
ego_warmup=15
ego_lean_limit=80
ego_rich_limit=80
ego_pid_kp=28
als_enrich=00
ego_delta=03
ego_target=19
ego_pid_window=FF
wbo2_warmup_ramp=9C
als_react_tps=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=8D
wbo2_pump_pw_zero=64
wbo2_calibration=C8
wbo2_heater_pid_kp=45
wbo2_heater_pid_ki=11
wbo2_heater_pid_kd=1A
wbo2_heater_pid_ilimit=81
wbo2_pump_pid_kp=28
wbo2_pump_pid_ki=60
wbo2_pump_pid_kd=00
wbo2_pump_pid_ilimit=28
wbo2_ri_confidence_scale=80
knock_conf=00
knock_sampling_window=FF
knock1_frequency=E9
knock1_gain=FF
knock1_integrator=FF
knock2_frequency=E9
knock2_gain=FF
knock2_integrator=FF
knock_threshold=FF
knock_noise_scale=FF
knock_max_retard=FF
knock_default_retard=00
knock_retard_step=FF
knock_retard_delay=FF
knock_advance_step=FF
knock_advance_delay=FF
knock_minrpm=64
knock_maxrpm=64
ve_learn_coolant=90
ve_learn_max_power=FF
ve_learn_rpm_scale=FF
ve_learn_kpa_scale=FF
ve_learn_ego_scale=FF
ve_learn_min_weight=01
ve_learn_speed=FF
ve_learn_limit=21
ve_learn_conf=02
lcd_c0=FE
lcd_delay=FF
lcd_backlight=FF
kpa_conf=21
ign_balance=00
als_retard_mintps=FF
als_retard_maxtps=FF
lcd_default_view=00
primary_trigger=00
secondary_trigger=02
tooth_wheel=23
trigger_tooth=00
another_trigger_tooth=09
crank_minper=00 # 0 is safe here
tooth_wheel_twidth1=50 # 36-1 camwheel => 20 degrees = decimal 80 (only matters for 1.1.x firmware)
tooth_wheel_twidth2=A0 # 40 degrees (decimal 160)
cam_sync_r_edge_phase=3C
cam_sync_f_edge_phase=50
reset_engphase_after=A0 # does not matter, but recommended by GenBoard/UnderDevelopment/FirmwareChanges for future compatibility.
ign_tdcdelay=62 # 49 degrees (decimal 98)
ign_dwell14=1C
ign_dwell6=1E
ign_crank_advance=20
ign_out=70
ignchmax=03
engine_off_delay=08
pump_on_mintime=13
fuelpump_channel=36 # stepper A
inj_stage2_rate=FF
inj_stage2_start_tps=FF
inj_stage2_start_map=FF
als_deact_rpm=FF
als_deact_time=00
als_deact_egt=00
als_retard=00
als_rev_limit=64
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=3E
act_rpm_rpm=FF
act_rpm_channel=FF
egt1_cal=4A
als_tks_channel=0F
boost_conf=00
boost_targetoffs=00
boost_minpressure=FF
boost_pid_kp=20
boost_pid_ki=80
boost_pid_kd=01
boost_pid_ilimit=FF
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=B5
toothrel_missing=76
fuelcut_min_kpa=14
fuelcut_max_kpa=78
tach_channel=46
tach_div=01
shiftcut_conf=ED
shiftcut_channel=FF
shiftcut_time=FF
softrpm_rpm=41