Keil MCB517AC Manuel utilisateur

SAB 80C517/80C537 Microcontroller Target Board
with 81C90 Full CAN Controller and Banking Support
User’s Guide 04.97

ii Keil Software
Information in this document is subject to change without notice and does not
represent a commitment on the part of the manufacturer. The software described
in this document is furnished under license agreement or nondisclosure
agreement and may be used or copied only in accordance with the terms of the
agreement. It is against the law to copy the software on any medium except as
specifically allowed in the license or nondisclosure agreement. The purchaser
may make one copy of the software for backup purposes. No part of this manual
may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying, recording, or information storage and
retrieval systems, for any purpose other than for the purchaser’s personal use,
without written permission.
© Copyright 1997, 1997 Keil Elektronik GmbH and Keil Software, Inc.
All rights reserved.
Keil C51™ and dScope™ are trademarks of Keil Elektronik GmbH.
Microsoft®, MS-DOS®, and Windows™ are trademarks or registered trademarks
of Microsoft Corporation.
IBM®, PC®, and PS/2®are registered trademarks of International Business
Machines Corporation.
Intel®, MCS®51, ASM-51®, and PL/M-51®are registered trademarks of Intel
Corporation.
Every effort was made to ensure accuracy in this manual and to give appropriate
credit to persons, companies, and trademarks referenced herein.
A35 D05/06/97

MCB517AC Evaluation Board User’s Guide iii
Preface
This manual describes the Keil Software MCB517AC Evaluation Board and the
8051 microcontroller software development tools. The following chapters are
included:
“Chapter 1. Introduction” gives an overview of this user’s guide and provides a
quick start table.
“Chapter 2. Setup” describes how to connect and configure the board and
provides detailed information about the DIP switches and configuration jumpers.
“Chapter 3. Hardware” provides detailed information about hardware including
the schematic drawings for the MCB517AC board, the logic equations for the
PLD and the memory locations of the different Monitor versions contained in the
EPROM.
“Chapter 4. Programming” gives details about how to use our tools to generate
programs for the MCB517AC evaluation board.
“ Chapter 5. Using the 8051 Monitor” gives a quick overview about the MON51
terminal program.
NOTE
This manual assumes that you are familiar with Microsoft Windows and the
hardware and instruction set of the 8051 and 80C517A microcontrollers.

iv Preface
Document Conventions
This document uses the following conventions:
Examples Description
README.TXT Bold capital text is used for the names of executable programs, data files,
source files, environment variables, and commands you enter at the
MS-DOS command prompt. This text usually represents commands that
you must type in literally. For example:
CLS DIR L51.EXE
Note that you are not required to enter these commands using all capital
letters.
Courier Text in this typeface is used to represent information that displays on
screen or prints at the printer.
This typeface is also used within the text when discussing or describing
command line items.
Variables
Text in italics represents information that you must provide. For example,
projectfile
in a syntax string means that you must supply the actual project
file name.
Occasionally, italics are also used to emphasize words in the text.
Elements that
repeat… Ellipses (…) are used to indicate an item that may be repeated.
Omitted code
.
.
.
Vertical ellipses are used in source code listings to indicate that a fragment
of the program is omitted. For example:
void main (void) {
.
.
.
while (1);
Optional Items
Optional arguments in command-line and option fields are indicated by
double brackets. For example:
C51 TEST.C PRINT (
filename
)
{
opt1
|
opt2
} Text contained within braces, separated by a vertical bar represents a
group of items from which one must be chosen. The braces enclose all of
the choices and the vertical bars separate the choices. One item in the list
must be selected.
Keys Text in this sans serif typeface represents actual keys on the keyboard.
For example, “Press Enter to continue.”

MCB517AC Evaluation Board User’s Guide v
Contents
Chapter 1. Introduction..................................................................................... 1
Quick Start.....................................................................................................................2
Chapter 2. Setup................................................................................................. 3
Using the MCB517AC..................................................................................................4
Configuring the MCB517AC........................................................................................5
DIP Switches.................................................................................................................6
Configuration Jumper....................................................................................................9
Monitor Modes..............................................................................................................9
Monitor Status Display................................................................................................10
Chapter 3. Hardware....................................................................................... 11
Schematics...................................................................................................................17
Printed Board Assembly..............................................................................................21
Technical Data.............................................................................................................22
PAL Equations ............................................................................................................22
Monitor EPROM Addresses........................................................................................27
Chapter 4. Programming................................................................................. 29
Monitor Memory Map.................................................................................................29
Monitor Data & Interrupt Vectors...............................................................................31
Writing Programs for the 8051 Monitor......................................................................32
BLINKY Example Program........................................................................................33
External CAN Example...............................................................................................43
Code Banking Example...............................................................................................45
Chapter 5. Using the 8051 Monitor ................................................................ 50
MON51 Terminal Program.........................................................................................50
Index................................................................................................................... 54

vi Contents

MCB517AC Evaluation Board User’s Guide 1
Chapter 1. Introduction
Thank you for letting Keil Software provide you with the MCB517AC
evaluation board and software for the 8051 microcontroller family. With this kit
you can generate code and then operate it on the MCB517AC evaluation board.
This hands-on process helps you determine hardware and software needs for
current and future product development.
The MCB517AC evaluation board lets you become familiar with the different
operating modes of the SAB 80C517 or 80C517A microcontroller and the SAE
81C90 full CAN controller. Alternatively, you may choose just to play with the
board, make it flash the LEDs, and write “Hello World” out the serial port.
This user’s guide describes the hardware of the MCB517AC evaluation board
and contains the operating instructions for the monitor program (Monitor 51) and
the terminal program (MON51.EXE). Both the Monitor 51 with and without
banking support are installed in the EPROM of the MCB517AC board in
different configurations. These monitor programs let you communicate between
your PC and the MCB517AC evaluation board so that you can download and run
your 8051 programs.
The MCB517AC kit includes the following items:
n MCB517AC Evaluation Board User’s Guide (this manual),
n MCB517AC Evaluation Board,
n 9-pin Serial Cable,
n and a 8051 Evaluation Kit which includes a 2K compiler and the MCB517AC
Evaluation Board Software.

2Chapter 1. Introduction
Quick Start
Use the following list to quickly locate important information about the
MCB517AC evaluation board.
To… See…
Connect power to the MCB517AC board. “Using the MCB517AC” on page 4.
Connect the MCB517AC to your PC. “Using the MCB517AC” on page 4.
Read about the default configuration settings. “Configuring the MCB517AC” on page 5.
Create a simple program to blink the LEDs. “BLINKY Example Program” on page 33.
Accessing the external CAN controller. “External CAN Example” on page 43.
Create a simple banked program. “Code Banking Example” on page 45.
Learn more about the µVision IDE. “Using µVision to Create the BLINKY Program”
on page 34.
Learn more about the dScope debugger. “Using dScope to Debug the BLINKY Program”
on page 39.
Learn about the MON51 terminal program. “Chapter 5. Using the 8051 Monitor” on page 50.
Read about the DIP switch settings. “DIP Switches” on page 6.
Read about the configuration jumpers. “Configuration Jumper” on page 9.
Configure the RAM/ROM memory. “Monitor Memory Map” on page 29.
See the MCB517AC schematics. “Schematics” on page 17.
See the MCB517AC PAL equations. “PAL Equations” on page 22.

MCB517AC Evaluation Board User’s Guide 3
Chapter 2. Setup
Setting up the MCB517AC evaluation board is easy. The board requires power
and a serial connection to a PC running the MON51 terminal program or dScope
for Windows. Before you start, make sure you have satisfied the following
hardware and software requirements.
Hardware Requirements
n The MCB517AC Evaluation Board.
n A serial cable, 9-pin male to 9-pin female, 1-2 meters long, wired one-to-one.
n A power supply capable of providing 9-12VDC at 300-500mA. The power
cable should terminate with a 5.5mm barrel plug with a 2.5mm center hole.
Plus must be connected to the center hole.
n A PC with an available RS-232 port. If the port has a 25-pin connector, a
9-pin male to 25-pin female adapter may be required.
n A device programmer is required to program any EPROMs or other
programmable devices.
Software Requirements
n The Keil MON51 terminal program (MON51.EXE) or the Keil dScope for
Windows with the MON51.DLL / MON51B.DLL driver.
n The Keil MON51 software/firmware is already programmed into the EPROM
provided on the MCB517AC board.
n Microsoft Windows version 3.1, 3.11, Windows 95 or Windows NT.

4 Chapter 2. Setup
Using the MCB517AC
To use the MCB517AC evaluation board, you must:
n Connect the external serial port jack (COM 0) to an serial port on your PC
using the supplied serial cable.
n Connect power using a standard power supply.
The serial cable lets your PC download program code and debug your target
applications. The power cable provides power to the MCB517AC evaluation
board. The MCB517AC does not get power from the PC via the serial cable.
The following illustration shows MCB517AC board and the important interface
and hardware components.
Power
Supply
DIP
Switches
Serial
Interface 0
Serial
Interface 1
Reset Button
Monitor
EPROM
80C91 Full CAN
Controller
80C517 / 80C537
or 80C517A / 83C517A Port 1 Status
LED’s
Prototyping
Area Bus
Signals
Port
Signals
Configuration
Jumper CAN
Interface
Table des matières
Autres manuels Keil Carte mère
Manuels Carte mère populaires d'autres marques

Telit Wireless Solutions
Telit Wireless Solutions SL869-3DR Manuel utilisateur

Gigabyte
Gigabyte GA-9IVDT Manuel utilisateur

Texas Instruments
Texas Instruments ADS8372EVM Manuel utilisateur

Commell
Commell MS-C73 Manuel utilisateur

IBT Technologies
IBT Technologies MB860 Manuel utilisateur

Nvidia
Nvidia TEGRA DG-04927-001_V01 Manuel utilisateur















