background image

10

8051Flash

MikroElektronika

page

6.0. Keyboard Shortcuts and Command Line Parameters

Keyboard Shortcuts:

 

Alt-E

  

Erase the content of microcontroller’s memory

 

 

 

Alt-W

  

Write a hex code into an 8051 microcontroller

 

 

 

Alt-V 

 

Verify the loaded hex code

 

 

 

Alt-R

  

Program memory reading 

 

 

 

Alt-D

  

Change microcontroller type

 

 

 

Ctrl-S

   Save hex code

 

 

 

Ctrl-O 

  Open (Load) file with hex code

 

 

 

Ctrl-R

   Reload hex code

Command Line:

  

The

 

8051Flash 

program may also be activated from the command line, thus enabling you to use it  

 

 

 

from some other software, compiler etc. Here is a list of the command line parameters:

 

 

 

-

w

  

Write to 8051 microcontroller

 

 

 

-

v

  

Verify

 

 

 

-

e

  

Erase program from 8051 microcontroller

 

 

 

-

 

Read 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 be enclosed in quotation marks>]”

 

 

 

-

fd

 

.hex file name to be loaded into EEPROM memory “[<name must be enclosed in quotation marks>]”

 

 

 

-

c

 

Microcontroller frequency

 

 

 

-

q

 

Close the 

8051Flash

 program after programming

Example 1:

 

 

8051Flash

.exe -w -pAT89S8253 -v -f”C:\somefile.hex”

 

 

 

 

This command is used for loading 

C:\somefile.hex

 into the AT89S8253 microcontroller. This file  

 

 

 

will be verified immediately after being loaded into the microcontroller.

Example 2:

 

 

8051Flash

.exe -r -pAT89S8253

 

 

 

This command is used for reading the content of the AT89S8253 microcontroller’s program memory.

 

Example 3:

 

 

8051Flash

.exe -e -pAT89S8253

 

 

 

 

This command is used to erase program from the AT89S8253 microcontroller.

Содержание 8051Flash

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 13: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information MikroElektronika MIKROE 29...

Отзывы: