Trace Measurement; System Configuration; Test Program - Fujitsu MB86R01 Application Note

Jade & greenhills toolchain
Table of Contents

Advertisement

6 Trace measurement

To evaluate the trace capability, FME made various measurements using different options.
The test configuration and the results can be found in this chapter.

6.1 System configuration

Multi
v5.0.5
STP
Green Hills Probe v3.3 , Firmware built Apr 10 2008
Trace clock
82.69 Mhz
(JTAG) clock
5 Mhz

6.2 Test program

int main (void)
{
/* temporary storage */
int i;
volatile unsigned long * ulpRegWrite1;
volatile unsigned long * ulpRegWrite2;
volatile unsigned long ulReg;
printf("Trace Measurement running!\n");
/* read and write DDR-RAM */
ulpRegWrite1 = 0x47000000UL;
for( i = 0x46000000; i < 0x46001000; i+=4)
{
ulReg = *(volatile unsigned long*)i;
*ulpRegWrite1 = ulReg;
ulpRegWrite1++;
}
/* read and write SRAM */
ulpRegWrite1 = 0x01000000UL;
ulpRegWrite2 = 0x01008000UL;
i = 0;
for( ulpRegWrite1 = 0x01000000UL; ulpRegWrite1 < 0x01008000UL;
ulpRegWrite1++,ulpRegWrite2++ )
{
*ulpRegWrite1 = i++;
*ulpRegWrite2 = *ulpRegWrite1;
}
return 0;
}
an-mb86r01-trace-rev0-01.doc
Reference source not found.
Chapter 6 Trace measurement
- 11 -© Fujitsu Microelectronics Europe GmbHError!

Advertisement

Table of Contents
loading

Table of Contents