cx51.pdf
(
1610 KB
)
Pobierz
Cx5
1
805
1
/25
1
Development Tools
The Keil Cx5
1
ANSI C Complier supports all classic
and extended 805
1
device variants. Compiler
extensions provide full access to all CPU resources
and support up to
1
6MB memory. The Keil Cx5
1
generates code with the efficiency and speed of
hand-optimized assembly. New compiler and linker
optimizations shrink programs into the smallest
single-chip devices.
Supports all 805
1
Variants
Up to
1
6MB Memory
Easy-to-use IDE Supports
Complete Development Cycle
Complete Device Support
Including Peripheral Simulation
The Keil
µ
Vision4 IDE fully integrates Cx5
1
Version 9
and provides control of the Compiler, Assembler,
Real-Time OS, Project Manager, and Debugger in a
single, intelligent environment. With support for all
805
1
devices and full compatibility with emulators
and third-party tools, Keil Cx5
1
is clearly the best
choice for your 805
1
project.
Drivers for Flexible Debugging
in Target Hardware
Code Size Optimization
Large Model - Code Banking
100%
-22%
75%
50%
25%
0%
6
7
8
9
10
To start your project, just select the device from the
µ
Vision Device Database.
Optimize Level
Keil Cx5
1
is the unsurpassed industry standard 805
1
C Compiler.
1
0 optimization levels give you the ability to
put more features into less memory space and provide
the utmost code density for cost-sensitive single-chip
designs.
Using level
1
0 with the LX5
1
Extended Linker optimizes
a complete application. LX5
1
creates sub-routines for
common code blocks and replaces LJMP/LCALL
instructions with shorter AJMP/ACALL instructions
wherever possible.
For the selected device,
µ
Vision Debugger provides dialogs with detailed
peripheral information that are available with simulation and target debugging.
www.keil.com
Development Tools Overview
Cx51 Compiler
Cx51 Compiler Highlights
n
The Keil 805
1
and 25
1
development kits contain different C
Compilers for optimum support of device variants. Cx5
1
is
used as a generic term for:
C5
1
Compiler for classic 805
1
devices, 805
1
IP cores, Dallas
Contiguous Mode, and other extended devices
CX5
1
Compiler for Philips 805
1
MX and SmartMX
C25
1
Compiler for 25
1
devices and 25
1
IP cores
The Cx5
1
Compiler gives complete access to all hardware
components within your C source code. For example, you can
control peripherals using SFR registers, write optimum interrupt
code with CPU register banks, accelerate variable access with
the
data, idata,
or
pdata
memory type, and use efficient bit
operations or atomic bit manipulation.
805
1
devices provide various physical memory spaces: fast
DATA space, up to
1
6MB large XDATA space, and CODE space
for constants. F Cx5
1
offers:
Three well-defined memory models that provide the default
memory allocation for variables
Generic pointers that access all memory spaces
Memory types that control the space for variables or pointer
accesses. Memory-specific pointers reduce RAM
requirements, and optimize program execution
Support for all 805
1
derivatives and variants
Fast 32-bit IEEE floating-point math
Efficient interrupt code and direct register bank control
Bit-addressable objects
Sophisticated syntax checking and detailed warnings
Use of AJMP and ACALL instructions
Memory banking for code and variables beyond 64KB
Register parameters and dynamic register variables
Global program-wide register optimization
Common code block sub-routine optimization
Use of multiple data pointers
Use of on-chip arithmetic units
Generic and memory-specific pointers
Re-entrant functions and register bank independent code
Extensive debug and source browse information
Simple assembly language interface
n
n
n
n
n
n
n
n
n
n
n
n
n
n
or flexible memory usage,
n
n
n
n
n
n
n
LX51 Extended Linker
The standard Code Banking Linker lets you increase the
program space of a classic 805
1
device beyond 64KB. The LX5
1
Extended Linker expands device support and adds further
functionality to the Keil Cx5
1
Compiler:
n
Linker Code Packing
analyzes an entire application and
generates sub-routines for common code blocks even on
code banking applications. Short AJMP and ACALL
instructions replace longer LJMP and LCALL when possible
n
Incremental Linkage
allows you to split programs into
several functional parts as it is required for multi-application
programming or FLASH ROM updates
n
Far Memory Support
gives you access to
1
6MB of
variable space even on a classic 805
1
device and the far
memory type may be used for special memory types
n
Detailed
Data Type Checking
is performed across all
public symbol definitions and improves software quality
RTX Tiny2 Real-Time Kernel
The RTX Tiny2 multi-tasking real-time kernel makes
implementing complex, time-critical software projects easy. RTX
Tiny2 is royalty-free and is fully integrated into the Keil Cx5
1
tool chain. It works on all classic 805
1
device variants, and
supports multiple DPTR and arithmetic units.
RTX Tiny2 is the successor of the popular RTX operating
system and provides:
Single chip and code banking support
Round robin and cooperative task switching
Task management with create and delete
Timeout, Signal, and Ready events for task switching
Interrupt support for sending signals to tasks
n
n
n
n
n
The
µ
Vision debugger includes a kernel-aware dialog for RTX Tiny2 that displays
complete information about all the tasks in your program.
2 Keil 8051/25 Development Tools
1
Program Debugging
µVision Debugger
The
µ
Vision Debugger provides source-level debugging and
includes traditional features like simple and complex
breakpoints, watch windows, and execution control as well as
sophisticated features like performance analyzer, code coverage,
and logic analyzer.
The
µ
Vision Debugger may be configured as a Simulator where
programs run on your PC; or as Target Debugger where
programs run on your target hardware.
The cycle-accurate
µ
Vision Simulator is a software-only product
that simulates most features of your 805
1
/25
1
device without
actually having target hardware.
µ
Vision simulates a wide range
of peripherals including I/O Ports, CAN, I
²
C, SPI, UART, A/D
and D/A converter, E
²
PROM, and interrupt controller. The
simulated peripherals depend on the device selected from the
µ
Vision Device Database.
Benefits of µVision Device Simulation
n
Simulation allows software testing on your desktop with
no hardware environment
Early software debugging on a functional basis improves
overall software reliability
Simulation allows breakpoints that are not possible with
hardware debuggers
Simulation allows for optimal input signals (hardware
debuggers add extra noise)
Signal functions are easily programmed to reproduce
complex, real-world input signals
Single-stepping through signal processing algorithms is
possible. External signals stop when the CPU halts
It is easy to test failure scenarios that would destroy real
hardware peripherals
n
n
n
n
n
n
The disassembly window
shows CPU instructions
and trace history
Peripheral dialogs display
status information and aid
in driver development
The Logic Analyzer shows
changes to variables and
signals over time
The Project Window shows
all project files, and helps
you manage your project
The Performance Analyzer
displays execution times
for program blocks
Memory and watch
windows display program
variables
The µVision development platform is easy to use and it helps you to quickly create embedded programs that work. The µVision editor and debugger are integrated in a single
application that provides a seamless embedded project development environment for editing, simulating, Flash programming and testing in target hardware.
Keil 8051/251 Development Tools 3
Keil 8051/251 Development Tools
Keil
µ
Vision combines project management, source editing,
program debugging, and accurate device simulation in a single
powerful environment. Multiple drivers are included for
debugging applications running on target hardware.
PK5
1
Professional Developer’s Kit
Monitor-5
1
for evaluation boards and target hardware
MON390
for devices running in Dallas contiguous mode
ISD5
1
in-system debugger runs on standard 805
1
hardware
and is linked with the user application
EPM900
emulator/programmer for Philips LPC900 device
series
FlashMON
for Atmel single-chip microcontrollers
MONADI
for Analog Devices MicroConverter
ULINK2
driver for Infineon XC800, NXP 952/954, and
STMicroelectronics
µ
PSD3000 devices
n
Keil Cx5
1
Compiler
n
n
RTX Tiny2 RTOS Kernel
n
µVision
Device Database & IDE
n
n
µVision
Debugger & Analysis Tools
n
Other target hardware is supported by third-party drivers.
Device Peripheral Simulation
The
Keil PK5
1
Professional Developer’s Kit
is a complete
software development environment for classic and extended
805
1
microcontrollers. It includes the tools you need to create,
translate, and debug C and Assembly source files. Keil PK5
1
is
easy to learn and use, yet powerful enough for the most
demanding 805
1
applications.
The integrated Device Database configures the tools options
for each specific microcontroller. For a complete list of
supported devices, refer to
®
www.keil.com/dd.
The Keil ULINK2 Debug Adapter connects to a wide range of evaluation boards. For
more information refer to
www.keil.com/ulink
Europe:
+49 89/45 60 40 - 20
sales.intl@keil.com
support.intl@keil.com
United States:
+1 800 348 8051
sales.us@keil.com
support.us@keil.com
All brand names or product names are the property of their respective holders. Neither the whole nor any part of the information contained in, or the product described in, this document may be adapted or reproduced in any material form except with the prior
written permission of the copyright holder. The product described in this document is subject to continuous developments and improvements. All particulars of the product and its use contained in this document are given in good faith. All warranties implied or
expressed, including but not limited to implied warranties of satisfactory quality or fitness for purpose are excluded. This document is intended only to provide information to the reader about the product. To the extent permitted by local laws ARM shall not be liable
for any loss or damage arising from the use of any information in this document or any error or omission in such information.
Program examples and detailed technical information are available from your distributor and our web site (www.keil.com).
www.keil.com
Keil 8051/251 | 01.11
Plik z chomika:
tEDDYbOAR
Inne pliki z tego folderu:
c251v508.exe
(33130 KB)
cx51.pdf
(1610 KB)
keygen.exe
(17 KB)
Inne foldery tego chomika:
µVision
ARM
C166
C51
DOX
Zgłoś jeśli
naruszono regulamin