Colorado / H3 BCM hacking

Disassembly, Reassembly, Tools and devleopment. Going deep with Hardware and Software.
gmtech825
Posts: 226
Joined: Fri Feb 24, 2017 11:27 am

Re: Colorado / H3 BCM hacking

Post by gmtech825 »

76 IS A POSITIVE RESPONSE TO MODE 36
04colyZQ8
Posts: 469
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: Colorado / H3 BCM hacking

Post by 04colyZQ8 »

Oh ok so then maybe it’s excepting the execute command? But doesn’t seem to do any thing? Even tried this ..
Ram
Ram location a
……
My kernel
Upload 0xff to location a.

I then dumped the ram via bdm I see my kernel but the location a is 00, not ff?
gmtech825
Posts: 226
Joined: Fri Feb 24, 2017 11:27 am

Re: Colorado / H3 BCM hacking

Post by gmtech825 »

IT IS ACCEPTING IT. PROBABLY A KERNEL PROBLEM. POSSIBLY THE ADDRESS YOU ARE TRYING TO WRITE IS PROTECTED AND NEEDS SOME MISSING CODE TO UNLOCK THAT ADDRESS FOR WRITING. I'M DEFINATELY NOT THE GUY TO HELP WITH THIS THOUGH. MAYBE TRY A DIFFERENT TEST KERNEL TO VERIFY THAT IT RUNS, SUCH AS SPITTING A VALUE OUT TO THE BUS.
User avatar
antus
Site Admin
Posts: 8989
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: Colorado / H3 BCM hacking

Post by antus »

Agree with the above. If you get the 76 it loaded and tried to run and crashed.
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
04colyZQ8
Posts: 469
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: Colorado / H3 BCM hacking

Post by 04colyZQ8 »

antus wrote: Fri Jul 12, 2024 8:15 am Agree with the above. If you get the 76 it loaded and tried to run and crashed.
Ok the factory kernel is so complicated it loads three pointers first then the middle of the kernel then the rest! Then loads the os to a different address that is reused for each time the flash code is uploaded. Not sure what initiates execution.
04colyZQ8
Posts: 469
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: Colorado / H3 BCM hacking

Post by 04colyZQ8 »

Ok when I use 36 80 and dump ram a see a pointer being written to 1b60 for the address I stated. That’s interesting but doesn’t seem to jump to it though
User avatar
Tazzi
Posts: 3546
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: Colorado / H3 BCM hacking

Post by Tazzi »

Are you sure the code you have written works?

Like, how do you know its able to send a VPW frame back?
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
antus
Site Admin
Posts: 8989
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: Colorado / H3 BCM hacking

Post by antus »

3 pointers sounds like it could be a dual core CPU with 2 kernels and a buffer address. This is something I have begun looking in to as I'd like to one day add slave cpu write for the P10 and P12 in pcmhammer, but other than a hint about maybe recognising the pattern, I don't have any more at this stage.
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
04colyZQ8
Posts: 469
Joined: Thu Jan 16, 2014 12:41 pm
cars: 2004 Colorado 4.8L swap
86/90 Jimmy 6.5L diesel swap
80 Chevrolet Silverado TBI swap
88dodge W100 LPG conversion

Re: Colorado / H3 BCM hacking

Post by 04colyZQ8 »

Tazzi wrote: Fri Jul 12, 2024 1:34 pm Are you sure the code you have written works?

Like, how do you know its able to send a VPW frame back?
The latest code I’m using just writes oxff to available ram below the kernel. I then dump ram via bdm to see if it’s written it.

But maybe since I’m sending the 3680 in a constant loop via the script it’s not getting a chance to process it
User avatar
antus
Site Admin
Posts: 8989
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: Colorado / H3 BCM hacking

Post by antus »

There is no point sending the 36 80 more than once. Do you know if there are any watch dogs the CPU needs to stay alive? First of all you need a loop that just keeps the watchdogs happy and no more to prevent a reset. Then you can do something else and see if that happens with BDM.
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
Post Reply