Memory Commands
10-21
10.5.11 setmem
setmem -[b,w,l]
address
allows memory locations to be modified starting at
address
.
setmem
first displays the value that was read. Then you can type new
data for the value or leave the data unchanged by entering an empty line. If you
press <cr> after the data, the address counts up. If you press <ESC> after the data,
the address counts down. To quit this command type any illegal hex character.
DEFINITION
int SetMem(int Flag,
unsigned long Address)
10.5.12 swapmem
swapmem
source destination bytecount
swaps
bytecount
bytes at the
source
address
with those at the
destination
address.
DEFINITION
int SwapMem(char *Src,
char *Dest,
int ByteCount)
10.5.13 testmem
testmem
startaddr endaddr
performs a nondestructive memory test from
startaddr
to
endaddr
. If
endaddr
is zero, the address range is obtained from the functions
MemBase
and
MemTop
. The memory test can be interrupted by pressing any
character.
This command can be used to verify memory (DRAM). It prints the progress of
the test and summarizes the number of passes and failures.
Also refer to the functions
MemBase
and
MemTop
DEFINITION
int TestMem(unsigned long Base,
unsigned long Top)
Summary of Contents for BajaPPC-750
Page 2: ...BajaPPC 750 PowerPC Based Single Board Computer User s Manual May 2002...
Page 4: ...BajaPPC 750 PowerPC Based Single Board Computer User s Manual May 2002...
Page 7: ......
Page 19: ...xii BajaPPC 750 Contents...
Page 57: ...3 12 BajaPPC 750 Central Processing Unit May 2002...
Page 77: ...5 12 BajaPPC 750 PMC PCI Interface May 2002...
Page 111: ...6 34 BajaPPC 750 VMEbus Interface May 2002...
Page 135: ...8 18 BajaPPC 750 Serial and Parallel I O May 2002...
Page 207: ...10 68 BajaPPC 750 Monitor May 2002...