Keil Logo

Writing Programs for 8051 devices

The Writing Programs topics introduce you to the Keil development tools and show you, step-by-step, the process of using them with the MCBx51 board. You will learn how to use µVision to create, compile, download, debug, and run a program on the MCBx51 board.

Writing programs for the MCBx51 is easy.

  1. Create the Application Program using the Keil µVision IDE and the Keil C51 toolset.
  2. Debug the program using the µVision Debugger.

The MCBx51 board comes with the Keil Development Tools CD-ROM that contains an Evaluation Version of the PK51 Professional Developer's Kit. If you are not already using the Keil tools, you may install the evaluation version from the CD-ROM.

The Keil Monitor program connects the µVision Debugger to the MCBx51 board. You may use the powerful debugging interface to test application programs on the MCBx51 board.

The MCBx51 board must be equipped with a Classic 8051, Atmel AT/TSC 8xC51Rx2 or NXP (founded by Philips) 8xC51Rx2/Rx2 device (Optional Dallas 320/420/520). The default DIP switch settings for the 8051 example are shown in the following table.

CPU TYPE
and Operating Mode
DIP Switch Setting
Src/D2 Page Map0 Map1 A17
Classic 8051 (80C32, 80C51FC, etc.) OFF OFF ON ON OFF
Dallas 320/420/520 ON OFF ON ON OFF
Atmel AT/TSC 8xC51Rx2,
NXP (founded by Philips) 8xC51Rx+/RxD
OFF ON ON ON OFF
  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.