GM E38 E67 E40 Kernel/Bootloader Development Extravaganza

Disassembly, Reassembly, Tools and devleopment. Going deep with Hardware and Software.
User avatar
Tazzi
Posts: 3425
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: GM E38 E67 Kernel/Bootloader Development Extravaganza

Post by Tazzi »

Finally back onto this. Been a bit nuts recently with corona.

Iv lost a bit of progress I did with CRCs on the files for checksum. Either I didnt do it on the desktop or I didnt save and have had a power outage while away for a few days. :thumbdown:

Kinda lucky I came back when I did.. since even the local borders have closed. Where I was staying was classed as being a different area so I would have been stranded :wtf:
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Tazzi
Posts: 3425
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: GM E38 E67 Kernel/Bootloader Development Extravaganza

Post by Tazzi »

After doing a clone on the E38, we occasionally get some weirdness.

So it cloned, exited out and no communication. I then had to power cycle and power up before anything happened. I believe this might be related to other information sitting in ram maybe? I have been able to make this happen on a couple occasions now so will need to be some sort of information about that in a prompt.

The clone currently wipes the entire ecu including boot sector. I shouldnt have to do the boot so will modify that out. That could also be causing problems somehow maybe.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Tre-Cool
Posts: 272
Joined: Tue Oct 16, 2012 12:17 pm
cars: VY SS UTE, VX Drag Car
Location: Perth
Contact:

Re: GM E38 E67 Kernel/Bootloader Development Extravaganza

Post by Tre-Cool »

interesting, i might hit you up to clone an ecu soon.

my dad picked up a vz gen4 calais and keeps going into limp mode with throttle error at random times.

i'm going to try another pedal/ecu with vats off before i go swapping the harness out. if it turns out to be ecu I'll clone the original for its security link.
In-Tech
Posts: 787
Joined: Mon Mar 09, 2020 4:35 pm
Location: California

Re: GM E38 E67 Kernel/Bootloader Development Extravaganza

Post by In-Tech »

Speaking of clones. I just took an ebay 07 Saturn and cloned an 08 Chev Truck file onto it. I have heard there is e38a(07-08), e38b(09) and e38c(10-16) and you shouldn't try to mix and match files. Is there any truth to this if you can actually clone all or at least all modules? I've heard the same thing about e67 too but I haven't built a bench harness for that yet.

ebay e38 started as this:

2007 Saturn Aura 3.5L

VIN: 1G8ZS57N07F214679

PCM Service No: 12597121
PCM Traceability Code: 86YPKAM16340YCWA
PCM Security Seed: 741B

PCM Module 1: 12612739
PCM Module 2: 12609790
PCM Module 3: 12609785
PCM Module 4: 12609793
PCM Module 5: 12616276
PCM Module 6: 12612740
PCM Module 7: 12605899
PCM Module 8: 12609778

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Cloned

2008 Chev Truck LY5 5.3L

VIN: 3GCEC13JX8G213584

PCM Service No: 12612384
PCM Traceability Code: 86YPKAM16340YCWA
PCM Security Seed: 741B

PCM Module 1: 12617631
PCM Module 2: 12622203
PCM Module 3: 12600357
PCM Module 4: 12593158
PCM Module 5: 12610425
PCM Module 6: 12621879
PCM Module 7: 12617980
PCM Module 8: 12593088
ironduke
Posts: 582
Joined: Thu Feb 13, 2020 11:32 pm
cars: Mainly GM trucks, a Cruze and an Equinox for dailys..

Re: GM E38 E67 Kernel/Bootloader Development Extravaganza

Post by ironduke »

Same seed and serial number, but different vin and cal numbers??

There is this chart I had found a while ago too.. I have written/cloned a 2013 to a 2008 ecu but never actually tested it besides the bench.. almost bricked it a few times trying..
OS Compatibility Guide (1).pdf
(298.37 KiB) Downloaded 249 times
User avatar
Tazzi
Posts: 3425
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: GM E38 E67 Kernel/Bootloader Development Extravaganza

Post by Tazzi »

As for compatibility on E38 and E67.. the following is what I have found so far:

1) Doing a full clone between different bins, including ones that should be incompatible does work and the ecu continues communicating. BUT the slave chip needs to be updated for it to work in car properly (Not tested but have seen this in person before). When I say clone, I am also referring to the boot sector too, not sure if that has an impact or not.

2) The OS compatibility guide is what I have based the available OS's for the ECUs and use for identify the ECU connected along with the bin loaded ect. I have not added any custom OS defs so these will likely cause an error for now.


Full clone is taking about 3min and 42seconds. Its not the fastest thing ever, but its worked a couple dozen times in a row while Iv been coding away.

It also could be cause its 1:52am.. but I completely botched the checksum check on the file tonight. Honestly too tired to see the problem.. its probably staring right at me but thats a future me problem. CRC segments validation is the last implement I want in this before its ready.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
In-Tech
Posts: 787
Joined: Mon Mar 09, 2020 4:35 pm
Location: California

Re: GM E38 E67 Kernel/Bootloader Development Extravaganza

Post by In-Tech »

ironduke wrote:Same seed and serial number, but different vin and cal numbers??
Yeah, this software doesn't write to the E000-Exxx area, just the modules, then at the very end of the process it does the VIN at E0B4 and nothing around it.

Hey Tazzi, get some sleep :shh:
User avatar
Tazzi
Posts: 3425
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: GM E38 E67 Kernel/Bootloader Development Extravaganza

Post by Tazzi »

Things are slowing down here a little so I should be able to actually program more during the day and go to bed at a reasonable hour :lol:
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Tre-Cool
Posts: 272
Joined: Tue Oct 16, 2012 12:17 pm
cars: VY SS UTE, VX Drag Car
Location: Perth
Contact:

Re: GM E38 E67 Kernel/Bootloader Development Extravaganza

Post by Tre-Cool »

from a tuning perspective, the later 09 onwards ecu's are better because they can take a 128lb injector, everything before that is limited to only 64lb, so with 100lb injectors you have to scale the tune & while it works, it's just ugly.
User avatar
Tazzi
Posts: 3425
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: GM E38 E67 Kernel/Bootloader Development Extravaganza

Post by Tazzi »

Tre-Cool wrote:from a tuning perspective, the later 09 onwards ecu's are better because they can take a 128lb injector, everything before that is limited to only 64lb, so with 100lb injectors you have to scale the tune & while it works, it's just ugly.
Didnt know that!

I was able to use SPS to flash the ECU with the correct slave. It automatically checks and writes over it when it doesnt match. :thumbup:
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
Post Reply