SlideShare a Scribd company logo
Keil software
Open keil software:
Go to Projects in the Menu and select new μ Vision project
Create a folder in your local drive and in that create new file in the format of .c…
Ex : shiva.c
I have created folder in D drive by name of Keil and I have created the file name
called shiva.c Once you save the file press yes and you will get one more window in
that you have to select the device. The device name is NXP and in that you have to
select LCP2148.
Press ok and you will get one more window to create, pls select yes, because you
need to create the startup file. If you not create than program may not be work
Now go to file and select new and “save as “ pls type your file and save it .
Ok once you save the program file in the left hand side you have file called
Target1
expand the file and you will find one more file called source Group1. Pls expand
the Source group 1 and right click on source group file you will get the option
called Add file to group Source group1
After you have add file to group source Group1 It will ask you to select you file
Thn select your file from the new tab
add and close the window, now type your program and save it . Once the file is
saved you need to press F7 or press the below mentioned marked button in the
application to build the program.
Keil software
Pls save the program in same folder which you have created earlier. Once you rebuild the
program it will display the warnings and the error, pls clear the errors.
Now you are in the last step that is go to menu and in the menu you have the option called
project under the project you have the option called “Option for target source group1” pls
select it will take you to one more window called option for target.
Keil software
In the option target menu you have to select output option in the menu to create
HEX file , in the output Pls tick the HEX file option and tick the create batch file
option also and say ok.
And in the same menu you have to enable one more tab that is memory
layout, in the same menu pls go to linker option in that you have memory
layout tab pls enable the memory layout than press ok
Finally pls cross check the HEX file is created or not, if not created than you
have made some mistake in the above mentioned steps, pls cross check
once.
If you found the HEX file in your created folder than that will be the input
file for one more application called Flash Magic.
The Flash magic is the one of the application which will take the HEX file as
a input and which will give the output for buzzer device.
Now let us see how the flash magic will work ? Go to flash magic application
Keil software
Pls select the input as per the picture shown above and connect the
buzzer board to P C and port should be com1.
Now browse the .Hex file and press start button once the program is
uploaded to the board in the left hand side corner you will get the
indication called finish , once it finish pl remove the com1 cable from
the board as soon as you removed the cable from the board buzzer
make sound and as per your program buzzer will work.

More Related Content

PPTX
8051 timer counter
vishalgohel12195
 
PDF
fpga programming
Anish Gupta
 
PPTX
PLDs
VisualBee.com
 
PPT
PAL And PLA ROM
RONAK SUTARIYA
 
PPTX
INTRODUCTION TO MICROCONTROLLER
Ankita Jaiswal
 
PDF
8051 assembly programming
sergeiseq
 
PPTX
Advance Microcontroller AVR
Daksh Raj Chopra
 
PPT
Evolution Of Microprocessor
guest3870d0
 
8051 timer counter
vishalgohel12195
 
fpga programming
Anish Gupta
 
PAL And PLA ROM
RONAK SUTARIYA
 
INTRODUCTION TO MICROCONTROLLER
Ankita Jaiswal
 
8051 assembly programming
sergeiseq
 
Advance Microcontroller AVR
Daksh Raj Chopra
 
Evolution Of Microprocessor
guest3870d0
 

What's hot (20)

PDF
Memory interfacing of microcontroller 8051
Nilesh Bhaskarrao Bahadure
 
PPTX
Fpga
bharadwajareddy
 
PPTX
Key board interfacing with 8051
DominicHendry
 
PPTX
Evolution of Microprocessor
Green University of Bangladesh
 
PPT
Ppi 8255
Muhammadalizardari
 
PPT
Unit 4 twoportnetwork
ACE ENGINEERING COLLEGE
 
PDF
8051 Microcontroller I/O ports
anishgoel
 
PPTX
TMS320C5x
DeekshithaReddy23
 
PPTX
Vlsi stick daigram (JCE)
Hrishikesh Kamat
 
PPTX
8051 MICROCONTROLLER ARCHITECTURE.pptx
MemonaMemon1
 
PPTX
CPLD (COMPLEX PROGRAMMABLE LOGIC DEVICES)
Gowri Kishore
 
PPTX
Applications of microprocessor
Anjali Agrawal
 
PPT
Addressing modes
karthiga selvaraju
 
PPTX
register file structure of PIC controller
Nirbhay Singh
 
PPT
Shift Registers
Abhilash Nair
 
PPT
06. thumb instructions
balaji raja rajan Venkatachalam
 
PPTX
Interrupts in 8051
Sudhanshu Janwadkar
 
PPTX
TMS320C6X Architecture
Shweta Tripathi
 
DOCX
Equal Split Wilkinson Power Divider - Project Report
Bhanwar Singh Meena
 
PPTX
Difference between combinational and
Damodar Panigrahy
 
Memory interfacing of microcontroller 8051
Nilesh Bhaskarrao Bahadure
 
Key board interfacing with 8051
DominicHendry
 
Evolution of Microprocessor
Green University of Bangladesh
 
Unit 4 twoportnetwork
ACE ENGINEERING COLLEGE
 
8051 Microcontroller I/O ports
anishgoel
 
Vlsi stick daigram (JCE)
Hrishikesh Kamat
 
8051 MICROCONTROLLER ARCHITECTURE.pptx
MemonaMemon1
 
CPLD (COMPLEX PROGRAMMABLE LOGIC DEVICES)
Gowri Kishore
 
Applications of microprocessor
Anjali Agrawal
 
Addressing modes
karthiga selvaraju
 
register file structure of PIC controller
Nirbhay Singh
 
Shift Registers
Abhilash Nair
 
06. thumb instructions
balaji raja rajan Venkatachalam
 
Interrupts in 8051
Sudhanshu Janwadkar
 
TMS320C6X Architecture
Shweta Tripathi
 
Equal Split Wilkinson Power Divider - Project Report
Bhanwar Singh Meena
 
Difference between combinational and
Damodar Panigrahy
 
Ad

Viewers also liked (20)

PDF
Keil tutorial
anishgoel
 
PDF
Embedded c lab and keil c manual
Hari K
 
PDF
Chapter 7 8051 programming in c
Abdelrahman Elewah
 
PPTX
Embedded c
Ami Prakash
 
PDF
Embedded C programming based on 8051 microcontroller
Gaurav Verma
 
PDF
Writing c code for the 8051
Quản Minh Tú
 
PPTX
Solar Tracking System
PG Scholar
 
PPT
Fire fighting robot using 8051 microcontroller
vibs1893
 
PDF
Cp e 214_appendix_c
basavaraju ramaduragam
 
PDF
How to work in keil software FOR 8TH SEM EC STUDENTS UVCE BY LOHITH |11GUEE6018
UVCE
 
DOCX
Basic 8051 question
Sourabh Bhattacharya
 
PPTX
Fire Fighting Robotic Vehicle
Edgefxkits & Solutions
 
PDF
ARM CORTEX M3 PPT
Gaurav Verma
 
PPS
Mems(Intro Presentation)
Vinayak Hegde
 
PPT
E.s unit 6
Sneha Chopra
 
PPTX
Solar tracking system
vidhyaparuvathy
 
PPT
Nano tree ppt
chakri218
 
PDF
8080 8085 assembly language_programming manual programando
Universidad de Tarapaca
 
PDF
Solution manual the 8051 microcontroller based embedded systems
manishpatel_79
 
Keil tutorial
anishgoel
 
Embedded c lab and keil c manual
Hari K
 
Chapter 7 8051 programming in c
Abdelrahman Elewah
 
Embedded c
Ami Prakash
 
Embedded C programming based on 8051 microcontroller
Gaurav Verma
 
Writing c code for the 8051
Quản Minh Tú
 
Solar Tracking System
PG Scholar
 
Fire fighting robot using 8051 microcontroller
vibs1893
 
Cp e 214_appendix_c
basavaraju ramaduragam
 
How to work in keil software FOR 8TH SEM EC STUDENTS UVCE BY LOHITH |11GUEE6018
UVCE
 
Basic 8051 question
Sourabh Bhattacharya
 
Fire Fighting Robotic Vehicle
Edgefxkits & Solutions
 
ARM CORTEX M3 PPT
Gaurav Verma
 
Mems(Intro Presentation)
Vinayak Hegde
 
E.s unit 6
Sneha Chopra
 
Solar tracking system
vidhyaparuvathy
 
Nano tree ppt
chakri218
 
8080 8085 assembly language_programming manual programando
Universidad de Tarapaca
 
Solution manual the 8051 microcontroller based embedded systems
manishpatel_79
 
Ad

Similar to Keil software (20)

PPT
Hello world pascal tutorial
Serghei Urban
 
PPT
Installation of Openbiblio using Easyphp
Mahatma Gandhi University Library
 
PDF
Creating a text editor in delphi, a tutorial
Erwin Frias Martinez
 
PPTX
HOW TO DOWNLOAD PICTURES FROM A DIGITAL DEVICE  FROM START TO FINISH
AbelKCS
 
PDF
IEEE Collabratec tools
Vijayananda Mohire
 
PPTX
exe in MatLab
Mahmoud Hikmet
 
PDF
Getting started with_graphics
PyayNA
 
PPTX
Firecoresoft slideshow fairy user guide
amalejackie
 
PPT
PowerPoint for Introduction to Office 2010
mindysholder
 
PPS
Power Point Lesson 05
Nasir Jumani
 
PDF
J creator4 5
Hikmah Adi
 
DOCX
Computer Education Class 6 (PTB) Chapter2, 3 and 4 question answer
FaB6 Design
 
PDF
INTRODUCTION TO VISUAL BASICS
Prof Ansari
 
PDF
Adobe in design cs6 unit 4 creating books, table of contents, indexes and p...
Praveen Tyagi
 
PDF
Make device image in forensic
MoTechInc
 
PPTX
Using xbrl validation tool - XBRL Flash Tutorials
Adarsh Xbrl
 
PDF
Find any File Manual (IMPORTANT)
Rashid Rashid
 
PPTX
HANDOUT-WEBINAR-SESSION-1.pptx
ChrismelynTGudoyLund
 
PPT
Windows Basic Computer Skills
Marvin Nurse
 
Hello world pascal tutorial
Serghei Urban
 
Installation of Openbiblio using Easyphp
Mahatma Gandhi University Library
 
Creating a text editor in delphi, a tutorial
Erwin Frias Martinez
 
HOW TO DOWNLOAD PICTURES FROM A DIGITAL DEVICE  FROM START TO FINISH
AbelKCS
 
IEEE Collabratec tools
Vijayananda Mohire
 
exe in MatLab
Mahmoud Hikmet
 
Getting started with_graphics
PyayNA
 
Firecoresoft slideshow fairy user guide
amalejackie
 
PowerPoint for Introduction to Office 2010
mindysholder
 
Power Point Lesson 05
Nasir Jumani
 
J creator4 5
Hikmah Adi
 
Computer Education Class 6 (PTB) Chapter2, 3 and 4 question answer
FaB6 Design
 
INTRODUCTION TO VISUAL BASICS
Prof Ansari
 
Adobe in design cs6 unit 4 creating books, table of contents, indexes and p...
Praveen Tyagi
 
Make device image in forensic
MoTechInc
 
Using xbrl validation tool - XBRL Flash Tutorials
Adarsh Xbrl
 
Find any File Manual (IMPORTANT)
Rashid Rashid
 
HANDOUT-WEBINAR-SESSION-1.pptx
ChrismelynTGudoyLund
 
Windows Basic Computer Skills
Marvin Nurse
 

Recently uploaded (20)

PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
PPTX
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
PDF
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
PPTX
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
PPTX
Chapter_Seven_Construction_Reliability_Elective_III_Msc CM
SubashKumarBhattarai
 
PPTX
Inventory management chapter in automation and robotics.
atisht0104
 
DOCX
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
PDF
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
PDF
STUDY OF NOVEL CHANNEL MATERIALS USING III-V COMPOUNDS WITH VARIOUS GATE DIEL...
ijoejnl
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
PPTX
quantum computing transition from classical mechanics.pptx
gvlbcy
 
PDF
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
PDF
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
PPTX
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
PDF
All chapters of Strength of materials.ppt
girmabiniyam1234
 
PPTX
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
PPTX
MULTI LEVEL DATA TRACKING USING COOJA.pptx
dollysharma12ab
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
FLEX-LNG-Company-Presentation-Nov-2017.pdf
jbloggzs
 
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
Chapter_Seven_Construction_Reliability_Elective_III_Msc CM
SubashKumarBhattarai
 
Inventory management chapter in automation and robotics.
atisht0104
 
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
STUDY OF NOVEL CHANNEL MATERIALS USING III-V COMPOUNDS WITH VARIOUS GATE DIEL...
ijoejnl
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
quantum computing transition from classical mechanics.pptx
gvlbcy
 
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
All chapters of Strength of materials.ppt
girmabiniyam1234
 
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
MULTI LEVEL DATA TRACKING USING COOJA.pptx
dollysharma12ab
 

Keil software

  • 3. Go to Projects in the Menu and select new μ Vision project
  • 4. Create a folder in your local drive and in that create new file in the format of .c… Ex : shiva.c
  • 5. I have created folder in D drive by name of Keil and I have created the file name called shiva.c Once you save the file press yes and you will get one more window in that you have to select the device. The device name is NXP and in that you have to select LCP2148.
  • 6. Press ok and you will get one more window to create, pls select yes, because you need to create the startup file. If you not create than program may not be work
  • 7. Now go to file and select new and “save as “ pls type your file and save it . Ok once you save the program file in the left hand side you have file called Target1
  • 8. expand the file and you will find one more file called source Group1. Pls expand the Source group 1 and right click on source group file you will get the option called Add file to group Source group1
  • 9. After you have add file to group source Group1 It will ask you to select you file Thn select your file from the new tab add and close the window, now type your program and save it . Once the file is saved you need to press F7 or press the below mentioned marked button in the application to build the program.
  • 11. Pls save the program in same folder which you have created earlier. Once you rebuild the program it will display the warnings and the error, pls clear the errors. Now you are in the last step that is go to menu and in the menu you have the option called project under the project you have the option called “Option for target source group1” pls select it will take you to one more window called option for target.
  • 13. In the option target menu you have to select output option in the menu to create HEX file , in the output Pls tick the HEX file option and tick the create batch file option also and say ok.
  • 14. And in the same menu you have to enable one more tab that is memory layout, in the same menu pls go to linker option in that you have memory layout tab pls enable the memory layout than press ok
  • 15. Finally pls cross check the HEX file is created or not, if not created than you have made some mistake in the above mentioned steps, pls cross check once. If you found the HEX file in your created folder than that will be the input file for one more application called Flash Magic. The Flash magic is the one of the application which will take the HEX file as a input and which will give the output for buzzer device. Now let us see how the flash magic will work ? Go to flash magic application
  • 17. Pls select the input as per the picture shown above and connect the buzzer board to P C and port should be com1. Now browse the .Hex file and press start button once the program is uploaded to the board in the left hand side corner you will get the indication called finish , once it finish pl remove the com1 cable from the board as soon as you removed the cable from the board buzzer make sound and as per your program buzzer will work.