Freescale Semiconductor MMDS0508 Using the Bus Analyzer, Watchpoints, Trace Modes, Trace Buffer

Page 38

Freescale Semiconductor, Inc.

MMDS Target Component

4.10 Bus Analyzer

4.10.1.1 Watchpoints

The MMDS0508 automatically maps available watchpoints to a proper bus analyzer trigger pattern. You may use the bus analyzer to implement watchpoints. If you do, however, you should not use the bus analyzer for other purposes!

4.10.1.2 Trace Modes

To gather pertinent bus data, you can operate the bus analyzer in different modes. The various trace modes let you choose appropriate actions to take when a certain pattern (event), or sequence of patterns, appears on the bus. To trigger the Bus analyzer, define specific bus states as terms, and select a sequence of terms as a trigger event.

4.10.1.3 Trace Buffer

The trace buffer consists of 8,192 entries (or frames), each of which stores 96 bits. When the bus analyzer is active and the emulator is running, the system strobes a frame of the selected type into the trace buffer for each bus cycle. When trigger events occur in a specified sequence, the system stores only the specified number of additional frames.

4.10.1.4 Textual or Graphical

The bus analyzer displays data either textually or graphically. Use the horizontal and vertical scroll bars, as in other Windows applications, to move around the displays.

4.10.2 Using the Bus Analyzer

The bus analyzer functions like any debugger component, and has its own menu to control the features of the MMDS0508 Bus analyzer hardware. Another name for the Bus Analyzer window is the Trace window. This is because the bus analyzer corresponds to the trace component; you can load the bus analyzer by choosing Open... Trace from the Component menu. Choose the MMDS0508 menu, then select Bus Trace to open the Trace window (show in Figure 4.16) or the Bus Analyzer (shown in Figure 4.15).

The three steps to using the Bus analyzer are: defining the data collection parameters, collecting the specified bus data (running the program), and viewing the collected data.

4–38

MMDS0508 Target Interface

For More Information: www.freescale.com

Image 38
Contents MMDS0508 Target Interface Freescale Semiconductor, IncHow to Contact Metrowerks Table of Contents Appendix Mmds Features IntroductionSystem Components Freescale Semiconductor, Inc System Components MMDS0508 Target Interface Installation M68MMDS0508 Station Module Right Side Configuring the Platform Board Factory Test Header J1Port Voltage Control Headers J2-J4 Factory Test Header J1Installing the EM Removing the EMBus State Analyzer Connection Making Cable ConnectionsHost Computer Connection Power Connection Target Cable ConnectionMaking Cable Connections MMDS0508 Target Interface Reset Switch RS232 Serial ConnectorLogic Cables and Connectors Serial Connector and Cable Pin AssignmentsPod and Logic Cable Pin Assignments Power Supply Fuse Replacement Power Switch/Connector AssemblyFreescale Semiconductor, Inc Power Supply Fuse Replacement MMDS0508 Target Interface Mmds Target Component MMDS0508 ConfigurationGeneral Definitions, Acronyms and Abbreviations Interfacing Your System and the TargetLoading the MMDS0508 Target Hardware connectionCommunication Configuration Loading MotoSIL TargetCommunication Device Specification MotoSIL Communication ConfigurationData Format Debugger Status Bar forMMDS0508 Menu Entries Communication Baud Rate CommunicationShow Protocol Memory ConfigurationMaximum Baud Rate Personality .MEM Files 0nnnnVxx.MEM12 Error Message Memory Signals EmulationDual-Port RAM MCU Clock ResetBus Tracing Comdev Default Target SetupMotorola ESL Parameters Baudrate Bus AnalyzerIntroduction to the Bus Analyzer ShowprotTrace Modes Using the Bus AnalyzerWatchpoints Trace BufferTrace window popup menu 15 Bus AnalyzerTrigger Setup 17 Bus Analyzer Trigger SetupSequencer Setup Non-Triggered Modes Continuous All CyclesTriggered Modes/Sequential Event Mode Counted ModesCounted/Sequential Recording Mode Time Tag Clock Setup Clock FrequencyCollecting Data Trigger Event Viewing Collected DataRecording Bus Data View CyclesTextual Display EventsTime Tag Control SignalsInstructions Only Display Time MeasuringGraphical Display Zoom In or Out22 Trace Zoom Display ShowLocation Add / Remove Items in the Trace WindowScrolling the Display Search for a FrameForward Search for EventsOK Button BackwardSearch for a Pattern Previous EventPrevious Pattern Cancel ButtonNext Pattern Dumping the Bus analyzer data to a file Dump File31 Analyzer Dump Only Frame Short Description Mmds CommandsBaud Rate Command SyntaxTrigger Commands Set trigger Data RED ORG YEL GRN Examples Disables triggers a and B Bus Analyzer Commands Darm GP B Log trace Open the logging file Sets the 8 Mhz oscillator as the time tag clock source Address SP 8 Set sequencer Display time tag difference VA MODE=MIX INS Graph Target Signal Emulation Commands Reset CommandsOther Commands MEM OSC Protocol Disables the real time memory block Index IDX-84 MMDS0508 Target Interface IDX-85 IDX-86