ppt for keil

Post on 19-Jan-2016

150 Views

Category:

Documents

20 Downloads

Preview:

Click to see full reader

TRANSCRIPT

EMBEDDED SYSTEM DESIGN -TOOLS

1) Keil Compiler

2) Proteus professional

PROCEDURE FOR KEIL COMPILER

Double click the Keil icon from the desktop

STARTING A PROJECT

Project->New-> µvision project

Enter the name of the project and give OK

CHOOSING THE TARGET DEVICEAT89C51- ATMEL

Choose ATMEL->AT89C51 and click ok

Click No to this window

Opening an assembler file and Typing a program,Saving

Where Files are Stored

Adding files to the project

File successfully added

Translate, Build and Rebuild all target Files

Press TRANSLATE button

Press Build button

Press ReBuild button

Debugging the files

Perform single step debugging

Press step into Keep clicking the icon check the project workspace

To select the internal memory press I, To select the external memory press c

Generation of Hex file for dumping

Choose > configure tools > choose output tab > Choose create HEX file and give Ok

The path where dump is stored C:>/keil/C51/Examples/hello

Embedded System Design using Proteus Professional

Click the new project

PICK DEVICES

Right click >

SELECTION OF POWER & GND

INTERFACING LCD Display WITH AT89C51

Components used

AT89C51

LCD DISPLAY-

Left Click on the mesh grid twice to place the device

Right click on the meshgrid-> choose place-> component-> library-> type keyword LCD on the keyworde -> choose LM016L

Right click on the mesh grid-> choose terminal-> power or ground

Choose component mode-> the cursor changes to a pencil-> interconnect the pins-> left click to

end the connection

To Load the Hex file generated in KEIL environment

Right click on the microcontroller placed in the mesh grid

Select Program file-> option and choose the hex file created in keil compiler and

give ok

To Run the Embedded system design on proteus

Click the play button on the left side of the window

If everything is correct we get the output else redo again

top related