Standard Artesyn Functions
10-65
The function
StrLen
determines the length of the null terminated string
Str
and returns the length. If the length exceeds the monitor defined limit
MAXLN, the function returns MAXLN.
The function
StrCat
concatenates the string
SrcStr
onto the end of the string
DestStr
.
10.15.22 Test Suite
SYNOPSIS
void TestSuite(unsigned long BaseAddr,
unsigned long TopAddr,
int TSPass)
void ByteAddrTest(unsigned char *BaseAddr,
unsigned char *TopAddr)
void WordAddrTest(unsigned short *BaseAddr,
unsigned short *TopAddr)
void LongAddrTest(unsigned long *BaseAddr,
unsigned long *TopAddr)
void RotTest(unsigned long *BaseAddr,
unsigned long *TopAddr)
void PingPongAddrTest(unsigned long BaseAddr,
unsigned long TopAddr)
void Interact(int Mod,
unsigned char *StartAddr,
unsigned char *EndAddr)
DESCRIPTION
The function
TestSuite
and the memory tests which make up this function
verify a memory interface. Each of these functions accepts two arguments
BaseAddr
and
TopAddr
which describe the memory region to be tested. The
argument
TSPass
defines the number of passes to perform. Each test and the
intended goals of the test are described briefly below.
The function
ByteAddrTest
performs a byte-oriented test of the specified
memory region. Each location is tested by writing the lowest byte of the loca-
tion address through the entire memory region and verifying each location.
The function
WordAddrTest
performs a word-oriented test of the specified
memory region. Each location is tested by writing the lowest word of the
location address through the entire memory region and verifying each loca-
tion.
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...