ARM: The Keil C51 Development Tool for 8051 Family

Overview

The Keil development tools for the 8051 Microcontroller Architecture support every level of software developer from the professional applications engineer to the student just learning about embedded software development. The Keil 8051 Development Tools are designed to solve the complex problems facing embedded software developers. The industry-standard Keil C Compilers, Macro Assemblers, Debuggers, Real-time Kernels, Single-board Computers, and Emulators support all 8051 derivatives and help you get your projects completed on schedule. The Keil µVision IDE fully integrates Cx51 and provides control of the Compiler, Assembler, Real-Time OS, Project Manager, and Debugger in a single, intelligent environment. With support for all 8051 devices and full compatibility with emulators and third-party tools, Keil Cx51 is clearly the best choice for your 8051 project.

 

Keil C51 is the industry-standard toolchain for all 8051-compatible devices, it supports classic 8051, Dallas 390, NXP MX, extended 8051 variants, and C251 devices. The µVision IDE/Debugger integrates complete device simulation, interfaces to many target debug adapters, and provides various monitor debug solutions. The Keil µVision Debugger accurately simulates on-chip peripherals (I²C, CAN, UART, SPI, Interrupts, I/O Ports, A/D Converter, D/A Converter, and PWM Modules) of your 8051 device. Simulation helps you understand hardware configurations and avoids time wasted on setup problems. Additionally, with simulation, you can write and test applications before target hardware is available.

 

Keil µVision IDE

The Keil µVision IDE combines project management, make facilities, source code editing, program debugging, and complete simulation in one powerful environment. The µVision development platform is easy-to-use and helping you 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. Multiple drivers are included for debugging applications running on target hardware:

  • Monitor-51 for evaluation boards and target hardware
  • MON390 for devices running in Dallas contiguous mode
  • ISD51 in-system debugger runs on standard 8051 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

 

µVision Linker & Locator

The LX51 linker/locator combines object modules and creates executable 8051 programs. The linker resolves external and public references and assigns absolute or fixed addresses to relocatable program segments. The LX51 linker processes object files created by the Keil C51 Compiler, CX51 Compiler, A51 Assembler, AX51 Assembler, and the Intel PL/M-51 Compiler and ASM-51 Assembler and generates an absolute OMF2 object module.

 

µ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 8051/251 device without actually having target hardware.

 

µVision Simulator

The µVision Simulator allows you to debug programs using only your PC and device simulation drivers provided by Keil and various third-party developers. A good simulation environment, like µVision, does much more than simply simulate the instruction set of a microcontroller — it simulates your entire target system including interrupts, startup code, on-chip peripherals, external signals, and I/O. Benefits of µVision Device Simulation are:

 

  • 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

 

Target Hardware

The µVision Debugger allows you to debug programs running on target systems using target drivers provided by Keil and various third-party developers.

Back to top

Licensing Options & System Req.

AK51: The A51 Assembler Kit for the 8051 microcontroller family enables you to write assembler programs for practically any 8051 derivatives including those from Analog Devices, Atmel, Cypress Semiconductor, Dallas Semiconductor, Goal, Hynix, Infineon, Intel, NXP (founded by Philips), OKI, Silicon Labs, SMSC, STMicroelectronics, Synopsis, TDK, Temic, Texas Instruments, and Winbond.

CA51: The CA51 Compiler Kit for the 8051 microcontroller family supports all 8051 derivatives including classic devices and IP cores from companies like Analog Devices, Atmel, Cypress Semiconductor, Dallas Semiconductor, Goal, Hynix, Infineon, Intel, NXP (founded by Philips), OKI, Silicon Labs, SMSC, STMicroelectronics, Synopsis, TDK, Temic, Texas Instruments, and Winbond. On-chip peripherals and other key features of the 8051 are easy to access with the CA51 Compiler Kit.

PK51: The PK51 Professional Developer's Kit for the 8051 microcontroller family supports all 8051 derivatives including new devices with extended memory and instruction sets (like the Dallas 390/5240/400, Philips 51MX, and Analog Devices MicroConverters) and classic devices and IP cores from companies like Analog Devices, Atmel, Cypress Semiconductor, Dallas Semiconductor, Goal, Hynix, Infineon, Intel, NXP (founded by Philips), OKI, Silicon Labs, SMSC, STMicroelectronics, Synopsis, TDK, Temic, Texas Instruments, and Winbond. On-chip peripherals and other key features of the 8051 are easy to access with the PK51 Professional Developer's Kit.
License Options for Keil PK51
PK51 - Node LockPK51 - Node Lock
PK51 - FloatingPK51 - Floating
PK51 - Node Lock (1-YR Term)PK51 - Node Lock (1-YR Term)

Minimum System Requirements:
  • 2 GHz host processor (dual-core recommended)
  • 512MB of RAM (1 GB recommended)
  • 200MB of hard disk space (1 GB recommended)

Suported Operating Systems:
  • Windows XP Professional service pack 3
  • Windows 7 Professional and Enterprise
  • Red Hat Enterprise Linux 5 Desktop and Workstation
  • Support for Windows Vista service pack 2 is deprecated


Back to top

Language Tools

The Keil Cx51 ANSI C Complier supports all classic and extended 8051 device variants. Compiler extensions provide full access to all CPU resources and support up to 16MB memory. The Keil Cx51 generates code with the efficiency and speed of hand-optimized assembly. New compiler and linker optimizations shrink programs into the smallest single-chip devices. The Cx51 Compiler allows you to write 8051 microcontroller applications in C that, once compiled, have the efficiency and speed of assembly language. Language extensions in the C51 Compiler give you full access to all resources of the 8051. The C51 Compiler translates C source files into relocatable object modules which contain full symbolic information for debugging with the µVision Debugger or an in-circuit emulator. In addition to the object file, the compiler generates a listing file which may optionally include symbol table and cross reference information.

 

Features

  • Nine basic data types, including 32-bit IEEE floating-point,
  • Flexible variable allocation with bit, data, bdata, idata, xdata, andpdata memory types,
  • Interrupt functions may be written in C,
  • Full use of the 8051 register banks,
  • Complete symbol and type information for source-level debugging,
  • Use of AJMP and ACALL instructions,
  • Bit-addressable data objects,
  • Built-in interface for the RTX51 Real-Time Kernel,
  • Support for dual data pointers on Atmel, AMD, Cypress, Dallas Semiconductor, Infineon, Philips, and Triscend microcontrollers,
  • Support for the Philips 8xC750, 8xC751, and 8xC752 limited instruction sets,
  • Support for the Infineon 80C517 arithmetic unit.

 

Back to top

Debuggers and Programmers

Keil ULINK2Keil ULINK2

The Keil ULINK2 Debug Adapter connects your PC's USB port to your target system (via JTAG, SWD, or OCDS) and allows you to program and debug embedded programs on target hardware. Using the ULINK2 adapter together with the Keil µVision IDE/Debugger, you can easily create, download, and test embedded applications on target hardware.

 

ulink2.jpg

Features

  • Supports various ARM7, ARM9, Cortex-M, 8051, and C166 devices
  • JTAG speed up to 10MHz
  • Serial Wire Debug (SWD) support for ARM Cortex-M based devices
  • Serial Wire Viewer (SWV) Data Trace for Cortex-M up to 1Mbit/s (UART mode)
  • Real-Time Agent with memory R/W during execution, terminal emulation, and serial debug output
  • Seamless integration with the Keil µVision IDE & Debugger
  • Wide target voltage range: 2.7V - 5.5V
  • USB powered (no power supply required)
  • Plug-and-Play installation using standard Windows USB drivers
  • On-chip Debugging (using on-chip JTAG, SWD, or SWV),
  • Flash Memory Programming (using user-configurable Flash programming algorithms).

 

 

Keil SmartMX DBox

The Keil SmartMX DBox enables software debugging and integration testing for NXP (founded by Philips) SmartMX™ smart card controllers. It is based on the NXP SmartMX bondout device and integrates seamlessly with the µVision IDE to provide a high-performance development and debugging platform. The SmartMX DBox connects directly to the µVision Debugger and provides a card reader interface with a contactless antenna and USB connection. It offers RAM and Flash ROM operation and may be used for both debugging and software verification prior to mask ROM production.

 

dbox.jpg

Features & Benifits

 

  • Connects to the µVision Debugger which provides identical environments for Simulation and Target Debugging.
  • Supports program debugging at the Source or Assembly level with single-stepping and hardware breakpoints.
  • Allows viewing and modifying CPU registers, memory, and Special Function Registers (SFRs).
  • Includes status LED's for EBA, SSM, PD, PSAVE, CLVAL, CTVAL, and Power.
  • Offers full support of System and User Mode including MMU debugging dialog.
  • Supports two Application Download Modes: RAM for fast debug turn-around and Flash ROM software verification prior to ROM mask production.
  • Provides interfaces for contact-based card reader, contactless card reader, and USB.
  • Supports flexible CPU clock generation.

 

 

 

Back to top

Video

 

coming_soon21.jpeg

Technical Documents

Learning Center

Back to top

 

Back to top