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
Mobile application development ppt
PPT
Raspberry pi
PDF
Keil tutorial
PPTX
Getting started with Keil uVision 2020
PPTX
Introduction to system programming
PPTX
Single pass assembler
PPTX
Computer architecture virtual memory
PDF
Lesson 9- NodeMCU with Arduino UNO (UART)
Mobile application development ppt
Raspberry pi
Keil tutorial
Getting started with Keil uVision 2020
Introduction to system programming
Single pass assembler
Computer architecture virtual memory
Lesson 9- NodeMCU with Arduino UNO (UART)

What's hot (20)

PPTX
Android seminar ppt
PPTX
Graphics software and standards
PPTX
Visual Basic Controls ppt
PPTX
Debuggers in system software
PPTX
Assembly Language
PPTX
DMA and DMA controller
PDF
Assembler directives and basic steps ALP of 8086
DOCX
Types of encoders and decoders with truth tables
PDF
Introduction to Android Development
PPTX
Embedded linux
PPTX
Ide description
PDF
Pipelining and ILP (Instruction Level Parallelism)
PPT
Animation
PDF
Chapter 4 software project planning
PPTX
System programming vs application programming
PPT
Arduino
PPT
32 dynamic linking nd overlays
PPTX
Code Optimization
PPTX
8237 dma controller
PPTX
Input-Buffering
Android seminar ppt
Graphics software and standards
Visual Basic Controls ppt
Debuggers in system software
Assembly Language
DMA and DMA controller
Assembler directives and basic steps ALP of 8086
Types of encoders and decoders with truth tables
Introduction to Android Development
Embedded linux
Ide description
Pipelining and ILP (Instruction Level Parallelism)
Animation
Chapter 4 software project planning
System programming vs application programming
Arduino
32 dynamic linking nd overlays
Code Optimization
8237 dma controller
Input-Buffering
Ad

Viewers also liked (20)

PDF
Embedded c lab and keil c manual
PDF
Chapter 7 8051 programming in c
PPTX
Embedded c
PDF
Embedded C programming based on 8051 microcontroller
PDF
Writing c code for the 8051
PPTX
Solar Tracking System
PPT
Fire fighting robot using 8051 microcontroller
PDF
Cp e 214_appendix_c
PDF
How to work in keil software FOR 8TH SEM EC STUDENTS UVCE BY LOHITH |11GUEE6018
DOCX
Basic 8051 question
PPTX
Fire Fighting Robotic Vehicle
PDF
ARM CORTEX M3 PPT
PPS
Mems(Intro Presentation)
PPT
E.s unit 6
PPTX
Solar tracking system
PPT
Nano tree ppt
PDF
8080 8085 assembly language_programming manual programando
PDF
Solution manual the 8051 microcontroller based embedded systems
PDF
8051 assembly programming
Embedded c lab and keil c manual
Chapter 7 8051 programming in c
Embedded c
Embedded C programming based on 8051 microcontroller
Writing c code for the 8051
Solar Tracking System
Fire fighting robot using 8051 microcontroller
Cp e 214_appendix_c
How to work in keil software FOR 8TH SEM EC STUDENTS UVCE BY LOHITH |11GUEE6018
Basic 8051 question
Fire Fighting Robotic Vehicle
ARM CORTEX M3 PPT
Mems(Intro Presentation)
E.s unit 6
Solar tracking system
Nano tree ppt
8080 8085 assembly language_programming manual programando
Solution manual the 8051 microcontroller based embedded systems
8051 assembly programming
Ad

Similar to Keil software (20)

PDF
Assembler Programming
PDF
Hex file creation using Keil uVision
PPTX
Writing first C Program
PDF
New_Microsoft_PowerPoint_Presentation-1[1].pdf
PPT
Assemblylanguageprogrammingof8085 100523023329-phpapp02
PPT
Assembly language programming(unit 4)
PDF
Unit III ARM Interface and ARM Programming
PDF
Microprocessor and its applications third edition
PDF
Mp &mc programs
PPTX
Class2
PPTX
Computer Organization
PDF
Emulador de ensamblador emu8086
PPT
8051assembly language
PDF
MD51 Lab Manual
PPT
8051 Microcontroller
PDF
Creating first project in mikroC PRO for 8051
PPTX
Programming the basic computer
PPT
Microprocessor system - summarize
PPTX
embedded-systems-for-beginners
PPT
Malp edusat
Assembler Programming
Hex file creation using Keil uVision
Writing first C Program
New_Microsoft_PowerPoint_Presentation-1[1].pdf
Assemblylanguageprogrammingof8085 100523023329-phpapp02
Assembly language programming(unit 4)
Unit III ARM Interface and ARM Programming
Microprocessor and its applications third edition
Mp &mc programs
Class2
Computer Organization
Emulador de ensamblador emu8086
8051assembly language
MD51 Lab Manual
8051 Microcontroller
Creating first project in mikroC PRO for 8051
Programming the basic computer
Microprocessor system - summarize
embedded-systems-for-beginners
Malp edusat

Recently uploaded (20)

PPT
Occupational Health and Safety Management System
PDF
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PPTX
communication and presentation skills 01
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PPTX
Software Engineering and software moduleing
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PPTX
Artificial Intelligence
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PPTX
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPT
Total quality management ppt for engineering students
PPTX
introduction to high performance computing
Occupational Health and Safety Management System
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
communication and presentation skills 01
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
Software Engineering and software moduleing
Categorization of Factors Affecting Classification Algorithms Selection
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
distributed database system" (DDBS) is often used to refer to both the distri...
Artificial Intelligence
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
Exploratory_Data_Analysis_Fundamentals.pdf
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
Fundamentals of safety and accident prevention -final (1).pptx
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Total quality management ppt for engineering students
introduction to high performance computing

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.