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
-
r
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.