PCM Hammer P10 development
-
antus
- Site Admin
- Posts: 10097
- Joined: Sat Feb 28, 2009 10:34 am
- cars: TX Gemini 2L Twincam 8psi
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Subaru WRX 2007
Re: PCM Hammer P10 development
Wow that was pretty quick! Good work and congrats!
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
-
kur4o
- Posts: 1154
- Joined: Sun Apr 10, 2016 11:20 am
Re: PCM Hammer P10 development
Nice work. It may be good idea to add the slave init and cop, just to make sure it is as stable as possible. Slave migth use some shared ram for sure.
-
darkman5001
- Posts: 276
- Joined: Fri Dec 17, 2021 10:15 pm
- cars: 2005 Yukon, 2004 Suburban, 2001 Tahoe, 2002 Envoy, 2006 Envoy, 2003 Lincoln LS
- Location: New Jersey, USA
Re: PCM Hammer P10 development
I am here to help however I can. I have a few P10s ready for testing.
-
antus
- Site Admin
- Posts: 10097
- Joined: Sat Feb 28, 2009 10:34 am
- cars: TX Gemini 2L Twincam 8psi
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Subaru WRX 2007
Re: PCM Hammer P10 development
@gampy ive merged your P10 app changes as well as P12 work in to the antus/p12 branch of pcmhammer. from my testing its working for P01/P59 and P12, and I suspect it'll be working for P10 as well, but using the 1mb file size as its the same chip as the P59. Can you do your wonders to the kernel build system so that it will build all 3 kernels and commit to that branch?
As well as that we need to figure out checksum validation for P10 and P12, then I think we can look to merge in to pcmhammer for the next release.
As well as that we need to figure out checksum validation for P10 and P12, then I think we can look to merge in to pcmhammer for the next release.
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
-
Gampy
- Posts: 2332
- Joined: Fri Dec 14, 2018 9:38 pm
Re: PCM Hammer P10 development
What a nice sterile thread ... What a shame others don't get to read, follow and learn!
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!
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!
-
antus
- Site Admin
- Posts: 10097
- Joined: Sat Feb 28, 2009 10:34 am
- cars: TX Gemini 2L Twincam 8psi
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Subaru WRX 2007
Re: PCM Hammer P10 development
Im not sure what you mean. Theres commit notes in the repo? But you said P10 was only a different load address so nothing to follow?
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
-
Gampy
- Posts: 2332
- Joined: Fri Dec 14, 2018 9:38 pm
Re: PCM Hammer P10 development
So it's known ...
The kernel buffer size is,
Then there is this, that IMO should not be in production code,
It all adds up to more then there is space ...
According to,
So a bit of overflow ... Fortunately not all the buffer space is actually used.
The kernel buffer size is,
Code: Select all
#define MessageBufferSize (4096+20)
Code: Select all
#define BreadcrumbBufferSize 100
According to,
Loading at 0xFFB800 + 0x1EC2 (KernelSize) + 0x1000 (Buffer) + 0x14 (header + extra) + 0x64 (Breadcrumb) = 0xFFE73Akur4o wrote:Upload range is ffa000-ffe000
So a bit of overflow ... Fortunately not all the buffer space is actually used.
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!
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!
-
Tazzi
- Posts: 3627
- Joined: Thu May 17, 2012 10:53 am
- cars: VE SS Ute
- Location: WA
Re: PCM Hammer P10 development
On each ecu, probably need to figure out the lower boundary upload location to send the kernel into for maximizing available space.
On a P12, theres tonnes of room, I believe GMs kernels is uploaded at F20000 off the top of my head? Not sure about P10 though.
On a P12, theres tonnes of room, I believe GMs kernels is uploaded at F20000 off the top of my head? Not sure about P10 though.
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726

Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726

-
Gampy
- Posts: 2332
- Joined: Fri Dec 14, 2018 9:38 pm
Re: PCM Hammer P10 development
Tazzi,
If you look back a few of my posts you'll see where I stated it's a delicate fit because of the kernel size, there is just not enough contiguous memory available.
The kernel needs to go on a serious diet ... Obviously that means stripping out the unnecessary and elegance.
Or move to assembly.
If you look back a few of my posts you'll see where I stated it's a delicate fit because of the kernel size, there is just not enough contiguous memory available.
The kernel needs to go on a serious diet ... Obviously that means stripping out the unnecessary and elegance.
Or move to assembly.
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!
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!
-
NSFW
- Posts: 802
- Joined: Fri Feb 02, 2018 5:13 am
Re: PCM Hammer P10 development
What are the max kernel sizes for the P10 and P12?
The reason I ask is that the current code checks the size limit before uploading to a P01 / P59, and it would be nice to do the same for the P10 and P12 too.
Not a requirement, but if it's easy I'll add it.
The reason I ask is that the current code checks the size limit before uploading to a P01 / P59, and it would be nice to do the same for the P10 and P12 too.
Not a requirement, but if it's easy I'll add it.
Please don't PM me with technical questions - start a thread instead, and send me a link to it. That way I can answer in public, and help other people who have the same question. Thanks!