0% found this document useful (0 votes)
110 views10 pages

Keil Scree Shots

The document outlines 10 steps to create a new project in Keil IDE, write and compile a simple "main.c" source code file, and generate an Intel hex file as output for an embedded target device like the AT89S52 or P89V51RD2 microcontroller. The steps include opening Keil, creating a new project, selecting the target device, adding the "main.c" source file to the project, configuring the project options to generate a hex file on compilation, and compiling the project to produce the final Intel hex output file.

Uploaded by

Sukanya Reddy
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views10 pages

Keil Scree Shots

The document outlines 10 steps to create a new project in Keil IDE, write and compile a simple "main.c" source code file, and generate an Intel hex file as output for an embedded target device like the AT89S52 or P89V51RD2 microcontroller. The steps include opening Keil, creating a new project, selecting the target device, adding the "main.c" source file to the project, configuring the project options to generate a hex file on compilation, and compiling the project to produce the final Intel hex output file.

Uploaded by

Sukanya Reddy
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Step by step screenshots...

Step 1 - Open Keil IDE installed previously on your PC.

Step 2 - Create a New Project from Projet -> New ->

uVision Project.

Step 3 - IDE will tell you to save it a name. Do it according to your will ask you to choose your target device either AT89S52 or P89V51RD2 using.

the project and give convenience. Now keil device. Choose your or anyone else you are

If you are using P89V51RD2 it will be found under NXP

Step 4 - A window will open up asking for add up some startup files. Press NO.

Step 5 - Now make a new empty file.

Step 6 - Type in your source code in that empty file and

save this file as main.c (not compulsory)

Step 7 - Add the main source file to your project by

right clicking on left side bar over "Source Group1"

Step 8 - Make sure that main C source file is now added

in your project.

Step 9 - By default keil compiler do not generate intel hex file on source compilation. So we need to configure it to produce Hex file as output. Project -> Options for target target1

Check the Create hex file

box

Step 10 - Now you are ready to compile source and generate the hex file.

The final output will look like this...

Now you can find the generated iHex file for the project in the same directory as in project lies.

You might also like