background image

 

Contents 

an-mb86r01-trace-rev0-01.doc 

- 4 - 

© Fujitsu Microelectronics Europe GmbH 

Contents 

REVISION HISTORY ............................................................................................................ 2

 

WARRANTY AND DISCLAIMER ......................................................................................... 3

 

CONTENTS .......................................................................................................................... 4

 

1

 

TRACE OVERVIEW......................................................................................................... 5

 

1.1

 

Trace cell information .............................................................................................. 5

 

1.2

 

Further information .................................................................................................. 5

 

2

 

MB86R01 EVALUATION BOARD TO GHS ADAPTER................................................... 6

 

3

 

TRACE CONNECTION .................................................................................................... 7

 

4

 

TRACE STARTUP PROCEDURE.................................................................................... 8

 

5

 

TRACE CONFIGURATION .............................................................................................. 9

 

6

 

TRACE MEASUREMENT .............................................................................................. 11

 

6.1

 

System configuration............................................................................................. 11

 

6.2

 

Test program......................................................................................................... 11

 

6.3

 

Measurement ........................................................................................................ 12

 

6.4

 

Interpretation ......................................................................................................... 12

 

7

 

APPENDIX ..................................................................................................................... 13

 

7.1

 

Figures .................................................................................................................. 13

 

 

 

Summary of Contents for MB86R01

Page 1: ...Fujitsu Microelectronics Europe Application Note an mb86r01 trace rev0 01 doc TRACE MB86R01 JADE GREENHILLS TOOLCHAIN APPLICATION NOTE VERSION 0 01 16 9 2008 ...

Page 2: ...Revision History an mb86r01 trace rev0 01 doc 2 Fujitsu Microelectronics Europe GmbH Revision History Date Issue 09 15 2008 0 1 tk First draft ...

Page 3: ... receipt by the customer 2 Should a Product turn out to be defect Fujitsu Microelectronics Europe GmbH s entire liability and the customer s exclusive remedy shall be at Fujitsu Microelectronics Europe GmbH s sole discretion either return of the purchase price and the license fee or replacement of the Product or parts thereof if the Product is returned to Fujitsu Microelectronics Europe GmbH in or...

Page 4: ...NTS 4 1 TRACE OVERVIEW 5 1 1 Trace cell information 5 1 2 Further information 5 2 MB86R01 EVALUATION BOARD TO GHS ADAPTER 6 3 TRACE CONNECTION 7 4 TRACE STARTUP PROCEDURE 8 5 TRACE CONFIGURATION 9 6 TRACE MEASUREMENT 11 6 1 System configuration 11 6 2 Test program 11 6 3 Measurement 12 6 4 Interpretation 12 7 APPENDIX 13 7 1 Figures 13 ...

Page 5: ...wards in the code 1 1 Trace cell information ETM name CoreSight ETM9 Architecture version ETMv3 2 Data width 4 Bit FIFO size 60 bytes 1 2 Further information Further information can be found on the ARM website http www arm com documentation Trace_Debug index html The following documents are about the ETM cell CoreSight ETM9 r0p0 Technical Reference Manual DDI0315A ETM9 Revision r2p2 Technical Refe...

Page 6: ...apter The Jade Evaluation Board is populated with a 20 pin JTAG and a separate 10 pin Trace connector However the GreenHills Super Trace Probe STP has a special connector Therefore an adapter is needed to connect both devices The adapter board can be ordered from Fujitsu Furthermore the schematic and layout are available on request Figure 1 Adapter Board ...

Page 7: ...HError Reference source not found 3 Trace Connection The following figure shows the connection between the Jade Evaluation Board the adapter board and the GHS Super Trace probe Pin 1 is marked on both boards The GHS connector is protected against reverse polarity Figure 2 STP to GHS connection ...

Page 8: ... enable the trace functionality 1 Power up Super Trace Probe STP 2 Power up the Jade Evaluation Board 3 Configure STP must only be done when you start the STP for the first time set etm_version 3 Note clock 6 Mhz 4 Start the Multi Debugger 5 Connect to the target Note The ETM clock is now running and the tracing LED is on 6 Reset the target 7 Download the program to the target ...

Page 9: ...overflow As a result the user will lose some trace data The user can avoid a FIFO overflow by disabling either the instruction or the data trace This can be done in the GHS application The trace cell can be configured within the GHS Debugger Select TimeMachine TraceOptions from the top menu Then select Target Specific Options to open the Trace options menu A detailled parameter description can be ...

Page 10: ...th each packet Timestamps are displayed in the Trace List and are used by the Profile window PathAnalyzer and EventAnalyzer Prevent Overflow by Suppressing Data Trace Enables the ETM FIFOFull mechanism The amount of data output by the ETM varies depending on the code being executed and the trace configuration Code with a large number of indirect branches and data accesses if data trace is enabled ...

Page 11: ...0 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 SR...

Page 12: ...ess only disabled disabled enabled 0 4 Address only disabled disabled disabled 0 4 Address and Data enabled enabled enabled 3 1 Address and Data enabled disabled enabled 150 0 0 80 30 0 0 16 Address and Data disabled enabled enabled 55 63 61 56 0 12 147 14 Address and Data disabled disabled enabled 55 51 56 11 10 11 Address and Data disabled disabled disabled 50 51 0 10 These are some example trac...

Page 13: ...Chapter 7 Appendix an mb86r01 trace rev0 01 doc 13 Fujitsu Microelectronics Europe GmbHError Reference source not found 7 Appendix 7 1 Figures Figure 1 Adapter Board 6 Figure 2 STP to GHS connection 7 ...

Reviews: