Keil™, An ARM® Company

MCBx51 User's Guide

Creating a Project

The required steps for creating a project and application programs are:

  1. Create a New Project File with the µVision menu command Project — New Project.
    Select a microcontroller from the Device Database®. The MCBx51 Board comes with a 8051 device, so you must select this device.
  2. Add Startup Code.
    The Startup file provides pre-configured startup code for the MCBx51 board.
    When you start a new project, µVision copies the appropriate Startup Code from the ..\KEIL\C51\EXAMPLES\BLINKY\STARTUP.A51 folder to your project folder.

    After selecting a device, µVision prompts with the following dialog:

    Copy Startup dialog

    Answer with Yes.

  3. Add your own Source Code to the project using the µVision editor (or any editor of your choice) by either:
    • Right clicking the mouse in the Project Window on a group and selecting Add Files to Group from the context menu.

      Or
    • Opening the Project — Components, Environment and Books — Project Components dialog.
      Within this dialog, you may create and organize files into groups, or create other project targets with different tool configurations.

    Components, Environments and Books Dialog