Keil is a German based software development company, and it provides several development tools like IDE, Project Manager, Simulator, Debugger, C Cross Compiler, Cross Compiler, Cross assembler, Locator/Linker.evaluation boards
Keil will support various processors and control includes ARM Cortex-M, CI66, 8051, 251, Debug Adapters, Evaluation boards. The tools includes C/C++ compilers, integrated development environments, RTOS, middle ware as well as debug adapters and
Download Keil IDE Tool : Keil IDE tool for 8051
How to Create a Project in Keil?
I chooses AT89S51 micro controller(You can select any other keil support micro controller) and demonstrated, this is very simple and follow this below steps,
Steps to follow
Project select New uVision Project.
Select the directory, and enter
File_Name in anywhere in your machine, then Save project
“Select Device for Target”
AT89S51 form Popup window and click OK
If popup windows then “Copy
STARTUP.A51 to Project Folder and Add File to Project”, then Y es.
Done. You created the project !
How to write a Program in keil ? Steps to follow
Source Group 1, Right click and click Add New item to Group ‘Source Group 1’.
C File(.c), then enter Name “LED_Blink” and Click Add
write program in text editor and
How to Create a Hex file?
Steps to follow
Options for Target from the Project menu in Target
Output tab, Make sure the Create HEX File check box is checked, click OK
Note : Select the proper HEX file format to create (typically this will be HEX-80 for 8051 programs and HEX-386 for large C16x programs).
open specified folder and click
Objects (after build only you can get this object folder files)
How to Build a Project in Keil? Steps to follow
Build Target( F7) from Project menu.
Go to specified project saved Folder directory
Open specified folder and click
How Debug program
Start the debugger.
Click on Debug – Go to run the program.
Make sure that View – Periodic Window Update is checked.