Alien Logging
After the FirstProblem is solved I want to log my Ignition to get an Idea how much Advance vs. boost i have. Do i need to populate the second LM1815 Chip? I want to log the Ignition in the car, because my Ignition have two triggers (first one every 180deg on TDC Cyl. 1+4 and on TDC Cyl. 2+3, second one 122teeth per revolution at the Starter gear). Is it right that i need a cable from the Coil Pin 1 to the input of the second trigger?
In my_make:
LOG_ALIEN ?
SEND_DWELL_NOT_IAC ?
CAPTURE_ALIEN_ECU O.K.
MS_COMPATIBILITY NOT defined O.K.
MSNS NOT defined O.K.
See my notes on OnlineCourse/AlienIgnitionLogging
In global.h i found for trigger2:
bit0 0:falling/1:rising,
bit1 0:enable/1:disable,
bit2 0:no filtering/1:filtering,
bit3 0:toothwheel/1:coil,
bit4 0:alien advance/1:cam sync,
bit5 0:single edge/1:both edges when cranking
so i think config.secondary_trigger=13 ?
Sensor Calibration
The most frustrating work for a newbie is Sensor calibrating.
I changed the gentherm2 utility for my needs. You put the three temp-resistance Pairs in and get a hex file out with which you can patch vems.hex. I put my Sensor calibration Data and this program into [Sensor Url].
I found a little Problem with hexpatch and my VDO cltfactor file:\nÿ1ÿ
Maybe somebody knows why this is?
If I patch the vems.hex with hexedit - no problem.
- can you zip the files that were used (vems.hex, temp...hex and the command that was used) ?
- what is gentherm2 ? rob: Gentherm2 is a c program where you can apply Steinhart-Hart curve calc. So you can get the Resistance for every temperature with 3 Resistance, Temperature Pairs. It is the same calculation as used in EasyTherm.
- How did you change gentherm2 ? rob: Output is now Intel hex format, you can directly patch vems.hex - no need for inc2tbl and recompiling. The Reference Voltage of the ADC and the Voltage
I used Lcc to compile it (under Windows). I uploaded everything under: [Sensor Url].
Trigger Question
I bought a Lancia Dedra Integrale. Crank Trigger is every 90 degree (4 Pulses per Rotation), Cam Trigger is 2 Pulses with 90 (Cam-) Degree distance.
Is this Trigger supported (maybe if I change to only one Cam Trigger Pulse)?
Why are in the firmware files missing since firmware 1.0.23?
I would like to add a little Code for a Digital Input with SPI (with a shift Register). The files which are missing are: adc.c, wbo.c, timing.c maybe some more.