how to use keil software

How to use keil Software



1.                 Click on the Keil Vision Icon on Desktop
2.                 The  following fig will appear

3.                 Click on the Project menu from the title bar
4.                 Then Click on New Project

5.                 Save the Project by typing suitable project name with no extension in u r own folder sited in either C:\ or D:\


6.                 Then Click on Save button above.
7.                 Select the component for u r project. i.e. Atmel……
8.                 Click on the + Symbol beside of Atmel
9.                 Select AT89C51 as shown below


10.            Then Click on “OK”
11.            The Following fig will appear


12.            Then Click either YES  or NO………mostly “NO”.
13.            Now your project is ready to USE.
14.            Now double click on the Target1, you would get another option “Source group 1” as shown in next page.
15.            Click on the file option from menu bar and select “new”.

16.            The next screen will be as shown in next page, and just maximize it by double clicking on its blue boarder.
17.            Now start writing program in either in “EMBEDDED C” or “ASM”.
18.            For a program written in Assembly, then save it with extension “. asm”  and  for “EMBEDDED C” based program save it with extension “ .C”

19.            Now right click on Source group 1 and click on “Add files to Group Source”.


20.            Now you will get another window, on which by default “EMBEDDED C” files will appear.

21.            Now select as per your file extension given while saving the file.
22.            Click only one time on option “ADD”.
23.            Now Press function key F7 to compile. Any error will appear if so happen.

24.            If the file contains no error, then press Control+F5 simultaneously.
25.            The new window is as follows

26.            Then Click “OK”.
27.            Now click on the Peripherals from menu bar, and check your required port as shown in fig below.
28.            Drag the port a side and click in the program file.


29.            Now keep Pressing function key “F11” slowly and observe.
30.            You are running your program successfully.


No comments:

Post a Comment