Keil Logo

Technical Support

On-Line Manuals

µVision3 User's Guide

µVision3 Overview User Interface Creating Applications Utilities Debugging Debug Commands Debug Functions Simulation Flash Programming Dialogs File Device Database License Management Single-User License Floating-User License Floating License Administrator Edit Find in Files Configuration Editor Colors & Fonts User Keywords Shortcut Keys Templates View Symbol Window Project Components, Enviornment, and Books Project Components Folders/Extensions Books Multi-Project Select Device Options Device Properties Target Target (Keil ARM) Target (Keil C51) Target (Keil C166) Target (Keil C251) Target (GNU ARM) Target (RealView ARM) Output Output (Keil) Output (GNU ARM) Output (RealView ARM) Listing Listing (Keil) Listing (GNU ARM) Listing (RealView ARM) User Keil EC++ Compiler Compiler Keil CA ARM Compiler Keil Cx51 Compiler Keil C166 Compiler Keil C251 Compiler GNU ARM C Compiler RealView ARM C Compiler Assembler Keil AA ARM Assembler Keil Ax51 Assembler Keil A166 Assembler Keil A251 Assembler GNU ARM Assembler RealView ARM Assembler Linker Keil LA Locate Keil LA Misc Keil BL51 Locate Keil BL51 Misc Keil Lx51 Locate Keil Lx51 Misc Keil L166 Locate Keil L166 Misc GNU ARM Linker RealView ARM Linker Debug Utilities Batch Build Debug Breakpoints Debug Settings Logic Analyzer Memory Map Performance Analyzer Function Editor Tools Setup PC-Lint Customize Tools Menu SVCS Configure Version Control Example Programs Command Line Appendix

Target (Keil C51)

Xtal (MHz)
Specifies the CPU clock of your device. In most cases this value is identical with the XTAL frequency.
Memory Model
Specifies the C51 compiler memory model. For starting new applications the default SMALL is a good choice.
Code Rom Size
Specifies the size of the program memory. This directive affects the coding of the JMP and CALL instructions.
Operating system
You may use an real-time operating system in your application. Keil offers two different versions:
  • RTX51 Tiny is part of the PK51 Professional Developers Kit and typically the best choice for 8051 applications. RTX51 Tiny works even on the smallest systems and supports round-robin task switching, supports signal passing and can be operated with interrupt functions in parallel.
  • RTX51 Full supports both round-robin and preemptive task switching. RTX51 Full provides signal passing; message passing with a mailbox system and semaphores.
Use On-chip ...
Specify the usage of the on-chip components which are typically enabled in the CPU startup code or at beginning of the main function. Make sure that the dialog settings are identical with the configuration of the startup file or the device initialization (see also Note below).
Off-chip ... memory
Specify the external CODE and XDATA memory areas of the target hardware (see also Note below).
When using Monitor-51 the CODE and XDATA areas must be non-overlapping physical memory. For Monitor-51 the application code is stored in von Neumann mapped RAM (means that CODE and XDATA are identical; required since the 8051 cannot write to CODE).
Code Banking
Enables program code banking and allows to define the number of Code Banks and the start and end address supported by your hardware. To locate program code into a code bank the source modules must be assigned in the dialog Options — Properties to a code bank. A code banking configuration file such as L51_BANK.A51 is required to configure the banking hardware.
'far' memory type support
Far memory allows to expand the physical XDATA space by using different methods. Example projects can be found in the folder ..\C51\Examples\FarMemory. Extended 8051 devices provide typically additional CPU instructions. For classic 8051 devices the files XBANKING.A51 and L51_BANK.A51 allow configuration of the banking hardware.
Save address extension SFR in interrupts
In some configuration it is required to save the address extension SFR at the beginning of interrupt service routines.

Note

  • For automatic linker configuration the option Use Memory Layout from Target Dialog in the Linker Locate dialog page must be enabled.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.