This project is in a weird state. Do not experiment without a concept (the most likely outcome is wasted time and perhaps damage.
Do not experiment with known trashed config. It does not make sense.
Pointing to a wiring that apparently does not even match the connector type => unlikely that it could work this way.
History
I purchased a 2nd hand home-assembled PnP VEMS v3.3 and have installed it on my Mk1 VW Golf 2.0 ABF 16v Turbo. The former owner has written a lot of info about the assembly here:
MembersPage/BasilDaham/CordobaSX
- PNP means that (according to referred page) your frontplate has T68 main connector (non-factory assembled device).
- but this is inconsistent with the controller you sent in, which does NOT have T68 connector, but standard econoseal EC36+EC18.
- Jason suggests this might be an "adapter harness" (not PNP). Can you take a photo (near the ECU connector) or use a better description ?
- THANKS FOR THE UPDATE - MUCH APPRECIATED: You're right, PnP is the wrong term, it is an adapter harness where the original harness's multiplug pinouts have been used and then run to the EC36 and 18 connectors.
- in any case, watch the ground rules, easy to get wrong with a homebuilt PNP device. Thanks - all grounds checked for consistency and are fine.
The v3 #671 mainboard was replaced after damage, to brand new #1746. Hopefully the new is not killed yet. Appears to be perfect.
It would be best to write your own pages. Fine to start by copying parts from Basil (0 time), but make sure to only include the wires that you really have, and verified, preferrably end-2-end from engine connector to ECU connector. Including the flyback and the 5 ground wires!
You can update your own page any time (you understandably don't change Basil's), and to get things sorted instead of getting them tangled more and more.
- UPDATE 2/July/2008
Rob from VEMS UK sent me a known good config, which can be viewed here:
http://vems.hu/www.vems.co.uk/VEMSInstalls/VemsMT1.0.73.60-2.zip
The crank signal is now perfect and everything else appears ok
- but only have spark to cylinders 1 & 4
- see Ignition outputs below. You apparently wired ignch 0 and 1, configure accordingly
The car runs wastespark Bosch VW coil (exact type or photo maybe?) with the factory ignitors removed.
The coil is identifiable in this picture:
It is used on all Golf 4s as far as I am aware.
This is the complete engine:
Checklist - unlikely to be a problem though
Only after you stop experimenting with known trashed config. First upload a known good config and check these if you still have a problem.
- I don't have a copy of the original config as I never generated it when the VEMS first arrived
- is the input type jumper set OK ?
- Trying a VR input setup inside the box, with a HALL sensor connected could give trigger problems
- MembersPage/BasilDaham/CordobaSX lists HALL, and we are trying a HALL sensor, but ...
- theoretically HALL, HALL trigger, but it could be a good idea to doublecheck the blobs near the LM1815 (the one closer to atmega), to see which one is shorted ( GenBoard/Manual/InputTriggerHardWare and GenBoard/VerThree/Schematic ). (can be seen with removing endplate only, do not unclamp the device)
- is the wheel the same 60-2 HALL type as earlie ?
- VR wheel is not stable for HALL
When we first installed the computer, the car ran ok, but with a weak spark. After a few starts, the crank signal started to become intermittent: it would appear and then disappear and the car would run and then fail to run without the signal.
Would be typical with insufficient grounding, but we know little about wiring so hard to tell.
Eventually, the RPM signal disappeared entirely and "trigger errors" showed up on Megatune.
- After checking all the grounds (all fine)
- this may contradict the other info (down): remade all of the grounds => RPM returned
- and everything else, we decided it must be a hardware problem, so sent the ECU back to Hungary where said it showed signs of damage and replaced the board.
- with the new mainboard, first had no crank signal.
- pulled harness out and remade all of the grounds to make entirely sure they were ok. After doing this and replacing the crank angle sensor (just to make extra sure) the RPM signal returned.
- However, the ECU had come back with the 1.0.73 firmware installed and this resulted in no spark.
- Not being entirely sure how to fix it with all the config. stuff
- STOP. Do not start the engine, before wiring details are clarified, firmware and config uploaded.
- STOP experimenting, start to detail the wiring, measure while you're doing it
Since this point, the RPM signal has become intermittent again:
- It jumps to 250rpm under cranking and back to 0rpm all the time: signal, no signal, signal, no signal
not surprising: if suitable config not uploaded
- you likely not have tooth_wheel=3A
- in MT primary trigger settings number of tooth on wheel=58
To untangle this, subsystems should be moved (deleted from this page) to their own subpages. Only leave uptodate info there. If writing any info that is old (eg. config dump read BEFORE the most recent firmware upgrade) :
- MembersPage/StuFrench/TriggerSetup (factory multitooth 60-2 HALL on crankshaft)
- MembersPage/StuFrench/InjOutputs
- MembersPage/StuFrench/IgnOutputs
Other history
- there might be some internal trigger setup uncertainty, although it should theoretically be HALL, HALL
- the controller was admittedly damaged due to bad install (missing flyback) earlier, but hopefully the wiring was fixed.
- The ground was fixed
- the flyback was also fixed ?
TRIGGER SETTINGS/INFO:
Edge: Rising
Type: Multitooth
Filtering: Disabled
Advanced filtering: Disabled
Special N-1: Disabled
Fiat Stilo: Disabled
TDC after trigger: 60
Number of teeth on wheel: 58 are you sure ?
Trigger tooth: 3
Next trigger tooth: 30
Crank min period: 3744 usec
Angular width of tooth: 2
Tooth relation Normal: 122 (irrelevant with multitooth advanced filter disabled)
Tooth relation Missing: 181 (irrelevant with multitooth advanced filter disabled)
Angular width of missing teeth: 6
Engine phase: 240
CRANK SENSOR WIRING:
- EC36pin28 for 5v supply
- EC36pin27 for signal
- Sensor ground to EC36pin26
I AM CONVINCED THIS MUST BE A CONFIG PROBLEM
- the crank sensor is performing fine and the car HAS run before.
- important: When I first got the car running upon installing the VEMS and harness, I opened Megatune using Megasquirt version of the program, and clicked 'ok' when it warned that table corruption may occur. The car has never run properly since this point in time.
- likely you just need to upload the config and tables, it's absolutely pointless to experiment with a KNOWN TRASHED config
- to verify, dump with TerminalProgram mcd / mct,
- or more userfriendly upload tool: recent [vemstune] to download config (you can also upload with it as well)
- than compare to your known good config.txt
- At this stage, this is my saved config.txt for 1.0.73Final
- what is "this" stage ? Is it dumped when the engine was working or after the whole config was THRASHED ?
- Tables can be checked against MembersPage/BasilDaham/CordobaSX info
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.txt
Ignition outputs with spark table H2 values changed to from 1.0.53 to suit 1.0.7x:
If you have i259/1 and i259/2 than
- from h[2]=01 02 01 02 01 02 01 02 (1.0.5x firmware)
- to h[2]=10 20 10 20 10 20 10 20 (1.0.7x firmware)
But MembersPage/BasilDaham/CordobaSX suggests i259/1 and i259/0 like maybe
- cyl2,3 EC36-35||I259_0||
- cyl1,4 EC36-33||I259_1||
h[2]=10 00 10 00 10 00 10 00
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[B]=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[B]=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[B]=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]=10 20 10 20 10 20 10 20
b[0]=14 18 1C 20 24 28 2C 30 80 80 80 80
t[0]=21 40 60 80 A0 C0 E0 FF
- I know how to edit, save and upload the tables, but don't understand them
Are you absolutely sure you uploaded this config and tables ? It sounds like you uploaded firmware without uploading config + tables.
That means the above mcd/mct might not be what you have in. You can download, verify again.
Or you can just do what should have been essential in the first place, and upload your known good config.
If still no success
publish details about your setup (see IssueReports for checklist )
- firmware
- mcd / mct dump ( vemstune, "config download" )
- not the config that you certainly know is not in there anymore because it was trashed, but the downloaded mcd / mct. This is very important.
- Looking at a config that has nothing to do with what you have in now is pointless !
- logs
- etc...