Freescale Semiconductor MMDS0508 manual Viewing Collected Data, Recording Bus Data, Trigger Event

Page 47

Freescale Semiconductor, Inc.

MMDS Target Component

4.10 Bus Analyzer

4.10.3.7 Recording Bus Data

When data collection begins, the bus analyzer starts recording bus data into the buffer. When it reaches the end of the buffer, the Bus analyzer wraps around to the first buffer frame and continues recording. This process continues until you disarm the analyzer, until the analyzer records the specified number of frames, or until the analyzer records the specified number of post-trigger cycles following the trigger event.

4.10.3.8 Trigger Event

When the analyzer detects a trigger event, it latches the event cycle into the buffer and continues recording data until it collects the specified number of post-trigger cycles. Then the bus analyzer stops collecting data, and its status changes to Disarmed.

At the same time the analyzer records the first post-trigger cycle, it automatically begins searching for the next trigger event.

Subsequent events can occur while the bus analyzer collects post-trigger cycles for the first event. In such a case, the analyzer continues collecting post-trigger cycles, but marks the cycles for the subsequent events.

4.10.4 Viewing Collected Data

4.10.4.1 View Cycles

The bus analyzer provides several views of the collected cycles. At the end of cycle collection, the trace buffer contains as many as 8192 of the most recently stored frames. Those that have the highest numbers usually are the post-trigger frames. Those that have the lowest numbers are the frames stored before the trigger occurred, if any.

When the bus analyzer is not in the Analyzing state, it displays data in the Trace window.

4.10.4.2 Textual, Graphical or Instructions

To specify the type of bus-data display, select Textual, Graphical, or Instructions from the Trace popup menu.

 

NOTE

If the sequencer did not specify collection of all frames (for example,

 

 

if it specified an events-only mode) the menu may not include the

 

 

Instructions selection.

 

 

 

 

 

 

MMDS0508 Target Interface

4–47

For More Information: www.freescale.com

Image 47
Contents Freescale Semiconductor, Inc MMDS0508 Target InterfaceHow to Contact Metrowerks Table of Contents Appendix Introduction Mmds FeaturesSystem Components Freescale Semiconductor, Inc System Components MMDS0508 Target Interface Installation M68MMDS0508 Station Module Right Side Factory Test Header J1 Configuring the Platform BoardFactory Test Header J1 Port Voltage Control Headers J2-J4Removing the EM Installing the EMBus State Analyzer Connection Making Cable ConnectionsHost Computer Connection Target Cable Connection Power ConnectionMaking Cable Connections MMDS0508 Target Interface RS232 Serial Connector Reset SwitchSerial Connector and Cable Pin Assignments Logic Cables and ConnectorsPod and Logic Cable Pin Assignments Power Switch/Connector Assembly Power Supply Fuse ReplacementFreescale Semiconductor, Inc Power Supply Fuse Replacement MMDS0508 Target Interface Mmds Target Component MMDS0508 ConfigurationGeneral Interfacing Your System and the Target Definitions, Acronyms and AbbreviationsHardware connection Loading the MMDS0508 TargetLoading MotoSIL Target Communication ConfigurationMotoSIL Communication Configuration Communication Device SpecificationData Format Debugger Status Bar forMMDS0508 Menu Entries Communication Communication Baud RateShow Protocol Memory ConfigurationMaximum Baud Rate 0nnnnVxx.MEM Personality .MEM Files12 Error Message Memory Signals EmulationDual-Port RAM MCU Clock ResetBus Tracing Comdev Default Target SetupMotorola ESL Parameters Showprot Bus AnalyzerIntroduction to the Bus Analyzer BaudrateTrace Buffer Using the Bus AnalyzerWatchpoints Trace Modes15 Bus Analyzer Trace window popup menu17 Bus Analyzer Trigger Setup Trigger SetupSequencer Setup Continuous All Cycles Non-Triggered ModesCounted Modes Triggered Modes/Sequential Event ModeCounted/Sequential Recording Mode Clock Frequency Time Tag Clock SetupCollecting Data View Cycles Viewing Collected DataRecording Bus Data Trigger EventEvents Textual DisplayTime Measuring Control SignalsInstructions Only Display Time TagZoom In or Out Graphical Display22 Trace Zoom Display Add / Remove Items in the Trace Window ShowLocationSearch for a Frame Scrolling the DisplayBackward Search for EventsOK Button ForwardPrevious Event Search for a PatternPrevious Pattern Cancel ButtonNext Pattern Dump File Dumping the Bus analyzer data to a file31 Analyzer Dump Only Frame Syntax Mmds CommandsBaud Rate Command Short DescriptionTrigger 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 Reset Commands Target Signal Emulation CommandsOther Commands MEM OSC Protocol Disables the real time memory block Index IDX-84 MMDS0508 Target Interface IDX-85 IDX-86