DIY PROM Do It Yourself PROM chip burning help. No PROM begging. No PROMs for sale. No commercial exchange. Not a referral service.

Emulating 68HC11 chip

Old 01-28-2011, 02:40 AM
  #1  
Member
Thread Starter
 
giszo's Avatar
 
Join Date: Jun 2009
Location: Hungary
Posts: 141
Likes: 0
Received 0 Likes on 0 Posts
Car: 1992 Camaro RS
Engine: 3.1L V6
Transmission: 700-R4
Axle/Gears: 3.23
Emulating 68HC11 chip

Yesterday I got an idea to write an application that could emulate the whole instruction set of the 68HC11 CPU with all the memory and external devices attached to it. It would be something like an ECM test bench just running on a PC instead of having it physically on my desk.

I found this idea useful for myself because it would make debugging of unknown ECM binaries a bit more easy instead of just looking through the assembly code and trying to understand everything.

The other advantage is that it would be possible to try out binary modifications without having a complete ECM test bench or going out to the garage and uploading the new binary to the car every time.

I checked google for such kind of tool but found almost nothing. There was a tool that could emulate this particular CPU but it is not a free application and not even designed for this specific use to simulate ECM software.

What do you think?
Old 01-28-2011, 10:16 AM
  #2  
Moderator

iTrader: (1)
 
RBob's Avatar
 
Join Date: Mar 2002
Location: Chasing Electrons
Posts: 18,399
Likes: 0
Received 215 Likes on 201 Posts
Car: check
Engine: check
Transmission: check
Re: Emulating 68HC11 chip

Originally Posted by giszo
Yesterday I got an idea to write an application that could emulate the whole instruction set of the 68HC11 CPU with all the memory and external devices attached to it. It would be something like an ECM test bench just running on a PC instead of having it physically on my desk.

I found this idea useful for myself because it would make debugging of unknown ECM binaries a bit more easy instead of just looking through the assembly code and trying to understand everything.

The other advantage is that it would be possible to try out binary modifications without having a complete ECM test bench or going out to the garage and uploading the new binary to the car every time.

I checked google for such kind of tool but found almost nothing. There was a tool that could emulate this particular CPU but it is not a free application and not even designed for this specific use to simulate ECM software.

What do you think?
I've looked for an simulator to run 'HC11 code on a PC. I found SIM68 but never played with it too much. Part of the issue is that a simulator doesn't simulate the ECM hardware. And, the GM ECMs don't run an off the shelf 68HC11.

What would be a decent simulator would be to also include ECM hardware pieces (in software). And have the emulator decipher and display what the hardware is doing. Such as converting the counter values to actual injector PW, dwell, and timing.

And be able to change inputs such as the CTS, IAT, MAP and so on.

That would be a virtual ECM bench and be very useful.

RBob.
Old 01-28-2011, 10:18 AM
  #3  
Member
Thread Starter
 
giszo's Avatar
 
Join Date: Jun 2009
Location: Hungary
Posts: 141
Likes: 0
Received 0 Likes on 0 Posts
Car: 1992 Camaro RS
Engine: 3.1L V6
Transmission: 700-R4
Axle/Gears: 3.23
Re: Emulating 68HC11 chip

Originally Posted by RBob
What would be a decent simulator would be to also include ECM hardware pieces (in software). And have the emulator decipher and display what the hardware is doing. Such as converting the counter values to actual injector PW, dwell, and timing.

And be able to change inputs such as the CTS, IAT, MAP and so on.
That is exactly what I am planning to do.
Old 01-28-2011, 07:11 PM
  #4  
Supreme Member

iTrader: (1)
 
JP86SS's Avatar
 
Join Date: Apr 2004
Location: Browns Town
Posts: 3,178
Likes: 0
Received 3 Likes on 3 Posts
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
Re: Emulating 68HC11 chip

I purchased Thrsim for $50 a few years ago.
Helped with stepping through some code sections.
Biggest problem was the simulator had different syntax requirements than my assembler so I had to keep altering code to do things.
I'd still like to have something that worked well for what we do.

http://www.xs4all.nl/~hc11/thrsim11/thrsim11.htm
The editor that comes with it is nice to work with as well.

Last edited by JP86SS; 01-28-2011 at 07:14 PM. Reason: added link
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
89-IROCZ-5.0TPI
TPI
10
02-22-2022 09:26 PM
Linson
Auto Detailing and Appearance
25
09-25-2021 07:55 PM
Gunner242
Electronics
7
12-25-2015 04:49 PM
KO1
Engine/Drivetrain/Suspension Parts for Sale
16
10-15-2015 05:00 PM
jaridjohn
Exhaust
14
10-05-2015 07:01 AM


Thread Tools
Search this Thread
Quick Reply: Emulating 68HC11 chip



All times are GMT -5. The time now is 06:42 AM.