delco ecu identify and VATS off

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
solitaire
Posts: 6
Joined: Mon Nov 28, 2022 4:12 am
cars: chrysler T&C
Location: EU, Lithuania

Re: delco ecu identify and VATS off

Post by solitaire »

Thanks,
How about CRC? Someone known algo and block size?
User avatar
antus
Site Admin
Posts: 8261
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: delco ecu identify and VATS off

Post by antus »

In-Tech wrote:Hiya Folks,
I can't remember if I need to byte flop the entire .bin file or just segments and I haven't stumbled across all my notes from back in the day.
You can use the gq4x4 eeprom programmer software (GQUSBProg) which is a free download to load the bin, byte swap all of it (A<->B icon) and save it again. It is byte swap the whole file. https://www.mcumall.com/downloads/
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
In-Tech
Posts: 792
Joined: Mon Mar 09, 2020 4:35 pm
Location: California

Re: delco ecu identify and VATS off

Post by In-Tech »

Hiya antus, I actually have one of those eprom programmers and it is the software that I used to byte swap simply, it did the entire .bin file. I just can't remember if the entire file was needed or just a segment or two? I think I have a black box at the shop so I can experiment better when I get time and hopefully find it. solitaire, I wish you were closer, I could do for you quickly on the bench via the OBD2port :(
gmc yukon_ab28f400bx_99_ori_byteswap.bin
(512 KiB) Downloaded 54 times
User avatar
antus
Site Admin
Posts: 8261
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: delco ecu identify and VATS off

Post by antus »

yep for the background the byte swap is because of how the chip is working connected to the ecu (16bit mode, with the opposite byte order), thats why it applies to the whole chip. there is nothing like that at the segment level.
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
In-Tech
Posts: 792
Joined: Mon Mar 09, 2020 4:35 pm
Location: California

Re: delco ecu identify and VATS off

Post by In-Tech »

Thanks antus, I'll see what I can find. When I find the segment with the VATS bit, shouldn't we be able to set the bit then find an unused FF and set it to FE so checksum matches, then byteflop again so he can program the flash chip? Sorry if these are dumb questions.
User avatar
antus
Site Admin
Posts: 8261
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: delco ecu identify and VATS off

Post by antus »

Yes, thats right. From comparing the output of other software I can see vats disabled is 00 to 01 at F0BE and Checksum is subtract 1 44 to 43 at EF94. I would assume sum is checksum-16 at EF93 but I havnt verified the endianness to be sure of that. Its the system segment, and sum is in the system segment header.
Attachments
gmc yukon_ab28f400bx_99_ori_byteswap_vats_disabled.bin
(512 KiB) Downloaded 61 times
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
In-Tech
Posts: 792
Joined: Mon Mar 09, 2020 4:35 pm
Location: California

Re: delco ecu identify and VATS off

Post by In-Tech »

Awesome antus :thumbup: :thumbup: :thumbup: :thumbup: :thumbup: :thumbup: :thumbup:
Do you feel confident that he should write this and re-solder?
User avatar
antus
Site Admin
Posts: 8261
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: delco ecu identify and VATS off

Post by antus »

yes I do, and hopefully we can come up wiith a software flash tool, and someone can make XDFs later. Just remember to byteswap it back before writeing.
Attachments
vats disabled.png
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
User avatar
Gampy
Posts: 2333
Joined: Sat Dec 15, 2018 7:38 am

Re: delco ecu identify and VATS off

Post by Gampy »

There is also C# source code for a tiny command line ByteSwap program included in the DevTools folder of the PCM Hammer repository ...

Hope this is ok to post?

It's use is simple, ByteSwap <input file> <output file>
ByteSwap.exe
(6 KiB) Downloaded 70 times
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
In-Tech
Posts: 792
Joined: Mon Mar 09, 2020 4:35 pm
Location: California

Re: delco ecu identify and VATS off

Post by In-Tech »

To solitaire,
"Just remember to byteswap it back before writeing" by antus
:)
Post Reply