
ECE 367 - Experiment #1
Spring 2006 Semester
Introduction
The goal of this experiment is the acquaint you with the Technological Arts
MicroStamp11 68HC11 microcontroller development system, and with the procedure
used to assemble/download/execute code on this processor. Specifically, you will do
what is needed to have the microcontroller independently execute code that blinks an
LED. To do this you will need to intall two programs on a Windows PC and have access
to its serial port.
Required Hardware and Software
• MicroStamp11 starter kit (UIAC1) from Technological Arts
• 9v battery
• THRSim11 68HC11 Simulator (CD-ROM from the Spasov textbook)
Procedure
1. Install the THRSim11 assembler/simulator program from the CD-ROM that came
with your textbook.
2. Using THRSim11, assemble the flashing-LED code that is provided for you in the
Appendix (you may copy and paste from an on-line listing of this program that is
found at http://www.ece.uic.edu/~goncharo/ece367_exp1.txt). A simulation window
will open having the first line of executable code highlighted in green - close this
window, we will learn to simulate code later. By assembling the program, an
executable code having *.s19 extension should have been created in the same
directory (e.g. "C:\Program Files\THRSim11\sdemo\ece367_exp1.S19").
3. Install the MicroLoad program from the CD-ROM that came with your
MicroStamp11 starter package.
4. Connect your MicroStamp11 module to its docking station. The component sides of
the two boards should both face upward, as shown in the photo. Next you need to
power up the board. The easiest method is to connect the terminals of a 9 Volt
battery to the power cable that is provided (observe proper polarity: red +, black −)
and plug it into the docking module. If done correctly a green power indicator LED
will light brightly. CAUTION: if either the battery or the power cable is hooked up
backwards, you will probably ruin the microcontroller (whose replacement cost is $34
plus shipping). Always check and doublecheck your power supply connections!
Refer to the photo below.