V6 ability for pcm hammer.

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
Vampyre
Posts: 261
Joined: Wed Dec 06, 2017 1:02 pm
cars: grand am, trans am

Re: V6 ability for pcm hammer.

Post by Vampyre »

i was going to attempt this but cant find were its at in code to edit it
kur4o wrote:
Writing will be the same as p01 and p59 intel and amd chips except for the following changes:

Code: Select all

chip init 

Load
$0006 - word_fffffa4c
$6820 - word_fffffa4a
$7020 - word_fffffa4e

$0006 - word_fffffa48

For intel chip only:
before erase or program
bitset #0 word_ffffe2fa
wait till

bit #5 is set at word_fffffa19

after erase or program
bitclear #0 word_ffffe2fa
wait till

bit #5 is cleared at word_fffffa19

amd chip id 22AB 
segments
0
2000
4000
6000
8000
10000
20000
30000
40000
50000
60000
70000
User avatar
antus
Site Admin
Posts: 8237
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: V6 ability for pcm hammer.

Post by antus »

Its through the flash.c flash.h flash_intel.c and flash_amd.c files but you might not be able to see it because its split out in to different functions and written in C with more detailed wording as to whats what.

https://github.com/LegacyNsfw/PcmHacks/ ... op/Kernels

For example, you see FFFFE2FA mentioned above, and thats here https://github.com/LegacyNsfw/PcmHacks/ ... lash.h#L11 so when you see a mention of HARDWARE_IO in the C, that is the address its referring to.
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
160plus
Posts: 90
Joined: Thu Sep 21, 2017 3:00 pm

Re: V6 ability for pcm hammer.

Post by 160plus »

Just gonna leave these here.......
Xpro Elm.PNG
Xpro Elm.PNG (45.61 KiB) Viewed 5170 times
Had to make a few tweaks since I was doing this over Bluetooth but it ended up working....
V6 Read Complete.PNG
V6 Read Complete.PNG (44.69 KiB) Viewed 5170 times
There are a LOT of things that were a bit sketchy and it had to request a number of blocks multiple times but given the number of possible variables that could have been the cause and the fact I not only hacked a kernel from Ls Droid into this but also hacked an OBD Xpro VT in using Elm commands over Bluetooth I'm pretty amazed it even worked :punk:
Vampyre
Posts: 261
Joined: Wed Dec 06, 2017 1:02 pm
cars: grand am, trans am

Re: V6 ability for pcm hammer.

Post by Vampyre »

Nice
User avatar
antus
Site Admin
Posts: 8237
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: V6 ability for pcm hammer.

Post by antus »

Keep in mind that is a very old version of the pcmhammer code base, and not a kernel are likely to use. It is very cool to see, but it doesnt mean v6 support is nearly ready. P59 full flash support nearly is, and that is what we have been looking at first. Once thats out, and time permitting we'll move on to P04.
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: 2331
Joined: Sat Dec 15, 2018 7:38 am

Re: V6 ability for pcm hammer.

Post by Gampy »

Wow 160plus,

COM16 ... Need some port cleaning??

If interested here are the steps ... If not maybe someone else does!
Open Admin prompt ...
Type,

Code: Select all

set DEVMGR_SHOW_NONPRESENT_DEVICES=1
devmgmt.msc
Select: View
Select: Show hidden devices
Expand: Ports (COM & LPT)

Then start cleaning ...
I typically delete them all and allow what gets used to reinstall.

Hopefully that is useful to someone ...
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!
Vampyre
Posts: 261
Joined: Wed Dec 06, 2017 1:02 pm
cars: grand am, trans am

Re: V6 ability for pcm hammer.

Post by Vampyre »

antus wrote:Keep in mind that is a very old version of the pcmhammer code base, and not a kernel are likely to use. It is very cool to see, but it doesnt mean v6 support is nearly ready. P59 full flash support nearly is, and that is what we have been looking at first. Once thats out, and time permitting we'll move on to P04.

yeah just nice to see it is possible
160plus
Posts: 90
Joined: Thu Sep 21, 2017 3:00 pm

Re: V6 ability for pcm hammer.

Post by 160plus »

Gampy wrote:Wow 160plus,

COM16 ... Need some port cleaning??
Did you know that Windows will only allow 256 comports? Ask me how I know :comp:
User avatar
Gampy
Posts: 2331
Joined: Sat Dec 15, 2018 7:38 am

Re: V6 ability for pcm hammer.

Post by Gampy »

160plus wrote:Did you know that Windows will only allow 256 comports? Ask me how I know :comp:
Yup I did, however I don't think we learned that the same way ... :shock:
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: V6 ability for pcm hammer.

Post by kur4o »

Vampyre wrote:Here is a complete list of every P04 OSID I could find from GM its about 1400 from 98-05 also sorted them by yr and hardware found in

Vampyre,
If you have access to more resources related with the OS list, can you generate a new list with the OS numbers linked with the checksum location for the given OS.
It needs to be a simple text file in the following format.
OS:checksum address
or
9352820:7231a
9352823:7231a
7231a is the address where the checksum is stored for OS p/n ...
Post Reply