LB7 Duramax E54 ECU

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
kur4o
Posts: 948
Joined: Sun Apr 10, 2016 9:20 pm

Re: LB7 Duramax E54 ECU

Post by kur4o »

The diesel pcm use the same registers as ls1 pcm so it should work out of the box. The problem is the loading address. These are very picky about it.
For 2001-2003 the minimum is ff8fde and for 2004-2005 ffb4ee.

To get the opcodes you can use Ida. Find the instruction you want to see and click hex view. The instructions are bit encoded and I still haven`t find a list with it.
In-Tech
Posts: 779
Joined: Mon Mar 09, 2020 4:35 pm
Location: California

Re: LB7 Duramax E54 ECU

Post by In-Tech »

kur4o wrote:The diesel pcm use the same registers as ls1 pcm so it should work out of the box. The problem is the loading address. These are very picky about it.
For 2001-2003 the minimum is ff8fde and for 2004-2005 ffb4ee.

To get the opcodes you can use Ida. Find the instruction you want to see and click hex view. The instructions are bit encoded and I still haven`t find a list with it.
Well, that explains why the last one we tried loaded at ff8f00 didn't work :lol: We did get the kernel to respond though :thumbup:
kur4o
Posts: 948
Joined: Sun Apr 10, 2016 9:20 pm

Re: LB7 Duramax E54 ECU

Post by kur4o »

It also can take multipart load without issues. The other thing is the overall size of the uploads.
User avatar
Gampy
Posts: 2331
Joined: Sat Dec 15, 2018 7:38 am

Re: LB7 Duramax E54 ECU

Post by Gampy »

You da man kur4o ...
In-Tech wrote:Well, that explains why the last one we tried loaded at ff8f00 didn't work :lol: We did get the kernel to respond though :thumbup:
Awe but it did work!
The proof,
[09:44:01:296] Kernel Version: 080204FC
from the 947 log.

It did all it was capable of doing!
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: 779
Joined: Mon Mar 09, 2020 4:35 pm
Location: California

Re: LB7 Duramax E54 ECU

Post by In-Tech »

I apologize Gampy, I didn't know that was all we were expecting. Great work :thumbup:
User avatar
Gampy
Posts: 2331
Joined: Sat Dec 15, 2018 7:38 am

Re: LB7 Duramax E54 ECU

Post by Gampy »

kur4o,

You by any chance know how much contiguous usable there is for the two groups (2001-2003 and 2004-2005)??

In-Tech,

About to build you kernel that should read ... I think you're working with 01-03 units, that's what I'll target.
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!
kur4o
Posts: 948
Joined: Sun Apr 10, 2016 9:20 pm

Re: LB7 Duramax E54 ECU

Post by kur4o »

for 2001-2003 at least $13b2 free space
for 2004-2005 at least $14a2 free space

I can assume more can be used but that is the safest margin that is free for sure.

I think the 04-05 are the 1mb version, so they can be divided not by years but by memory size chip.

The code for these PCM is written in higher level and compiled so it is a real mess to work with.
I can look for the registers needed for writing when you get there.
User avatar
Gampy
Posts: 2331
Joined: Sat Dec 15, 2018 7:38 am

Re: LB7 Duramax E54 ECU

Post by Gampy »

kur4o wrote:for 2001-2003 at least $13b2 free space
for 2004-2005 at least $14a2 free space
Hmmm, I just sent a test build with a kernel size of 0x1EF8 and loading at 0xFF8FDE.
Might be a little tight ... :shock:

I'm getting right on that skinnier read only kernel, I'll make it fit :comp: ...
kur4o wrote: I can look for the registers needed for writing when you get there.
Hope you don't expect me to say no to that ... cause I won't! :lol:

Thanks
-Enjoy
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: 779
Joined: Mon Mar 09, 2020 4:35 pm
Location: California

Re: LB7 Duramax E54 ECU

Post by In-Tech »

The timestamp of 12:53 was using key F81F. The kernel uploaded and said kernel 00000000 and no read.
The timestamp of 13:01 was using bootpin. The kernel uploaded and said kernel 00000000 and no read.

She's breathing :)
User avatar
Gampy
Posts: 2331
Joined: Sat Dec 15, 2018 7:38 am

Re: LB7 Duramax E54 ECU

Post by Gampy »

In-Tech wrote:She's breathing :)
Hard ... And screaming it's too big!

In-Tech, What flash chip is in that unit??
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!
Post Reply