Download Print this page

Other File Operations - Intel EV80Cl96KB User Manual

Microcontroller evaluation board

Advertisement

-301
EV80C196KB Microcontroller Evaluation Board User's Manual
Other File Operations
In addition to object files, the iECM-96 makes use of include files, log files, and list
files. Include files contain commands to be executed by iECM-96, they must contain
the exact sequence of ASCII characters that you would enter from the keyboard to
execute the command.
Include files can be tedious to generate with a text editor so
iECM-96 can generate log files in which are stored characters entered by the user.
The intent is that log files be used later as include files to recreate command se-
quences.
List files keep a running record of both commands entered by the user
and of the response generated by iECM-96. Comments can be included in list and
log files to make them easier to understand. A comment starts with a semicolon (I;')
and ends with a carriage return or ESC. The semicolon is considered to be part of
the comment but not the CR or ESC. The command parser will ignore comments
but will put them in the list and log files.
Note: on the software disk included with the EV80C196KB is a file called
DEMO.LOG. DEMO.LOG is a sample iECM-96 session for you to invoke and
become more familiar with the features of iECM-96. Appendix G is a printout
of DEMO.LST which was created by turning on the list feature and invoking
DEMO.LOG by typing '*include demo.log"<CR> at the iECM-96 *'*" prompt.
The list and log files commands allow for default filenames and allow either overwrit-
ing existing data in the file or appending data at the end of the file. This allows you
to gather list and log data in the default files which avoids the creation and manage-
ment of a large number of separate files. Log and list files are stamped with the
date and time whenever they are opened to make it easier to use this capability and
then go back and sort out the data from several debug sessions with a text editor.
The commands involved in include, log, and list operations are:
INCLUDE <filename>
F'AUSE
LIST
LIST <filename>
LOG
~;XY;~~narne>
LISTON
LOGOFF
LOGON
Three of these commands require you to supply a valid file name, the rest use the
appropriate file name that has already been entered.
INCLUDE <filename>
This command will attempt to open <filename> as a read only file. If the file can be
opened then the command parser will take commands from that file until the end of
the file is reached.
The include file will then be closed. Only one include file will be
opened at a time.

Advertisement

loading