Components to connect to the THRSim11 68HC11 simulator.

Back to the THRSim11 home page ...

Copyright © Harry Broeders.
Last component added 26 August 2003.


A framework to connect the THRSim11 simulator to external components was designed and implemented by former student (graduated in January 1997) Alex van Rooijen. Another student Bart Grootendorst finished up some loose ends and made this framework ready for distribution. This framework is build upon Microsoft's COM (Component Object Model) framework and is called the THRSim11 CDK (Component Development Kit). This framework will make it possible for you to develop components you can connect to the THRSim11. These components will be registered in the windows registry. After installation (with automatic registration) the THRSim11 simulator will recognize the new component and this component can be connected to the simulated 68HC11 chip. You need THRSim11 version 3.20 or higher to use these components.

If you are interested in the programming techniques we used to implement the first version of this framework you can read about it here.


Download one package containing all available components (without sources) for THRSim11 3.30 and higher. (1000 KB ) Please note: This package is included in the install for THRSim11 version 5.xx.

Available Components.

  • Loggers. (Version 2.32 some minor bugs were corrected since version 2.3)
    Developed by Patrick Koorevaar. With these loggers you can log all changes of a pin, a register or a memory location. The time of each change and the new value are logged in a listwindow. You can write the contents of the listwindow to a file for off-line analyses. These loggers are ideal for analysing timing problems.
  • Inserters. (Version 1.33 some minor bugs were corrected since version 1.3)
    Also developed by Patrick Koorevaar. You can use these inserters to insert data into a pin, a register or a memory location. The data can be generated manually or come from a comma separated list file (e.g. recorded by a logger).
connection
  • Connection with switch.
    Developed by Harry Broeders. The switch shown in the diagram can be closed to connect 2 pins. The state of the switch and the signal levels are also shown in the window title. In the screenshot shown here the logical level at pin 1 is 0 and the logical level at pin 2 is 1 and the switch is open.

click to see complete window.
  • Analog Signal and Square Wave Generator generator. (Version 1.25 some bugs were corrected since version 1.2)
    Developed by Patrick Koorevaar and partly implemented by Harry Broeders. With the square wave generator component you can generate a square wave on a digital input pin. You can adjust the period time and duty cycle. With the analog signal generator you can generate a sine, saw-tooth, or triangle wave on an analog input pin. You can adjust the frequency, amplitude and offset.
Sine wave generator
  • Analog and Bit Oscilloscope. (Version 1.0)
    Developed by Patrick Koorevaar and partly implemented by Harry Broeders. With this relatively simple oscilloscope you can visualize analog and digital signals. You can adjust the time/dev and volts/dev using the pop-up menu (right click your mouse).
Sine wave generator
  • OCx. You need THRSim11 3.30 or higher to use this!
    Developed by Marco van der Holst using Visual C++ 6.0. This component displays all registers and flags that are relevant when you use the Output Compare mode of the timer. You can choose between OC1 through OC5.


Components we are working on: