Keil Logo

C. Device Database Parameters

With the dialog File — Device Database you may Add a New Device to Device Database. The Options field of this dialog contains various parameter strings that specifies the tool settings for the device. The basic devices parameters are encoded in the CPU= string and are listed in the following table:

Parameter Specifies …
IRAM (range) Address location of the on-chip IRAM.
XRAM (range) Address location of the on-chip XRAM.
XRAM2 (range) Address location of a 2nd on-chip XRAM area.
IROM (range) Address location of the on-chip (flash) ROM. The start address must be 0; the part is split automatically into two sections, if the size is more than 32KB. The range specifies the physical ROM size.
ICAN (range) Address location of the on-chip CAN module. Used for C167 and variants only.
CPUTYP (variant) Specify CPU variant for ARM based controllers. Currently only ARM7TDMI is supported.
EBIG Default to BIG endian for ARM based controllers.
CLOCK (val) Default CPU clock used when you select the device.
FPU Specifies default VFPU usage for ARM devices, possible options: none, lib, ANSI, fast.
MDU_F120 Use the Multiply/Accumulate Unit of SiliconLabs C8051F12x device variants.
MDU_R515 Use the Multiply/Divide Unit of Cast/Evatronix R80515.
MOD167 Use the instruction set extensions of the C167 or ST10 device variants.
MOD517DP Enable Infineon  8051 specific multiple DPTR registers.
MOD517AU Enable the Infineon 8051 specific Arithmetic Unit.
MODA2 Enable Atmel specific multiple DPTR registers (like on AT89S8252).
MODAB2 Enable Analog Devices specific multiple DPTR registers.
MODC2 Enable Cast/Evatronix specific multiple DPTR registers (R80515).
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 Philips specific multiple DPTR registers. (Note also some Atmel devices are using this variant).
MODV2 Use the instruction set extensions of the C166 V2 architecture (Infineon XC16x or ST Super10 device variants).
MX Enable support for the Philips 80C51MX architecture.
MXP Enable support for the Philips SmartMX SmartCard architecture.
DPX Enable 24-bit DPTR register for the Analog Devices ADuC812.

In addition there the following other options may be changed by the user:

Parameter Specifies …
BOOKn=document_file(title) Device Data Book file that is inserted into the Project Window - Books list.
FLASH=command_file(options) Specify the Flash Utility that should be used with the device.
REGFILE=sfr_file(folder) Specify the SFR register definition file for the CPU.
SFILE=startup_file(folder) Specify the default startup file that should be copied to a project.

Other options specify data books and µVision debugging DLLs. You should leave these variables unchanged when adding a new device to the database.

  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.