ppt for keil

67
EMBEDDED SYSTEM DESIGN - TOOLS 1) Keil Compiler 2) Proteus professional

Upload: 1balamanian

Post on 19-Jan-2016

133 views

Category:

Documents


20 download

TRANSCRIPT

Page 1: PPT for Keil

EMBEDDED SYSTEM DESIGN -TOOLS

1) Keil Compiler

2) Proteus professional

Page 2: PPT for Keil

PROCEDURE FOR KEIL COMPILER

Page 3: PPT for Keil

Double click the Keil icon from the desktop

Page 4: PPT for Keil

STARTING A PROJECT

Page 5: PPT for Keil

Project->New-> µvision project

Page 6: PPT for Keil

Enter the name of the project and give OK

Page 7: PPT for Keil

CHOOSING THE TARGET DEVICEAT89C51- ATMEL

Page 8: PPT for Keil
Page 9: PPT for Keil

Choose ATMEL->AT89C51 and click ok

Page 10: PPT for Keil

Click No to this window

Page 11: PPT for Keil

Opening an assembler file and Typing a program,Saving

Page 12: PPT for Keil
Page 13: PPT for Keil
Page 14: PPT for Keil
Page 15: PPT for Keil
Page 16: PPT for Keil

Where Files are Stored

Page 17: PPT for Keil
Page 18: PPT for Keil

Adding files to the project

Page 19: PPT for Keil
Page 20: PPT for Keil
Page 21: PPT for Keil
Page 22: PPT for Keil

File successfully added

Page 23: PPT for Keil

Translate, Build and Rebuild all target Files

Page 24: PPT for Keil

Press TRANSLATE button

Page 25: PPT for Keil

Press Build button

Page 26: PPT for Keil

Press ReBuild button

Page 27: PPT for Keil

Debugging the files

Page 28: PPT for Keil
Page 29: PPT for Keil
Page 30: PPT for Keil

Perform single step debugging

Page 31: PPT for Keil

Press step into Keep clicking the icon check the project workspace

Page 32: PPT for Keil

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

Page 33: PPT for Keil

Generation of Hex file for dumping

Page 34: PPT for Keil
Page 35: PPT for Keil

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

Page 36: PPT for Keil

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

Page 37: PPT for Keil

Embedded System Design using Proteus Professional

Page 38: PPT for Keil
Page 39: PPT for Keil

Click the new project

Page 40: PPT for Keil
Page 41: PPT for Keil
Page 42: PPT for Keil
Page 43: PPT for Keil
Page 44: PPT for Keil
Page 45: PPT for Keil
Page 46: PPT for Keil

PICK DEVICES

Right click >

Page 47: PPT for Keil
Page 48: PPT for Keil
Page 49: PPT for Keil

SELECTION OF POWER & GND

Page 50: PPT for Keil
Page 51: PPT for Keil

INTERFACING LCD Display WITH AT89C51

Components used

AT89C51

LCD DISPLAY-

Page 52: PPT for Keil
Page 53: PPT for Keil
Page 54: PPT for Keil

Left Click on the mesh grid twice to place the device

Page 55: PPT for Keil
Page 56: PPT for Keil

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

Page 57: PPT for Keil

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

Page 58: PPT for Keil
Page 59: PPT for Keil

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

end the connection

Page 60: PPT for Keil
Page 61: PPT for Keil

To Load the Hex file generated in KEIL environment

Right click on the microcontroller placed in the mesh grid

Page 62: PPT for Keil
Page 63: PPT for Keil

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

give ok

Page 64: PPT for Keil

To Run the Embedded system design on proteus

Page 65: PPT for Keil

Click the play button on the left side of the window

Page 66: PPT for Keil

If everything is correct we get the output else redo again

Page 67: PPT for Keil