10-36
BajaPPC-750: Monitor
one addresses, rotating-zero addresses, and alternating one and zero addresses.
The L2 synchronous RAM parity is disabled during the test, and the test restores
the L2 cache to the original state when it is finished.
DEFINITION
int cachetest(void)
10.9 Remote Host Commands
The monitor commands
download
and
call
are used for downloading applica-
tions and data in hex-Intel format, S-record format, or binary format.
Hex-Intel and S-record are common formats for representing binary object code
as ASCII for reliable and manageable file downloads. Both formats send data in
blocks called records, which are ASCII strings. Records may be separated by any
ASCII characters except for the start-of-record characters—“S” for S-records and
“:” for hex-Intel records. In practice, records are usually separated by a conve-
nient number of carriage returns, linefeeds, or nulls to separate the records in a
file and make them easily distinguishable by humans.
All records contain fields for the length of the record, the data in the record, and
some kind of checksum. Some records also contain an address field. Most soft-
ware requires the hexadecimal characters that make up a record to be in upper-
case only.
10.9.1 call
call
address arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7
allows execution of a program
after a download from one of the board’s interfaces. This command allows up to
eight arguments to be passed to the called
address
from the command line. Argu-
ments can be symbolic, numeric, characters, flags, or strings. The default numeric
base is hexadecimal. The function disables and flushes the data cache before
branching to the application.
If the application wants to return to the monitor, it should save and restore the
processor registers. Also, it is important that special-purpose registers remain
unchanged.
NOTE.
The code at vector table locations 300
16
, 1100
16
, and 1200
16
must
remain intact, unless you wish to disable or reconfigure the data MMU
for other user-defined purposes.
DEFINITION
int Call(int (*Funct) (),
unsigned long Arg0,
unsigned long Arg1... )
Содержание BajaPPC-750
Страница 2: ...BajaPPC 750 PowerPC Based Single Board Computer User s Manual May 2002...
Страница 4: ...BajaPPC 750 PowerPC Based Single Board Computer User s Manual May 2002...
Страница 7: ......
Страница 16: ...0002M621 15 ix Register Map 9 1 Counter Timer Status CTSR 9 2 Register Map 9 2 Counter Timer Mode CTMR 9 4...
Страница 19: ...xii BajaPPC 750 Contents...
Страница 57: ...3 12 BajaPPC 750 Central Processing Unit May 2002...
Страница 77: ...5 12 BajaPPC 750 PMC PCI Interface May 2002...
Страница 111: ...6 34 BajaPPC 750 VMEbus Interface May 2002...
Страница 135: ...8 18 BajaPPC 750 Serial and Parallel I O May 2002...
Страница 207: ...10 68 BajaPPC 750 Monitor May 2002...