You are on page 1of 3

SOFTWARES USED

KEIL uVision 3
The Keil 8051 Development Tools are designed to solve the complex problems facing embedded
software developers.
1) When starting a new project, simply select the microcontroller you use from the Device
Database and the µVision IDE sets all compiler, assembler, linker, and memory options
for you.
2) Numerous example programs are included to help you get started with the most popular
embedded 8051 devices.
3) The Keil µVision
Debugger accurately
simulates on-chip
peripherals (I²C, CAN,
UART, SPI, Interrupts,
I/O Ports, A/D Converter,
D/A Converter, and PWM
Modules) of your 8051
device. Simulation helps
you understand hardware
configurations and avoids

time wasted on setup problems. Additionally, with simulation, you can write and test
applications before target hardware is available.
VARIOUS STEPS TO USE THE KEIL COMPILER
1) Open keil from the start menu.
2) Select a new project from the project menu.
3) Make a new folder in any drive.
4) Name the project as ABC and then click save.
5) Right click on target, then options for the target, then choose the device, set the crystal
frequency, click on the create hex file option to create hex file at the output.
6) Then create a new file from the file menu and save it with the same name of project using
extension .c or .asm.
7) Right clicks on the source group, then click on add files option to add the files and then
click on close.
HOW TO DEBUG THE PROGRAM

1) After writing the code, click on file menu and select save.
2) Click on project menu and rebuild all target files.
3) In build window, it should report as „0 Error(s), 0 Warning(s)‟.
4) Click on debug menu and select start/stop debug session.
5) Click on peripherals, select I/O ports like as port 1.
6) A new window will pop up, which represents the port and pins.

Fig: parallel port

7) Now to execute the program stepwise click on F10 key.


8) To exit out click on debug menu and select start/stop debug session.

PROLOAD V4.1
Burn the hex file to microcontroller using the Proload V4.1 software.
Steps:
1. Connect the burner to PC using serial communication port
2. Browse the hex file .
3. Now burn the hex file to microcontroller using send command.

You might also like