background image

5

8051Flash

MikroElektronika

page

 

Write a code in one of 8051 compilers and generate 

a .hex file; 

 

In  the 

8051Flash

  program’s  main  window  select 

the  microcontroller  and  load  the  hex  code  into  the 

programmer’s buffer; 

 

Click the 

Write

 button to program the microcontroller.

2

1

3

On the right side of the 

8051Flash

 program’s window there 

are several options which make the programming process 

easier, whereas, on the left side of the window there are a 

number  of  options  for  microcontroller  settings.  Positioned 

in the bottom right corner of the window, the 

Progress

 bar 

enables you to monitor the programming process.

1

Compiling

program

Loading hex code

2

3

2.0. Programming Microcontrollers

The  process  of  programming  microcontrollers  starts  by  writing  a  program  in  one  of  8051  compilers  (

mikroC  PRO  for  8051

mikroBASIC PRO for 8051, mikroPASCAL PRO for 8051

 etc.). When the program is correctly written, it should be compiled into 

a format that can be loaded into the microcontroller. The program to be loaded into the microcontroller has the 

.hex 

extension. As 

soon as the .hex file is generated, the program can be loaded into the microcontroller.

Summary of Contents for 8051Flash

Page 1: ...ng the microcontroller s configuration bits Programmer If you want to learn more about our products please visit our website at www mikroe com If you are experiencing some problems with any of our pro...

Page 2: ...ness interruption or any other pecuniary loss arising out of the use of this manual or product even if MikroElektronika has been advised of the possibility of such damages MikroElektronika reserves th...

Page 3: ...CONTENTS 1 0 Introduction to 8051prog Programmer 4 2 0 Programming Microcontrollers 5 3 0 8051Flash Program 6 4 0 Software Installation 7 5 0 Practical Example of Using 8051Flash Program 9 6 0 Keyboar...

Page 4: ...load the program into an 8051 microcontroller The 8051prog programmer is built into all Mikroelektronika s 8051 development systems The same programmer is also available as a stand alone device used...

Page 5: ...microcontroller settings Positioned in the bottom right corner of the window the Progress bar enables you to monitor the programming process 1 Compiling program Loading hex code 2 3 2 0 Programming M...

Page 6: ...enables a hex code generated in some of 8051 compilers to be loaded into the microcontroller The hex code should be loaded first into the programmer s buffer by clicking the Load option then into the...

Page 7: ...free of charge from our website In this case the installation starts from your hard drive A welcome window appears Click Next to proceed Step 2 License Agreement Before you start the installation proc...

Page 8: ...will be installed on the following location C Program Files Mikroelektronika 8051FLASH Step 5 Installation Details The installation of the 8051Flash program starts immediately The installation progre...

Page 9: ...roller to be programmed The 8051Flash program will automatically set default parameters for working with the respective microcontroller Step 2 Load a hex code into programmer s buffer Click the Load o...

Page 10: ...ead program from 8051 microcontroller p Type of microcontroller for example AT89S8253 f hex file name name must be enclosed in quotation marks fc hex file name to be loaded into FLASH memory name must...

Page 11: ...ness interruption or any other pecuniary loss arising out of the use of this manual or product even if MikroElektronika has been advised of the possibility of such damages MikroElektronika reserves th...

Page 12: ...ng the microcontroller s configuration bits Programmer If you want to learn more about our products please visit our website at www mikroe com If you are experiencing some problems with any of our pro...

Page 13: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information MikroElektronika MIKROE 29...

Reviews: