Page 7
Contents L eCroy Corporation Adding Initiator or Host Emulator Commands ..................111 Adding an ATA Command ........................111 Adding a User-Defined ATA Command ..................112 Adding a SCSI Command (SAS only) ....................112 Adding a User-Defined SCSI Command (SAS only) ..............113 Adding a TASK Command (SAS only) ....................113 Adding an SMP Command (SAS only) ....................114 Adding a Frame ..........................115...
Page 8
LeCroy Corporation Contents Run Hardware ........................... 161 Target and Device Emulation ....................161 Pages Tab..............................161 Writable Buffer Size Field .........................163 Error Injection Tab ..........................163 Setting General Errors ..........................165 Generate Periodic Error ........................165 Outgoing FIS Command Error or Outgoing Frame Command Error ...........165 Identify Errors (SAS only)...........................168...
Page 9
Contents L eCroy Corporation Customize Display............................197 Rename Port ............................197 Select and Apply Show/Hide Port Mode ..................198 Show/Hide Single Port ........................198 Show/Hide Multiple Ports .........................198 Show/Hide Field ..........................198 Related Frames ..........................199 Byte Order ............................200 Choose Data Format .........................201 Show All Data ............................201 Field List View..............................202 Field List View Displayed in a Seperate Window ................203...
Page 10
LeCroy Corporation Contents Using the Cursors and Bookmarks..................233 Cursors.................................233 Search............................238 Save Search Setup ..........................240 Search By ............................240 Search Direction ..........................240 Search From ............................240 Search Logic ............................241 Search For ............................241 Search Domain ..........................241 Search Sub Items ..........................242 Display Configuration ......................244 Sample Viewer Configuration........................244...
Page 11
Contents L eCroy Corporation Floating License ........................261 External Trig Setting......................... 262 External Trig Out Setting ........................262 External Trig In Setting ........................262 Update STX Board Interface ....................263 Update Sierra Device........................ 263 USB IP Setup..........................265 User-Defined Decoding ......................267 Help Menu..........................
Page 12
LeCroy Corporation Contents PM Performance Report (SATA) ........................284 Read Write Command Report (SATA) .......................285 Statistical Report Toolbar ......................286 Export as Microsoft® Excel file........................286 Save as Text file............................286 Print Statistical Report..........................286 Print Preview..............................287 Report Display Settings ..........................288 Link With Sample View ..........................289 Formatting the Statistical Report View...................
Page 13
Contents L eCroy Corporation Port Configuration for InFusion ....................320 InFusion Scenarios........................323 Scenarios Overview ............................323 InFusion Scenario Parameters ......................324 Global Rules..............................325 Sequences ............................326 Scenario Libraries ........................327 Main Library ..............................327 File Libraries ..............................327 Device Libraries............................328 Scenario Properties........................329 SATA Smart Hold Option ........................330 Scenario Events........................
Page 14
LeCroy Corporation Contents IfIsStopped ............................371 Goto Label ............................372 Run ..............................373 Stop ..............................374 WaitForStop ............................375 Sleep ..............................376 Beep ..............................376 Chapter 5: Sierra Trainer Traffic Generation ............377 Sierra Trainer Menus ........................ 378 File Menu ..............................378 Setup Menu ..............................379 Generate Menu.............................380 Search Menu ..............................380 View Menu ..............................382...
Page 15
Contents L eCroy Corporation Starting the Script Editor ......................394 Script Editor Toolbar...........................395 View Options Menu .............................396 Pop-up Menu..............................396 File Tabs ...............................396 Error Log ..............................397 Tooltips.................................397 Multi-Port Trainer Script Assignments to Links ..............397 Generating Traffic........................399 Stop Traffic Generation..........................399 Resume Traffic Generation.........................399 Sierra Trainer Generation Language ..................
Page 16
LeCroy Corporation Contents Wait Command Groups ..........................425 Predefined Constants ..........................428 Generation Settings ............................429 Generation Options ........................437 Generation Rules Toolbar ........................438 Generation Rules Page: How It Works ....................439 Creating Event Buttons ........................439 Dragging a Button to the Main Display Area ..................440 Assigning an Action .........................441...
Page 17
L eCroy Corporation END_OF_FILE definition ......................461 Example Pattern Generator File ....................462 Appendix B: China Restriction of Hazardous Substances Table ....463 WAN Operation ......................... 464 Appendix C: How to Contact LeCroy ..............465 Index:........................467 S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
Page 18
LeCroy Corporation Contents Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
Chapter 1 Introduction This manual describes installation and operation of the LeCroy Sierra M6‐2™ Protocol Analyzer and includes examples of typical applications. Figure 1.1: LeCroy Sierra M6-2 Protocol Analyzer Analyzer Overview The Sierra M6‐2 SAS/SATA Protocol Analyzer is a serial bus analyzer, supports host and device emulation, generates traffic, and provides error injection functionality. The SAS analyzer software performs serial bus analysis for Serial Attached SCSI (SAS) data transfers, as well as Serial ATA (SATA) data transfers through STP data transfers. The SATA analyzer software performs serial bus analysis for Serial ATA (SATA) data transfers. The Sierra M6‐2 Analyzer helps Hardware, Firmware, Design, and Application Engineers troubleshoot and diagnose SAS and SATA problems within their product. The analyzer supports the following: Capture, triggering, and filtering of Serial Attached SCSI packets or Serial ATA packets Generation of bus traffic as a SAS Initiator Emulator or a SATA Host Emulator, while monitoring and analyzing results SAS target emulation and SATA device emulation Running a Pattern Generator TX Vout on transmitters for test and characterization CATC API The analyzer provides for bi‐directional trigger and capture of commands, primitives, patterns and all bus conditions. You can capture all frames and/or exclude traffic. Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
LeCroy Corporation Receiving Your Analyzer The InFusion™ Error Injector and Traffic Modifier is an error injector and traffic modification tool that allows you to verify real‐world fault handling. The Trainer is a traffic generator that can emulate a SAS initiator/target or SATA host/ device. The Sierra M6‐2 Analyzer has a USB port and an Ethernet port to connect to a computer. You can cascade analyzer units for higher port counts. You can trigger manually or trigger on a specific event. The Sierra M6‐2 Analyzer provides a full range of views and statistical reports. Receiving Your Analyzer The analyzer package includes the following components: 1 Sierra M6‐2 Analyzer identified in the packing list 2 SATA cables, 0.5 meter 1 USB A‐B 2.0 cable, 1.8 meter 1 Ethernet cable, 10 feet 1 10‐position ribbon cable, 6 inches 1 SMB RA to SMB RA cable, 6 inches 1 Three‐Prong AC power cord 1 Installation CD ROM with software and documentation 1 Sierra M6‐2 Getting Started manual Unpacking the Analyzer Inspect the received shipping container for any damage. Unpack the container and account for each of the system components listed on the accompanying packing list. Visually inspect each component for absence of damage. In the event of damage, notify the shipper and LeCroy Corporation. Retain all shipping materials for shipper’s inspection.
LEDs L eCroy Corporation Figure 1.2: Front Panel LEDs Each link is supported by LEDs with the following functionality: GreenThis LED is illuminated during the OOB sequence before the link is established and after link is established it indicates traffic on the bus. Orange This LED is illuminated as follows: Speed Initiator Target 1.5G 3.0G 6.0G Yellow This LED is illuminated when a link is established. This LED illuminates when an error occurs. Blue This LED is illuminated when a trigger occurs. Figure 1.3: LEDs Status and Configuration Display The Analyzer front LCD display indicates the configuration and status of operations. For example, during initialization, the LCD panel displays boot status messages. Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
You must restart your computer before you can use your Analyzer software. Error Message If you get an error message during installation of the drivers for Window, consult your system administrator. Your system may allow only administrator-level users to copy such driver files. Sierra M6-2 SAS/SATA Protocol Analyzer User Manual...
Hardware Setup L eCroy Corporation Hardware Setup Separate Systems When using the analyzer, it is recommended to use a system to generate bus traffic and a second system to run the software, to avoid characterization of analyzer traffic. Connecting in General Note: You must install the software before connecting the analyzer to the host machine for the first time. To set up the analyzer: 1. Plug the power adapter into the unit, and then plug the power adapter into a 100V– 240V, 50Hz–60Hz, power outlet. Turn on the Power switch. At power on, the analyzer will go through initialization as shown on the LCD display. 2. Connect the USB cable between the Sierra M6‐2 USB port and a USB port on the Host PC. The host PC operating system detects the analyzer and driver files. (See “Connecting via Ethernet” on page 34 for Ethernet connectivity.) 3. Connect the analyzer as shown in Figure 1.4: . Analyzer SATA cables SATA cables Hard Drive Figure 1.4: Analyzer Connections Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
LeCroy Corporation Hardware Setup Cables to Use When using Sierra as a Host Emulator, connect from Target to hard drives using a SATA cable. When using Sierra as a Device Emulator, connect from Initiator to HBAs using a SATA cable. SATA cables SATA cables Figure 1.5: Sierra M6-2 Connected as an Analyzer Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Expandability L eCroy Corporation Expandability You can expand by: Cascading with STX SYNC Expansion Cards Cascading with CATC SYNC Expansion Cards Using the Power Expansion Card You can remove expansion cards with two simple tools. Cascading and Memory Size For example, you have two units. The first one has 2 GB memory. The second one has 4 GB memory. The system shows the entire memory as 6 GB. If you set buffer size to 6 GB, the system programs the first board for 2 GB and the second board for 4 GB. You can consider this ratio when you set buffer size to any value. For example, if you set buffer size to 2 GB, the system programs the first board for (2*2)/6 GB and the second board for (2*4)/6 GB. Any unit that has more memory will have larger buffer size. Cascading with STX SYNC Expansion Cards You can use cascading of analyzer units for higher port count, by daisy chaining the units through the provided Expansion and Clock In/Out interfaces on the analyzer back. Connect “Out” connectors to “In” connectors of the next unit in the chain, for both Signal and Clock interfaces. You must provide external hubs for connecting the host PC to these units using USB or Ethernet. You can cascade up to eight units. If you mix Sierra M6‐4, Sierra M6‐2, and STX A6‐4 analyzers/emulators, put Sierra boards first, then STX. Note: Because chain connections for cascading boards cause delay of signals, traffic on different boards is not completely time synchronized, with about one DWORD difference between consecutive boxes. Cascading To set up the units in a cascade: 1.
Page 26
LeCroy Corporation Expandability 3. Connect the OUT Clock connector of Unit 1 to the IN Clock connector of Unit 2 using the supplied stacking cables. Similarly connect any additional units. 4. Connect the OUT 10‐pin connector of Unit 1 to the IN 10‐pin connector of Unit 2 using the supplied stacking cables. Similarly connect any additional units. Note: Unit 1 must be the unit that has the first out connection. Figure 1.7: Cascading Correct way to connect: The black color pin of the ribbon wire is connected the same way between 2 connectors. Cascading works correctly in this case. Black color pin of ribbon wire Figure 1.8: Cascading Correctly...
Page 27
Expandability LeCroy Corporation Incorrect way to connect: The black color pin of the ribbon wire is connected in a different way between the 2 connectors. Cascading works incorrectly in this case, the boxes are connected but no traces are captured.
LeCroy Corporation Expandability Select Device After you start the software, click on Configuration and select All Connected Devices (see the following screen capture). Figure 1.11: Connecting to All SAS Device(s) Figure 1.12: Connecting to All SATA Device(s) The Select Device dialog allows connecting and disconnecting analyzers on the fly, without restarting the application.
Page 29
Expandability LeCroy Corporation The new Device List (introduced in version 4.10) mandates using updated firmware in order to detect the analyzer over Ethernet. Thus, the analyzer must be updated over USB before it can be used remotely over Ethernet. This is applicable for any update from version 4.00 or earlier to any version from 4.10 or later.
Page 30
LeCroy Corporation Expandability Add Device... Click Add Device to add a device with a static IP address. Figure 1.15: Add Device with Static IP Dialog Remove Device Click Remove Device to remove a previously added device. IP Settings... Click IP Setting to reset IP settings of a device. The following IP Setting dialog displays.
Page 31
Expandability LeCroy Corporation Refresh Device List Click Refresh Device List to refresh the device list. To connect to a device, select a device which is Ready to Connect and click the Connect button on the right. The Connection Propertied dialog is displayed (see the following screen capture).
LeCroy Corporation Expandability Note: When using STX Sync cards, you need to manually specify the order of the chained units. To match your unit sequence to the address for each unit in the Select Device dialog, click the pull down tab under the Order heading (on the right side) and select unit numbers: 1 for Unit 1, 2 for Unit 2, and so on.
You can turn the card on or off through the BusEngine by user‐emulation scripts during Emulation. Removing Expansion Cards You can remove expansion cards using two tools: Standard (flat blade) 3/16” screwdriver LeCroy Extraction Tool (part number 230‐0160‐00) Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
Page 34
LeCroy Corporation Expandability To remove an expansion card, follow these steps: 1. Unplug the system from AC power and turn the system so the expansion port is facing you. Note the two retaining screws and the holes for the extraction tool that are located on the panel of the expansion card.
Page 35
Expandability LeCroy Corporation 3. Rotate the extraction tool to a horizontal position to lock the prongs into place and make a handle. 4. Using the screwdriver, loosen both retaining screws by rotating them counter‐ clockwise approximately two full turns, until feeling slight resistance. Do not force ...
LeCroy Corporation Connecting via Ethernet 5. Using the extraction tool as a handle, gently wriggle the expansion card forward about 1/8”. 6. Repeat steps 4 and 5 approximately three times, until the card is free from the retaining screws and you can remove the card from the system....
TCP and UDP Ports Must Be Open to Connect over Ethernet WARNING: Check your firewall settings before making Ethernet connections. Incorrect firewall settings can prevent LeCroy applications from detecting analyzers on the network, though Ping works correctly. Consult your Firewall documentation to allow LeCroy applications to the network.
pre‐captured results. Using the Software The Sierra M6‐2 application has the LeCroy SAS Protocol Suite and the LeCroy SATA Protocol Suite. The LeCroy SAS Protocol Suite can be a: Protocol Analyzer: Captures data, triggers on events, and saves.
Protocol Analyzer Initiator Emulator or Host Emulator LeCroy Corporation Protocol Analyzer Initiator Emulator or Host Emulator To use the software for protocol analysis to generate host traffic, first select File > New > Protocol Analyzer Initiator Emulation or Protocol Analyzer Host Emulation for a new project or File > Open an existing Pattern Generator file: .spg for a single‐role file (See “Exercise and Capture”...
(See “Data Report” on page 293). InFusion The LeCroy InFusion™ Error Injector and Traffic Modifier is an error injector and traffic modification tool that allows you to verify real‐world fault handling for Serial Attached SCSI (SAS) and Serial ATA (SATA) systems (See “InFusion Overview”...
When using the CrossSync option, users can access the full complement of analysis capabilities available within the individual LeCroy software. Search, reporting, and decoding all operate normally. This feature is available with the LeCroy SAS/SATA Protocol Suite application. Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
Page 42
LeCroy Corporation Viewing Captured Data Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Chapter 2 Protocol Analysis The system performs Protocol Analysis by defining and running an analysis project. An analysis project definition defines what to capture, what the analyzer triggers on, and the memory settings. You can save defined projects as project *.sac files for later use. Easy Mode (Pre-Defined Setups) After you install the Analyzer software (See “Software Installation”...
Page 44
LeCroy Corporation Main Window Project Tree display What analyzer triggers on Capture memory settings Collapse All button hides details in Project Tree Expand All button expands collapsed Project Tree Figure 2.1: SAS: New Analysis Project Dialog The New Project dialog opens with default settings to capture Everything on the bus and to Trigger On on Snapshot.
Project Tree LeCroy Corporation Project Tree The Project Tree on the right side of the main window displays a comprehensive tree structured overview of the project. The project tree shows what to capture, on what the analyzer triggers, and the capture memory settings.
LeCroy Corporation Project Tree Exclude NOTIFY (SAS only) Check this to exclude NOTIFY primitives from the data capture. Exclude Idle Check this to exclude Idles from the data capture. Define different patterns for pre-trigger and post-trigger data captures Replaces the Capture tab with a Pre‐Trigger Capture tab and a Post‐Trigger Capture tab.
Run Hardware LeCroy Corporation Run Hardware To get an immediate overview of the bus traffic to and from your Analyzer: 1. Click the Record button. 2. The analyzer begins filling the defined memory buffer with traffic on the bus. After the traffic fills the memory buffer, the traffic is uploaded to the viewer and the Packet View display opens.
LeCroy Corporation Saving a Trace Capture You can hide any layer by clicking the corresponding Show/Hide button on the menu bar. The system retains all captured data, but the display has only some data layers for simpler viewing. You can configure the viewer display for test and viewing preferences (See “Viewer...
Page 49
Saving a Trace Capture LeCroy Corporation You can limit the range of the saved file. You can save: All Samples range between selected cursors range between selected Idle, link, commands range between bookmarks Save Filtered Sample checkbox saves a trace file without filtered data. You can Apply ...
LeCroy Corporation Exporting Exporting From the File menu, you can Export to Initiator Emulator, Export to Generator, Export Read‐Write Command Report, or Export Paired SAS Address Report. Export to Initiator Emulator From the File menu, you can Export to Initiator Emulator, using the Extract Sample File dialog.
Exporting LeCroy Corporation Export to Generator From the File menu, you can Export to Generator, using the Export to Generator dialog. x.ssg Figure 2.9: Export to Generator Dialog You can limit the range of the saved file. You can save: All Samples ...
LeCroy Corporation Exporting Export Paired SAS Address Report If Text View is activated, from the File menu you can save a Paired SAS Address Report as an Excel file, using the Export Paired SAS Address Report dialog. Figure 2.10: Export Paired SAS Address Report Dialog You can limit the range of the saved file.
CrossSync Control Panel LeCroy Corporation CrossSync Control Panel The CrossSync Control Panel allows you to select analyzers for synchronization and manage the recording process. Launching the CrossSync Control Panel To launch CrossSync from the SAS/SATA Protocol Suite software application, select the ‘Launch CrossSync Control Panel‘...
LeCroy Corporation Projects Projects You can define a new project, starting with the default project definition, or modify the settings for the last project run. New Default Project To start a New project, select File > New on the main menu bar and choose...
Projects LeCroy Corporation Example Projects The Analyzer includes example projects that you can use to perform an immediate analysis without any setup. The Analyzer system software has a pre‐defined folder (directory) structure for storing all files. All example files are in the Examples folder under the Sierra M6‐2 folder.
Page 56
LeCroy Corporation Projects Figure 2.14: SAS: Sample Protocol Analysis Project SAS vs. SATA: For Pattern Parameters, SATA Dialog adds FIS, FIS Pattern, and ATA Command Pattern and does not have STP Frame, SSP Frame, SMP Frame, and Address Frame. 4. Click the Record button to execute the pre‐defined example.
Page 57
Projects LeCroy Corporation Figure 2.15: SAS: Analyzer Trace Capture Display For details about the results display, See “Display Manipulation” on page 191. and “Display Configuration” on page 244.. S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
LeCroy Corporation Projects Patterns and Data Capture Setup You can refine data capture by choosing Pattern and then selecting specific patterns for capture. Additionally, you can define a different set of patterns to capture after trigger. To define specific patterns for capture, click the Pattern button to display the Capture tab for Pattern.
Projects LeCroy Corporation Choose a Parameter To choose a parameter for capture from any of these categories, highlight the category in the parameter window and click the Add>> button. This opens selection dialogs for each of the categories displaying all of the parameters for that category. All patterns added appear in the Project Tree.
LeCroy Corporation Projects Pre and Post Trigger Data Capture You can define one set of patterns for capture prior to the occurrence of a trigger and another set of patterns for capture after the occurrence of a trigger. The selection and setup procedure is the same for both Pre‐Trigger capture and Post‐Trigger capture.
Projects LeCroy Corporation Defining Patterns To select an item for capture, either highlight the category and click the Add>> button, or double‐click the category, to open a corresponding definition dialog. You can define patterns for specific ports by checking or unchecking the Port ID.
STP Invalid State Transition (Primitive Timeout) [SAS only] or FIS Invalid State Transition (Primitive Timeout) [SATA only]: Timeout between two paired primitives is above entered value. 65000 DWORDs is default. For example, it can occur between WTRM and Sierra M6-2 SAS/SATA Protocol Analyzer User Manual...
SAS vs. SATA: Not available in SATA. Click the down arrow next to the Type drop-down list box, choose an FIS type to capture or exclude, and click OK. Repeat for additional types. Sierra M6-2 SAS/SATA Protocol Analyzer User Manual...
LeCroy Corporation Projects Available FIS Types Register Host to Device Register Device to Host Set Device Bits DMA Activate DMA Setup BIST PIO Setup Data Vendor Address Frame (SAS only) Double‐click Address Frame to open the Address Frame Type Pattern dialog.
Projects LeCroy Corporation SMP Frame (SAS only) Double‐click SMP Frame to open the SMP Frame Pattern dialog. Figure 2.24: SAS: SMP Frame Pattern Dialog SAS vs. SATA: Not available in SATA. Click the down arrow next to the SMP Frame Type list box and choose a frame type.
LeCroy Corporation Projects FIS (Frame Information Structure) (SATA only) Double‐click FIS to open the FIS Type selection dialog. Figure 2.26: SATA: FIS Types Dialog SAS vs. SATA: Not available in SAS. Click the down arrow next to the Type drop‐down list box, choose a FIS type to capture, and click OK.
Projects LeCroy Corporation FIS Pattern (SATA only) Double‐click FIS Pattern to open the FIS Pattern selection dialog. Figure 2.27: SATA: FIS Pattern Dialog SAS vs. SATA: Not available in SAS. The FIS Pattern dialog opens with the default FIS Type as Register Host to device. To choose another available FIS Type, click the down arrow next to the FIS Type list box.
LeCroy Corporation Projects FIS Types (SAS and SATA) If you select STP Frame (SAS) or FIS Pattern (SATA) for the Pattern, the FIS Pattern window opens. You can select the FIS Type in this window from among the following types.
Projects LeCroy Corporation Register Device to Host Figure 2.30: Register Device to Host Set Device Bits Figure 2.31: Set Device Bits S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
LeCroy Corporation Projects Data Figure 2.36: Data Vendor Vendor is for FIS Pattern. Figure 2.37: Vendor S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Trigger Setup LeCroy Corporation Trigger Setup The Trigger tab in the analysis project dialog allows you to specify when the analyzer completes a data capture. Three trigger modes are available: The default Don’t care (Snapshot), Manual Trig, and Pattern. When data capture starts with Don’t care (Snapshot) selected, the analyzer triggers on the first data pattern on the bus.
LeCroy Corporation Trigger Setup Any Trigger Mode In Any Trigger mode, the Analyzer triggers whenever any of the patterns selected for triggering occurs (an OR condition). The procedure for selecting trigger parameters is identical to that for selecting capture parameters. All items selected for triggering appear in the Project Tree.
LeCroy Corporation Trigger Setup Timeout Selecting Timeout for the pattern opens the Timeout Pattern dialog. Figure 2.41: Timeout Dialog Select a pattern for Start Events or End Events, enter a Timeout value, then select Trigger Mode: If End Events occur before timer expires ...
Trigger Setup LeCroy Corporation Bus Condition Double‐click Bus Condition in the Pattern window to open the Bus Conditions dialog. Figure 2.43: SAS: Bus Conditions Dialog SAS vs. SATA: SATA Dialog separates the COMINIT and COMRESET check boxes and replaces COMWAKE with Host COMWAKE and COMSAS with Device COMWAKE.
LeCroy Corporation Trigger Setup Primitive Double‐click Primitive in the Pattern window to open the Primitive dialog. Figure 2.45: SAS: Primitive Dialog SAS vs. SATA: SATA Dialog has no radio buttons and has different drop‐down options. Click the down arrow next to the Primitive dropdown list, scroll the list to choose a primitive on which to trigger, and click OK.
Trigger Setup LeCroy Corporation ATA Command Double‐click ATA Command in the Pattern window to open the ATA Command Pattern dialog. Figure 2.47: SAS: FIS Pattern Dialog SAS vs. SATA: SATA Dialog has different dropdown options. Click the down arrow next to the Command dropdown list, scroll the list to choose a command to trigger on, and click OK.
LeCroy Corporation Trigger Setup ATAPI Double‐click ATAPI in the Pattern window to open the ATAPI Pattern dialog. Figure 2.48: SAS: ATAPI Pattern Dialog SAS vs. SATA: SATA Dialog has different dropdown options. Click the down arrow next to the CDB dropdown list, scroll the list to choose a CDB Type, and click OK.
Trigger Setup LeCroy Corporation Data Pattern Double‐click Data Pattern in the Pattern window to open the Data Pattern dialog. Figure 2.49: SAS: Data Pattern Dialog SAS vs. SATA: SATA Dialog shows Port at the top and does not show SSP or STP. Define the data pattern for triggering and click OK.
LeCroy Corporation Trigger Setup Protocol Errors Double‐click Protocol Errors in the Pattern window to open the Protocol Errors dialog. Figure 2.50: SAS: Protocol Errors Dialog SAS vs. SATA: SATA Dialog shows Port and does not show SSP, SMP, or STP radio buttons. Check the protocol error(s) to trigger on and click OK.
Trigger Setup LeCroy Corporation STP Frame (SAS only) Double‐click STP Frame in the Pattern window to open the FIS Pattern dialog. Figure 2.51: SAS: FIS Pattern Dialog SAS vs. SATA: Not available in SATA. Click the down arrow next to the FIS type dropdown list, scroll the list to choose an FIS type on which to trigger, and click OK.
LeCroy Corporation Trigger Setup Address Frame (SAS only) Double‐click Address Frame in the Pattern window to open the Address Frame Type Pattern dialog. Figure 2.52: SAS: Address Frame Type Pattern Dialog SAS vs. SATA: Not available in SATA. Click the down arrow next to the Address Frame Type dropdown list, scroll the list to choose an address frame type on which to trigger, and click OK.
Trigger Setup LeCroy Corporation SMP Frame (SAS only) Double‐click SMP Frame in the Pattern window to open the SMP Frame Pattern dialog. Figure 2.53: SAS: SMP Frame Pattern Dialog SAS vs. SATA: Not available in SATA. Click the down arrow next to the SMP Frame Types dropdown list, then scroll the list to choose an SMP frame type on which to trigger.
LeCroy Corporation Trigger Setup SSP Frame (SAS only) Double‐click SSP Frame in the Pattern window to open the SSP Frame Type dialog. Figure 2.54: SAS: SMP Frame Type Dialog SAS vs. SATA: Not available in SATA. Click the down arrow next to the SSP Frame Type dropdown list, scroll the list to choose an SSP frame type on which to trigger, and click OK.
Trigger Setup LeCroy Corporation SCSI Command (SAS only) Double‐click SCSI Command in the Pattern window to open the SCSI Command Pattern dialog. Figure 2.55: SAS: SCSI Command Pattern Dialog SAS vs. SATA: Not available in SATA. Click the down arrow next to the CDB dropdown list, scroll the list to choose a CDB Type, and click OK.
LeCroy Corporation Trigger Setup FIS (Frame Information Structure) (SATA only) Double‐click FIS to open the FIS Type selection dialog. Figure 2.56: SATA: FIS Type Dialog SAS vs. SATA: Not available in SAS. Click the down arrow next to the Type drop‐down list box, choose a FIS type on which to trigger, and click OK.
Trigger Setup LeCroy Corporation FIS Pattern (SATA only) Double‐click FIS Pattern to open the FIS Pattern selection dialog. Figure 2.57: SATA: FIS Pattern Dialog SAS vs. SATA: Not available in SAS. The FIS Pattern dialog opens with the default FIS Type Register Host to device. To choose another available FIS Type, click the down arrow next to the FIS Type list box.
LeCroy Corporation Trigger Setup ATA Command Pattern (SATA only) Double‐click ATA Command to open the ATA Command Pattern selection dialog. Figure 2.59: SATA: ATA Command Pattern Dialog SAS vs. SATA: Not available in SAS. Click the down arrow next to the Command list box, choose an ATA command, and click Soft Reset (SATA only) Double‐click Soft Reset to open the Soft Reset dialog.
Trigger Setup LeCroy Corporation Sequential Trigger Mode In Sequential Trigger mode, triggering occurs whenever the system detects a specific sequence of patterns. Defining the triggering patterns sets the sequence order. You must define at least two patterns to enable selection of Sequential Trigger mode.
LeCroy Corporation Trigger Setup Defining Patterns The definition of patterns for the sequential trigger mode is identical to the Any Trigger mode, with the following exception: In sequential triggering mode, the definition dialogs for the triggering patterns enable the setting to count the number of occurrences. This allows you to specify the number of times that the pattern must occur before triggering or proceeding in the trigger sequence.
Trigger Setup LeCroy Corporation Pre-Trigger You can set the amount of data to capture before and after the trigger, as a percentage of pre‐trigger, between 1% and 99%. Position the pre‐trigger slider to a percentage. This feature allows the evaluation of bus activity leading up to and after the triggering event.
LeCroy Corporation Trigger Setup Project Settings To set project options, click the Settings tab. Figure 2.66: SAS: Setting Project Options SAS vs. SATA: For the ALIGN Transmission Period section, SATA Dialog shows options 256 and 258, and does not show 2048 or 2049. For Speed, SATA Dialog shows H1, D1 to H2, D2 and does not show I1, T1 to I2, T2....
Trigger Setup LeCroy Corporation Sample File Name Click the ellipses next to the Sample File Name text box and choose a file name and location for the results of your current project. Auto Run To repeat the current capture and trigger setup automatically, check the Auto Run checkbox and enter the number of times in the Number of Run text box.
LeCroy Corporation Trigger Setup Upload Manager To upload segments manually in the Upload Manager, select the Don’t upload segments and open upload manager automatically checkbox. To upload segments automatically for display as the system creates them, do not select the checkbox. To view segmented trace files, click the Upload Manager button, beside the Record button, to display the Upload Manager dialog.
Trigger Setup LeCroy Corporation Analyzer Settings Primitive Response Timeout The Primitive Response Timeout parameter specifies the number of DWORDs between two pair primitives after which the analyzer detects a protocol error. Default value is 65000. When host or device sends a primitive, such as X_RDY, HOLD, or WTRM, it expects device or host to reply with a primitive, such as R_RDY, HOLDA, or R_OK.
LeCroy Corporation Trigger Setup These errors are mainly caused by the long synchronization time of the analyzer. If these errors, caused by the Analyzer, become triggers, you cannot detect some other errors that you really need to detect. To NOT detect the above two errors, enable the software setting Disable ‘Disparity Error’ and ‘Symbol Violation’ during Speed negotiation.
Trigger Setup LeCroy Corporation Ports Configuration Select the Port Configuration button to display the Set Port Configuration dialog. Figure 2.69: SAS: Set Port Configuration Dialog The dialog shows the current port configuration. To select a port configuration, click the down arrow to display the Select Port Configuration dialog.
LeCroy Corporation Trigger Setup Port configuration depends on the application you run. To act as Analyzer, select the Analyzer port configuration. To activate a Target Emulator on a port, select the TargetEmulator port configuration. To activate the Initiator Emulator on a port and run the Analyzer on the same ...
Trigger Setup LeCroy Corporation One Target Emulator can work by itself or work with one Analyzer. (Note that Host Emulator and Analyzer can be on one port and Analyzer and Device Emulator can be on another port at the same time.) Emulators do not work with Trainer.
LeCroy Corporation Trigger Setup The target emulator check box is not displayed at all until two or more emulator channels are selected. Figure 2.73: Target Emulator Check Box and Channel Speeds Note: Analyzer must detect MUX primitives from both host and device sides to capture traffic correctly in Muxing mode.
Advanced Mode (User‐Defined) LeCroy Corporation Advanced Mode (User-Defined) Advanced Mode expands Analysis capability by allowing you to program complex triggering and data capture projects. The Advanced Mode is a state machine with up to 23 different states. You can program each state individually to: Trigger on a different event or trigger unconditionally.
Page 104
LeCroy Corporation Advanced Mode (User‐Defined) Figure 2.75: SAS: State Programming Dialog Figure 2.76: SATA: State Programming Dialog S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Page 105
Advanced Mode (User‐Defined) LeCroy Corporation SAS vs. SATA: SATA Dialog removes Exclude ALIGN, Exclude RRDY, and Exclude NOTIFY. SATA Dialog replaces Exclude SATA_CONT with Exclude CONT and Exclude SATA_SYNC with Exclude SYNC. SATA Dialog has patterns Bus Condition, Primitive, FIS, FIS Pattern, Data Pattern, and Protocol Errors and does not have STP Frame, SMP Frame, STP Frame, or Address Frame.
LeCroy Corporation Advanced Mode (User‐Defined) State Number for Complex Trigger Sequences To follow the path of complex trigger sequences, you can display state number. To see state number, in Packet View right‐click a link layer packet, show field, and select state number.
Advanced Mode (User‐Defined) LeCroy Corporation 6. Choose pattern(s) and click the +>> button to add them for capture or exclusion. You define each pattern the same way as in Easy mode (See “Defining Patterns” on page 59.). 7. For an output trigger, click the down arrow in the Ext. Out field and choose an output trigger level.
LeCroy Corporation Advanced Mode (User‐Defined) Timeout You can set a Timeout. Select a Pattern for the Start Event. (Start Event resets the timer.) Select a Pattern for the End Event. Enter the Timeout Value in milliseconds or microseconds. Select a Trigger Mode: If End Event occurs before timer expires.
Page 109
Advanced Mode (User‐Defined) LeCroy Corporation In Advanced Mode, Short State Jump Intervals Can Cause Hardware Queue Overflow and Corrupt Frames When using Advanced Mode, if too many state jumps occur in a short time, the hardware queue can overflow, which may corrupt frames. For example, an infinite loop can cause many state jumps in a short time.
LeCroy Corporation Advanced Mode (User‐Defined) To overcome this limitation, use a Timeout Pattern instead of Timer. Figure 2.84 shows the state machine using Timeout instead of Timer. Figure 2.85 shows the Timeout settings. Figure 2.85: Timeout Settings Timeout begins when the port detects the Start Event. Timer begins when the port detects the Hard RESET primitive.
Project Settings LeCroy Corporation Project Settings Prior to running the Advanced mode project, click the Settings tab. The options in the Settings dialog are the same as for the Easy Mode, described starting on page 92. SAS vs. SATA: For the ALIGN Transmission Period section, SATA Dialog shows options 256 and 258, and does not show 2048 or 2049....
LeCroy Corporation Exercise and Capture SATA: Click the Host Emulator tab. Figure 2.87: SATA: Host Emulator Program Dialog SAS vs. SATA: SATA Dialog removes the SCSI, Task, and SMP buttons and replaces the Initiator Setting tab with the Host Setting tab. SAS: You can create an Initiator program using ATA, SCSI, Task, and SMP commands;...
Exercise and Capture LeCroy Corporation Adding Initiator or Host Emulator Commands Adding an ATA Command Click the Insert ATA Command button, click one of the command categories, and choose a command. Figure 2.89: ATA Dropdown List The following menu options are available: PIO In ...
LeCroy Corporation Exercise and Capture Adding a User-Defined ATA Command Click the Insert ATA Command button and choose User Defined. This enters an ATA command line with editable fields to define your own custom command. Figure 2.90: Insert ATA Command Adding a SCSI Command (SAS only) Click the Insert SCSI Command button, click one of the command categories, and choose...
Exercise and Capture LeCroy Corporation Adding a User-Defined SCSI Command (SAS only) Click the Insert SCSI Command button and choose User Defined. This enters an SCSI command line with editable fields to define your own custom command. Figure 2.92: Insert SCSI Command User‐defined SCSI commands are Non‐Data, Read from Block Device, Read from Non‐...
LeCroy Corporation Exercise and Capture Adding an SMP Command (SAS only) Click the Insert SMP Command button and choose the command to insert. Figure 2.94: SAS: SMP Dropdown List The following menu options are available: Report General Report Manufacturer Information ...
Exercise and Capture LeCroy Corporation Report expander route table list Configure general Enable disable zoning Write GPIO register Zone broadcast Zone lock Zone activate Zone unlock Configure zone manager password Configure zone phy information ...
LeCroy Corporation Exercise and Capture The following menu options are available: Identify Frame SSP Frames (Command, Data, Task) SMP Request Frame STP FRames (Host to Device, DMA Setup, Data) User Defined SATA: Click the Insert Frame button and choose the frame type to insert.
Page 119
Exercise and Capture LeCroy Corporation Detach Power On Power Off PHY Setting & Change Speed Change Data Frame Size Setting Figure 2.98: SATA: Event Dropdown List The following menu options are available for SATA events: Self Test Exit ...
LeCroy Corporation Exercise and Capture PHY Setting Dialog Sierra M6‐4 and Sierra M6‐2 only: The PHY Setting & Change Speed command supports 1.5, 3, and 6 Gbps speed changing. You can run commands for different speeds, which is especially useful for device checking. The Analyzer should support the Auto‐Speed mode.
Page 121
Exercise and Capture LeCroy Corporation Start Loop Click the command at which to start the loop, and then insert the Loop Start instruction. Figure 2.101: Start Loop Loop Count Enter the number of times to run the loop in the number text box, or click the down arrow on the Count Drop‐down combo box and choose Infinite.
Page 122
LeCroy Corporation Exercise and Capture For commands with incoming payloads, you can specify patterns for a condition by clicking the options button on a payload instruction and defining pattern(s). Figure 2.106: Specify Patterns Add Wait for Any Frame Insert this instruction and set an expiration time and a label for the Goto. This instruction causes the Initiator program to go to the specified label if any frame occurs prior to the expiration time.
Page 123
Exercise and Capture LeCroy Corporation Add Wait for Power Management (SATA only) Insert this instruction and select PM_ACK or PM_NAK. Set an expiration time and a label for the Goto. This instruction causes the emulator to go to the specified label if any frame occurs prior to the expiration time.
LeCroy Corporation Exercise and Capture Instruction insert You can set the instruction to insert before or after a command by setting the insertion mode. To set the insertion mode, right‐click in the initiator page and choose Insert before current position or Insert after current position.
Exercise and Capture LeCroy Corporation Sample Initiator Emulator Program (SAS only) Figure 2.115 shows a simple completed SAS Initiator Emulator program. Option button Figure 2.115: SAS: Sample Initiator Emulator Program Data Blocks For commands requiring data blocks, click the down arrow of the ...
Page 126
LeCroy Corporation Exercise and Capture Choosing Find New Device opens the Device Identifier dialog. Figure 2.117: SAS: Device Identifier Dialog SAS vs. SATA: SATA Dialog does not show Find section (All Info and SAS Address). SATA Dialog has devices D1 to D2 and does not show T1 to T2....
Exercise and Capture LeCroy Corporation 3. To assign commands to an active address, right‐click an address and choose: Insert To Cursor assigns all commands up to the cursor to the chosen address. Insert: To All assigns all commands to the chosen address. Record and Play This feature allows the selection of a range of commands in a trace and exports them to a previously saved *.sac file for execution by the SAS Initiator Emulator or *.stc file for...
Page 128
LeCroy Corporation Exercise and Capture 3. Click File and then choose Export to Initiator Emulator or Export to Host Emulator. Figure 2.120: SAS: Export to Initiator Emulator This displays the Extract Sample File dialog. Figure 2.121: Extract Sample File Dialog 4. Click the ellipses next to the Project Name address bar and select an existing *.sac or *.stc file.
Exercise and Capture LeCroy Corporation 6. After the export action completes, open the exported *.sac or *.stc file. Figure 2.122: SATA: Host Emulator Program With the Exported Commands You can run this set of commands immediately, or you can modify it by inserting instructions and/or additional commands.
Page 130
LeCroy Corporation Exercise and Capture Figure 2.124: SATA: Protocol Error and Command Settings for ATA Dialog Connection Rate Select the Connection Rate to allow a higher speed port to communicate with a lower speed port: Physical Rate, 1.5 G, 3, or 6.
Page 131
Exercise and Capture LeCroy Corporation Close Connection Setting Checking Close Connection Setting enables the Error Settings button. Click this button to display the Close Connection Setting dialog. Figure 2.125: Close Connection Dialog Select the Close Sequence Type from the drop‐down list. Selecting Delay in sending allows you to specify the delay in sending Done, Close, or Break.
LeCroy Corporation Exercise and Capture Affiliation Setting Check Clear Affiliation After Command Complete to release device to commands from other sources, or check Leave Affiliation State Unchanged to retain control of device. Enable First Burst Check Enable First Burst to allow first burst.
Page 133
Exercise and Capture LeCroy Corporation Frame Length Error Check Frame Length Error and choose the type of error to introduce. Code violation and Disparity error Check these and specify DWORD offset and number of error DWORDs. Additionally check: No WTRM Code Violation on SATA primitive Disparity error on SATA primitive...
LeCroy Corporation Exercise and Capture Insert Frame Check Insert Frame, click the down arrow on the Type combo box, and choose the frame type.Then choose to insert it before or after an outgoing frame command. Make sure that you have clicked More.
Exercise and Capture LeCroy Corporation Defer Handshake Check the Defer Handshake after check box and enter a value for the time to defer the handshake. SCSI Error and Command Settings (SAS only) Figure 2.131: SAS: Protocol Error and Command Settings for SCSI Dialog Connection Rate...
Page 136
LeCroy Corporation Exercise and Capture Close Connection Setting Checking Close Connection Settings enables the Error Settings button. Click this button to display the Close Connection Setting dialog. Figure 2.132: SAS: Close Connection Settings Select a Close Sequence Type from the drop‐down list. Check Delay in Sending to specify the delay in sending Done, Close, or Break.
Page 137
Exercise and Capture LeCroy Corporation Check the errors to introduce. Scroll through the available choices in the Destroy Field of Frame list box and check the destroy field. Incoming Open Primitive Response To set a response to an incoming Open frame, check Incoming Open Frame Response, select a Primitive, and enter a value for Delay.
LeCroy Corporation Exercise and Capture Outgoing SCSI Frame Settings Before selecting Outgoing Frame Settings, select the Types Of Frames and the Frame Number on which to inject an error. Then check Outgoing Frame in the Generate Error On area and then the Settings button to display the Outgoing Frame Setting dialog.
Exercise and Capture LeCroy Corporation Insert Primitive Check Insert Primitive, click the Type button to open the Primitive Type dialog, then select the primitive type. Field of Frame Select Destroy, scroll through the available choices in the Field of Frame list box, and choose a field to destroy. Alternatively, you can select Specify Value to fill the chosen field with a pre‐defined value.
LeCroy Corporation Exercise and Capture Defer Handshake Check the Defer Handshake after check box and enter a value for the time to defer the handshake. FIS Options (SATA only) If you select Frame > Host to Device, Frame > DMA Setup, or Frame > Data, the system adds an FIS line. At the end of the line is an Options button that opens an Outgoing Frame Setting dialog.
Exercise and Capture LeCroy Corporation Additionally check: No WTRM Code Violation on SATA primitive Disparity error on SATA primitive Ignore XRDY/RRDY sequence Delay in HOLD response (in sending HOLDA) Initiator Setting Tab (SAS only) The Initiator Setting tab allows you to select the Port(s) for generating SAS traffic and to specify SAS Address, Data Frame Payload size, Frame Receive Timeout, Logical Block size, and ATA Command Execution Time out.
Page 142
LeCroy Corporation Exercise and Capture Choose Initiator Emulator Port For each port, select a speed, and then click the Speed Negotiation Setting button. Figure 2.140: SAS: PHY Setting Dialog Select the port speed settings (see “PHY Setting Dialog” on page 118). After you click OK, you can Enable Muxing On.
Page 143
Exercise and Capture LeCroy Corporation Queue Settings Click the Queue Settings button to display the Queue Settings dialog and specify: Queue Depth NCQ Error Recovery Queued/Non‐Queued Items Status NCQ/Queue Command Timeout Figure 2.141: Queue Setting Dialog Advanced Initiator Settings Click the Advanced button to display additional settable options: Align Transmission Period ...
Page 144
LeCroy Corporation Exercise and Capture Figure 2.142: Advanced Initiator Settings Dialog General Tab In the Advanced Initiator Setting dialog, choose Automatic action options from ABORT TASK for Failed Commands Multi Command feature. OOB Signal Setting Tab Click the OOB Signal Setting tab in the Advanced Host Setting dialog to specify OOB parameters in the enabled editable fields.
Page 145
Exercise and Capture LeCroy Corporation Timeouts Tab Click the Timeouts tab in the Advanced Host Setting dialog to specify timeouts for connection, CREDIT, ACK/NAK, ATA Command, OOB Signal and Identify frame.You can also edit the speed negotiation parameters. Figure 2.144: Timeouts Tab Speed Negotiation Tab...
LeCroy Corporation Exercise and Capture Host Setting Tab (SATA) The Host Emulator Setting dialog allows you to select the Port(s) for exercising, choose to use the Host Emulator or Pattern generator and specify Host Emulator characteristics. Click the Host Setting tab.
Exercise and Capture LeCroy Corporation ATA Command Execution Timeout The ATA Command Execution Timeout is a timeout for ATA commands. When the host sends an H2D frame (i.e., it issues a command) and receives an R_OK from the device, it starts this timer.
Page 148
LeCroy Corporation Exercise and Capture Host Emulator You can run an Host Emulator while setting: Auto stop exerciser when Analyzer stops CONT usage Delay between getting HOLD to Sending HOLDA Data Frame Payload Size ATA Command Execution Timeout ...
Page 149
Exercise and Capture LeCroy Corporation Advanced Host Setting Dialog Click the Advanced button to display all settable options. Figure 2.149: SATA: Advanced Host Setting Dialog General Tab Settable options are: Set Align Transmission Period, Primitive Response Timeout and Await Align Timeout. Choose ATA Command timeout recovery action by checking the corresponding option button.
Page 150
LeCroy Corporation Exercise and Capture OOB Signal Setting Tab Click the OOB Signal Setting tab in the Advanced Host Setting dialog to specify OOB parameters in the enabled editable fields. Figure 2.150: SATA: OOB Signal Setting Tab Asynchronous signal recovery Set the OOB Retry Interval Time, check the Asynchronous signal recovery option check box and enter a value for the time.
Page 151
Exercise and Capture LeCroy Corporation Power Management Settings Click the Power Management Setting tab in the Advanced Host Setting dialog to specify the settings in the editable fields. Figure 2.151: SATA: Power Management Settings Set parameters for Host and/or Device initiated power management. ...
LeCroy Corporation Exercise and Capture Project Settings Set project settings in the Project Settings tab (See “Project Settings” on page 92.). Note: When using the Exerciser, channel 2 is not available and is grey. Creating a Data Block You can create the following types of data blocks, for use with data fields: Random data pattern ...
Exercise and Capture LeCroy Corporation To add another data block: 1. Click the New button in the Data Block dialog box. Figure 2.153: New Data Block Dialog Box 2. Choose the number of data columns (up to 16 data cells/row) and the cell length (up to 16 bytes/cell).
LeCroy Corporation Exercise and Capture Figure 2.155: Rename Data Block Enter a descriptive name in the New Name edit box and click OK. Editing a Data Block You can enter data in the defined cell structure by these methods: Define your own pattern ...
Page 155
Exercise and Capture LeCroy Corporation Address The cell address starts at 0 for the first data entry and automatically increments to the next available address. You can set it to a previously defined address to modify its content or insert additional data.
Page 156
LeCroy Corporation Exercise and Capture Random Data Pattern To use a random data pattern, click the Random button, enter the number of times to repeat the pattern, and click OK. Figure 2.158: Choose a Random Pattern Walking Bit Pattern To use a walking bit pattern, click the Walking Bit button, then choose either a walking bit of “0”...
Exercise and Capture LeCroy Corporation Creating and Editing Data Blocks as Text ® You can create and edit data blocks using a text editor such as Windows Notepad. To create a data block in Notepad, launch Notepad. Enter a header consisting of [Item1, Item2, Item3, Item4, Item5] where: Item1 is the name of the Data Block.
LeCroy Corporation Performance Analysis Performance Analysis An Analyzer incorporates a real‐time Performance Analysis capability, to allow you to quickly measure performance parameters. You can select the format for the results display. You can set the Area and Column. You can use Bar, Line, or Pie charts with 3D and Grid enhancement options.
Page 159
Performance Analysis LeCroy Corporation Note: When you use the Exerciser, channel 2 is not usable and is greyed out. Figure 2.161: SATA: Performance Analysis Definition Choose Protocol (SAS only) Check the protocol check box(es) to select the protocol category: SSP for SCSI Commands ...
LeCroy Corporation Performance Analysis Define Performance Click the Performance Item check box in the Performance Items tab. Performance measurement has the following categories: Link Usage: Bus Utilization (Ratio of frame time to update interval) Transmission Efficiency (Ratio of payload time to frame time) ...
Page 161
Performance Analysis LeCroy Corporation Note: When you use the Exerciser, channel 2 is not usable and is greyed out. Figure 2.163: SATA: Settings Dialog The settings dialog allows you to set the Analysis update interval and define the counter mode.
Page 162
LeCroy Corporation Performance Analysis To perform the Performance Analysis, click the Run Hardware button and wait for the real time analysis for the selected items to display. Figure 2.164: SAS: Performance Analysis Real Time Display Figure 2.165: SATA: Performance Analysis Results Display S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
Run Hardware LeCroy Corporation Alternate Display Format You can display the result as 2D, 3D, and so on, by clicking the corresponding Graphics Setting on the Performance Analysis toolbar. Area Chart Columns and Bar Chart Line Chart Pie Chart Switch between 2D and 3D...
Page 164
LeCroy Corporation Target and Device Emulation Figure 2.166: SAS: Target Emulation Project Pages Tab The Target Emulator pages open with default settings for each page. To change settings for your application: 1. Select a page in the Supported Pages box and set values for each of the enabled (white) Value fields.
Target and Device Emulation LeCroy Corporation Figure 2.167: SATA: Device Emulation Project Pages Tab The Device Emulator pages open with default settings for each page. To change settings for your application: 1. Set the Device Type of either ATA or ATAPI 2.
Page 166
LeCroy Corporation Target and Device Emulation Figure 2.168: SAS: Setting General Errors SATA: In addition to specifying general errors, you can also set errors for ATA Commands and SATA Signature by clicking the corresponding icon in the Errors window. Figure 2.169: SATA: Setting General Errors S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
Target and Device Emulation LeCroy Corporation Setting General Errors Generate Periodic Error Generate Periodic Error allows you to inject periodic error on Command frame, FIS frame, stand alone primitive, and stand alone FIS. Check Generate Periodic Error and select the period unit of time, number of IO commands, or number of kilobytes transferred, by checking the corresponding option button.
Page 168
LeCroy Corporation Target and Device Emulation Frame Length Error Check Frame Length Error and choose the type of error to introduce. Under frame length: Data frame payload returned by the DE is 0 bytes. Set data frame length to xxxx DWORDs: Sets the frame length and not the pay‐...
Page 169
Target and Device Emulation LeCroy Corporation Click the down arrow on the Primitive list box, choose a primitive, enter a value for the number of primitives to send, and click OK. Drop link for ... ms Check and enter time value for which to drop the link.
LeCroy Corporation Target and Device Emulation Identify Errors (SAS only) Click the Identify icon in the Errors window to display the Identify Error Setting dialog. Figure 2.173: SAS: Identify Error Setting Dialog Sending Identify Frame Check the Send option button, then specify the number of Identify frames to send (and a delay, if needed).
Target and Device Emulation LeCroy Corporation Figure 2.174: SAS: Connection Management Setting Dialog Open Connection Definition Incoming Frame Settings 1. In the Open Connection dialog, enter a value for the Incoming Open Frame Number and the Number of Errors in the corresponding text box. 2. Click the down arrow next to the Primitive Response: drop down list box, choose a primitive response, and enter a value for the Delay in Sending Response text box.
LeCroy Corporation Target and Device Emulation Close Connection Definition 1. In the Close Connection dialog, enter a value for the Erroneous Close Connection Number and the Number of Errors in the corresponding text box. 2. Click the down arrow next to the Close Sequence Type drop down list box, then choose a closing sequence.
Target and Device Emulation LeCroy Corporation SAS Commands Errors (SAS only) Click the SAS Commands icon in the Errors window to display the Commands Error Setting dialog. Status Indication Figure 2.177: SAS: SAS Commands Error Setting Dialog 1. Click the SSP, SMP or Task option button to display the commands available for each of these categories in the Event Selection window.
Page 174
LeCroy Corporation Target and Device Emulation If you enter 3 for Repeat Error, target emulator injects error on the 2nd, 3rd, 4th, 6th, 7th, 8th, 10th, 11th, and 12th commands. If you set Repeat Error to 0, it means infinity, and the system injects error on the 2nd, 3rd, 4th, 6th, 7th, 8th, 10th, 11th, 12th, 14th, 15th, 16th, 18th, 19th, 20th, 22th, 23th, 24th, and so on commands.
Target and Device Emulation LeCroy Corporation Outgoing Frame Settings Before selecting Outgoing Frame Settings, select the Types Of Frames and the Frame Number on which to inject an error. Then check Outgoing Frame in the Generate Error On area and then the enabled Settings button to display the Outgoing Frame Setting dialog.
Page 176
LeCroy Corporation Target and Device Emulation Insert Primitive Check Insert Primitive, click the Type button to open the Primitive Type dialog, select the primitive type, and click OK. Destroy Field of Frame Make sure to click the More button and then check the field to destroy.
Target and Device Emulation LeCroy Corporation ATA Commands Errors (SATA only) Click the ATA Commands icon in the Errors window to display the ATA Commands Error Setting dialog. Status Indication Figure 2.180: SATA: SAS Commands Error Setting Dialog To set errors for ATA commands: 1.
LeCroy Corporation Target and Device Emulation Outgoing Frame Settings Before selecting Outgoing Frame Settings, select the Types Of Frames and the Frame Number on which to inject an error. Then check Outgoing Frame in the Generate Error On area and then the enabled Settings button to display the Outgoing Frame Setting dialog.
Target and Device Emulation LeCroy Corporation SOF, EOF and CRC errors Check these and specify Double or Omit by checking the corresponding option button. Insert Primitive Check Insert Primitive to enable the Primitive Type dialog, select the primitive type and number of primitives, and click OK.
LeCroy Corporation Target and Device Emulation Handshake Errors Check Handshake Errors to enable selection of error on handshake. Check NAK, CRC, or any other Primitive to send as an incoming frame response. Check No Handshake to send no response. Defer Handshake Errors Check Defer Handshake and enter a value for the time to defer the handshake.
Target and Device Emulation LeCroy Corporation SATA Signature Errors You can define errors to introduce when sending a SATA Signature. To define the errors, click the Error Setting button to open the SATA Signature Error Setting dialog. Figure 2.184: SATA: SATA Signature Error Setting Frame Length Error Choose the Frame Length Error type to introduce.
LeCroy Corporation Target and Device Emulation User-Defined Commands Tab To create command(s) specifically for your application, click the User Defined Commands tab to display the command definition dialog. Figure 2.185: SAS: Command Definition Dialog To define a command: 1. Enter an Operation Code and a Name in the corresponding text boxes.
Target and Device Emulation LeCroy Corporation Target Emulator Settings (SAS) Click the Settings tab to display the Target Emulator Settings dialog. Figure 2.186: SAS: Target Emulator Settings Dialog The Settings page opens with a default set of values, which you can modify. To return to these values, click the Default Settings button.
Page 184
LeCroy Corporation Target and Device Emulation Choose Target Emulator Port Click a port option button, then click the Speed Negotiation Setting button (see “Speed Negotiation Tab” on page 143). Select the port speed settings, all by default. Ports Configuration Click the Port Configuration button to display the Ports Configuration dialog (see “Ports...
Page 185
Target and Device Emulation LeCroy Corporation Set Timeouts Click the Timeouts tab to display the Timeouts setting dialog. Figure 2.188: Timeout Setting Dialog Edit the default values displayed in the white editable fields and click OK. Set Speed Negotiating error Click the Speed Negotiation tab to display the Speed Negotiation dialog.
LeCroy Corporation Target and Device Emulation Notes Tab Click the Notes tab and enter a Project Name and a brief description of the Target Emulation project (see “Add a Project Note” on page 100). Run Target Emulation Click the Activate Device button or select Project Setup > Active Device to start emulation.
Page 187
Target and Device Emulation LeCroy Corporation Media Settings Enter a value for Average Access time to simulate Seek/Access time delay of a real device. Enter a Number of Areas. Define a Start and an End Address, click the down arrow under the Area Type and choose Normal Writable, Circular Writable, or Non Writable. ...
Page 188
LeCroy Corporation Target and Device Emulation Figure 2.191: OOB Signal Setting Dialog Speed Negotiation Click the Speed Negotiation tab to display the Speed Negotiation dialog. Specify Speed Negotiating Failure Option(s) and a Speed Negotiation Failure Type. Figure 2.192: Speed Negotiation Dialog S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Page 189
Target and Device Emulation LeCroy Corporation Power Management Settings Tab Figure 2.193: Power Management 1. In the Host Initialized Power Management area, choose whether to support the report in the Identify page. 2. Specify the response type for PMREQ_P and PMREQ_S, the delay, and Minimum ...
Page 190
LeCroy Corporation Target and Device Emulation NCQ Command Settings Tab Figure 2.194: NCQ Commands 1. To enable NCQ commands, check Support NCQ and specify Queue depth. 2. Optionally check Allow multiple command completion and enter values for Max time before sending SDP and Max number of command completions reported by one SDB. Miscellaneous Features Tab Figure 2.195: Miscellaneous Features S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
Target and Device Emulation LeCroy Corporation 1. To enable Asynchronous notification, check the Support Asynchronous notification feature, and then specify the millisecond Asynchronous notification interval and the Maximum number of transmitted Asynchronous notifications. 2. To send a BIST frame, check Send BIST frame and enter a value for the millisecond Delay before sending BIST FIS. Choose BIST flag options and enter or select DATA or test pattern.
Page 192
LeCroy Corporation Target and Device Emulation S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Chapter 3 Display Manipulation Viewer Display After data is captured (Recorded), the Viewer displays a sample file (.scs for SAS and .sts for SATA) in Packet View. Figure 3.1: SAS: Packet View of .scs Sample File Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
LeCroy Corporation Viewer Display Figure 3.2: SATA: Packet View of .sts Sample File Quick View By default, the Software Settings enable Quick View. Quick View allows full access to the whole trace more quickly, especially when using a Gigabit Ethernet connection. However, the trace is NOT written to the Host PC hard drive.
Sample Properties LeCroy Corporation Using the Viewer Display To configure the data viewer display, use the toolbars. You can display the same data in: Column view, with transactions grouped for each active port Text view, with transactions grouped for each active port ...
LeCroy Corporation Switching Views Switching Views To display the capture in any other available view, select from the View menu or from the View Type toolbar. Show/Hide Waveform View Show/Hide Column View Show/Hide Spreadsheet View Show/Hide Text View Show/Hide Packet View...
Switching Views LeCroy Corporation Changing the Default View To change the default view of all trace files to Packet View: 1. Open a trace file. 2. Select the Packet View. Close all other views. 3. Select File > Save Workspace to open a Save As dialog. Save the current workspace as a .wss file.
Figure 3.8: SATA: Column View Right‐click in the Column View to display commands: Software Settings Time Stamp Format (LeCroy Format, Milli Second, Micro Second) Go to (Trigger Position, X Position, Y Position, Packet Number, Time Stamp, Bookmark, Begin, End) Bookmark ...
Switching Views LeCroy Corporation Goto within Packet (SOF, EOF, Next HOLD, Previous HOLD, Next HOLDA, Previous HOLDA, Next Align, Previous Align, Next R_IP, Previous R_IP) Note: The Column View displays the CRC value. To see different formats (10b, 8b, scrambled, and so on), select a format by clicking its Tool menu button.
LeCroy Corporation Switching Views Select and Apply Show/Hide Port Mode You can simplify the viewer display by hiding the captures of ports. All active ports are highlighted on the Show/Hide Ports toolbar. You can Show/Hide a Single Port or you can Show/Hide Multiple Ports. Click on the drop‐down arrow and select from the two options as shown in the following figure:...
Switching Views LeCroy Corporation Figure 3.14: Hide Field To restore a field to the display, right‐click a Port ID field and choose the hidden field to restore. Figure 3.15: Show Field Note: Only the fields previously hidden appear in the restore list.
LeCroy Corporation Switching Views Figure 3.17: Goto Command In Column View, you can right‐click a DWORD inside a frame to display the Goto Within Packet command. You can jump to an SOF, EOF, HOLD, or R_IP. Figure 3.18: Goto Within Packet Command Byte Order You can change the byte order in fields marked by an arrow and other fields.
Switching Views LeCroy Corporation Choose Data Format You can display data values either in hexadecimal (default) or binary. To choose data format, right‐click the mouse over a data field, and choose Format and the format. Figure 3.20: Format Show All Data To display all captured data, click the data expand toggle arrow in a data field, to examine...
LeCroy Corporation Switching Views To collapse all fields, right‐click the mouse in a data field and choose Collapse All. Field List View Whenever an additional view (such as Text View) displays, you can display a Field List View, which displays field information in a list format. The information of this view is shown in the Packet View under the Transport layer.
Switching Views LeCroy Corporation Field List View Displayed in a Seperate Window Click Configuration > Software Settings and select the Field List View tab, refer to Figure 3.81 on page 258 to see the default settings of the Field List View dialog. The Show Field List in Column View checkbox is selected as the default setting. In order to view the Field List View in a separate window the Spreadsheet View needs to be open.
LeCroy Corporation Switching Views Figure 3.25: Field List View In the Column View, check the Show Field View in Column View checkbox in the Software Settings dialog under the Configuration file menu, then display Field View while the Column View is open. Spreadsheet View Spreadsheet View displays all of the Packet View fields in a time sequential spreadsheet format.
Switching Views LeCroy Corporation Right‐click the column to Add Bookmark or Edit Bookmark, Set Time Stamp Origin, go to Software Settings, choose Time Stamp Format, Change Background (or Foreground) Color, or Goto a position. You can double‐click a data frame to display the data payload view. Note: The Status column can show ABRT and UNC status.
Page 208
LeCroy Corporation Switching Views To choose frame types to include in the display, click the down arrow on the Frame button on the Histogram toolbar and check frame types: Figure 3.29: SAS: Histogram Frames Figure 3.30: SAS: Histogram Frames Hide Error Frames Frames with errors are displayed in red.
Switching Views LeCroy Corporation You can include Primitive and/or Outside Connections frames. Primitives To include Primitives, check the Primitive check box, click the down arrow on the Primitive list box, and choose a Primitive. Figure 3.32: SAS: Choosing a Primitive Figure 3.33: SATA: Choosing a Primitive...
Switching Views LeCroy Corporation Waveform Display You can enable a waveform display for all active ports, and perform timing measurements, by positioning timing cursors within the waveform display. Select View > Wave Form View or click the Show/Hide Waveform button on the View Type toolbar to enable the waveform display.
LeCroy Corporation Switching Views Figure 3.38: SATA: Timing Cursors Enabled Expanded Waveform View To see a 10x time scale expansion of the waveform, uncheck the Compact View checkbox in the Waveform View window. The OOB Sequence has speed negotiation (Hardware version 4 or later) Figure 3.39: SATA: Expanded Waveform View...
Page 213
Switching Views LeCroy Corporation Figure 3.40: Spec View The tabs allows you to display Hexadecimal or Binary. The buttons allow you to go to Previous or Next. You can Save As a text file. S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
LeCroy Corporation Switching Views Data Payload View To display the Data Payload View, double‐click a data payload field in a Packet or Spreadsheet view, or right‐click a data payload field and select Open as Data View: Figure 3.41: Data Payload View Note: When showing truncated data in the Data Payload View, the truncation points are marked with a separator placed between payloads.
Switching Views LeCroy Corporation Compare Two Data Payloads To compare two data payloads, select two different payload packets, one as reference. Right‐click a payload field in Packet View or a related frame in Text View or Spreadsheet View to display a menu, then select Set As Reference Data Payload.
LeCroy Corporation Switching Views Tile All Views Horizontally You can revert any unintended window docking or sizing, or maximize screen utilization, by using the Tile Views command. To tile all open views horizontally, select View > Tile Views or click Tile Horizontally All Views button on the main toolbar (to the right of the view buttons).
Toolbars LeCroy Corporation Toolbars Enabling Tool Bars To customize the Viewer Display workspace, you can enable and reposition the available toolbars. To display or hide toolbars, select View > Toolbar, then check or uncheck toolbars. Toolbars are: Main Viewer Cursor Position ...
LeCroy Corporation Toolbars Viewer Toolbar The Viewer toolbar allows searching, filtering, collapsing/expanding, and data reporting. The Search button opens the search dialog (see “Search” on page 238). The Filtering Setup button opens the Filter dialog (see “Filtering” on page 222) and allows you to specify the criteria for filtering the result.
Page 219
Toolbars LeCroy Corporation The SCSI Spec Assignment button displays the SCSI Spec Assignment dialog for SAS It displays the ATAPI Assignment dialog for SATA. S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
LeCroy Corporation Toolbars Go to CATC Navigation View. Click this button to change the trace display to a CATC Trace™. You can change the colors, fonts, and so on, in the Sample Viewer Configuration (see “Sample Viewer Configuration” on page 244).
Toolbars LeCroy Corporation The Zoom Out button on the Viewer Setting Toolbar scales the data display area to display more data lines on the screen. Clicking this button in Column or Text View decreases column width only. The Normal Zoom button on the Viewer Setting Toolbar resets the zoom to default normal on the screen.
LeCroy Corporation Toolbars Click the down arrow on the Show/Hide All Commands Packet button to choose command types to show/hide. The Order/Reorder button toggles the time order of packets. The Pack/Unpack Repeated Primitives toggles packing repeated primitives in one port. Layers Toolbar (SATA) The Layers toolbar shows or hides packet types.
Toolbars LeCroy Corporation Decode Toolbar The Decode Toolbar controls encoding and scrambling features. The 10B button displays the payload data as 10‐bit encoded data. The 8B button displays the payload as 8‐bit scrambled or unscrambled data, depending on the Scrambled setting. The SC button selects scramble/unscramble for the 8‐bit payload data.
LeCroy Corporation Status Bar Status Bar The Status bar is located at the bottom of the main display window. Search Status The rightmost segment displays the current search direction: Fwd (forward) or Bwd (backward). Change the search direction from the Search Menu or double‐click the Search Status segment.
Filtering LeCroy Corporation Filter Setup To display the Filter setup dialog, click the Filter button on the Viewer toolbar or select Filtering > Filtering. Figure 3.46: SAS: Filter Setup Dialog S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
Page 226
LeCroy Corporation Filtering Figure 3.47: SATA: Filter Setup Dialog You can select or deselect each of the items shown in the Filter Options window for filtering, by checking or unchecking a corresponding check box. Items not in the current sample are in shade.
Page 227
Filtering LeCroy Corporation Save Filter Setup After you have set up a Filter configuration, you can save it as an SAS Filter file (*sfl) or SATA Filter file (*.tfl) by clicking Save. You can then use it on a different capture by clicking Load in the Filter dialog.
Page 228
LeCroy Corporation Filtering Figure 3.49: Second Level of Multilevel Filtering S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Filtering LeCroy Corporation Figure 3.50: Third Level of Multilevel Filtering Filter descend packets by ascend packet You can apply a filter on a descend packet if you check the Filter descend packet if ascend packet is filtered option. If you uncheck this option, the software only filters the filtered packet.
Page 230
LeCroy Corporation Filtering Destination SAS Address Pair SAS Address Protocol Error STP Port Tag (see “Filter by Tag Number” on page 229). ATAPI SCSI Command Miscellaneous (see “Filter Miscellaneous” on page 230). Bus Condition When selected, depending on the Filter Type, the Hide/Show selection shows or hides captured Bus Conditions in the Sample Viewer.
Page 231
Filtering LeCroy Corporation Filter Check Condition Checking the SCSI Command Status check box enables Check Condition for filtering. Figure 3.51: SAS: Filter Check Condition Filter by Tag Number Checking the Tag check box displays tags available for filtering. Check the corresponding check boxes for tags to filter.
Page 232
LeCroy Corporation Filtering Filter Miscellaneous When you choose Miscellaneous, an additional dialog displays, allowing you to specify the filtering of State Range and/or External Signal In. Figure 3.53: Filter State and/or External Signals S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Filtering LeCroy Corporation Use Pair SAS Addresses You can use all available pair SAS addresses (Source ‐> Destination) instead of using SAS source and destination addresses. To enable the pair SAS address filter option, check Use Pair SAS Addresses check box in the Filter dialog.
LeCroy Corporation Filtering Bus Condition When selected, depending on the Filter Type, the Hide/Show selection shows or hides captured Bus Conditions in the Sample Viewer. Incomplete Frames When selected, depending on the Filter Type, the Hide/Show selection shows or hides Incomplete Frames in the Sample Viewer.
Using the Cursors and Bookmarks LeCroy Corporation You can quickly filter idles by clicking the Filter Idle button. This button toggles between Show and Hide items. Using the Cursors and Bookmarks Cursors The data viewer display incorporates three cursors labeled X, Y, and T. All cursors are initially overlaid and positioned at location 0, which is the trigger position of the display.
Page 236
LeCroy Corporation Using the Cursors and Bookmarks Locate Cursors To quickly locate any cursor within the data viewer display, click the Go To button and choose the cursor to locate. You can also locate a cursor by selecting Go To from the Edit menu and choosing the cursor to locate.
Page 237
Using the Cursors and Bookmarks LeCroy Corporation Figure 3.59: Bookmark S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
Page 238
LeCroy Corporation Using the Cursors and Bookmarks Click Bookmark from the fly out menu to open the Bookmark Comment Dialog. Figure 3.60: Bookmark Dialog Enter a description for the bookmark and click the Add button. Repeat for additional bookmarks. You can save the bookmark as a text file or Excel CSV file.
Page 239
Using the Cursors and Bookmarks LeCroy Corporation Finding a Bookmark To find a bookmark in the data viewer display, right‐click the mouse in the sample viewer and select Bookmark. Figure 3.61: Go To Bookmark Dialog Box Highlight the bookmark to which to go, then click the Go To button, or double‐click the selection.
LeCroy Corporation Search Set Time Stamp Origin Right‐click in the sample viewer to open the fly out menu. Figure 3.63: Bookmark Found Example in Data Viewer Display Highlight Set Time Stamp Origin and choose either Absolute, Trigger, Current Position, or Based on system time.
Page 241
Search LeCroy Corporation Figure 3.64: SAS: Search Data Pattern S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
LeCroy Corporation Search Figure 3.65: Search Parameter Definition Dialog You can continue to search the output file using Next Search (F3) or Previous Search (F4) for the same pattern, until you redefine the data capture search parameters. Save Search Setup After you have set up a Search configuration, you can save it as a SAS Search configuration file (*.ssh) or a SATA Search configuration file (*.tsh) by clicking Save.
Search LeCroy Corporation Search Logic The default setting is Or Selected Items. With this setting, clicking Find Next locates all selected items in turn. If you choose And Selected Items, you can set a logical AND combination of items to find. Both options allow setting Advanced search features.
LeCroy Corporation Search Search Sub Items When searching SCSI Command Status, you can refine the search by selecting from a list of Sub Items. Note: Some of the search categories allow you to refine the search by specifying specific SAS addresses and STP ports to search.
Page 245
Search LeCroy Corporation Search by Tag Number To search by Tag Number, check the Tags box in the Search For window and then check the Tag(s) for which to search in the Search Items window. Figure 3.68: Search by Tag Number ...
Time Stamp Origin: Absolute, Trigger, User Defined, Based on System Time Same color for start time and port Enable Packet View Condense Mode Time Stamp Format (LeCroy, Milli, Micro) Save Sample Viewer Configuration in a file Load Sample Viewer Configuration from a file ...
Page 247
Display Configuration LeCroy Corporation Figure 3.69: Sample Viewer Configuration S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
Page 248
LeCroy Corporation Display Configuration Field Settings To view a packet field, select a field from the packet field tree and check the Visible box. Uncheck it to hide the field. To change the data format of a packet field, select the field and choose a data format from the Format drop‐down list.
Page 249
Display Configuration LeCroy Corporation Field Header Setting You can use the Name or Abbreviation. To change the color of the text in a packet field header, select a field from the packet field tree and click the Foreground button. Figure 3.71: Color Choose an appropriate color and click OK.
LeCroy Corporation Set Port Alias Time Stamp Format Select LeCroy, Milliseconds, or Microseconds. Font To change display fonts, click the Font button to open the Font dialog box. Figure 3.72: Font Choose the font, font style, and size, and click OK.
SAS Address Alias (SAS only) LeCroy Corporation Assign a meaningful name to each port in use and click OK. The assigned names replace the port numbers in the sample view. If you elect to save the capture sample file, the assigned port names are saved together with the result, so that when you open the sample file later, the assigned names are retained.
Page 252
LeCroy Corporation SAS Address Alias (SAS only) Assign a meaningful name to each SAS address in use and click OK. The assigned names replace the SAS address in the sample view, Search, filter,. and Statistical report. Figure 3.75: SAS: SAS Address Alias...
Tx Vout LeCroy Corporation Tx Vout The analyzer incorporates the ability to select TX Vout for the transmitter on each port. Selecting TX Vout increases the output voltage swing above the nominal value, for test and characterization purposes. This feature is also useful to compensate for line loss when driving long cables.
LeCroy Corporation Software Settings Software Settings Software Settings allow you to define template files for new Analyzer projects, to specify how sample files appear when opened, and to set ATAPI Spec Assignment. To perform software settings in an open sample view, select Configuration > Software ...
Software Settings LeCroy Corporation Template Files Protocol Analyzer: You can use a pre‐saved analyzer and/or analyzer/emulator project file as a template. Whenever you make a new project file, the software uses the template to initialize the project file. New Protocol Analyzer Project in Advanced Mode: When you use the New menu item to create a new project file, the software switches to Advanced mode automatically.
LeCroy Corporation Software Settings Sample Viewer Tab Figure 3.78: SAS: Software Settings Dialog Sample Viewer Tab The SATA Software Settings dialog has the same options. Open Sample file In Default Workspace: The software opens a sample file in view(s) based on the specified default workspace.
Software Settings LeCroy Corporation Other Switch to CATC Navigation: Packet view will open in CATC mode. Reverse Link Data: The software shows DWORDs of link data as reversed. Pack Repeated Primitives: The software packs repeated primitives just after opening a sample file. Cancel button kills upload immediately: The software kills the uploading process if you press Cancel.
LeCroy Corporation Software Settings Color Setting Based on Cell Type: Each column has its own color. Based on Port No.: Data of each row are shown based on the specified color for its port. You can set the color of ports in the Viewer settings. Based on Read/Write Command Type: You can specify a color for Read commands, another color for Write commands, and other color for other commands.
Software Settings LeCroy Corporation Column View Tab Figure 3.80: SAS: Software Settings Dialog Column View Tab The SATA Software Settings dialog has the same options. Other Display pre‐filtered cells as blank in column view: The software shows pre‐filtered data (already filtered in the capture project), as blank cells. Otherwise, it will show them as “pre‐filtered”...
LeCroy Corporation Software Settings Field List View Tab Figure 3.81: SAS: Software Settings Dialog Field List View Tab The SATA Software Settings dialog has the same options. For additonal informtaion on Field List View, refer to “Field List View” on page 202.
Sampling Memory Usage Optimization LeCroy Corporation Show Field List in Column View: The software embeds the Field List in the column. Otherwise, the Field List is not in Column View. Sampling Memory Usage Optimization The Software Settings dialog has a Sampling Memory Usage Optimization option. This Memory Assignment (MA) feature optimizes sampling memory utilization.
LeCroy Corporation Sampling Memory Usage Optimization Note: Checking this option does not affect the sample. It only allows larger sample sizes. Note: If traffic is balanced on ports, sample size is the same whether you check or uncheck the Sampling Memory Usage Optimization option.
Floating License LeCroy Corporation Floating License Note: License Manager is only available when in Cascading mode. For example, if one unit is licensed only for JJ and a second unit is licensed only for AA, cascading the two units and using the License Manager allows each unit to do JA.
LeCroy Corporation External Trig Setting External Trig Setting The External Trig Setting dialog displays the External Trig Out Setting and External Trig In Setting as High Active, Low Active, or Toggle. Figure 3.83: External Trigger Setting Dialog To display the External Trig Setting dialog, select Configuration > External Trig Setting.
Update STX Board Interface LeCroy Corporation Update STX Board Interface The Update STX Board Interface dialog allows you to update the STX Board Interface. Update Sierra Device The Update Sierra Device command allows you to update a Sierra M6‐2 Analyzer or CATC‐...
Page 266
LeCroy Corporation Update Sierra Device 2. Click the checkbox to the left of a device with BAD status, then click Update Selected to begin the process that will make the Analyzer version correct. Figure 3.85: Device Setup Dialog Beginning to Update Status of a Device After the update, the device must restart.
USB IP Setup LeCroy Corporation USB IP Setup If you are connected to a device using USB, you can use IP_SETUP to change the IP settings: DHCP automatically assigns an IP address. DHCP is the default. Static IP prompts you to enter a specific IP address....
Page 268
LeCroy Corporation USB IP Setup Figure 3.89: IP Setup Dialog 2. To change to Static IP, click the Static IP radio button. Enter the Static IP Address. Enter the Subnet Mask. Click Update. The system displays a warning message. Check your entries carefully. If you do not enter correct data, the program will terminate.
User‐Defined Decoding LeCroy Corporation Figure 3.91: SAS IP Setup Success Message After you see the Warning Message, click Yes After you see the Success Message, click OK. Note: You can also click Reset. User-Defined Decoding User‐defined decoding allows you to create a definition file to interpret commands and frames that are not in the standard set recognized by the software.
A current license agreement with LeCroy entitles the Analyzer owner to continued technical support and access to software updates as they are published on the LeCroy website. When you obtain a license key, from the Help menu select Update License to display the Select License Key File dialog box.
Help Menu LeCroy Corporation Display License Information Open a license information dialog to display a list of named features supported by the current software version. Named features that are not enabled on your system are indicated by No in the Purchased column. Whether or not named features are enabled depends on the license key stored in your analyzer.
LeCroy Corporation Statistical Report Statistical Report Whenever a captured sample is in the Sample Viewer, a Statistical Report selection in the Report menu and a Statistical Report Button on the viewer toolbar are enabled. You can create a Statistical Report for the entire capture or select a portion of it.
Statistical Report Content LeCroy Corporation Statistical Report Content SAS: A complete SAS statistical report consists of the following reports, accessed by clicking the corresponding tab in the dialog: General Bus Condition Primitive SSP Transport SMP Transport ...
LeCroy Corporation Statistical Report Content General Report To display the General Report, click the General tab. The General Report displays the report data in columns with the following information: Type: All, Custom, Bus Condition, FIS, Identify Address Frame, Open Address Frame, SMP Frame, SSP Frame, STP Frame Direction: All, H‐>D, D‐>H, I‐>T, T‐>I, or Custom...
Statistical Report Content LeCroy Corporation Bus Condition Report To display the Bus Condition Report, click the Bus Condition tab. The Bus Condition Report displays information in the following columns. Bus Condition: All, Custom, Activity On, COMININT/COMRESET, COMSAS, COM‐ WAKE, Keep Alive Activity Direction: All, H‐>D, D‐>H, I‐>T, T‐>I, or Custom...
LeCroy Corporation Statistical Report Content %: of total count Figure 3.102: SATA: ATA Command Report Time out of ATA Command Report The Time out shows the NCQ time out. It is applicable for only NCQ commands. A threshold can be set in the "NCQ commands Timeout Threshold", the default value is 1000 sec (the user can change it to any value).
Statistical Report Content LeCroy Corporation Protocol Error Report To display the Protocol Error Report, click the Protocol Error tab.The Protocol Error Report displays the report data in columns with the following information: Protocol Error: All, Custom, Code Violation, CRC Error, Disparity Error, Align‐...
LeCroy Corporation Statistical Report Content SSP Transport Report (SAS) To display the SSP Transport Report, click the SSP Transport tab. The SSP Transport Report displays the report data in columns with the following information: Type: All, Custom, Command, Data, Response, XFER_RDY ...
Page 279
Statistical Report Content LeCroy Corporation %: of total count Figure 3.108: SAS: STP Transport Report S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
LeCroy Corporation Statistical Report Content SCSI Command Report (SAS) To display the SCSI Command Report, click the SCSI Command tab. The SCSI Command Report displays the report data in columns with the following information: Command: All, Custom, Inquiry, Mode Sense6, Pause Resume, Play Audio 10, ...
Statistical Report Content LeCroy Corporation Task Command Report (SAS) To display the Task Command Report, click the TASK Command tab. The Task Command Report displays the report data in columns with the following information: Function Status Direction: All, I‐>T, T‐>I, or Custom ...
LeCroy Corporation Statistical Report Content Lanes Report (SAS) To display the Lanes Report, click the Lanes tab. The Lanes Report displays the report data in columns with the following information: Port Open Accept: All, Custom, or a number Open Reject: All, Custom, or a number ...
Statistical Report Content LeCroy Corporation Performance Report (SAS) To display the Performance Report, click the Performance tab.The Performance Report displays the report data in columns with the following information: Minimum Completion Time Average Completion Time Maximum Completion Time ...
LeCroy Corporation Statistical Report Content Performance Report (SATA) To display the Performance Report, click the Performance tab. The Performance Report displays information in the following columns: Minimum Completion Time Average Completion Time Maximum Completion Time Host Bus Utilization ...
Statistical Report Content LeCroy Corporation FIS Report (SATA) To display the FIS Report, click the FIS tab. The FIS Report displays information in the following columns: FIS Type: All, Custom, Data, PIO Setup, Register Host To Device, Register Device To Host PM Port ...
LeCroy Corporation Statistical Report Content PM Statistic Report (SATA) To display the PM Statistic Report, click the PM Statistic tab. The PM Statistic Report displays information in the following columns: Request Type: PMREQ_P Request Port Response Type: All, Custom, PMACK ...
Statistical Report Content LeCroy Corporation Read Write Command Report (SATA) To display the Read/Write Command Report, click the Read/Write Command tab. You can enable or disable creation of this page under Software Settings (see page 252). The Read/ Write Command Report displays information in the following columns: Time Stamp ...
LeCroy Corporation Statistical Report Toolbar Statistical Report Toolbar The Statistical Report toolbar provides the following functions accessible by buttons on the toolbar: Export to Excel Save as Text Print Report Print Preview Report Display Settings ...
Statistical Report Toolbar LeCroy Corporation Print Preview The Print Preview button displays a preview of the report to print. Figure 3.122: Sample Print Preview of Report S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
LeCroy Corporation Statistical Report Toolbar Report Display Settings The Setting button opens the Setting dialog. You can set up the report columns for display to suit a particular analysis need, eliminating the need to show/hide columns individually. Use the Setting dialog to configure the display for each page.
Statistical Report Toolbar LeCroy Corporation Link With Sample View When you select a type on any page of the Statistical Report, a set of navigation buttons allows you to examine each instance of that type in the Sample Viewer. The Jump to Previous button goes to the previous instance of the selected type in the Sample Viewer.
LeCroy Corporation Formatting the Statistical Report View Formatting the Statistical Report View Initially the Statistical Report View contains all of the information in columns, but you can customize the display by: Filtering columns by item Sorting items by column ...
Page 293
Formatting the Statistical Report View LeCroy Corporation Figure 3.127: SATA: FIS Type Choosing Custom allows you to specify more than one item for display. Figure 3.128: SATA: Custom Filter Check the items to display and click OK. ...
LeCroy Corporation Formatting the Statistical Report View Sorting Column Content To sort column content, click the heading for that column. Repeated clicking of the column heading sorts the column in ascending or descending order. Figure 3.129: Toggling Type Sort Order Hiding Columns To hide a column, right‐click in the column and choose Hide.
Data Report LeCroy Corporation Data Report When a captured sample is in the Sample Viewer, the Data Report button is on the Viewer toolbar, and Data Report is in the Report menu. The data report displays all the data sent from the host to the device and from the device to the host.
LeCroy Corporation Tools Click the Statistics button at the end of a row to display data report statistics. Figure 3.132: SAS: Data Report Statistics Tools The Tools are Self Test and Find Device. SATA adds Compliance Test. Self Test You can use the built‐in RAM self‐test utility. Select Tools on the main menu bar and choose Self Test to open the Self Test dialog.
Tools LeCroy Corporation Clock Check To perform a Clock check, choose the clock to test and click the Start Clock Check button. After a short time, the Test Result appears to the right of the selected line. Figure 3.134: SATA: Self Test Dialog Clock Tab Test Result: OK or Error If a test is OK and you specified one run, the Test Result is OK: 1 times.
LeCroy Corporation Tools Number of Runs Each Test You can specify to run a test more than once. Run All Tests Sequentially This option runs all items in the Clock, Memory, Serdes, Crosspoint, Main FPGA, Expansion, and LED/Buzzer tests in order. After you check this check box, the command button becomes Start All Tests.
Tools LeCroy Corporation Serdes Check To perform an FPGA 1 or 2 Serdes Chip check, select the Serdes tab. Figure 3.136: SATA: Self Test Dialog Serdes Tab Choose the n FPGA 1 or 2 Serdes Chip to test and click the Start Serdes Check button.
LeCroy Corporation Tools Crosspoint Check To perform a Crosspoint‐Crosspoint bus test or Crosspoint external loop back, select the Crosspoint tab. Figure 3.137: SATA: Self Test Dialog Crosspoint Tab Choose the Crosspoint Interconnection Pair or External loop back to test and click the Start Crosspoint Check button.
Tools LeCroy Corporation Main FPGA Check (SATA only) To perform an Inter‐FPGA Connection check, select the Main FPGA tab. Figure 3.138: Self Test Dialog Main FPGA Tab Choose the Inter‐FPGA Connection test and click the Start Main FPGA Check button. After a short time, the Test Result appears to the right of the selected line.
LeCroy Corporation Tools Expansion Check To perform a Expansion Card Data Status or Clock Status check, select the Expansion tab. Figure 3.139: Self Test Dialog Expansion Tab Choose the Expansion Card Data Status or Clock Status to test and click the Start Expansion Check button.
Tools LeCroy Corporation LED/Buzzer Check To perform a LED or Buzzer check, select the LED/Buzzer tab. Figure 3.140: Self Test Dialog LED/Buzzer Tab Check LED Test or Buzzer Test and click the Start LED/Buzzer Check button. For the LED, you should see the LED pattern. For the buzzer, you should hear it sound. You must click the Stop Test button to stop the check.
LeCroy Corporation Tools Find Device Saving device information allows you to import the specific device information into the Target/Device emulator. The Find Device utility obtains all vendor‐specific information and detailed device parameters. Find device finds any devices that are attached to any port.
The Compliance Test consists of a set of selectable tests to verify compliance with the SATA specification. SATA compliance is at UTD Rev 1.4. The tests follow the LeCroy MOI, which is described in the Note: SATA_Digital‐Device_MOI_LeCroy_1.00_UTD1.4.pdf file in the installed Documents directory.
Page 306
LeCroy Corporation Tools To run a Compliance Test: 1. Select Tools on the main toolbar and choose Compliance Test to open the Compliance Test dialog. Figure 3.144: SATA: Compliance Test Selection The Digital Test Group has: General Device Requirements: GTR‐01 through GTR‐05 Native Command Queuing: NCQ‐01 through NCQ‐05 ...
Page 307
11. Enter a path and file name for the Compliance Report file, or use the default file name and path: C:\Program Files\LeCroy\SATA Protocol Suite\User\Compliance_Device1.rtf 12. Enter a path and file name for the Saved Traces, or use the default folder: C:\Program Files\LeCroy\SATA Protocol Suite\User\ 13.
LeCroy Corporation Tools Using the Power Expansion Card You can use the Power Expansion Card for the SATA Compliance Test. See “Using the Power Expansion Card” on page SAS Verification (SAS) SAS Verification consists of a set of selectable tests to verify compliance with the SAS specification.
7. To save the failed test traces only, check the Save only failed test traces check box. 8. Enter a path and file name for Report file, or use the default file name and path: c:\program files\lecroy\sas protocol suite\User\SASVerification_Device1.rtf 9. Enter a path and file name for Saved Traces, or use the default folder: ...
LeCroy Corporation Running Verification Script Engine (VSE) Running Verification Script Engine (VSE) You can perform custom post‐process analysis of the open trace by running a verification script over the trace. A verification script instructs the application to send trace and analysis information to the script.
Page 311
Running Verification Script Engine (VSE) LeCroy Corporation 2. After choosing Settings from the drop‐down list or the button, the Settings dialog appears: Figure 3.147: Run Verification Scripts - Settings Dialog Choose the editor application: Notepad or other. Edit all selected scripts in one process: If the editor supports multiple documents, you can edit all scripts in the editor.
Page 312
LeCroy Corporation Running Verification Script Engine (VSE) 3. Click the Run scripts button after you select scripts to run. VSE starts running the selected verification scripts, shows script report information in the output windows, and presents the results of verifications in the script list: Figure 3.148: Run Verification Scripts Dialog...
Page 313
Running Verification Script Engine (VSE) LeCroy Corporation Run verification script(s): Start running selected script(s). Edit script: Edit selected scripts in the editor application specified in Editor settings. New script: Create a new script file using the template specified in Editor settings. Show Grid: Show/hide a grid in the verification script list.
Page 314
LeCroy Corporation Running Verification Script Engine (VSE) S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Chapter 4 InFusion Overview The LeCroy InFusion™ Error Injector and Traffic Modifier is an error injector and traffic modification tool that allows you to verify real‐world fault handling for Serial Attached SCSI (SAS) and Serial ATA (SATA) systems. InFusion can sit unobtrusively in the data path on a live system to programmatically alter or corrupt traffic.
LeCroy Corporation Key Features InFusion supports SAS SSP, SMP, STP, and SATA‐based protocols operating across a single SAS or SATA link up to 6 G. InFusion monitors traffic from both directions in real‐time and relies on predefined rules to replace any bit, primitive, or parameter with one you specify.
Interface LeCroy Corporation InFusion consists of a hardware device that connects to the line under test and a Windows‐based software application used to create and download test scripts to the device. You also can use the software application to configure and control the device across an Ethernet link.
LeCroy Corporation Interface Stop Batch Script: Stops a running scenario batch file. Rec Analyzer: Starts recording on the current analyzer, using the current project. Stop: Stops recording on the current analyzer. Abort: Aborts recording. Menus The InFusion interface has the following menus: File (see command descriptions in the “Buttons” section above) New Scenario, Open Scenario (Device Library or Main Library) ...
Interface LeCroy Corporation Main Library You can Show Main Library. Figure 4.2: Main Library The Main Library has Scenarios. Using the buttons from left to right, you can: Create a new scenario and save a scenario. Save a library and save a copy of a library.
LeCroy Corporation Interface Device Library You can display the Device Library. Figure 4.3: Device Library A Device Library has Scenarios currently available in the device. Using the buttons from left to right, you can: Download a selected scenario. Download all scenarios.
Interface LeCroy Corporation Device Ports If a device is connected, the software displays the Device Ports. Figure 4.4: Device Ports Using the first row of icons, you can Run/Stop All Ports or Run/Stop individual ports. The columns display the Port, Function/Configuration, Library, and Scenario....
LeCroy Corporation Port Configuration for InFusion After you have assigned scenarios to ports, in the first row of icons, use the first green arrow icon to Run/Stop All Ports, or use the numbered green arrows to Run/Stop an individual port. Note: A port row is grayed‐out when that port is running a scenario.
Page 323
Port Configuration for InFusion LeCroy Corporation Important Information for Jammer and Analyzer Jammer intercepts and delays traffic on both directions simultaneously, so Host sends to Jammer, Jammer delays and sends to Host, Device sends to Jammer, Jammer delays and sends to Device. However, Jammer modifies traffic in one direction only: from Host to Device, or from Device to Host.
Page 324
LeCroy Corporation Port Configuration for InFusion JA (Host Side): Analyzer captures Host to Jammer and Jammer to Host. Analyzer is before and after Jammer on Host side. See Figure 4.8. Figure 4.8: Jammer and Analyzer Host Side JA (Device Side): Analyzer captures Jammer to Device and Device to Jammer.
InFusion Scenarios LeCroy Corporation InFusion Scenarios You can create and execute InFusion scenarios. A scenario is a test script that defines how InFusion monitors and modifies line traffic. Scenarios Overview You create scenarios on a PC running the InFusion application. You then assign the scenarios for execution to a desired port on an InFusion device.
LeCroy Corporation InFusion Scenarios InFusion Scenario Parameters Timers Timers allowed per state/sequence/scenario: 2 timers per state and 6 timers per scenario are allowed. Events Events allowed to be used per state/sequence/scenario: For combined events, there is virtually no limit per state/sequence/scenario.
InFusion Scenarios LeCroy Corporation on the 20th payload of a Data FIS, you can change/capture the 12th dword onwards. 11th payload dword and preceding dwords are not accessible for change/capture) You can not change a state based on back‐to‐back events. At 6G speed,there should be at least one dword between the triggering event of two consecutive states.
LeCroy Corporation InFusion Scenarios After you enter the event or combined event, the interface prompts you for actions. An action might be, for example, injecting a particular primitive or error into the traffic stream. You can enter multiple actions, which take place simultaneously.
Scenario Libraries LeCroy Corporation Scenario Libraries You can create any number of scenarios, which you then can archive on your PC hard drive. You also can download up to ten scenarios to each InFusion device for test execution. You can think of the libraries as windows that hold scenarios.
LeCroy Corporation Scenario Libraries By selecting the TestCasesForSATA.infbd file, you get an additional library window with predefined SATA test cases, similar to the following: Figure 4.13: Test Cases for SATA Library Device Libraries In addition to general libraries, the application defines device libraries. Each device library is associated with a specific InFusion device.
Scenario Properties LeCroy Corporation Scenario Properties To begin the scenario creation process, you click the New Scenario button in a library window or on the InFusion application toolbar. As the first step in creating a scenario, the application prompts you for scenario name, a short description (optional), and the direction of traffic to which any traffic changes apply.
LeCroy Corporation Scenario Properties When you click the Scenario Name or the Direction For Traffic Changes, the Scenario Properties dialog box appears, allowing you to enter the scenario name, a short description, and direction of traffic change. Figure 4.15: Scenario Properties Dialog Box In the Scenario Properties screen, the direction for traffic modification is defined on a global basis for the entire scenario.
Page 333
Scenario Properties LeCroy Corporation SATA Scenario Properties have a Smart Hold option, which is on by default. Each port monitors incoming data, which originated with the other device’s receiver, as close as possible to where it enters the bus engine. If a port detects a HOLD primitive during a SATA frame, the port stops reading data from the FIFO and generates HOLDA.
LeCroy Corporation Scenario Events Scenario Events A scenario is a script you create using simple mouse clicks and text entries. As you work, the script takes shape in the scenario area of the application display. You can think of the...
Page 335
Scenario Events LeCroy Corporation While many events are line conditions, an event also can be a condition that occurs within a InFusion device (for example, detection of a trigger signal from another device). The following table lists supported events. Note that some events are applicable only in the context of creating sequences (those events appear on the drop‐down list only if you...
LeCroy Corporation Scenario Events DWORD Matcher DWORD Matcher is a DWORD pattern matcher that presents match and mask fields and a K‐Code Mask field. K‐Codes are control characters that are always used in the first byte of a four‐byte primitive. Of the K‐Code masks listed in the menu, D‐D‐D‐D is used for data bytes, and K‐D‐D‐D is used for all primitives.
Scenario Actions LeCroy Corporation SOF Type: SATA_SOF Scenario Actions After you enter the set of events for a test state, the menu‐driven interface prompts you for the corresponding action or set of actions. If you define multiple actions, the actions occur simultaneously.
Page 338
LeCroy Corporation Scenario Actions TABLE 4.3: Test State Actions Action Description Emits audible sound of duration selectable via drop‐ Beep down list. Branch to Existing State Go to a state in this sequence that is already defined. Go to a state in this sequence that is not yet defined New State (you need to define it).
Scenario Actions LeCroy Corporation Action Description Trigger Output Sends a signal out the trigger port to the device downstream. Only shown in Action Properties dialog box when creating a sequence. Using Counters in Events and Actions Many of the events and actions supported by InFusion also support counters that can control functions.
LeCroy Corporation Scenario Actions Capturing a Data DWORD InFusion provides the ability to capture individual data DWORDs and provides four different registers to store captured DWORDs (DWORD #0, #1, #2 and #3). To capture a data dword, select Capture Data DWORD from the Action Properties screen, as shown below.
Page 341
Scenario Actions LeCroy Corporation Figure 4.20: Using a Captured DWORD in a SAS Data Pattern Captured data DWORDs may also be used in the Substitute Data DWORD test state action. From the Action Properties screen, choose Substitute Data DWORD and then select the Substitute for property. A drop‐down menu is provided (see below) that allows the choice of a custom DWORD or any of the four captured DWORD registers.
LeCroy Corporation Scenario Actions Figure 4.21: Using a Captured Data DWORD in Substitute DWORD Test Action Summary of Scenario Creation The suggested process of creating and executing a scenario is as follows: 1. Create a scenario in the main library.
Creating Global Rules LeCroy Corporation Creating Global Rules This section gives examples for creating the Global Rules area of a scenario. Recall that the Global Rules area defines a single test state. The Global Rules do not have the capacity for multiple states, so that area of a scenario cannot change state.
LeCroy Corporation Creating Global Rules Example 1: Creating a Single Event and Action that Removes a Primitive In this example, the Global Rules area of the scenario waits for each RRDY Normal primitive from the initiator and removes it. 1. Click the New Scenario button in the main library or one of the device libraries.
Page 345
Creating Global Rules LeCroy Corporation Figure 4.23: Example 1: Event Drop-Down List 8. Click OK to close the Event Properties dialog box. 9. In the Global Rules area, click the prompt to add an action. S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
Page 346
LeCroy Corporation Creating Global Rules Figure 4.24: Example 1: Entering an Action The Action Properties dialog box appears (see Figure 4.18 on page 335). 10. In the Type column on the left, choose the action that you want to occur when an RRDY is detected.
Creating Global Rules LeCroy Corporation Example 2: Wait for a Primitive and Replace It with an Error In this example, the Global Rules portion of the scenario waits for each RRDY Normal primitive and replaces it with an ERROR primitive.
LeCroy Corporation Creating Global Rules Example 3: Creating OR Conditions In this example, the Global Rules area of the scenario waits for either of two types of RRDY primitive and replaces them with an ERROR primitive. This example includes a combined event (a logical OR association of two or more single events).
Page 349
Creating Global Rules LeCroy Corporation The Event Properties dialog box appears. 5. Choose RRDY (Reserved 0) as the second primitive that you want to monitor. 6. Click OK to close the Event Properties dialog box. 7. In the Global Rules area, click the prompt to add an action to display the Action Properties dialog box.
LeCroy Corporation Creating Global Rules Example 4: Multiple Triggers and Actions In this example, the Global Rules area of the scenario waits for two events, each of which triggers a different action. 1. Click the New Scenario button in the main library or one of the device libraries. In the Scenario Properties dialog, enter the scenario name, description, and direction of traffic change.
Page 351
Creating Global Rules LeCroy Corporation Figure 4.30: Example 4: Entering Second Action The Action Properties dialog box appears. 7. Use it to choose Inject RD Error as the action triggered by RRDY (Reserved 0). 8. Click OK to close the Action Properties dialog box.
LeCroy Corporation Creating Global Rules Example 5: Multiple Actions on a Single Event In this example, an event triggers a set of actions. The actions occur at the same time. The device waits for an ACK from the initiator. When it occurs, the device beeps, injects an RD error, and increments a counter monitoring for that event (ACK from initiator).
Page 353
Creating Global Rules LeCroy Corporation Figure 4.33: Example 5: Complete Scenario 8. In the File menu, select Save Scenario to save the scenario. This example sets the counter to increment at each occurrence of an ACK (every 1 ACK). ...
LeCroy Corporation Creating Global Rules Example 6: Using Timers In this example, the Global Rules portion of the scenario waits for an ACK primitive from the initiator. Each time the device detects an ACK, it injects an RD Error into the traffic stream.
Page 355
Creating Global Rules LeCroy Corporation Figure 4.35: Example 6: Entering Second Action The Action Properties dialog box appears. 7. In the Type list on the left, choose Stop Scenario as the action that you want after the timer has expired. 8. Click OK to close the Action Properties dialog box.
LeCroy Corporation Creating a Sequence Creating a Sequence This section gives several examples for creating sequences. Recall that a sequence can have multiple states, but only one state is active at any time. In other words, at any point in time, a sequence “waits” for one event (or combined event) and responds with the corresponding action or set of actions when the event occurs.
Creating a Sequence LeCroy Corporation The following table summarizes the examples that follow. TABLE 4.6: Sequence Examples Example Description Creating two sequences and Global Rules: This scenario has two objectives that you implement with Global Rules and two sequences. 1) You use Global Rules to replace any of three types of primitives. 2) You use two sequences to detect the order in which a type of frame is received from initiator and target.
Page 358
LeCroy Corporation Creating a Sequence 1. Click the New Scenario button in the main library or one of the device libraries. In the Scenario Properties dialog, enter the scenario name, description, and direction of traffic change. 2. As in previous examples, create the Global Rules area.
Page 359
Creating a Sequence LeCroy Corporation Figure 4.38: Example 7: Adding an Event for the First State The Event Properties dialog box appears. 1. In the Event Properties dialog box, select Address Frame as the event. 2. Click OK to close the Event Properties dialog box.
Page 360
LeCroy Corporation Creating a Sequence The Action Properties dialog box appears 1. For the action, select Branch to > New State. 2. Click the OK button to close the Action Properties dialog box. 3. This saves the action and automatically creates an area for State 1 in the scenario.
Page 361
Creating a Sequence LeCroy Corporation Figure 4.40: Example 7: Adding a Second Sequence 4. Create two states in the second sequence with the characteristics shown in the following table. TABLE 4.9: Example 7: States for Second Sequence State Event Action...
Page 362
LeCroy Corporation Creating a Sequence 5. In the File menu, select Save Scenario to save the scenario. Figure 4.41: Example 7: Sequence Area of Scenario S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Example 8: Creating a Sequence With Many States #1 LeCroy Corporation Example 8: Creating a Sequence With Many States #1 In this example, a five‐state sequence detects if a group of primitives is received out‐of‐order from the initiator. The expected order is: Align (0), Align (1), Align (2), Align (3).
Page 364
LeCroy Corporation Example 8: Creating a Sequence With Many States #1 3. In the File menu, select Save Scenario to save the scenario. Figure 4.42: Example 8: Top Half of Scenario S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Page 365
Example 8: Creating a Sequence With Many States #1 LeCroy Corporation Figure 4.43: Example 8: Bottom Half of Scenario S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
LeCroy Corporation Example 9: Creating a Sequence With Many States #2 Example 9: Creating a Sequence With Many States #2 In this example, a five‐state sequence not only detects if a group of primitives is received out‐of‐order, but it fixes any incorrect order. The logic is similar to that of example 8 with a few small changes.
Page 367
Example 9: Creating a Sequence With Many States #2 LeCroy Corporation 3. In the File menu, select Save Scenario to save the scenario. Figure 4.44: Example 9: Top Half of Scenario S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
Page 368
LeCroy Corporation Example 9: Creating a Sequence With Many States #2 Figure 4.45: Example 9: Bottom Half of Scenario S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Downloading Scenarios LeCroy Corporation Downloading Scenarios After you have created a scenario, you need to download it to the InFusion device for execution. If you use a general library as a scenario archive, then the process of creating and downloading a scenario is as follows: 1.
LeCroy Corporation Scenario Batch Files Script Workspace In the Script Workspace, add a command and make a batch file. In this window, you can enter a script command by clicking Click here to add script command. S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Page 371
Scenario Batch Files LeCroy Corporation 1. First, click Click here to add script command to open the Command Properties dialog. The Command Parameters Dialog contains the list of available commands and their parameters from which to build scenarios and connected hardware and available ports. 2. Select appropriate parameters for the command and click OK to display the script in the Script Workspace.
Page 372
LeCroy Corporation Scenario Batch Files 3. To add another command, click Click here to add another script command. To copy a script command, right‐click on the command and select Copy. Right‐click Click here to add another script command and then select Paste. You can also cut, delete, and edit a selected script command.
Scenario Batch Files LeCroy Corporation Error Checking The Script Workspace shows errors by red color. The program reports all errors in the log file. If you use a script from other InFusion hardware, it may cause an error, for example, mismatch in hardware Mac addresses, or scenarios that are not already in current hardware.
LeCroy Corporation Scenario Batch Files After filling parameters from the Command Parameters Dialog, the program makes the IF‐ELSE structure in the Script workspace. The ELSE statement is optional. To add an ELSE body, click Click here to add else body. Goto Label Goes to specified label. Labels can be assigned to each script line.
Scenario Batch Files LeCroy Corporation Runs the scenario on hardware on specified ports. If you call this command for the first time and the scenario was not assigned to the hardware and ports before, the scenario is assigned to specified hardware and ports and then scenario runs on the hardware.
LeCroy Corporation Scenario Batch Files Example Run (ox841200," Substitute address frame", 4) Beep(800, 400) Run (ox841200," CRC Inject _ Play CD", 8) WaitForStop(0x63463, 1, 150) Run (ox841200," Remove Send Cue Sheet", 2) Goto Label6 Run (S/N: 12871, Port 1, DISCOVER) Note: If the selected ports are busy, scenario cannot run, and the command will be skipped.
Scenario Batch Files LeCroy Corporation WaitForStop Used to wait for occurrence of specified condition. Format WaitForStop(SerialNumber, Target Port, Duration) Parameters Serial Number: Serial number of hardware Target Port: Port number in port map Duration: Integer or random duration in milliseconds. In the Command Parame‐...
LeCroy Corporation Scenario Batch Files Sleep Used to sleep for a few seconds. Format Sleep(Duration) Parameters Duration: Integer or random duration in milliseconds Example Sleep(100) Beep If specified condition is satisfied, the system beep for specified duration. Format Beep (Duration, Frequency)
Chapter 5 Sierra Trainer Traffic Generation The Sierra Trainer is a traffic generator that can emulate a SAS initiator/target or SATA host/device. Traffic generation enables engineers to test designs under realistic conditions and to transmit known errors, allowing engineers to observe how devices handle faulty link conditions.
LeCroy Corporation Sierra Trainer Menus Sierra Trainer Menus The Sierra Trainer menus are: File Menu New GenFile: Starts a new Generation File. Open: Opens a file. Close: Closes the current window. Save As: Saves the current file with a new name. Print: Prints part or all of the current traffic data file.
Sierra Trainer Menus LeCroy Corporation Setup Menu Update Sierra Device: See “Update Sierra Device” on page 263. Port Configuration: You can select different combinations of Trainer with Analyzer and Jammer. When running two different applications on the ports, you must set the same port configuration in both of them.
LeCroy Corporation Sierra Trainer Menus Generate Menu Start Generation: Causes the Generator to begin generation. Stop Generation: Causes the Generator to stop generation. Resume Generation: Causes the Generator to resume generation after a stop. Connect Link: Automatically bring the linkup to the Host, Device, Initiator, or Target connected to the Generator. Disconnect Link: Disconnect link.
Page 383
Sierra Trainer Menus LeCroy Corporation Go to: Packet Types, SSP Frames, SMP Frames, Primitives, Errors, Data Lengths, Speed, SATA FIS Type, SATA FIS Port, or Hash Address (Source or Destination). Find: Displays the Find dialog. See “Find” on page 447. Find Next: Applies the previous Find parameters to the next search.
LeCroy Corporation Sierra Trainer Menus View Menu Show Analyzer Frame: Go to Analyzer window. Show InFusion Frame: Go to InFusion window. Toolbars: Displays list of available toolbars: Standard, Frequently Used, Generator, Analyzer, Ports, or Customize. See “Resetting the Toolbar” on page 458. Status Bar: Toggles the Sierra Trainer Status Bar, at the bottom of the window, which shows help messages and the search direction.
Help Topics: Displays online help. You can also select F1. Check for Updates: Check whether a new software version is available. If so, you can download from the LeCroy web site. You can select to Check for updates at application startup. About: Displays version information.
LeCroy Corporation Setting Up for Generating Initiator Traffic Setup Generation Options. Opens Start Analyzer without switching to the Generation Options window. Analyzer frame. Stop Analyzer without switching to Analyzer frame. Show InFusion Frame. Abort Analyzer without switching to Analyzer frame.
Creating a Traffic Generation File LeCroy Corporation Creating a New Generator File You can create a new Sierra Trainer Traffic Generator .ssg file. To create an .ssg file: 1. In the Sierra Trainer window, select File > New GenFile to display the Global Settings of a new .ssg file in a trace view.
LeCroy Corporation Creating a Traffic Generation File Editing an Example Generation File The easiest way to generate traffic is to start with one of the example generation files and edit the settings to see how the script file behaves. As you make and save changes, the trace view of the generation file is automatically updated.
Opening a Traffic Generation File LeCroy Corporation Converting an SATrainer Traffic Generation File If you have old 2500‐based SATrainer Generator .stg files, you can convert them to Sierra Trainer Traffic Generator .ssg files using the legacy Convert function. To convert an .stg file into an .ssg file: 1.
The include statements provide links to the Include files, which provide the definitions for primitives, frames, and settings that hold for most or all of the generation session (global settings). The definitions for SAS and SATA traffic are contained in LeCroy‐provided Include files: Settings.inc, PrimitivesDecl.inc, AddressFramesDecl.inc, SSPFrames.inc, SMPFrames.inc, and SSPFrames.inc.
Overview of Generation and Global Settings Files LeCroy Corporation Settings.inc File The Settings.inc file contains global statements about the link, the type of device being emulated, and other conditions that are to exist throughout part or all of the traffic generation.
LeCroy Corporation Overview of Generation and Global Settings Files When editing global settings, keep in mind the following rule: The last line encountered before the generation block takes precedence. Thus, if the following two lines about the device emulation were added just above the generation block, the second would take...
Overview of Generation and Global Settings Files LeCroy Corporation Placing Global Settings in the Generation Block Some global settings such as AutoAlign = On/Off can be set and reset in the generation block. For example, you might want to set SASAutoAlign = ON prior to traffic generation, and then change to OFF halfway through the generation session.
LeCroy Corporation Primitive and Frame Definitions These commands should be configured either in the Setting.inc file or at the beginning of the traffic generation file as a global statement. Primitive and Frame Definitions Five other Include files are provided that define the most of the known templates for Primitives and Frames.
Primitive and Frame Definitions LeCroy Corporation If the generation file was created through the Export command (File > Export > To Generator File Format ...), the CRC is calculated but commented out. If the source trace has a bad CRC, the CRC is exported into the generation file and is not commented out.
LeCroy Corporation Starting the Script Editor Starting the Script Editor To edit an .ssg file, use the Script Editor. The Script Edit editing tool displays the .ssg file and its supporting Include files. The Script Editor utility has several aids to simplify the process of writing and editing scripts: tool‐tips, drop‐down menus, and colored fields.
Starting the Script Editor LeCroy Corporation Script Editor Toolbar The Script Editor toolbar contains buttons for saving your edits, navigating, searching, and other functions. Figure 5.13: Script Editor Toolbar The buttons have the following functions: Save. Saves your edits and Add/Remove bookmark.
LeCroy Corporation Starting the Script Editor View Options Menu The View Options button displays a menu with the following options: Enable Outlining: Adds an expandable/collapsible tree structure to the left side of the Script Editor showing the hierarchical relationships of the script lines.
Multi‐Port Trainer Script Assignments to Links LeCroy Corporation Error Log Whenever you create a scripting error, a log opens at the bottom of the application window. When the error is corrected, the window automatically closes. Figure 5.15: Log Tooltips The Script Editor window includes extensive tooltips for each keyword. To see a tooltip, hold the mouse pointer over a keyword.
Page 400
LeCroy Corporation Multi‐Port Trainer Script Assignments to Links After you select port configuration, the Trainer toolbar changes to display the Generation buttons Start All Generation, Stop All Generation, Resume All Generation, Connect All Link, and Disconnect All Link. Use these buttons to control all links.
Generating Traffic LeCroy Corporation Generating Traffic After the .ssg file has been opened onscreen, recording and traffic generation can begin at any time. 1. (optional) Click to begin the recording. 2. If the script does not have a connect block built into it, connect the exerciser to the DUT by clicking the Connect Link button...
LeCroy Corporation Sierra Trainer Generation Language Sierra Trainer Generation Language The Sierra Trainer File Generation Language is an API that allows you to separate traffic into text commands. These commands are used construct primitives and frames that are sent to the host or the device.
Sierra Trainer Generation Language LeCroy Corporation Settings The Set "Constant Name" = Value statement sets different constants/modes using the following value types: Predefined constants (TRUE, FALSE, ON, OFF, INFINITE) Numbers Examples: Set AutoAlignSATA=ON Set WaitTimeOut=239 Constants Only unsigned integers can be defined as constants. Some constants are predefined in Sierra Trainer.
LeCroy Corporation Sierra Trainer Generation Language Primitives Primitives can be defined using the following: Byte values ('k' indicates control symbol). The 10b codes are calculated based on the current running disparity Primitives are completely interchangeable with SymChains. Example: Primitive "CHAIN (ONE)"...
Page 405
Sierra Trainer Generation Language LeCroy Corporation Field Definition Field length is in bits. '*' means that the length is variable and is set based on the assigned value. Field starting offset is calculated from frame start based on the length of the pre‐...
Page 406
LeCroy Corporation Sierra Trainer Generation Language Frames can be derived from other Frames, therefore inheriting the layout of the parent Frame. In this case, the user may: Change Prolog and Epilog. Change default field values. Add new fields.
Sierra Trainer Generation Language LeCroy Corporation Generation Block Sierra Trainer generates the stream that is defined in this block. Generation Chain Definition (Repeat = N, Idle = M) Chain Definition (N, M) Chain Definition Frame Definition Frame Definition (RunningDisp = ON/OFF)
LeCroy Corporation Sierra Trainer Generation Language Preprocessor Integer Arithmetic You can declare DWORD variables, make arithmetic operations, and use them in field and parameters assignments. Note: Arithmetic expressions are allowed only in numeric variable assignments. Examples: Legal Operations x = 2 y = ( z = 12 ) + ( SOME_DEC_DATA + 36 ) / 8 z = 0x1 <<...
LeCroy Corporation Trainer Script Enhancements SATA Host As a Host, Trainer can send commands and complete them in normal or some popular error conditions. SATA Host can issue NCQ commands, necessary for SATA compliance tests on SSD devices. Limitations are: Does not save Read data or reuse bulk read data for next commands.
Trainer Script Enhancements LeCroy Corporation Assigning Variable Values You can set variable values in different ways: Constant value: @varName1 = 1234 Other variable value: @varName1 = @varName2 Result of expression on other variables: @varName1 = @varName1 + @varName2 Fields of last received frame: @varName1 = (SSPFrame)LRF::Frame- Type, where LRF is Last Received Frame...
LeCroy Corporation Trainer Script Enhancements If/While in Logical Expressions Like programming languages, scripts allow conditional statements. The if/while syntaxes are: If (expression) …. else …. While(@VarName) ……. Note: In this release, while condition is limited to simple variable values only. Combining operators is not allowed in while expressions.
Page 413
Trainer Script Enhancements LeCroy Corporation Use LRF directly for field value: SendSSPFrameCommand_Initiator Data = LRF[startBitOffset:endBitOffset] = 0x101 The constraints are: Length bigger than 64 bit is not supported. Offsets (StartBitOffset and EndBitOffset) should be in same DWORD, except for length bigger than 32.
LeCroy Corporation Trainer Script Enhancements Timer Trainer script syntax allows using some timers. You can start a timer anywhere. The timer current value is loadable on variable to be used in expressions and conditions on this expression. There are four timers, named A, B, C, and D.
Sierra Trainer Generation Commands LeCroy Corporation Sierra Trainer Generation Commands General Commands IDLE (n) Generator will insert n idle s into the DWORD generation stream. CLEAR_CREDIT_AVAIL This commands clears the credit established with the command WF_CREDIT_AVAIL. (See WF_CREDIT_AVAIL in following section on Wait Commands for explanation).
Page 416
LeCroy Corporation Sierra Trainer Generation Commands SPEED_NEG_RCDT Generator will go through SPEED_NEG_RCDT stage of SAS SpeedNeg process using current SPEED_NEG_RCDT settings. SPEED_NEG_ALIGN0 Generator will go through SPEED_NEG_ALIGN0 stage of SAS SpeedNeg process using current SPEED_NEG_ALIGN0 settings. SPEED_NEG_ALIGN1 Generator will go through...
Sierra Trainer Generation Commands LeCroy Corporation SATA Commands Look at STP sample file for syntax. SEND_SATA_FRAME SendSATAFrame SATAData SATA_Data SATACRC SATA_CRC SATAXXXX SATA_XXXX Primitive Commands The following is a list of SAS and SATA primitives declared in Primitives.Decl.inc as Symbol Chains.
Sierra Trainer Generation Commands LeCroy Corporation Wait Commands Syntax: WAIT_FOR { <command1> <command2> ... <group1> <group2> ... } Wait Command Name Description WF_TIMEOUT Timeout Credit Available When WF_TIMEOUT is requested in WAIT_FOR command, the wait session will be released after timeout has elapsed.
Page 422
LeCroy Corporation Sierra Trainer Generation Commands Wait Command Name Description WF_NAK_RESERVED_2 primitive WF_CREDIT_AVAIL Credit Available This function is based on a 10‐bit counter whose value can range from ‐ 512 to +511 (twos‐complement). This counter is cleared by sending or...
Page 424
LeCroy Corporation Sierra Trainer Generation Commands Wait Command Name Description WF_REC_RESOURCES_OUTPUT_D Advanced Wait Condition D This command causes generation to wait for Event "D" to occur that you defined in the Generation Options dialog described at the end of this chapter.
Sierra Trainer Generation Commands LeCroy Corporation Generation Settings Default Setting Value Description Global Settings GenerationMode >>>>> Generation Mode ‐ must be defined or no generation will take place. Possible Values: GEN_MODE_SATA_HOST GEN_MODE_SATA_DEVICE GEN_MODE_SAS_INITIATOR GEN_MODE_SAS_TARGET Default Value: GEN_MODE_ERROR ‐ undefined mode SSCEnable Spread Spectrum Clocking (SSC) In SATA software, turns SSC on or off.
Page 432
LeCroy Corporation Sierra Trainer Generation Commands Default Setting Value Description When set, the generator pauses the Idle scrambler of PauseTrnScrmblr. Train/TrainDone pattern. ReconnectOnRun When “AdvanceConnect” and “ReconnectOnRun” are set, the “Connect” command forces the Trainer to disconnect the physical link before executing the “Connect”...
Page 433
Sierra Trainer Generation Commands LeCroy Corporation Default Setting Value Description COMINIT Settings COMINIT_NegLen The number of bursts to send as part of this OOB type.Each Burst is followed by an Idle. The Burst‐Idle pairs are repeated the requested number of times, and then followed by the Negation_length of Idle.
Page 434
LeCroy Corporation Sierra Trainer Generation Commands Default Setting Value Description SATA Link Init Settings OOB_SATA_D102_Time 100000 D10.2 time for SATA link synchronization in OOBIs.During the specified period, the generator will transmit D10.2 symbols. OOB_SATA_Align_Time 100000 ALIGN(0) time for SATA link synchronization in OOBIs.During the specified period, the generator will transmit ALIGN(0) primitives.
Page 435
Sierra Trainer Generation Commands LeCroy Corporation Default Setting Value Description Phy Capabilities Settings OOB_SpeedNeg_Phy_start The START bit shall be set to one. The phy’s receiver shall use this bit to establish the timing for the subsequent bits. OOB_SpeedNeg_ A TX SSC TYPE bit set to one indicates that the phy’s Phy_txSSCtype transmitter uses center‐spreading SSC when SSC is...
Page 436
LeCroy Corporation Sierra Trainer Generation Commands Default Setting Value Description SATA Speed Negotiation Settings OOB_SpeedNeg_RCDT 750000 Maximum time in OOBIs during the speed negotiation window for a transmitter to reply with ALIGN(1). OOB_SpeedNeg_SNTT 163840 Time in OOBIs during which ALIGN(0) or ALIGN(1) is transmitted at each physical link rate during the speed negotiation sequence.
Page 437
Sierra Trainer Generation Commands LeCroy Corporation Default Setting Value Description AUTO_WAIT_SAS_AFTER Settings AUTO_WAIT_SAS_AFTER_ FALSE When set, the generator will insert WAIT_FOR CLOSE CLOSE_FOR_CLOSE command immediately after each CLOSE primitive. AUTO_WAIT_SAS_AFTER_ FALSE When set, the generator will insert WAIT_FOR ACK EOF_FOR_ACK command immediately after each EOF primitive.
Page 438
LeCroy Corporation Sierra Trainer Generation Commands Default Setting Value Description AUTO_WAIT_SATA_AFTER Settings AUTO_WAIT_SATA_AFTER_ FALSE When set, the generator will insert WAIT_FOR X_RDY_FOR_R_RDY SATA_R_RDY command immediately after each case of SATA_CONT primitive following SATA_X_RDY primitive. AUTO_WAIT_SATA_AFTER_ FALSE When set, the generator will insert WAIT_FOR...
Generation Options LeCroy Corporation Generation Options Use the Generation Rules to set triggers and filters. To display the Generation Options dialog, select Generate > Generation Options or click the Setup Generation Options button. Toolbar Config Status Indicator Available Events Area Main Display Area Figure 5.16: Generation Options Window The page has the following areas: Toolbar: Contains buttons that control the Generation Rules page.
LeCroy Corporation Generation Options Generation Rules Toolbar The Generation Rules toolbar buttons control the Generation Rules page. Figure 5.17: Generation Rules Toolbar TABLE 5.12: Recording Rules Buttons New Event. Creates a new Zoom Out. Makes the event in the Available display appear smaller.
Generation Options LeCroy Corporation Generation Rules Page: How It Works You can think of the Generation Rules page as a workspace for creating rules (rules that determine how the analyzer generates traces). Rules are combinations of events and actions. An event and the action or actions associated with it form a rule state.
LeCroy Corporation Generation Options 2. Select an event, such as Primitive. The event appears in the Available Events area. Figure 5.19: Available Events Area Dragging a Button to the Main Display Area After you create an Event button in the Available Events area, you can drag the button to the Main Display area and drop it in the appropriate cell (a cell is a grayed‐out rectangle...
Generation Options LeCroy Corporation Assigning an Action After you have dropped the Event button in a cell in the Main Display area, you can assign an action to the event. Note: If you do not assign an action to an Event button, the Generator ignores the event.
LeCroy Corporation Generation Options Generation Rules Pop-Up Menus The Generation Rules window has context‐sensitive pop‐up menus that are associated with the following types of object: cells, events, and actions. Cell Pop-up Menu If you right‐click a cell in the Main Display area that has an Event button contained in it, the Cell pop‐up menu appears.
Generation Options LeCroy Corporation Figure 5.23: Event Properties The dialog lists the Properties and their Values. Events and Event Properties Generation rules are associations between events and actions. These associations determine how trace recording occurs. The supported events are: Primitives: Primitive Categories or Primitive ...
LeCroy Corporation Generation Options Data Pattern Mask and Match If you select Data Pattern as the Event, you can set Data Pattern event properties in the Event Properties dialog. Figure 5.24: Event Properties for Data Pattern Event In the Data Pattern dialog, you can set the DWORD. You can set the Offset by entering an integer.
Setting Complex “Wait For” Conditions LeCroy Corporation Setting Complex “Wait For” Conditions The Generation Options dialog lets you define complex “Wait For” events and assign a letter value (“A” through “F”) to the definition, so that you can refer to the definition by letter instead of by textual name.
Page 448
LeCroy Corporation Setting Complex “Wait For” Conditions 4. Right‐click the new event button and select Specify Action(s). A menu appears showing the letters A through F and the option “No action”. 5. Select a letter from the menu. The menu closes. The event button should now point to a neighboring button that has the letter value you assigned.
Find LeCroy Corporation Find Find allows searches on an open trace using one or more criteria. You can search by packet, transactions, split transaction, transfer, packet type, and fields within packets. To run Find, select Search > Find or by click on the toolbar.
Page 450
LeCroy Corporation Find 2. Select Frames, Transactions, SCSI Operations, Management Transactions, ATA Commands, or OOBs from the top left list box to list that type of event in the Events Group box. 3. Select one or more events from the Events Group box: Packet Types (Header, PHY, Event, Transaction) ...
Find LeCroy Corporation 5. Optionally set the search Direction and Origin. 6. Optionally check to Search in Hidden or Find All. 7. Click OK. After the search finishes, the program displays the packets meeting the search criteria. Data Pattern Mask and Match If you select Data Pattern as the Event Group in the Find dialog, you can set the Bitmask, Mask, and Match for each bit.
LeCroy Corporation Display Options Find Next To apply the previous Find parameters to the next search: Select Find Next under Search on the Menu Bar. Click on the Toolbar. Search Direction Toggles the search forward or backwards. The current direction is indicated in the menu.
LeCroy Corporation Display Options Color Display Options The program uses a default set of colors for each type of data in each group of data. The colors and color combinations are appropriate for most graphic systems. You can alter any color.
Display Options LeCroy Corporation To customize colors, use the Custom tab. Figure 5.29: Custom Colors Note: You cannot change the color of an Invalid Data (packet error) field. It is permanently set to red. Formats Display Options For each type of data in each group of data, the program has a default data format.
LeCroy Corporation Display Options Hiding Display Options By default, no data is hidden. You can hide any group of data and any type of data. To hide one or more fields, select the Group and Data type in the Group and Color column, then click the Hidden checkbox in the display or the Hidden checkbox in the Hiding section of the Format section.
Display Options LeCroy Corporation Headers Options You can choose the appearance of header fields. Select the Header tab, then select the header. Figure 5.32: Level Hiding Tab Available headers are: SSP Frame Header SMP Report General (Request or Response) ...
Connection Parameters LeCroy Corporation Connection Parameters To display the connection parameters, select Generate > Connect Parameters. Figure 5.33: Connection Parameters Dialog You can set the “Identify” frame parameter settings to keep the link connected: Device Type: End Device, Edge Expander, or Fanout Expander ...
LeCroy Corporation Resetting the Toolbar Resetting the Toolbar The Analyzer Toolbar has the following: Show InFusion Frame: Switches to InFusion frame. Show Analyzer Frame: Switches to Analyzer frame. Start Analyzer: Start Analyzer without switching to Analyzer frame. Stop Analyzer: Stop Analyzer without switching to Analyzer frame.
Page 461
Resetting the Toolbar LeCroy Corporation 3. Select the Toolbars tab to display the Toolbars page of the Customize dialog box. Figure 5.35: Customize Toolbars 4. Click the Reset All button. The toolbar resets to the factory defaults. S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
Page 462
LeCroy Corporation Resetting the Toolbar S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Appendix A Creating a Pattern Generator File You may use any text editor or word processor to create a pattern generator file (*.spg) using the following conventions: Key words ALIGN, CONT, DMAT, EOF, HOLD, HOLDA, PMACK, PMNAK, PMREQ_P, PMREQ_S, R_ERR, R_IP, R_OK, R_RDY, SOF, SYNC, WTRM, X_RDY, XXXX, LOOP, Enable, Disable, Host, Device, Scramble, Role, END_OF_FILE.
Appendix B China Restriction of Hazardous Substances Table The following tables are supplied in compliance with China’s Restriction of Hazardous Substances (China RoHS) requirements: Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual...
LeCroy Corporation WAN Operation WAN Operation WAN connected operation is supported. Contact factory for details of operation. Refer “How to Contact LeCroy” on page 465 for contact information. S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Appendix C How to Contact LeCroy Type of Service Contact Call for technical support US and Canada: 1 (800) 909‐7112 Worldwide: 1 (408) 653‐1260 Fax your questions Worldwide: 1 (408) 727‐6622 Write a letter LeCroy Protocol Solutions Group Customer Support 3385 Scott Blvd.
Page 468
LeCroy Corporation S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual ...
Index Symbols Affiliation affiliation setting .cfg file alias name .infdb file ALIGN Transmission Period .sac files Analysis Project dialog .stg files 39, 377 analyzer Numerics connecting 21 analyzer overview 10 bit payload data display Anchor the Selection bar 10‐pin connector Any Trigger mode 8 bit payload data display application overview...
Page 470
LeCroy Corporation Index batch script Close previous sample file when new sample file Batch Script Setting opens Beep statement Code violation and Disparity BIST (FIS) Code Violation and Disparity error bookmarks Code violation and Disparity error 131, 136, 138, 176...
Page 471
Index LeCroy Corporation Convert port configuration without prompt for Default Workspace 253, 254 confirm default workspace Copy Event to option default.infdb file copying events Defer Handshake 133, 138 Count Randomly Defer Handshake Errors 174, 178 counter Define different patterns for pre‐trigger and post‐...
Page 472
LeCroy Corporation Index Don’t care (Snapshot) Payload of Data Frame 43 RRDY 43 Don’t check credit 136, 166, 173 SATA_CONT 43 downloading a scenario SATA_SYNC 43 dragging buttons XXXX 43 Exclude Idle checkbox Drop Length for ... ms Exclusion search Drop link after ...
Page 473
Index LeCroy Corporation Fill reserved fields with filter General Errors dialog by tag number 229 general report check condition 229 Generate Error On area options 227 Generate Menu save setup 225 Generate Periodic Error type 224 filter enable Generating Traffic...
Page 474
LeCroy Corporation Index Host Emulator IP Setup 109, 146 Host Emulator Port IP Setup dialog Host Emulator Setting dialog Jammer Jump to Next button Identify Error Setting dialog Jump to Previous button Identify frame parameter settings Jump to Specific button...
Page 475
Index LeCroy Corporation Manual Trig button order reorder manual trigger in results display 220 Others Report view Maximum Number of Uploader Threads Outgoing FIS Command Error Memory Assignment Outgoing Frame Command Error memory check Outgoing Frame Setting dialog Memory Size...
Page 476
LeCroy Corporation Index port renaming 197 Queue Command Report status 214 Queue Settings dialog 141, 146 port alias Quick View 192, 254 Port Configuration 315, 316, 379 Port Configuration button port ID random data pattern Port Speed Random Error Injection...
Page 478
LeCroy Corporation Index Set Time Stamp Origin in results display 220 Show/Hide Transport Packet button Set Timers dialog Sierra M6‐2 Protocol Analyzer Set Value of Field Sierra Trainer menus Setting button Sierra Trainer toolbar Setting dialog Simulation Mode settings Sleep statement...
Page 479
Index LeCroy Corporation Template Files column setting 288 content (SATA) 271 Terminate receiving frame options 271 Termination save as text 286 Statistical Report toolbar receiving frame 132 Test Result Statistical Report View Text View statistical reports text view Statistics button...
Page 480
LeCroy Corporation Index View menu (InFusion) on pattern 72 on primitive 76 View Options on protocol errors 80 button 396 on SCSI Command 85 menu 396 on SMP Frame 83 View Setting button on soft reset 88 View Type Toolbar...