Page 18 of 24

Re: V6 ability for pcm hammer.

Posted: Sat Feb 15, 2020 11:11 am
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

Re: V6 ability for pcm hammer.

Posted: Sat Feb 15, 2020 11:59 am
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.

Re: V6 ability for pcm hammer.

Posted: Thu Feb 20, 2020 7:21 pm
by 160plus
Just gonna leave these here.......
Xpro Elm.PNG
Xpro Elm.PNG (45.61 KiB) Viewed 5227 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 5227 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:

Re: V6 ability for pcm hammer.

Posted: Sat Feb 22, 2020 7:23 am
by Vampyre
Nice

Re: V6 ability for pcm hammer.

Posted: Sun Feb 23, 2020 4:22 pm
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.

Re: V6 ability for pcm hammer.

Posted: Sun Feb 23, 2020 9:27 pm
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 ...

Re: V6 ability for pcm hammer.

Posted: Wed Feb 26, 2020 11:09 am
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

Re: V6 ability for pcm hammer.

Posted: Wed Feb 26, 2020 1:05 pm
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:

Re: V6 ability for pcm hammer.

Posted: Wed Feb 26, 2020 9:02 pm
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:

Re: V6 ability for pcm hammer.

Posted: Fri Feb 28, 2020 2:48 am
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 ...