
Hitachi Embedded Workshop User Manual
297
5.29
FILE_SAVE
Abbreviation: FS
Description:
Saves the specified memory area data to a file. The user is warned if about to overwrite an existing file. The file
extension default is .MOT. Symbols are not automatically saved.
Syntax:
fs [<format>] <filename> <start> <end>
Parameter
Type
Description
Keyword
Object format (optional, default =
DEFAULT_OBJECT_FORMAT settings)
Binary
Binary type
IntelHex
Intel-Hex type
<format>
S-Record
S type
<filename>
Character string
File name
<start>
Numeric
Start address
<end>
Numeric
End address
Examples:
FILE_SAVE TESTFILE 0 H’2013
Saves address range 0-H’2013 as Motorola S-
Record file "TESTFILE.MOT".
FS D:\\USER\\ANOTHER.A22 H’4000
H’4FFF
Saves address range H’4000-H’4FFF as
Motorola S-Record format file
"ANOTHER.A22".
5.30
FILE_VERIFY
Abbreviation: FV
Description:
Verifies file contents against memory contents. The file data must be in a Motorola S-Record format. The file
extension default is .MOT.
Syntax:
fv <filename> [<offset>]
Parameter
Type
Description
<filename>
Character
string
File name
<offset>
Numeric
Offset to be added to file address (optional, default = 0)