1. Start Keil uvision4, you see a start screen similar to this (or may be somewhat different but it doesn’t matter much.
2. Click on Project -> New uVision Project
3. Enter your Project name and choose location where your project will be saved, its recommended to create a folder as a project consists of many files.
4. Choose device for which you are writing code, for this example i am using AT89C51, a version of Intel 8051 microcontroller by Atmel.
5. Click No when a screen like below comes if you want to write your code from scratch.
13. Click on Target in upper menu and adjust the parameters according to your device. For 8051 microcontroller choose parameters as below (for a small program and if you are not using external ROM to store your program).
14. Click output in upper menu and mark option Create HEX File. After adjusting all parameters click OK.
No comments:
Post a Comment