Well, that didn't go too well... Now my firmware has gone haywire and neither 1.0.73, nor 1.0.53 will upload.
Whenever I go to generateconfig.bat, I get a 'no hello from AVR message', the same thing when I try to upload either firmware
When I first uploaded the 1.0.53 again, I skipped the steps of generate and downloadconfig.bat, so I'm sure this can't have helped either. I just don't understand this stuff, but am beginning to realise that this has to be firmware problem as all the mechanical and electrical side of things is fine (as is the crank wave signal on the oscilliscope).
How the hell do I make this work now... now my VEMS powers up fine and gives the 1.0.53 firmware message, but the LCD goes mad after that and shows its readings in repeated rows (the RPM line runs repeatedly down the screen for example) . The controller code doesn't match the Megatune software now either, so I also can't connect properly to that.
I have obviously further corrupted the firmware, but how do I fix it now? This whole process makes me feel very old and technologically stupid.
I do have copies of the following tables:
Config:
primep=0A
primep_temp_scaling=00
cwl=46
cwh=10
cranking_thres=03
awev=14
awev_temp_scaling=0A
awec=2A
warmup_clt_range[0]=00
warmup_clt_range[1]=10
warmup_clt_range[2]=24
warmup_clt_range[3]=38
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]=8C
warmup_clt[1]=8C
warmup_clt[2]=8C
warmup_clt[3]=82
warmup_clt[4]=7F
warmup_clt[5]=7B
warmup_clt[6]=77
warmup_clt[7]=72
warmup_clt[8]=6D
warmup_clt[9]=64
warmup_rpm_scale=CC
req_fuel=50
divider=01
alternate=13
injopen=00
battfac=13
kpafac=96
kpaoffs=80
injocfuel=2A
injrampup_battfac=FF
injpwm=FF
injpwmt=0A
als_launch_input=0F
rpmk[0]=0B
rpmk[1]=B8
tpsdot_kpadot_conf=00
tpsdotrate[0]=03
tpsdotrate[1]=0A
tpsdotrate[2]=14
tpsdotrate[3]=1E
tpsaq[0]=00
tpsaq[1]=0A
tpsaq[2]=14
tpsaq[3]=1E
als_cut_mintps=3B
tpsasync=06
acmult=8C
tpsacold=28
launch_enrich=33
launch_retard=60
overrun_fuelcut=64
overrun_fuelresume=64
rev_limit=4E
airden_ignore=00
config11=31
config12=40
config13=02
batt_cal=BC
fastidle=FC
als_max_cut=00
dbaro=0C
tps_low=00
tps_high=FF
fan_temp=5F
fan_hyst=05
fan_channel=FF
iac_step_seq=C9
iac_conf=58
iac_max_steps=FF
iac_tps_thres=1A
iac_cold_idle_temp=7E
iac_warm_idle_temp=C6
iac_cold_rpm=78
iac_warm_rpm=50
iac_cold_start_pos=B3
iac_warm_start_pos=4D
iac_afterstart_rpm=0A
iac_afterstart_duration=00
iac_speed=04
iac_kp=14
iac_ki=0A
iac_kd=0A
launch_rpm=64
iac_integral_limit_dec=32
iac_integral_limit_inc=32
iac_integral_deadband=14
iac_deadband=1E
als_cut_maxtps=80
iac_overclose_interval=80
iac_ref_pos[0]=FF
iac_ref_pos[1]=FF
iac_ref_pos[2]=F2
iac_ref_pos[3]=E6
iac_ref_pos[4]=D9
iac_ref_pos[5]=CC
iac_ref_pos[6]=B3
iac_ref_pos[7]=A6
iac_ref_pos[8]=99
iac_ref_pos[9]=8C
iac_sol_channel=70
iac_ign_slope=28
softrpm_range=4B
iac_ign_advance_limit=20
iac_ign_retard_limit=20
iac_ign_threshold=08
ego_conf=06
ego_lag=01
ego_coolant=B4
ego_maxtps=E6
ego_maxmap=00
ego_minrpm=06
ego_maxrpm=49
ego_warmup=3C
ego_lean_limit=00
ego_rich_limit=00
ego_pid_kp=28
als_enrich=1A
ego_delta=00
ego_target=19
ego_pid_window=FF
wbo2_warmup_ramp=A0
als_react_tps=99
wbo2_abs_limit=E4
wbo2_limit_maxt=A0
wbo2_fallback=B0
wbo2_retry_t=06
wbo2_edgetime_corr=BA
wbo2_edgetime_min=50
wbo2_ri_target=96
wbo2_nernstdc_target=85
wbo2_pump_pw_zero=68
wbo2_calibration=A8
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_conf=00
knock_sampling_window=28
knock1_frequency=29
knock1_gain=00
knock1_integrator=0F
knock2_frequency=29
knock2_gain=00
knock2_integrator=0F
knock_threshold=FF
knock_noise_scale=FF
knock_max_retard=00
knock_default_retard=00
knock_retard_step=00
knock_retard_delay=00
knock_advance_step=00
knock_advance_delay=00
knock_minrpm=FF
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=33
ve_learn_conf=00
lcd_c0=FF
lcd_delay=FF
lcd_backlight=FF
kpa_conf=22
ign_balance=50
als_retard_mintps=3B
als_retard_maxtps=80
lcd_default_view=00
primary_trigger=01
secondary_trigger=02
tooth_wheel=3A
trigger_tooth=03
another_trigger_tooth=1E
crank_minper=EA
tooth_wheel_twidth1=02
tooth_wheel_twidth2=06
cam_sync_r_edge_phase=01
cam_sync_f_edge_phase=02
reset_engphase_after=F0
ign_tdcdelay=78
ign_dwell14=1F
ign_dwell6=38
ign_crank_advance=14
ign_out=70
ignchmax=03
engine_off_delay=0F
pump_on_mintime=0B
fuelpump_channel=57
inj_stage2_rate=FF
inj_stage2_start_tps=FF
inj_stage2_start_map=00
als_deact_rpm=0A
als_deact_time=05
als_deact_egt=00
als_retard=F0
als_rev_limit=64
misc1out_minrpm=01
misc1out_maxrpm=FF
misc1out_mintps=FF
misc1out_maxtps=FF
misc1out_minmap=00
misc1out_maxmap=00
misc1out_channel=FF
misc2out_minrpm=FF
misc2out_maxrpm=FF
misc2out_mintps=FF
misc2out_maxtps=FF
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=47
als_tks_channel=FF
boost_conf=00
boost_targetoffs=00
boost_minpressure=80
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=7A
toothrel_missing=B5
fuelcut_min_kpa=0A
fuelcut_max_kpa=7D
tach_channel=07
tach_div=10
shiftcut_conf=01
shiftcut_channel=FF
shiftcut_time=00
softrpm_rpm=4B
Tables:
j[0]=6580 6580 6580 6680 6780 6880 6980 6980 6B80 6980 6280 5B80
j[1]=6480 5D80 5B80 5F80 6580 6880 6980 6880 6C80 6D80 6780 5E80
j[2]=6380 5B80 5980 5E80 6380 6780 6980 6880 6D80 6D80 6980 6180
j[3]=6380 5980 5680 5980 6180 6480 6680 6680 6B80 6F80 6B80 6380
j[4]=6380 5980 5880 5880 5F80 6280 6580 6580 6A80 6F80 6D80 6480
j[5]=6480 5F80 5A80 5A80 5E80 6180 6380 6580 6A80 6F80 6E80 6780
j[6]=5F80 5F80 5C80 5B80 6080 6380 6480 6780 6B80 7180 7080 6980
j[7]=6580 6280 5C80 5C80 6080 6480 6880 6C80 7380 7680 7580 6C80
j[8]=6F80 6B80 6880 6380 6380 6780 6B80 6F80 7780 7A80 7980 7080
j[9]=7880 7680 6E80 6A80 6880 6B80 7080 7680 7C80 8080 8080 7880
j[A]=8580 8380 7F80 7B80 7A80 7D80 8180 8680 8B80 8E80 8C80 8480
j
=8E80 8D80 8B80 8880 8780 8A80 8D80 8E80 9380 9680 9580 8F80
l[0]=3D 36 2F 2F 2F 2F 2F 2F 2F 2F 2F 2F
l[1]=37 34 31 31 31 31 31 31 31 31 31 31
l[2]=37 36 31 31 31 31 31 31 31 31 31 31
l[3]=37 37 37 37 37 37 37 37 37 37 37 37
l[4]=37 37 43 47 4F 4F 4F 4F 4F 4F 4F 4F
l[5]=47 47 4F 55 58 58 58 58 58 58 58 58
l[6]=66 66 66 66 66 66 66 66 66 66 66 66
l[7]=6B 6B 6B 6B 6B 6B 6B 6B 6B 6B 6B 6B
l[8]=6B 6B 6B 6B 6B 6B 6B 6B 6B 6B 6B 6B
l[9]=6B 6B 6B 6B 6B 6B 6B 6B 6B 6B 6B 6B
l[A]=6B 6B 6B 6B 6B 6B 6B 6B 6B 6B 6B 6B
l=6B 6B 6B 6B 6B 6B 6B 6B 6B 6B 6B 6B
n[0]=D0 08 08 30 68 A0 BC BC BC C0 C0 C4
n[1]=40 08 08 34 68 98 BC BC BC C0 C0 C4
n[2]=40 08 08 38 70 94 BC BC BC C0 C0 C4
n[3]=40 14 14 40 78 94 A8 B0 B0 B8 B8 C0
n[4]=40 1C 1C 4C 7C 94 94 A0 9F A8 B0 B8
n[5]=2C 2B 2B 4C 78 8C 94 88 88 90 94 9C
n[6]=2C 38 38 48 70 74 78 70 70 78 7C 7C
n[7]=2C 38 38 44 68 6C 70 68 68 70 74 74
n[8]=2C 38 38 3B 54 58 5C 54 53 5C 60 64
n[9]=2C 30 30 34 48 48 4C 48 44 48 4C 54
n[A]=2C 30 30 2B 30 30 30 28 28 2C 30 30
n=2C 1C 1C 18 10 10 0C 08 08 0C 10 10
k[0]=0A 0F 14 1C 22 28 2B 3C 4B 5F 78 96
r[0]=07 08 0C 11 18 1E 23 28 32 3C 46 52
h[0]=02 08 10 41 00 00 00 80
h[1]=00 00 00 00 00 00 00 00
h[2]=01 02 01 02 04 05 06 07
b[0]=14 18 1C 20 24 28 2C 30 80 80 80 80
t[0]=21 40 60 80 A0 C0 E0 FF
Hopefully these aren't now corrupted aswell