12
Desai dhruvi 120090111030 Practical :- 1 AIM : Introduction to programming keil tool. Step - 1 To start Keiluvision Go to start -> Programs ->Keiluvision First Page of Keil tool. Step-2 To create Project

dhara 1

Embed Size (px)

Citation preview

Page 1: dhara 1

Desai dhruvi 120090111030

Practical :- 1

AIM : Introduction to programming keil tool.

Step - 1

To start Keiluvision

Go to start -> Programs ->Keiluvision

First Page of Keil tool.

Step-2

To create Project

Click on Project Menu -> New uvision Project So the following Menu will be open.

Page 2: dhara 1

Desai dhruvi 120090111030

After Clicking on New uvision Project, We need to create a folder for our projects to save in it

After Creating Folder,give specific file name and save it in our Project folder.(For that refere the following figure)

Page 3: dhara 1

Desai dhruvi 120090111030

Step-3

Selecting Controller

Select appropriate controller which you need for your project.

Click on con troller(select AT89C51)

As shown in figure right side of the figure shown the features of the selected controller.

Page 4: dhara 1

Desai dhruvi 120090111030

After clicking on the OK button,the following box will be open. Click YES.

Step-4

Where to write codes

Click on File -> New. So the editor code window will be open as shown in figure.

Page 5: dhara 1

Desai dhruvi 120090111030

Step-5

Saving file

After writing code in the code window, save file in the location where you have created your project.

Step-6

Add file to group

To add the file into the project window -> Add file to ‘Group-1’

Page 6: dhara 1

Desai dhruvi 120090111030

So the following figure will be open then select the file and select type as asm.

Step-7

Compiling the Project

After saving the file,click on the step by step three buttons to show the errors and warrings in the project.

If there is no error then we can execute our project.So during the compilation process errors is accord then remove the errors.

Page 7: dhara 1

Desai dhruvi 120090111030

If all errors are cleared then debug the project.so to debug click on debug option.

After clicking on debug process will be done as follow.

Page 8: dhara 1

Desai dhruvi 120090111030

The output will be shown in the window step by step as follow.

Step - 8

How to create Hex file

To create HEX file right click on target.

By clicking on options the following figure will be open.In the figure click on output and select hex file.

Page 9: dhara 1

Desai dhruvi 120090111030

Click on OK.

SIGN -