Friday, 6 March 2015

How to use Keil uvision to write 8051 programs.

1) Double click on Keil uvision icon on desktop which will open keil uvision.

To download Keil uvision click on Download Link , Fill up necessary details, download the software and install on your pc  then you will be able to see Keil uvision icon on Desktop.


2) Click on Project  -> Close Project.
This will close all previous project.


3) Now create new project
Click on Project -> New uvision project -> Browse desire location to save project.->
Specify target device(for our case Atmel AT89C51) -> Click Ok. then it will prompt whether you require STARTUP.A51 to project folder -> Click NO.

Select Atmel and scroll down to select AT89C51.











4) Now you will have blank area on your workplace, click on New -> click save -> Give the name "name.c" (don't forget to add .c notation)  -> click save.






5) After saving a file we have to add it to our target . 
click on "+" tab of target  to expand target folder -> Right click on Source group 1 -> Add exisiting file to group "source group 1" -> select your c file "name.c" -> click add. 







6) Expand source group by clicking on '+' tab in source group you will find your c file their.


7) Now you write your code in the blank area.








                                                                                                                                    



No comments:

Post a Comment