µVISION: ADDING CUSTOM PARTS TO THE DEVICE DATABASE
Information in this article applies to:
The µVision device database contains all 8051, 251,
C16x/XC16x/ST10, and ARM7/ARM9/Cortex-M standard products. However,
there are some custom devices and there will be future devices that
are not part of this database (they will be added as they are
created, of course). If you need to work with an unlisted MCU, you
have two alternatives:
- Select a generic device.
- Add a new device to the database.
SELECTING A GENERIC DEVICE
Under the Generic listing in the device database, for 8051,
251, C16x/XC16x/ST10 you will find the following generic devices:
- 8031 (all Variants)
- 8032 (all Variants)
- 8051 (all Variants)
- 8052 (all Variants)
C166 (all Variants) - Supports CPUs with no extended
C167 (all Variants) - Supports CPUs with an extended
For ARM and Cortex devices, under the ARM listing in the
device database, you will find the following generic devices:
- ARM7 (Big Endian)
- ARM7 (Little Endian)
- ARM966E-S (Big Endian)
- ARM966E-S (Little Endian)
- ARM9E-S (Big Endian)
- ARM9E-S (Little Endian)
- Cortex-M0 SDK
- Cortex-M1 (Altera)
- Cortex-M4 FPU
You may select one of these devices and then specify any necessary
chip options in the Target Dialog.
ADDING A NEW DEVICE
From the File menu, select the Device Database item. µVision opens
a dialog which shows the device database where you may add and modify
the existing devices.
To add a new device...
Select a CPU that is similar to the device you want to use. Be
sure to double-click to bring the settings for this device into
- Change the name of the chip vendor.
- Select the appropriate CPU family.
- Enter the part number in the device text box.
- Modify the description to match your device.
- Change the options for the tools (see below).
Single-click in the database window (to change focus). This
enables the Add button.
- Click Add to add the new device.
To remove a device...
Locate the device you want to remove in the Data Base
tree list box and left-click the name once to highlight it.
Press the Del key to remove the device from the Device
You will not receive a warning when you press the
Del key. The device is deleted immediately.
Adjusting the Options...
In the Options box, CPU= specifies the basic tool settings
for the chip. The parameters for CPU= are:
Address location of the on-chip IRAM.
Address location of the on-chip XRAM.
Address location of a 2nd on-chip XRAM area (i.e. for C167CS).
Address location of a 3rd on-chip XRAM area.
Address location of the on-chip (flash) ROM.
For classic C166: start address must be 0; IROM is split into two
sections if size is above 32KB; range specifies physical ROM
(for 8051 and variants only) Address location of 2nd on-chip
Address location of external (flash) ROM.
Address location of 2nd external ROM.
Address location of 3rd external ROM.
Address location of the on-chip CAN module. Use for C167 and
Specify CPU variant for ARM based controllers. Currently only ARM7,
ARM9, Cortex-M and Cortex-R4 devices are supported.
Default to BIG endian for ARM based controllers.
Default to LITTLE endian for ARM based controllers.
Allow selection of the endianiess for ARM based controllers.
Default CPU clock speed (in Hz) used when you select the device.
For example CLOCK(12000000), indicates a 12MHz oscillator.
(for ARM9 only) Specifies default VFPU usage for some ARM9
(for Cortex-M4 only) Specifies default VFPU usage for some
Specifies the mask revision number.
Use the Multiply/Accumulate Unit of Silicon Labs C8051F12x device
Use the Multiply/Devide Unit of Cast/Evatronix R80515.
Use the extended instruction set of the C167 and variants.
Enable Infineon specific multiple DPTR registers.
Enable the Infineon specific Arithmetic Unit.
Enable Atmel specific multiple DPTR registers (like on
Enable Analog Devices specific multiple DPTR registers.
Enable Cast/Evatronix specific multiple DPTR registers
Enable support for the Dallas Contiguous Mode.
Enable Dallas specific Arithmetic Accelerator.
Enable Dallas specific multiple DPTR registers.
Enable Hynix/ST uPSD33xx uPSD34xx multiple DPTR registers.
Enable Philips specific multiple DPTR registers. (Note also some
Atmel devices are using this variant).
Use the Infineon XC16x / ST Super10 instruction set
Enable support for the Philips 80C51MX architecture.
Enable support for the Philips SmartMX SmartCard architecture.
Enable 24-bit DPTR register for the Analog Devices ADuC812.
Enable the PCON.PMW feature that allows to use MOVX instructions to
write into code space for the Evatronix R8051XC.
Enable the data pointer control registers on the Evatronix R8051XC
that provide auto-increment features for the DPTR registers.
Enable the Bank Switch Enable feature in the register DPSEL.3 for
the Evatronix R8051XC.
Enable the generation of interrupt vectors for Cypress PSoC.
The following additional options are also available:
Other options specify data books and µVision debugging DLLs.
You should leave these variables unchanged when adding a new device
to the database.
The following Discussion Forum threads may
provide information related to this topic.
Last Reviewed: Wednesday, October 2, 2019