0% found this document useful (0 votes)
96 views5 pages

Microcontroller Practical Procedure: Keil Software Development Tools

The document provides steps to create a .hex file using Keil uVision3 software for a Philips 89v51RD2xx microcontroller: 1. Start a new project in Keil uVision3, select the Philips 89v51RD2xx microcontroller, and generate a default startup code. 2. Write code in the Text window and save it with a .c or .asm extension. Add the source file to the project group. 3. Set the crystal frequency to 11.0592 MHz in the target options and select to output a hex file. 4. Compile, build, and rebuild the project to generate a .hex file in the project folder for

Uploaded by

Richa Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
96 views5 pages

Microcontroller Practical Procedure: Keil Software Development Tools

The document provides steps to create a .hex file using Keil uVision3 software for a Philips 89v51RD2xx microcontroller: 1. Start a new project in Keil uVision3, select the Philips 89v51RD2xx microcontroller, and generate a default startup code. 2. Write code in the Text window and save it with a .c or .asm extension. Add the source file to the project group. 3. Set the crystal frequency to 11.0592 MHz in the target options and select to output a hex file. 4. Compile, build, and rebuild the project to generate a .hex file in the project folder for

Uploaded by

Richa Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

Microcontroller Practical Procedure

Keil Software development tools

Creating a .hex file using evaluation software.

Start Keil uVision3 or UV3 i.e. an ICON appear on your desktop PC.

The following window will be appearing on the screen.

Now click on Project in menu bar and select new project, u will get following window.
Now choose the destination where you want to store the project.
Create new folder and give the name that.
Double click on the folder and give the name for your project file as *.uv2
(Extension it will take by default.) Click on save.
U will get following type of window on the screen.

This will ask u the target device that means the Microcontroller that is on our board.
Select Philips 89v51RD2xx. And click O.K. then it ask that copy standard startup code click
yes. It will show target folder on left.
Now click to file menu and new file, and type your code here in the Text window.
After writing your code save this source file with proper extension, i.e. if your are writing the
code in the C languages then save file as *.c or if in assembly then save as * .asm.
Now add this source file to our Project group, by clicking on the following shown icon,
By clicking on this icon u will get the following type of window on the screen.

Then click on the add file it will show the window contain file,
Click the proper extension and click add once it will add the selected file in the project group.
Then click close and then O.K.
Now click on the project in menu bar and options for target shown in the following window,

after clicking on this window , u will get the option as shown in following window, as in below
shown window u must have to change the crystal frequency to 11.0592 , after that click on
output option.

After clicking on output option u will get window shown below,


Here select the option that create hex file.
Then click ok u will return on the main program.
Now compile the program by using the icon shown in below window, it will show that compile
result in the output menu.
After that click on the build icon very near to compile icon. After that click on rebuild icon this is
near to build icon.
Now your *.hex file is created in your project folder.

Down load your hex file in the processor memory

For downloading this file in the target board use the Flash magic downloading Software

You might also like