Wind River Tracefor Wind River WorkbenchHARDWARE REFERENCE®3.0 Wind River Trace for Wind River Workbench Hardware Reference, 3.0
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 4 Real-time trace with the AMCC 405 or 440 trace clock running at up to 200 MHz (sin
1 Overview1.4 Safety Information51The Wind River ICE SX utilizes On-Chip Debugging (OCD) services embedded in the target microprocessor (BDM/JTAG/EJ
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 6Precautions to Avoid Property Damage!CAUTION: Take precautions against electrostat
7 2Hardware Setup2.1 Introduction 72.2 Connection Schemes 72.3 Trace Signal Requirements 82.4 Wind River Trace with Wind River ICE SX 102.1 Introdu
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 8type. The preferred connection scheme is specified when purchased. The following tw
2 Hardware Setup2.3 Trace Signal Requirements92will automatically configure these pins to be trace signal pins when the configuration option Acquire
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 10The trace signals are high-speed signals, so be extremely careful when connecting
2 Hardware Setup2.4 Wind River Trace with Wind River ICE SX112Wind River ICE SX connects to Wind River Trace via a 51-pin extension cable.If you ord
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 123. To attach the Wind River Trace, align the rear edge of the connector with the r
2 Hardware Setup2.4 Wind River Trace with Wind River ICE SX1324. Press both thumbs on each side of the connector, and snap the Wind River Trace into
Copyright © 2007 Wind River Systems, Inc. All rights reserved. No part of this publication may be reproduced or transmitted in any form or by any me
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 14Figure 2-4 Wind River ICE SX and Wind River Trace Power InputsTable 2-2 Power Supp
15 3Using Wind River Trace3.1 Getting Started 153.2 Establishing Communications 173.3 Configuration Settings 343.4 Setting Up a Project 403.5 Using
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 16Before you can use the Wind River Trace, you must set a new environment variable c
3 Using Wind River Trace3.2 Establishing Communications1733.2 Establishing CommunicationsThe Wind River Trace operates only in conjunction with a
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 182. Choose Wind River OCD ICE Connection from the list of options and click Next.
3 Using Wind River Trace3.2 Establishing Communications193The Communication Settings dialog appears.To configure communication settings manually, se
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 20The Emulator Settings dialog appears.4. In the Designators area, enter your target
3 Using Wind River Trace3.2 Establishing Communications2136. When you have entered the correct processor or board file and IP address, click Next.Th
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 22a. Select Query the communication settings from the ICE through a serial port and
3 Using Wind River Trace3.2 Establishing Communications233The retrieved settings can also be modified (select the Modify Communication Settings chec
iiiContents1 Overview ... 11.1 Introduction ...
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 247. In the Booted Target OS on selected CPU field, select the operating system that
3 Using Wind River Trace3.2 Establishing Communications253 notasklist=1: Never fetch process list. noautomodules=1: Do not plant internal breakpoint
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 26Use the Memory Options dialog to specify how memory on the target is partitioned,
3 Using Wind River Trace3.2 Establishing Communications273
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 28Use the Set Memory Map dialog to specify which memory areas are read-only, read-wr
3 Using Wind River Trace3.2 Establishing Communications293Workbench uses object path mappings in two ways: They allow the debugger to find symbol f
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 30Since retrieving status information from the target leads to considerable target t
3 Using Wind River Trace3.2 Establishing Communications313Use the Initial target state query settings checkboxes to specify whether Workbench should
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 32Use this dialog to set default breakpoint options for newly created breakpoints. S
3 Using Wind River Trace3.2 Establishing Communications33315. Check the displayed values to make sure they are correct.To connect to your target now
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 iv2.3.3 Signal Requirements for ColdFire Processors ...
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 34 Normally, when you disconnect a target connection, the target server (and simulat
3 Using Wind River Trace3.3 Configuration Settings353 NO — When GO command is issued, the trace data will be stored in trace memory starting at the
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 36Code Range (CR)Use the CR parameter to set the code range. The code range must be
3 Using Wind River Trace3.3 Configuration Settings373Setting CF Options With the Configure Trace ButtonClicking on the Configure Trace button in the
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 38If you set the Emit Operands on DDATA Pins option to NO, skip this step.If you set
3 Using Wind River Trace3.3 Configuration Settings393ColdFire processors only:a. Configure the Set Workspace option. A 1K workspace in RAM is requir
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 40cf set_vbr valuevalue is the exception table base address, which needs to be confi
3 Using Wind River Trace3.4 Setting Up a Project4132. Expand the Examples folder and select Standalone Sample Project. 3. Click Next.A sample projec
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 424. Select C Demonstration Program and click Finish.Workbench creates the sample pr
3 Using Wind River Trace3.4 Setting Up a Project4335. To build the sample project for use with your target processor, right-click on the c_demo_sa t
ContentsvAddress ... 56Address Mask ...
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 446. Select the build spec for your target processor. For AMCC 40x and 44x processor
3 Using Wind River Trace3.4 Setting Up a Project4539. In the Project Explorer, expand Build Targets. Right-click on the cdemo.elf file for your targ
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 46You are now ready to run and trace code.3.5 Using the Trace ViewTo open the Trace
3 Using Wind River Trace3.5 Using the Trace View473The Trace view has two fields: the Events field and the Trace field.The Events field shows the tr
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 483.5.1 Trace View ButtonsTable 3-1 shows all the buttons in the Trace view toolbar
3 Using Wind River Trace3.5 Using the Trace View493To collapse any column, click on the toggle button for that field. To re-expand it, click on the
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 50Refresh Trace ViewClick this button to refresh the entire Trace view, including th
3 Using Wind River Trace3.5 Using the Trace View513Use the Trace Rules dialog to create a trace rules file, for cases where the code is not running
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 523. Click OK to close the Trace Rules dialog.4. In the Remote Systems view, right-
3 Using Wind River Trace3.5 Using the Trace View533For descriptions of all filtered trace options, see 4. Filtering Trace.Figure 3-4 Filtered Trace
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 viColdFire Processor Performance ...
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 54Configure TraceClick this button to open the Configure Trace dialog. Use this dial
3 Using Wind River Trace3.6 Tracing Execution5533.6 Tracing ExecutionOnce you have set up your project as described in 3.4 Setting Up a Project, p.
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 56Click on the Tracepoint tab. Use the Tracepoint tab to specify the properties of y
3 Using Wind River Trace3.6 Tracing Execution573After Trace CounterThis counter can be used with either the Tra ce Off or Trace Around options to c
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 58Syntax:Get PTSet PT valuevalue = limit is FFFF.
3 Using Wind River Trace3.6 Tracing Execution593NOTE: Under certain conditions the After Trace (AT) Counter and the Post Trigger (PT) Counter value
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 60Trace OptionsUse this field to specify what kind of tracepoint you are setting. En
3 Using Wind River Trace3.6 Tracing Execution613(In Figure 3-8, the Event Occurrences column is collapsed to make it easier to read the information
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 62
63 4Filtering Trace4.1 Overview 634.2 Filtered Trace Options 644.3 Filtered Trace Limitations 674.1 OverviewThe filtered trace capabilities of the
1 1Overview1.1 Introduction 11.2 Wind River Trace Features 31.3 Wind River ICE Features 41.4 Safety Information 51.1 IntroductionThis document desc
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 64To set filtered trace options, click Filter Visible Trace Events in the Trac e vie
4 Filtering Trace4.2 Filtered Trace Options654PID ChangesDisplay a marker in the Events field whenever the Process ID (PID) of the running process c
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 66Trace On Starts capturing trace when the matched address is hit. The trace capture
4 Filtering Trace4.3 Filtered Trace Limitations674Trace Sync BroadcastThis is an internal Wind River option.Trace Trigger This option is similar to
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 68 One Trace Around (TC) One To Four Trace Trigger (TR)4.3.2 Filtered Trace Limitat
4 Filtering Trace4.3 Filtered Trace Limitations694unique trigger event on the PST[0:3]/DDATA[0:3] lines. The debug exception is written to the addre
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 70The following filtered trace options are supported for ColdFire processors with a
4 Filtering Trace4.3 Filtered Trace Limitations714A debug exception can be used for filtered trace with the V3 Core with a Revision B+ Debug Module.
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 72A debug exception can be used for filtered trace with the V4 Core with a Revision
73 5Wind River Trace Performance5.1 IntroductionThe number of trace instructions in Wind River Trace memory depends on the target processor’s opera
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 2The Wind River Trace captures a snapshot of your executing code to a memory array,
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 74AMCC 440 is for four core clock cycles. When the caches are enabled, the trace inf
75 A 38-pin Mictor Connector(AMCC 405 and 440Processors)A.1 38-Pin Mictor Connector Specifications 75A.2 AMCC 405 and 440 Timing Specifications 78A.
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 76NOTE: These are the termination values for the Wind River reference design. It is
A 38-pin Mictor Connector (AMCC 405 and 440 Processors)A.1 38-Pin Mictor Connector Specifications77AFigure A-2 38-pin Mictor Connector Pin-out for t
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 78A.2 AMCC 405 and 440 Timing SpecificationsAMCC 405 Processor38-Pin Mictor Connect
79 B 26-pin BDM Connector(ColdFire Processors)B.1 Connector Signal Specifications 79B.2 ColdFire Timing Specifications 85B.1 Connector Signal Speci
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 80MCF52221, MCF52223, MCF52230, MCF52231, MCF52233, MCF52234, MCF52235Option Two: Co
B 26-pin BDM Connector (ColdFire Processors)B.1 Connector Signal Specifications81BB.1.1 Option One: 26-Pin BDM Connector 26 (2 by 13) 0.025"
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 82B.1.2 Option Two: 26-Pin BDM Connector 26 (2 by 13) 0.025" square posts 0.1
B 26-pin BDM Connector (ColdFire Processors)B.1 Connector Signal Specifications83BB.1.3 Option Three: 26-Pin BDM Connector 26 (2 by 13) 0.025"
1 Overview1.2 Wind River Trace Features31Other ResourcesFor information on Wind River Workbench, see the Wind River Workbench User’s Guide.For infor
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 84B.1.4 Option Four: 26-Pin BDM Connector 26 (2 by 13) 0.025" square posts 0.1
B 26-pin BDM Connector (ColdFire Processors)B.2 ColdFire Timing Specifications85BB.2 ColdFire Timing SpecificationsOption One: 26-Pin BDM Connector
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 86Option Four: 26-Pin BDM ConnectorCLOCK: PSTCLKVALID DATA: PSTDDATA0, PSTDDATA1, PS
87 CVolatilityC.1 IntroductionThe Wind River Trace hardware consists of both volatile synchronous static RAM (SSRAM) and an electronically programm
Wind River Trace for Wind River WorkbenchHardware Reference, 3.0 88
89IndexNumerics26-pin BDM Connector (ColdFire Processors) 7938-Pin Mictor Connector 7838-pin Mictor Connector (AMCC 405 and 440 Processors) 7538-Pin M
Wind River Trace for Wind River Workbench Hardware Reference, 3.0 90DDocument Overview 1EEmit Operands on DDATA Pins (TRCREPORT) 35Establishing Commu
Index9171Revision D Debug Modules71SSafety Information 5Save Output to File 54Set Vector Base Register on IN Command (SET_VBR) 36Set Work Space (WSPA
Comments to this Manuals