Keil Logo Arm Logo

µVision4 User's Guide

Configure Startup Code

The Startup Code initializes the microcontroller and has to match the configuration of the hardware design. Typically, the startup code resides in a file named startup_device_family.s and is copied to the project folder. Some devices might use also a file named system_device_family.c. µVision provides several startup and system files in the folder ..toolchain\Startup\vendor.

Though the default settings are a good starting point, adaptations might be needed. For example, CPU/PLL clock and BUS system are target specific, and cannot be configured automatically. Some devices provide options to enable or disable on-chip components (for example on-chip xdata RAM on 8051 variants).

Open the file in the editor. Most startup files include special comments used by the Configuration Wizard to provide GUI-like configuration controls. Use these controls to configure the options.

The tab Text Editor switches to the standard editor view and allows modifying the source code.

arm-logo-small

Keil logo
Important information

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