Computer Diagnostics and Tuning Technical discussion on diagnostics and programming of the F-body computers

Is it possible..? advanced PCM hackers inside

Thread Tools
 
Search this Thread
 
Old 12-14-2004, 03:57 PM
  #1  
RMC
Registered User
Thread Starter
 
RMC's Avatar
 
Join Date: Apr 2001
Location: Tampa, FL
Posts: 403
Is it possible..? advanced PCM hackers inside

Is it possible to view the assembly code for our cars or is it just the .bin files that we can look at and manipulate?

I remember writing some assembly code for a motorola 6800 and then compiling it to .bin for a class.. but I didn't know if it was possibly to go backwards and look at the assembly code from a .bin.

I've briefly done some of this stuff in school and am trying to get more into how automotive computers really work and operate and of course how to back hack them too.

I'd really like to learn more about how these definition files and the original coding was done to make it all work.
RMC is offline  
Old 12-14-2004, 11:44 PM
  #2  
Registered User
 
Highlander's Avatar
 
Join Date: Mar 2002
Location: San Juan PR
Posts: 3,083
Re: Is it possible..? advanced PCM hackers inside

Originally Posted by RMC
Is it possible to view the assembly code for our cars or is it just the .bin files that we can look at and manipulate?

I remember writing some assembly code for a motorola 6800 and then compiling it to .bin for a class.. but I didn't know if it was possibly to go backwards and look at the assembly code from a .bin.

I've briefly done some of this stuff in school and am trying to get more into how automotive computers really work and operate and of course how to back hack them too.

I'd really like to learn more about how these definition files and the original coding was done to make it all work.
You will need IDA to disassemble.
Highlander is offline  
Old 12-15-2004, 09:10 AM
  #3  
RMC
Registered User
Thread Starter
 
RMC's Avatar
 
Join Date: Apr 2001
Location: Tampa, FL
Posts: 403
Re: Is it possible..? advanced PCM hackers inside

Got any links or more info?

I'm dying to get deeper into this and make some real world use of my education.

I setup freeware IDA but it only had intel processors...

A '94 Z28 has a Motorola 68HC11 correct? Does the full version of IDa support this and how much is the software?

Last edited by RMC; 12-15-2004 at 11:22 AM.
RMC is offline  
Old 12-16-2004, 12:38 AM
  #4  
Registered User
 
Highlander's Avatar
 
Join Date: Mar 2002
Location: San Juan PR
Posts: 3,083
Re: Is it possible..? advanced PCM hackers inside

you can use the tunercat's disassembler..
Highlander is offline  
Old 12-16-2004, 09:10 AM
  #5  
RMC
Registered User
Thread Starter
 
RMC's Avatar
 
Join Date: Apr 2001
Location: Tampa, FL
Posts: 403
Re: Is it possible..? advanced PCM hackers inside

Originally Posted by The Highlander
you can use the tunercat's disassembler..
I've tried using that one but I keep getting start address too big. I can't get anything sensible out of it. Any help on that?
RMC is offline  
Old 12-16-2004, 06:10 PM
  #6  
Registered User
 
Buttercup's Avatar
 
Join Date: Jun 1999
Location: Lowcountry
Posts: 939
Re: Is it possible..? advanced PCM hackers inside

Originally Posted by RMC
I've tried using that one but I keep getting start address too big. I can't get anything sensible out of it. Any help on that?
There are two flashproms in the PCM, E side and T side. The .bin files that you see are the two images conveniently joined together. Split the file in half and disassemble each side individually.
Buttercup is offline  
Old 12-17-2004, 08:51 AM
  #7  
RMC
Registered User
Thread Starter
 
RMC's Avatar
 
Join Date: Apr 2001
Location: Tampa, FL
Posts: 403
Re: Is it possible..? advanced PCM hackers inside

Ok thanks, now i'm getting somewhere.

I opened it up and it goes up to 20000(hex). So do I split it right at 10000?

How do you differentiate between E and T?

Can you paste the disassembled code together and assemble it to .bin and it still come out correct?

Oh and does the default settings for tunercat dis. read the entire "half" file or do you have to designate what line it reads to? I noticed I couldn't put 10,000 into the end address line but if I left the setting as default it would disassemble. I'm trying to figure out if it's getting the entire file or not.

Last edited by RMC; 12-17-2004 at 08:54 AM.
RMC is offline  
Old 12-17-2004, 09:44 AM
  #8  
Registered User
 
95Blackhawk's Avatar
 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 1,277
Re: Is it possible..? advanced PCM hackers inside

GL on this. I have looked into manipulation if the hex code, but it was beyond me. I used TC's disassembler.

The problem I came up with was when I would change one parameter, more than 1 parameter in the hex code would change and I could not figure out how to tell what the other's relevance was.

Keep us informed.
95Blackhawk is offline  
Old 12-17-2004, 11:03 AM
  #9  
RMC
Registered User
Thread Starter
 
RMC's Avatar
 
Join Date: Apr 2001
Location: Tampa, FL
Posts: 403
Re: Is it possible..? advanced PCM hackers inside

Well, for starters I just want good clean assembly code that I can extract information from. I've worked with the 6800 code so I'm going to read up on the 68HC11, which I've started to do.. and that gives some good insight as to what's really happening. The code itself gives a lot more clues than a hex readout would.

My main problem right now is that I want to be sure I'm getting good data to start with so that when I manipulate it later I can compare the differences in the machine code. So anyone that has pulled what they know to be complete and good assembly code if you can assist me that would be great. Btw, what are you all using to view the .bin files. I pulled it up in visual studio at home and that's where I saw the 20k lines and was able to split it into two files.

Also, I'm wondering if anybody has ever used a simulator for the processor? That might be cool to load up and debug with a simulator/emulator.

In case anyone is wondering, ultimately I want to be able to look at the assembly code and know what each section represents so that I can write in my own algorithms and just have commented assembly code that I can look at. Assembly just seems so much more intuitive and "basic" or sequential, that changes are easy to trace and understand. I've found some examples of where they've commented throughout the assembly but it's for older vehicles. I want to do it for the f-body.

Overall I just think it's a lot easier to learn when it relates to something practical and would give me a big advantage when I get back to my classes in school. Plus it's car stuff so it's a lot cooler than just doing it in school.

So.... If there are any other hardcore "geeks" out there that are into this stuff I'd like to chat on IM or something and see about doing something usefull with this stuff. I've got a cool software idea too that might be practical for the average tuner and I don't think it's available yet.

AIM: onestar220

Last edited by RMC; 12-17-2004 at 02:13 PM.
RMC is offline  
Old 12-20-2004, 02:48 PM
  #10  
Registered User
 
Buttercup's Avatar
 
Join Date: Jun 1999
Location: Lowcountry
Posts: 939
Re: Is it possible..? advanced PCM hackers inside

Originally Posted by RMC
Ok thanks, now i'm getting somewhere.

I opened it up and it goes up to 20000(hex). So do I split it right at 10000?

How do you differentiate between E and T?
I haven't used Tunercat's disassembler so I can't help you much there.

Each side is 64KB so, yes, split it exactly in half.

On a .bin file the first half ($00000 to $0ffff) is the "t" side and the second half is the "e" side. If you are using an .lt1 file this is reversed.
Buttercup is offline  
Old 12-25-2004, 04:38 AM
  #11  
Registered User
 
SABLT194's Avatar
 
Join Date: Dec 2000
Location: GARDNERS,PA
Posts: 766
Re: Is it possible..? advanced PCM hackers inside

Guys, Here's a link to Christian Millard's site. He has disassembled and hacked these PCM's. He's a knowledgeable guy and is on the board from time to time. Take a look at his website for lots of valueable information and maybe drop him an Email about what your trying to do.

http://www.carprogrammer.com/Z28/PCM/disassembly/
Steve

Last edited by SABLT194; 12-25-2004 at 04:41 AM.
SABLT194 is offline  
Old 12-27-2004, 02:35 PM
  #12  
RMC
Registered User
Thread Starter
 
RMC's Avatar
 
Join Date: Apr 2001
Location: Tampa, FL
Posts: 403
Re: Is it possible..? advanced PCM hackers inside

Wow there's a lot of different things on that site to read. Thanks!

Do you know his name here on CZ28?
RMC is offline  
Old 12-27-2004, 02:47 PM
  #13  
Registered User
 
SABLT194's Avatar
 
Join Date: Dec 2000
Location: GARDNERS,PA
Posts: 766
Re: Is it possible..? advanced PCM hackers inside

His screen name is Cmillard on this forum. He doesn't post too much any more cause I think he's pretty busy with work and all.
SABLT194 is offline  
Old 12-27-2004, 04:16 PM
  #14  
Registered User
 
Buttercup's Avatar
 
Join Date: Jun 1999
Location: Lowcountry
Posts: 939
Re: Is it possible..? advanced PCM hackers inside

Originally Posted by RMC
Wow there's a lot of different things on that site to read. Thanks!

Do you know his name here on CZ28?
I'm sure Christian will pop his head in here and give credit to the guy that actually did that disassembly

That looks like the work of "Da Wagon". Not sure if Christian took it any further or not.
Buttercup is offline  
Old 12-27-2004, 05:23 PM
  #15  
Registered User
 
Highlander's Avatar
 
Join Date: Mar 2002
Location: San Juan PR
Posts: 3,083
Re: Is it possible..? advanced PCM hackers inside

cmillard is his name i think.
Highlander is offline  


Quick Reply: Is it possible..? advanced PCM hackers inside



All times are GMT -5. The time now is 07:46 AM.