- •Preface
- •Document Conventions
- •Contents
- •Chapter 1. Introduction
- •Manual Topics
- •Changes to the Documentation
- •Evaluation Kits and Production Kits
- •Types of Users
- •Requesting Assistance
- •Software Development Cycle
- •Product Overview
- •Chapter 2. Installation
- •System Requirements
- •Installation Details
- •Folder Structure
- •Chapter 3. Development Tools
- •C51 Optimizing C Cross Compiler
- •A51 Macro Assembler
- •BL51 Code Banking Linker/Locator
- •LIB51 Library Manager
- •OC51 Banked Object File Converter
- •Chapter 4. Creating Applications
- •Creating Projects
- •Project Targets and File Groups
- •Overview of Configuration Dialogs
- •Code Banking
- •µVision2 Utilities
- •Writing Optimum Code
- •Tips and Tricks
- •Chapter 5. Testing Programs
- •µVision2 Debugger
- •Debug Commands
- •Expressions
- •Tips and Tricks
- •Chapter 6. µVision2 Debug Functions
- •Creating Functions
- •Invoking Functions
- •Function Classes
- •Chapter 7. Sample Programs
- •HELLO: Your First 8051 C Program
- •Introduction
- •RTX51 Technical Data
- •Overview of RTX51 Routines
- •TRAFFIC: RTX-51 Tiny Example Program
- •RTX Kernel Aware Debugging
- •Chapter 9. Using On-chip Peripherals
- •Special Function Registers
- •Register Banks
- •Interrupt Service Routines
- •Interrupt Enable Registers
- •Parallel Port I/O
- •Timers/Counters
- •Serial Interface
- •Watchdog Timer
- •D/A Converter
- •A/D Converter
- •Power Reduction Modes
- •Chapter 10. CPU and C Startup Code
- •Caveats
- •Hardware and Software Requirements
- •Serial Transmission Line
- •µVision2 Monitor Driver
- •µVision2 Restrictions when using Monitor-51
- •Monitor-51 Configuration
- •Troubleshooting
- •Debugging with Monitor-51
- •Chapter 12. Command Reference
- •µVision 2 Command Line Invocation
- •A51 / A251 Macro Assembler Directives
- •C51/C251 Compiler
- •LIB51 / L251 Library Manager Commands
- •OC51 Banked Object File Converter
- •Index
Getting Started and Creating Applications |
19 |
|
|
Chapter 2. Installation
This chapter explains how to setup an operating environment and how to install the software on your hard disk. Before starting the installation program:
|
Verify that your computer system meets the minimum requirements, |
2 |
|
|
Make a copy of the installation diskette for backup purposes. |
||
|
System Requirements
There are minimum hardware and software requirements that must be satisfied to ensure that the compiler and utilities function properly. You must have:
PC with Pentium, Pentium-II or compatible processor,
Windows 95, Windows-98, Windows NT 4.0, or higher,
16 MB RAM minimum,
20 MB free disk space.
Installation Details
All Keil products come with an installation program that allows easy installation. To install the 8051 development tools:
Insert the Keil Development Tools CD-ROM,
Select Install Software from the CD Viewer menu,
Follow the instructions displayed by the setup program.
NOTE
Your PC should automatically launch the CD Viewer when you insert the CD. If not, run \KEIL\SETUP\SETUP.EXE from the CD to install the software.
20 Chapter 2. Installation
|
|
Folder Structure |
|
|
|
|
The setup program copies the development tools into sub-folders of the base |
|
|
|
|
folder. The default base folder is: C:\KEIL. The following table lists the |
|
|
|
|
structure of a complete installation that includes the entire line of 8051 |
|
|
|
|
development tools. Your installation may vary depending on the products you |
|
|
2 |
|
|||
|
purchased. |
|
|
|
|
|
|
|
|
|
Folder |
Description |
|
|
|
|
C:\KEIL\C51\ASM |
Assembler SFR definition files and template source file. |
|
|
|
C:\KEIL\C51\BIN |
Executable files of the 8051 tool chain. |
|
|
|
C:\KEIL\C51\EXAMPLES |
Sample applications. |
|
|
|
C:\KEIL\C51\RTX51 |
RTX51 Full files. |
|
|
|
C:\KEIL\C51\RTX_TINY |
RTX51 Tiny files. |
|
|
|
C:\KEIL\C51\INC |
C compiler include files. |
|
|
|
C:\KEIL\C51\LIB |
C compiler library files, startup code, and source of I/O routines. |
|
|
|
C:\KEIL\C51\MONITOR |
Target Monitor files and Monitor configuration for user hardware. |
|
|
|
C:\KEIL\UV2 |
Generic µVision2 files. |
|
|
|
|
|
|
In this users guide, we refer to the default folder structure. If you install your software in a different folder, you must adjust the pathnames to match your installation.