µVision4 User's Guide

Technical Support

On-Line Manuals

µVision4 User's Guide

About µVision User Interface Creating Applications Utilities Debugging Debug Commands Debug Functions Simulation Flash Programming Dialogs Example Programs Command Line Appendix A. Product Licensing 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 F. TR1 Search Expressions G. Revision History Version 4.53 Differences Version 4.50 Differences

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.

ParameterDescription
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 Create Project File and Select Device.
SVD=rel_path\file_name.sfrSpecifies 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 OptionsDescription
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-M1
  • Cortex-M3
  • Cortex-M4
  • Cortex-R4
  • Cortex-R4F
  • Cortex-R4 with floating point unit.
  • ARM7TDMI
  • ARM926EJ-S
  • ARM966E-S
  • ARM9E
EBIGDefault to BIG endian for ARM based controllers.
ELITTLE>Default to LITTLE endian for ARM based controllers.
ESELAllow selection of the endianess for ARM based controllers.
CLOCK (val)Default CPU clock.
FPUSpecifies default VFPU usage for some ARM9 devices, possible options: none, lib, ANSI, fast.
FPU2Specifies FPU for Cortex-M4.
MASK_REV(val)Specify the mask revision number.
MDU_F120Use the Multiply/Accumulate Unit of SiliconLabs C8051F12x device variants.
MDU_R515Use the Multiply/Divide Unit of Cast/Evatronix R80515.
MOD167Use the instruction set extensions of the C16x device variants.
MOD517DPEnable Infineon  8051 specific multiple DPTR registers.
MOD517AUEnable the Infineon 8051 specific Arithmetic Unit.
MODA2Enable Atmel specific multiple DPTR registers (like on AT89S8252).
MODAB2Enable Analog Devices specific multiple DPTR registers.
MODC2Enable Cast/Evatronix specific multiple DPTR registers (R80515).
MOD_CONTEnable support for the Dallas Contiguous Mode.
MODDAEnable Dallas specific Arithmetic Accelerator.
MODDP2Enable Dallas specific multiple DPTR registers.
MODH2Enable Hynix/ST uPSD33xx uPSD34xx multiple DPTR registers.
MODP2Enable NXP specific multiple DPTR registers. (Note also some Atmel devices are using this variant).
MODV2Use the instruction set extensions of the C16x V2 architecture.
MXEnable support for the NXP 80C51MX architecture.
MXPEnable support for the NXP SmartMX SmartCard architecture.
DPXEnable 24-bit DPTR register for the Analog Devices ADuC812.
PMWEnable the PCON.PMW feature that allows to use MOVX instructions to write into code space for the Evatronix R8051XC.
DPCEnable the data pointer control registers on the Evatronix R8051XC that provide auto-increment features for the DPTR registers.
BSEEnable the Bank Switch Enable feature in the register DPSEL.3 for the Evatronix R8051XC.
PSOCEnable the generation of interrupt vectors for Cypress PSoC.

Note