Keil™, An ARM® Company

MCBx51 User's Guide

Building a Program

When the building a program function starts, you may watch the progress in the µVision's Command window. The created executable files are placed in an output folder, ready for downloading. The steps and progress are:

  1. Start the build

    Build All ButtonClick on the Build toolbar button to generate your application program. µVision translates all your source files and links the project.

  2. Monitor progress

    The build activity progress (assembling, compiling and linking) displays in the Build tab of µVision's Output Window. Any errors or warnings detected during the build process also display in this window.

    Target Build Output Window

  3. Program Files

    The build creates an Executable File in OMF51 Format which is placed in the Output folder that you designated earlier.

    Note

    • If the Create HEX File option is enabled, the build creates an Intel HEX-386 executable file which is placed in the same output folder for external program downloading through the serial port.

The program is now built and ready for test.