VATS confusion

Holden/Delco Tuning. ALDL, OBD 1.5. Circa 1989 to 2004.
hatchssv8
Posts: 45
Joined: Sun Jan 17, 2010 6:14 pm
cars: Holdens 66, 76, 77, 90, 05
Location: Melbourne

VATS confusion

Post by hatchssv8 »

Need some clarification on switching VATS of (ie Disabling VATS in selected bin)
I did a search and could not find out where I am going wrong, mind you I have successfully done it previously but that was about 2 years ago

so...... for a VS V8 Auto
I am reading stock holden bin BWFU0810 (downloaded from this site) with XDF $83 in TP5
KKKPGMID Prog ID is 83,,,,I change this to AA and save
KOPTFLG4 Bit 0 is SET (set box ticked)
I then save as BWFU0810 no VATS.bin
Then I burn to a EEPROM SST27SF512 with no offset

Have I disabled VATS???????

My brain feels like mush. Any help with this is much appreciated.

Thanks in advance
User avatar
The1
Posts: 4811
Joined: Mon Jan 04, 2010 10:23 am

Re: VATS confusion

Post by The1 »

yes just have to change the flag to disable vats.

Attached maybe a newer xdf than what you have by the sounds
Attachments
$83 VS V8 v1.01.xdf
(118.34 KiB) Downloaded 274 times
hatchssv8
Posts: 45
Joined: Sun Jan 17, 2010 6:14 pm
cars: Holdens 66, 76, 77, 90, 05
Location: Melbourne

Re: VATS confusion

Post by hatchssv8 »

ok I will also use the xdf you attached (the file I am using is 83HoldenVS_V8_v2 (mask $83).xdf)

So I need to uncheck the box? (no tick means VATS disabled)

Gee I must sound so stupid
User avatar
The1
Posts: 4811
Joined: Mon Jan 04, 2010 10:23 am

Re: VATS confusion

Post by The1 »

that's correct if it's ticked untick it :)
hatchssv8
Posts: 45
Joined: Sun Jan 17, 2010 6:14 pm
cars: Holdens 66, 76, 77, 90, 05
Location: Melbourne

Re: VATS confusion

Post by hatchssv8 »

Cheers The1.

Many thanks.
hatchssv8
Posts: 45
Joined: Sun Jan 17, 2010 6:14 pm
cars: Holdens 66, 76, 77, 90, 05
Location: Melbourne

Re: VATS confusion

Post by hatchssv8 »

ok. did the change as described above.

so as a sanity check, I load both the original bin and the modified bin in TP5 compare
I run the difference tool and there are many changes. Not just two

Shouldn't there only be two differences?
User avatar
VL400
Posts: 4991
Joined: Sun Mar 01, 2009 2:54 pm
cars: VL Calais and Toyota Landcruiser. Plus some toys :)
Location: Perth, WA
Contact:

Re: VATS confusion

Post by VL400 »

You should get the two bytes you changed plus, depending on the XDF, it may have tried to update two other checksum bytes - it will get the calc wrong but setting program ID to AA fixes that problem. So should have only 2 or 4 bytes different.
hatchssv8
Posts: 45
Joined: Sun Jan 17, 2010 6:14 pm
cars: Holdens 66, 76, 77, 90, 05
Location: Melbourne

Re: VATS confusion

Post by hatchssv8 »

Thanks for the feedback so far.

I have redone this a few times and I am now only getting four bytes difference.

I only need clarification on the VATS checkbox
TP title = KOPTFLG4: Option Word 4 - Bit 0 - Bit 0
TP desc = Bit 0 1 = Disable anti-theft module control

So, if the checkbox is ticked, is the VATS disabled?
If so, then unticked= VATS enabled and ticked= VATS disabled

I am not disagreeing with The1 where he says to untick the checkbox, it just doesn't agree with the TP description.

Oh, as this is a VS V8 Auto bin @ 64k written originally on a 128k chip, I should file offset by 8000 as I am writing to a 512k?

Is there a table available which can be referenced with regard to file offsetting and stacking when burning chips?

Thanks again
User avatar
antus
Site Admin
Posts: 9009
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: VATS confusion

Post by antus »

try whats in the description, it should be the opposite to how its set in the stock bin.

512k for an eprom is 512kbit, and there is 8 bits in a byte. so 512/8=64kbyte. So to put a 64k file on it there should be no offset. to calculate offsets, make sure all the numbers you have are in bytes and then subtract the bin size from the size of the storage. That is your offset and will position the bin so that it is aligned with the end of the chip, rather than the start.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
hatchssv8
Posts: 45
Joined: Sun Jan 17, 2010 6:14 pm
cars: Holdens 66, 76, 77, 90, 05
Location: Melbourne

Re: VATS confusion

Post by hatchssv8 »

crystal clear antus.
thanks
Post Reply