EET267 Microprocessors
On-Line, Spring 2003
Laboratory #8: Setup 8051 SBC and I/O Board
EET 267 Main Page
Electrical Engineering
Technology
Broome Community College
Introduction
The purpose of this experiment is to download and install the 8051
microcontroller
software development environment and take you through the steps of getting your
first
canned 8051 program running.
Procedure Part A: Software installation
1. Download the file 8051dev.exe and run it. You
will get the following
dialog box:
2. Click the Unzip button and the install files will be saved in the
c:\8051tmp directory.
3. Open a DOS window. Enter the command:
cd \8051tmp
to change to the temporary install directory.
4. Type setup and press Enter. The installer will begin
running
and guide you through the installation.
5. You will get a screen that looks like this:
except your name and company will be different.
6. There is no serial number to enter so simply click Next.
7. You will get a warning message that looks like this:
Click Yes to complete the installation. There is no need to reboot
after
the installer finishes.
8. You must replace one of the files installed so that it will compile.
Download
tb1.c and save it to the following location:
c:\bipom\devtools\microc\examples\8051\tb1
Procedure Part B: 8051 Hardware
Your 8051 board should look like this:
You also have a daughter board that looks like this:
The technical manual for this board is available here in PDF format.
1. Plug the daughter board containing the red, yellow, and green leds into
the
8051 board. There is only one way to plug in the board as the connector is
keyed.
2. Plug the AC adapter into a power outlet and plug the power connector into
the
unregulated DC power jack on the 8051 board. A program may begin running that
flashes
the leds and emits tones from the speaker. If it does not, do not worry.
3. Plug one end of a serial cable into your computers COM1 port and the
other end
into the RS232 serial connector on the 8051 board.
4. Change to the 8051 software development directory using this DOS command:
cd \bipom\devtools\microide\bin
5. Start the 8051 IDE (Integrated Development Environment) by entering this DOS command:
ide
6. You will get a warning message that looks like this:

Just click OK to continue.
7. You will get a project window that looks like this:

Click OK to open an existing project.
8. Navigate to the root directory of your hard drive and click on the
bipom
folder. Then click on devtools, microC, Examples,
8051,
Tb1, and finally Tb1.prj. Then click Open.
9. Your screen should now look like this:

10. Press F7 to compile the program. Then press Ctrl-D to
download
the code to your 8051 board.
11. Left-click the red light just below the Help menu item. It should turn
green and start
your program running.
Last updated January 2003 by JLA