Keil Logo

Creating a Project

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

  1. Select the C51 Development Tools that you want to use for your project.
    The default configuration is the PK51 Professional Developers Kit Toolset and the information below is based on selecting the PK51 Compiler.
  2. Create a New Project File with the µVision menu command Project — New Project.
    Select a microcontroller from the Device Database™. The MCBXC866 Board comes with the Infineon XC866, however, you may also use it to develop code for other XC8xx device variants.
  3. Add and configure the Startup Code. The XC800 devices use the file START_XC.A51. You may need to change the configuration of this file to match your target requirements.
    After selecting a device, µVision prompts with the following dialog:

    'Copy XC800 Startup Code' Dialog

    Answer Yes since this startup code works with most XC800 projects.

  4. 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

  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.