Keil Logo

Technical Support

On-Line Manuals

µVision User's Guide

About µVision User Interface Creating Applications Debugging Debug Commands Debug Functions Simulation Flash Programming Dialogs Utilities Command Line Example Programs Appendix B. File Types C. Device Database Parameters E. Error Messages Error E000 Error E001 Error E002 Error E003 Error E004 Error E005 Error E006 Error E007 Error E008 Error E009 Error E010 Error E011 Error E012 Error E013 Error E014 Error E015 Error E016 Error E017 Error E018 Error E019 Error E020 Error E021 Error E022 Error E023 Error E024 Error E025 Error E026 Error E027 Error E028 Error E029 Error E030 Error E031 Error E032 Error E033 Error E034 Error E035 Error E036 Error E037 Error E038 Error E039 Error E040 Error E041 Error E042 Error E043 Error E044 Error E045 Error E046 Error E047 Error E048 Error E049 Error E050 Error E051 Error E052 Error E053 Error E054 Error E055 Error E056 Error E057 Error E058 Error E059 Error E060 Error E061 Error E062 Error E063 Error E064 Error E065 Error E066 Error E067 Error E068 Error E069 Error E070 Error E071 Error E072 Error E073 Error E074 Error E075 Error E076 Error E077 Error E078 Error E079 Error E080 Error E081 Error E082 Error E083 Error E084 Error E085 Error E086 Error E087 Error E088 Error E089 Error E090 Error E091 Error E092 Error E093 Error E094 Error E095 Error E096 Error E097 Error E098 Error E099 Error E100 Error E101 Error E102 Error E103 Error E104 Error E105 Error E106 Error E107 Error E108 Error E109 Error E110 Error E111 Error E112 Error E113 Error E114 Error E115 Error E116 Error E117 Error E118 Error E119 Error E120 Error E121 Error E122 Error E123 Error E124 Error E125 Error E126 Error E127 Error E128 Error E131 Error E132 Error E133 Error E140 Error E145 Error E146 Error E147 Error E148 Error E149 Error E150 Error E151 Error E152 Error E153 Error E154 Error E155 Error E156 Error E157 Error E158 Error E159 Error E160 Error E161 Error E162 Error E163 Error E164 Error E165 Error E166 Error E167 Error E168 Error E169 Error E170 Error E171 Error E172 Error E173 Error E174 Error E175 Error E176 Error E177 Error E178 Error E179 Error E180 Error E181 Error E182 Error E183 Error E184 Error E185 Error E540 Error E541 Error E542 Error E544 Regular Search Expressions H. File Converter FCARM PRINT Directive NOPRINT Directive PAGEWIDTH Directive PAGELENGHT Directive ROOT Directive

C. Device Database Parameters

Device Database Parameters specify default device characteristics and define default settings for steering the µVision IDE & Debugger. Use these parameters to customize or add a device to µVision. The parameters are entered into the field File - Device Database - Options.

Parameter Description
BOOKn=document_file(title) Defines books, manuals, device datasheets that are added to the Books Window; (n={0,1,2, ...}).
CPU=CPU Options
FLASH=command(args) Specifies an external Flash programming utility. This option corresponds to Use External Tool for Flash Programming as described in Flash Download Configuration.
REGFILE=header_file(folder) Specifies the header file with device specific definitions. folder is relative to ..\toolchain\INC.
SFILE=startup_file(folder) Specifies the startup-file containing the startup code is copied to the project folder when creating a new project. Startup files are located in the folder ..\ARM\Startup. Refer to Setup the Project.
SVD=rel_path\ Specifies the Special Function Register file (*.sfr) containing the peripheral descriptions. This file controls the System Viewer. rel_path is relative to ..\Keil\ARM.

Basic device settings are encoded in the parameter CPU as listed in the table below.

CPU Options Description
IRAM (range) Address location of on-chip IRAM.
IRAM2 (range) Address location of a 2nd on-chip IRAM.
XRAM (range) Address location of an external RAM.
XRAM2 (range) Address location of a 2nd external RAM.
XRAM3 (range) Address location of a 3rd external RAM.
IROM (range) Address location of the on-chip (flash) ROM.
IROM2 (range) Address location of a 2nd on-chip (flash) ROM.
XROM (range) Address location of an external ROM.
XROM2 (range) Address location of a 2nd external ROM.
XROM3 (range) Address location of a 3rd external ROM.
ICAN (range) Address location of the on-chip CAN module. Used for C167 and variants only.
CPUTYPE (variant) Specify one of the following core variants for ARM powered microcontrollers
  • Cortex-M0
  • Cortex-M0+
  • Cortex-M1
  • Cortex-M3
  • Cortex-M4
  • Cortex-R4
  • Cortex-R4F
  • Cortex-R4 with floating point unit.
  • ARM926EJ-S
  • ARM966E-S
  • ARM9E
EBIG Default to BIG endian for ARM based controllers.
ELITTLE> Default to LITTLE endian for ARM based controllers.
ESEL Allow selection of the endianess for ARM based controllers.
CLOCK (val) Default CPU clock.
FPU Specifies default VFPU usage for some ARM9 devices, possible options: none, lib, ANSI, fast.
FPU2 Specifies FPU for Cortex-M4.
MASK_REV(val) Specify the mask revision number.
MOD167 Use the instruction set extensions of the C16x device variants.
MODA2 Enable Atmel specific multiple DPTR registers (like on AT89S8252).
MODAB2 Enable Analog Devices specific multiple DPTR registers.
MOD_CONT Enable support for the Dallas Contiguous Mode.
MODDA Enable Dallas specific Arithmetic Accelerator.
MODDP2 Enable Dallas specific multiple DPTR registers.
MODH2 Enable Hynix/ST uPSD33xx uPSD34xx multiple DPTR registers.
MODP2 Enable NXP specific multiple DPTR registers. (Note also some Atmel devices are using this variant).
MODV2 Use the instruction set extensions of the C16x V2 architecture.
MXP Enable support for the NXP SmartMX SmartCard architecture.
DPX Enable 24-bit DPTR register for the Analog Devices ADuC812.
PSOC Enable the generation of interrupt vectors for Cypress PSoC.


  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.