Page 3 of 5

Re: LB7 Duramax E54 ECU

Posted: Wed Jul 15, 2020 3:23 am
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.

Re: LB7 Duramax E54 ECU

Posted: Wed Jul 15, 2020 3:33 am
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:

Re: LB7 Duramax E54 ECU

Posted: Wed Jul 15, 2020 3:58 am
by kur4o
It also can take multipart load without issues. The other thing is the overall size of the uploads.

Re: LB7 Duramax E54 ECU

Posted: Wed Jul 15, 2020 4:34 am
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!

Re: LB7 Duramax E54 ECU

Posted: Wed Jul 15, 2020 4:37 am
by In-Tech
I apologize Gampy, I didn't know that was all we were expecting. Great work :thumbup:

Re: LB7 Duramax E54 ECU

Posted: Wed Jul 15, 2020 4:47 am
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.

Re: LB7 Duramax E54 ECU

Posted: Wed Jul 15, 2020 5:06 am
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.

Re: LB7 Duramax E54 ECU

Posted: Wed Jul 15, 2020 5:49 am
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

Re: LB7 Duramax E54 ECU

Posted: Wed Jul 15, 2020 6:11 am
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 :)

Re: LB7 Duramax E54 ECU

Posted: Wed Jul 15, 2020 6:49 am
by Gampy
In-Tech wrote:She's breathing :)
Hard ... And screaming it's too big!

In-Tech, What flash chip is in that unit??