Download Print this page

File Operations; Loading And Saving Object Code - Intel EV80Cl96KB User Manual

Microcontroller evaluation board

Advertisement

EV80C196KB Microcontroller Evaluation Board User's Manual -29-
FILE OPERATIONS
iECM-96 uses files in the host system to load and save object code, enter prede-
fined strings of commands, to keep a log of commands that are entered by the user,
and to keep a record of an entire debug session which includes both the characters
entered by the user and the response generated by iECM-96 on the host screen.
The commands which operate with files are described in the following sections.
Loading and Saving Object Code
iECM-96 accepts object files which are generated by Intel's development tools.
iECM-96 will not accept files which contain unresolved externals or files which con-
tain relocatable records. These files must be passed through RL-96 in order to
resolve the externals and/or absolutely locate the relocatable segments.
iECM-96
will also not accept HEX format files. There is a utility on the disk (HEXOBJ.EXE)
for converting HEX format files to Intel object format files loadable by iECM-96.
While still in DOS type "HEXOBJ <filename>.hex <filename>.obj"cCR>
to convert
<filename>.hex
to a usable format for iECM-96.
HEXOBJ does not attempt to con-
vert any symbolic information contained in the HEX file. The iECM-96 commands
which operate on object files are:
LOAD <filename>
LOADSYM <filename>
SAVE caddr> TO <addr> IN <filename>
The metasymbol <filename> means that a valid MS-DOS file name must be entered
in that position of the command string.
LOAD <filename>
This command loads the content records of the object file <filename> into the target
memory and loads any associated symbolic information into a symbol table main-
tained in the host system's memory.
LOADSYM <filename>
This command loads the symbolic information from <filename,
into the symbol table
maintained in the host system but does not load the content records into the target's
memory.
This command is useful when you have left a debug session with the
target still running a program that has been loaded. At a later time you can re-
invoke iECM-96 and interrogate the running program without stopping it. The
LOADSYM command allows the use of the symbolic information contained in the
object file without reloading the content records. (Content records cannot be loaded
while the target is running).
SAVE caddr> TO caddr> IN <filename>
This command saves a region of memory as an object file which can be reloaded
into the target memory at some latter time. No attempt is made to include any
symbolic information which may have been in the symbol table maintained in the
host system.

Advertisement

loading