background image

LeCroy Corporation

Find

448

 

 

Sierra M6

2 SAS/SATA Protocol Analyzer User Manual

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)

Primitives

Source Addresses

Hash Source Addresses

Destination Addresses

Hash Destination Addresses

Data Length

SMP Frames

SSP Frames

Errors

FIS Types

FIS Port Number

Channel

Data Pattern

Completion Time

4. Select one of the following options:

Union:

 Find all packets matching ANY of the specified events.

Intersection:

 Find packets matching ALL of the specified events.

Exclusion:

 Exclude packets matching any of the specified events.

Exclusion works with the other two options: 

Select Union 

AND

 Exclusion

(=Exclude packets with ANY of the following fields) or 

Intersection 

AND

 Exclusion

(=Exclude packets with ALL of the following fields.)

Содержание Sierra M6-2

Страница 1: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual For Software Version 4 20 Document Version 2 0 August 2011 ...

Страница 2: ...NG THE PRODUCTSINTHIS MANUALARE SUBJECTTO CHANGE WITHOUT NOTICE ALL INFORMATION EXAMPLES ANDRECOMMENDATIONS INTHIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE REPRESENTEDWITHOUT WARRANTY OF ANY KIND EXPRESS OR IMPLIED USERS ARE FULLY RESPONSIBLE FOR THEIR APPLICATION OF ANY PRODUCTS THE SOFTWARE LICENSE ANDLIMITED WARRANTY FOR THE ACCOMPANYING PRODUCTARE SETFORTH IN INFORMATION THAT SHIPPED WITH TH...

Страница 3: ...age 20 Hardware Setup 21 Separate Systems 21 Connecting in General 21 Cables to Use 22 Expandability 23 Cascading with STX SYNC Expansion Cards 23 Cascading 23 Select Device 26 Cascading with CATC SYNC Expansion Card 30 Using the Power Expansion Card 30 Removing Expansion Cards 31 Connecting via Ethernet 34 Connecting to a Network 34 Connecting using a Hub Switch or Similar Device 35 Connecting ov...

Страница 4: ... Easy Mode Pre Defined Setups 41 Main Window 41 Project Tree 43 Capture Tab Fields 43 SAS Software Menus and Toolbar 44 SATA Software Menus and Toolbar 44 Run Hardware 45 Saving a Trace Capture 46 Exporting 48 Export to Initiator Emulator 48 Export to Generator 49 Export Read Write Command Report 49 Export Paired SAS Address Report 50 CrossSync Control Panel 51 Launching the CrossSync Control Pane...

Страница 5: ...SATA 66 Register Host to Device 66 Register Device to Host 67 Set Device Bits 67 DMA Setup 68 BIST 69 PIO Setup 69 Data 70 Vendor 70 Trigger Setup 71 Snapshot Mode 71 Manual Trigger Mode 71 Any Trigger Mode 72 Choosing a Parameter 73 Triggering on a Timer 73 Timeout 74 External Trigger 74 Bus Condition 75 Symbol 75 Primitive 76 ATA Command 77 ATAPI 78 Data Pattern 79 Protocol Errors 80 STP Frame S...

Страница 6: ...ble Scrambling 95 Show XXXX value 95 ALIGN Transmission Period differs for SAS and SATA 95 Protocol Error Mask 95 External Trig Out Setting 96 External Trig In Setting 96 Choose Port Speed 96 Ports Configuration 97 Port Configuration and Projects 98 MUX Setting SAS only 99 Add a Project Note 100 Advanced Mode User Defined 101 Working in Advanced Mode 101 State Number for Complex Trigger Sequences ...

Страница 7: ...123 Exercising Specific Addresses 123 Record and Play 125 Error and Command Settings 127 ATA Error and Command Settings 127 Outgoing ATA Frame Settings 130 Incoming ATA Frame Settings 132 SCSI Error and Command Settings SAS only 133 Outgoing SCSI Frame Settings 136 Incoming SCSI Frame Settings 137 FIS Options SATA only 138 Initiator Setting Tab SAS only 139 Host Setting Tab SATA 144 ATA Command Ex...

Страница 8: ...ors SAS only 171 Outgoing Frame Settings 173 ATA Commands Errors SATA only 175 Outgoing Frame Settings 176 Incoming Frame Settings 177 SATA Signature SATA only 178 SATA Signature Errors 179 User Defined Commands Tab 180 Target Emulator Settings SAS 181 Notes Tab 184 Run Target Emulation 184 Device Emulator Settings SATA only 184 Project Note 189 Using the Power Expansion Card 189 Run Device Emulat...

Страница 9: ...iews 203 Spreadsheet View 204 Histogram View 205 Bus Utilization View 207 Bus Utilization Buttons 208 Waveform Display 209 Spec View 210 Data Payload View 212 Compare Two Data Payloads 213 Tile All Views Horizontally 214 Port Status 214 Toolbars 215 Enabling Tool Bars 215 Main Toolbar 215 View Type Toolbar 215 Viewer Toolbar 216 Viewer Setting Toolbar 218 Cursor Position Status Bar 219 Layers Tool...

Страница 10: ...9 Tx Vout 251 Software Settings 252 General Tab 252 Paths 252 Template Files 253 Other 253 Found Device List Mode 253 Browse Default Path 253 Sample Viewer Tab 254 Open Sample file In 254 Optimization 254 Other 255 Spread Sheet View Tab 255 Color Setting 256 Anchor the Selection bar 256 Other 256 Column View Tab 257 Other 257 Field List View Tab 258 Update Field List based on 258 Mode of frame fie...

Страница 11: ...70 Report between Events 270 Statistical Report Content 271 Report Options 271 General Report 272 Primitive Report 272 Bus Condition Report 273 ATA Command Report 273 Time out of ATA Command Report 274 ATAPI Report 274 Protocol Error Report 275 Others Report 275 SSP Transport Report SAS 276 SMP Transport Report SAS 276 STP Transport Report SAS 276 SCSI Command Report SAS 278 SMP Command Report SAS...

Страница 12: ...90 Sorting Column Content 292 Hiding Columns 292 Data Report 293 Tools 294 Self Test 294 Clock Check 295 Memory Check 296 Serdes Check 297 Crosspoint Check 298 Main FPGA Check SATA only 299 Expansion Check 300 LED Buzzer Check 301 Find Device 302 Aliasing 303 Exporting 303 Compliance Test SATA 303 Using the Power Expansion Card 306 SAS Verification SAS 306 Using the Power Expansion Card 307 Runnin...

Страница 13: ...ta DWORD 338 Using Captured Data DWORDs 338 Summary of Scenario Creation 340 Creating Global Rules 341 Example 1 Creating a Single Event and Action that Removes a Primitive 342 Example 2 Wait for a Primitive and Replace It with an Error 345 Example 3 Creating OR Conditions 346 Example 4 Multiple Triggers and Actions 348 Example 5 Multiple Actions on a Single Event 350 Example 6 Using Timers 352 Cr...

Страница 14: ...ing Up for Generating Target Traffic 384 Creating a Traffic Generation File 384 Creating a New Generator File 385 Editing an Example Generation File 386 Converting an SATrainer Traffic Generation File 387 Opening a Traffic Generation File 387 Layout 388 Overview of Generation and Global Settings Files 388 Traffic Generation ssg Files 388 Settings inc File 389 The Global Setting AutoAlign 390 Placi...

Страница 15: ...es 400 Settings 401 Constants 401 Predefined Constants 401 Data Patterns 401 Primitives 402 Packets Frames 402 Generation Block 405 Definitions 405 Field Variable Declarations 405 Changing Frame Fields 405 Preprocessor Integer Arithmetic 406 Trainer Script Enhancements 407 Variable Definition 408 Assigning Variable Values 409 Expression on Variables 409 If While in Logical Expressions 410 Using Va...

Страница 16: ...443 Data Pattern Mask and Match 444 Setting Complex Wait For Conditions 445 Setting Conditions with the Generation Options Dialog 445 Find 447 Data Pattern Mask and Match 449 Find Next 450 Search Direction 450 Display Options 450 Color Format Hiding Display Options 451 Color Display Options 452 Formats Display Options 453 Hiding Display Options 454 Level Hiding Options 454 Headers Options 455 Savi...

Страница 17: ...zer User Manual 15 Contents LeCroy 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 ...

Страница 18: ...LeCroy Corporation Contents 16 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...

Страница 19: ...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 tr...

Страница 20: ...sition 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 f...

Страница 21: ...icates traffic on the bus Orange This LED is illuminated as follows Speed Initiator Target 1 5G Off Off 3 0G On Off 6 0G On On Yellow This LED is illuminated when a link is established Red 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...

Страница 22: ...e Compatibility tab Check to Run this program in compatibility mode for Windows XP 1 Insert the Installation CD ROM into the CD DVD drive on the host machine 2 The installation automatically starts setup unless Auto Run is off In that case select the CD ROM from My Computer and click Setup 3 After the warning to close all other programs and before starting the installation the Install component se...

Страница 23: ...rst 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 ...

Страница 24: ...anual 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 Figure 1 5 Sierra M6 2 Connected as an Analyzer SATA cables SATA cables T1 T2 I1 I2 ...

Страница 25: ...r 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 un...

Страница 26: ...onnect 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 Figure 1 8 Cascading Correctly Correct way to connect The black color pin of the ribbon wire is connected the same way between 2 connectors Cascading works correct...

Страница 27: ...nit 1 and the last four digits of the other units in order of connection Figure 1 10 Address Digits IMPORTANT Power up all units before starting the software 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 Black color pin of ribbon wir...

Страница 28: ...een 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 However this requires updating the firmware component in the analyzer over USB as the previous firmware will not report any analyzer connected over Ethernet to Software versions 4 10 a...

Страница 29: ...ing Select Device dialog displays The colors in the Location column mean the following Red Firmware and or BusEngine components need to be updated to the latest version Light Blue The device is ready to be connected Yellow The device is not chained or cascaded Figure 1 13 Select Device Dialog Note Click Refresh Device List to display all the devices on the network The Select Device dialog displays...

Страница 30: ... 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 Figure 1 16 IP Setting Dialog Networks Click Networks to select an adapter The following dialog displays Figure 1 17 Select Adapter Dialog ...

Страница 31: ...tion Properties Dialog Specify one of the actions from the following Automatically connect to the device Ask if I want to connect to the device Take no action If Automatically connect to the device is selected the next time the application opens the device will be automatically connected In the Select Device dialog chained or cascaded units are displayed in the Device column with a square bracket ...

Страница 32: ... is automatically detected IMPORTANT Power up all units before starting the software Cascading with CATC SYNC Expansion Card You can cascade up to eight Sierra Analyzers if they all have a CATC SYNC expansion card Note If Sierra M6 2 has a CATC SYNC Expansion Card you can cascade with Sierra M6 1 If Sierra M6 2 has an STX SYNC Expansion Card you cannot cascade with Sierra M6 1 Using the Power Expa...

Страница 33: ...eCroy Corporation 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 ...

Страница 34: ... 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 2 Insert the extraction tool prongs into the holes in the expansion card panel Note If the prongs do not slip easily into the holes use a small nail file or similar device to remove paint from the prongs Holes in the Expansion Card ...

Страница 35: ...te 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 the retaining screws after two turns ...

Страница 36: ...n have any of these configurations 1 Analyzer connected to a network using a hub switch Gigabit Ethernet interface or similar device 2 Analyzer connected to the host computer machine running the application software using a hub switch Gigabit Ethernet interface or similar device 3 Analyzer connected directly to the host computer using a SATA cable Connecting to a Network When connected to a networ...

Страница 37: ...dd the IP address use the Add Device button see Figure 1 15 on page 28 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 n...

Страница 38: ...ode requires license allows you to program custom triggering in and out capturing state jumps and timers See Protocol Analysis on page 41 Protocol Analyzer Host Emulator Generates bus traffic for capture It also has Easy Mode and Advanced Mode See Exercise and Capture on page 109 Device Emulator Acts as device See Target and Device Emulation on page 161 Protocol Analyzer To use the software for pr...

Страница 39: ... trigger position and memory use Also change the Analyzer settings if necessary Specify addresses stops times and sizes if necessary Use Advanced Mode only after you become familiar with the hardware and software and have special needs Target Emulator or Device Emulator To use the software as a target or device emulator first select File New Target Emulator or Device Emulator for a new project or ...

Страница 40: ...an decode using the Decode toolbar You can Search and Filter Configuration For special work you can use the Configuration menu to configure Data Blocks Software Settings and TxVout Pre emphasis See Display Configuration on page 244 Port Status You can display an overview of the active ports by clicking the buttons at the bottom right of the main window See Port Status on page 214 Statistical Repor...

Страница 41: ...synchronization for complete end to end visibility into multi protocol systems CrossSync is LeCroy s analyzer synchronization solution that enables time aligned display of protocol traffic from multiple daisy chained analyzers showing packet traffic from multiple high speed serial busses A lightweight software control panel allows users to select analyzers for synchronization and manage the record...

Страница 42: ...LeCroy Corporation Viewing Captured Data 40 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...

Страница 43: ...ge 20 and set up the Analyzer See Hardware Setup on page 21 launch the Analyzer software See Launching Your Analyzer on page 35 to display the default Protocol Analyzer in Easy Mode at the Capture tab This mode allows you to operate the analyzer with minimum setup In this mode you can perform only a Trigger and Data capture or you can program the SAS Initiator Emulator or SATA Host Emulator to gen...

Страница 44: ...zer to open a SATA Protocol Analyzer dialog Figure 2 2 SATA New Analysis Project Dialog SAS vs SATA SATA Dialog does not show Exclude RRDY or Exclude NOTIFY SATA Dialog replaces Exclude SATA_CONT with Exclude CONT and Exclude SATA_SYNC with Exclude SYNC Project Tree display What analyzer triggers on Capture memory settings Collapse All button hides details in Project Tree Expand All button expands...

Страница 45: ...SYNC primitives from the data capture Exclude OOB Signals Check this to exclude OOB signals from the data capture Exclude XXXX Check this to exclude XXXX patterns from the data capture Exclude Payload except Check this to exclude Payload of Data Frames from the data capture You can except a number of DWORD s Note The Data Report does not reflect excluded Payload of Data Frames Note When showing tr...

Страница 46: ...oolbar SATA Software Menus and Toolbar The SATA software has the following menus and main toolbar Figure 2 4 SATA Software Menus and Toolbar Open Sample File Open Last Saved Protocol Analyzer Open Last Saved Performance Analyzer Project Open Last Saved Target Emulator Abort Capturing Without Saving Sample File Activate Deactivate Device Target Emulation Open Find Device Dialog Stop Hardware Data B...

Страница 47: ...ource and destination addresses in SCSI commands Transport Layer command interpretation Not shown in this capture Show Hide Port Data Link Layer on the same layer and port Figure 2 5 SAS Typical Packet View Results Display Note When using the Advanced Mode sequencer the analyzer logs the state transitions in the trace with the name the user gives to the state In the Packet View right click on any ...

Страница 48: ...Project dialog offers you a comprehensive set of choices to create a trigger and capture project satisfying some specific need You can set the Analyzer to Capture specific patterns see Patterns and Data Capture Setup on page 56 Capture different patterns pre and post trigger Exclude parameters from capture Trigger on a pattern or sequence of patterns see Trigger Setup on page 71 Configure trace ca...

Страница 49: ...een 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 Show Hide Link Setting You can Save As Text Excel Figure 2 7 Save As Text Dialog You can limit the range of the saved file You can save All Samples Range between selected cursors Range between bookmarks ...

Страница 50: ...iator Emulator From the File menu you can Export to Initiator Emulator using the Extract Sample File dialog Figure 2 8 Extract Sample File Dialog You can limit the range of the saved file You can save All Samples Range between selected cursors Range between ATA Commands or Transport You can import SCSI Commands Task Management ATA Commands SSP Frames SMP Frames SMP Commands or STP Frames You can s...

Страница 51: ...r Transport You can import SSP Frames SMP Frames or STP Frames see Events and Event Properties on page 443 You can Insert Waits see Wait Commands on page 419 You can use Auto Alignment see The Global Setting AutoAlign on page 390 You can select the Port see Setup Menu on page 379 In the Project Name enter a valid generator file Note The resulting Trainer Generation file cannot exceed 2 MB or 1 000...

Страница 52: ...ired SAS Address Report dialog Figure 2 10 Export Paired SAS Address Report Dialog You can limit the range of the saved file You can save All Packets Range between selected cursors You can view expander traffic particularly during discovery in a spreadsheet format You can use column headers with SAS Address Pairs For example instead of I1 T1 I2 T2 and so on the columns are Source Destination SAS A...

Страница 53: ...nc Control Panel To launch CrossSync from the SAS SATA Protocol Suite software application select the Launch CrossSync Control Panel entry in the Project Setup menu see the screens below Or you can launch CrossSync from the Start menu Figure 2 11 Launching CrossSync from the SAS Protocol Suite Application Figure 2 12 Launching CrossSync from the SATA Protocol Suite Application Please refer to the ...

Страница 54: ...zer Capture Project Viewer file in the Examples folder EasyCaptr AdvanceCaptr or Exerciser subfolders saf Device Identifier file scs SAS Sample file in the SAS Examples folder Sample subfolder sde Device Emulator file in the System folder Compliance subfolder sfl Filter configuration file spg Single role Pattern Generator file in the Examples folder SAS PatternGenerator Single role spg files subfo...

Страница 55: ... under the Sierra M6 2 folder It is strongly recommended that you open some example files to see types of projects that you can create Run an Example Analysis Project To run an example project 1 Select File Open 2 Locate example analysis projects by looking in the Examples folder Examples are available for AdvanceCaptr EasyCaptr Exerciser PatternGenerator Samples Target Emulator and User Define De...

Страница 56: ...ect 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 5 After the project runs you see an analyzer trace capture display similar to the one shown in Figure 2 15 ...

Страница 57: ...rotocol Analyzer User Manual 55 Projects LeCroy Corporation Figure 2 15 SAS Analyzer Trace Capture Display For details about the results display See Display Manipulation on page 191 and See Display Configuration on page 244 ...

Страница 58: ...atterns for capture click the Pattern button to display the Capture tab for Pattern Figure 2 16 SAS Choosing Capture Patterns SAS vs SATA SATA Dialog replaces Exclude SATA_CONT with Exclude CONT and Exclude SATA_SYNC with Exclude SYNC SAS The SAS Parameters window displays the following pattern capture categories STP Frame Address Frame SMP Frame SSP Frame Data Pattern Protocol Errors SATA The SAT...

Страница 59: ...xclude Patterns Check this box to allow for the capture of everything except the patterns that have been added to the Project Tree When you check this box the Primitive category appears in the Parameter window and the window enables the Exclude Idle checkbox Figure 2 17 SAS Exclude Patterns Checked SAS vs SATA SATA Dialog replaces Exclude SATA_CONT with Exclude CONT and Exclude SATA_SYNC with Excl...

Страница 60: ...rocedure is the same for both Pre Trigger capture and Post Trigger capture Check Define different patterns for pre trigger and post trigger data capture to enable the Pre Trigger Capture and Post Trigger Capture tabs instead of only the Capture tab Figure 2 18 SAS Post trigger Capture Dialog Enabled SAS vs SATA SATA Dialog replaces Exclude SATA_CONT with Exclude CONT and Exclude SATA_SYNC with Exc...

Страница 61: ...nchecking the Port ID Primitive Double click Primitive available only if you check Exclude Patterns to open the Primitive selection dialog Figure 2 19 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 drop down list box choose a Primitive to exclude and click OK Repeat for additional Primitives Data Patt...

Страница 62: ...has FIS signal latency and state transition errors not STP ones Check protocol error s to omit or not capture then click OK Protocol Error Descriptions Code Violation Wrong 10b symbol detected Disparity Error Wrong disparity detected ALIGN Error ALIGN primitive frequency is outside the specification requirements STP Signaling Latency Error SAS only or FIS Signaling Latency Error SATA only DWORD di...

Страница 63: ...er Device to Host coming from the Host CRC Error CRC error detected ACK NAK Timeout SAS only ACK or NAK primitive missing or encountered unexpectedly Disable Disparity Error and Symbol Violation during the Speed negotiation No longer detects Code Violation or Disparity Error Delimiter Error Detects two SOF primitives without an EOF between them Also detects two EOF primitives without an SOF betwee...

Страница 64: ... 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 Figure 2 23 SAS Address Frame Type Pattern Dialog SAS vs SATA Not available in SATA Click the down arrow next to the Address Frame Types list box and choose an address frame type ...

Страница 65: ... Click the down arrow next to the SMP Frame Type list box and choose a frame type Assign a specific function to the frame by clicking the down arrow next to the Function list box and choose a function SSP Frame SAS only Double click SSP Frame to open the SSP Frame Pattern dialog Figure 2 25 SAS SSP Frame Type Dialog SAS vs SATA Not available in SATA Click the down arrow next to the SSP Frame Type ...

Страница 66: ...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 Repeat for additional types Available FIS Types Register Host to Device Register Device to Host Set Device Bit DMA Activate DMA Setup BIST PIO Setup Data Any Type ...

Страница 67: ... 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 Figure 2 28 SATA FIS Pattern Dialog Dropdown SAS vs SATA Not available in SAS Choose FIS Type and complete the corresponding dialog ...

Страница 68: ...yzer User Manual 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 Register Host to Device Figure 2 29 Register Host to Device ...

Страница 69: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 67 Projects LeCroy Corporation Register Device to Host Figure 2 30 Register Device to Host Set Device Bits Figure 2 31 Set Device Bits ...

Страница 70: ...LeCroy Corporation Projects 68 Sierra M6 2 SAS SATA Protocol Analyzer User Manual DMA Activate Figure 2 32 DMA Activate DMA Setup Figure 2 33 DMA Setup ...

Страница 71: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 69 Projects LeCroy Corporation BIST Figure 2 34 BIST PIO Setup Figure 2 35 PIO Setup ...

Страница 72: ...LeCroy Corporation Projects 70 Sierra M6 2 SAS SATA Protocol Analyzer User Manual Data Figure 2 36 Data Vendor Vendor is for FIS Pattern Figure 2 37 Vendor ...

Страница 73: ... triggers when specific pattern s are detected in the captured data stream The following three ways can trigger the analyzer with Pattern selected Trigger on any pattern Any Trigger Mode External Trigger Trigger on a sequence of patterns Sequential Trigger Mode Snapshot Mode To trigger immediately on any pattern check the Don t care Snapshot button Figure 2 38 Default Trigger Selected Manual Trigg...

Страница 74: ...entical to that for selecting capture parameters All items selected for triggering appear in the Project Tree To define patterns for triggering check the Pattern button in the Trigger dialog Figure 2 39 SAS Select Patterns for Trigger The SAS Parameters window displays the following trigger pattern categories Timer Timeout External Trigger Bus Condition Symbol Primitive STP Frame ATA Command ATAPI...

Страница 75: ...ory to open a corresponding definition dialog To remove an item highlight it in the Project Tree then click the Remove button Triggering on a Timer Selecting a timer for a trigger in the Any Trigger Mode limits the time that the analyzer looks for selected triggering conditions before triggering The timer activates when the Project runs If none of the selected triggering conditions occurs during t...

Страница 76: ...ents enter a Timeout value then select Trigger Mode If End Events occur before timer expires If timer expires before End Events Note You cannot select a Timeout pattern if you select any other pattern as the trigger condition External Trigger You can trigger on an external trigger To set up the trigger click the External Trigger category Figure 2 42 External Trigger Dialog You cannot select an Ext...

Страница 77: ...E with Host COMWAKE and COMSAS with Device COMWAKE Check Conditions on which to trigger then click OK Note You can define triggering for specific ports by checking or unchecking Port IDs Symbol Double click Symbol in the Pattern window to open the Symbol dialog Figure 2 44 Symbol Dialog Choose a symbol type by checking either the K Symbol or D Symbol option then click the down arrow in the Symbol ...

Страница 78: ...imitive 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 Note Check the box to the right of the Primitive Type to use the logical NOT Figure 2 46 SAS Primitive Selection Choices SAS vs SATA SATA Dialog has different choices ...

Страница 79: ... 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 A powerful triggering choice is Any Command which causes the analyzer to trigger on any ATA command ...

Страница 80: ... Manual 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 ...

Страница 81: ... Dialog shows Port at the top and does not show SSP or STP Define the data pattern for triggering and click OK Note When entering the data pattern in the Data section of this screen if you are reading the data pattern from a recorded trace you must reverse the order of the bytes listed for each DWORD entered For example if you want to trigger on 00 01 02 03 as displayed in the trace you must enter...

Страница 82: ...anual 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 ...

Страница 83: ...TP 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 ...

Страница 84: ...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 ...

Страница 85: ...n 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 Then click the down arrow next to the Function dropdown list choose a function and click OK ...

Страница 86: ...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 ...

Страница 87: ...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 ...

Страница 88: ...alog 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 Repeat for additional types Available FIS Types Register Host to Device Register Device to Host Set Device Bit DMA Activate Any Type DMA Setup BIST PIO Setup Data Note You cannot trigger on a Vendor FIS ...

Страница 89: ...log 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 Figure 2 58 SATA FIS Pattern Dialog Choices SAS vs SATA Not available in SAS Choose an FIS Type and complete the corresponding dialog ...

Страница 90: ...en 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 OK Soft Reset SATA only Double click Soft Reset to open the Soft Reset dialog Figure 2 60 SATA Soft Reset Dialog SAS vs SATA Not available in SAS ...

Страница 91: ... very close together on different ports cause an error in triggering To define a triggering sequence select more than one pattern then check the Define Sequential Trigger Mode check box Figure 2 61 SAS Select Sequential Trigger Mode SAS vs SATA SATA Dialog has different patterns Timer The sequential triggering mode offers the option of triggering on a timer or inserting a timer in the triggering s...

Страница 92: ...rigger sequence Figure 2 63 Number of Occurrences Note The events on each link are counted independently causing a trigger whenever the number of occurrences on any link equals the specified value Triggering Order As triggering patterns are defined and added they are displayed in the Project Tree sequentially in the order that they were entered under the Trigger category When the project runs the ...

Страница 93: ...tivity leading up to and after the triggering event Figure 2 65 illustrates the operation of pre trigger in data memory Pre trigger data is capture of the specified percentage of data prior to the triggering event It cannot be guaranteed and may be 0 This can occur when the triggering event occurs before storing the required amount of pre trigger event data In such a case the data display shows fe...

Страница 94: ...ory Status section has the following fields Trigger Position Pre Trigger defaults to 50 which defines the percentage of data to capture before and after the triggering event You can change this percentage by dragging the slider Capture of the specified percentage of the data prior to the triggering event cannot be guaranteed and may be 0 This can occur if the triggering event occurs before storing...

Страница 95: ...ure the maximum amount of trace data Minimum size of memory is 2 GB Maximum size of memory is 16 GB Partial Memory To reduce the memory size check Partial Memory and enter a buffer size in kilobytes up to the memory size in megabytes Note If the size of a data packet exceeds the buffer memory allocation the project runs but no data capture occurs You must increase buffer memory size to a value gre...

Страница 96: ...on to display the Upload Manager dialog Figure 2 67 Upload Manager Dialog The dialog displays the segments in the format Segment1 Segment2 and so on Select segments by clicking the checkbox You can also Select All or Deselect All segments You can Upload segments for display Save segments as sample files and Delete segments The Preview radio button allows a preview of an integer number of megabytes...

Страница 97: ... on these protocol errors Disable Scrambling If checked causes the Analyzer to assume that no traffic is scrambled By default the Analyzer assumes the scrambling state of the devices under test Show XXXX value Check this option to display XXXX values ALIGN Transmission Period differs for SAS and SATA Choose the ALIGN Transmission Period for SSP and STP by clicking the corresponding option button t...

Страница 98: ...nal Trig Out Setting The Analyzer can send a Low or High external signal anytime a trigger occurs Select the External Trig Out Setting High Active Low Active or Toggle from High to Low or Low to High once 3 3 V output Enter the External TrigOut pulse width External Trig In Setting An external Low or High input signal can cause triggering Select the External Trig In Setting High Active Low Active o...

Страница 99: ...he 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 Figure 2 70 SAS Select Port Configuration Dialog ...

Страница 100: ...e lower right corner to display the Port Status window see Port Status on page 214 Port Configuration and Projects Port Configuration depends on Project selected Performance Analyzer and Performance Analyzer with Initiator Emulator do not use ports Protocol Analyzer Protocol Analyzer with Initiator Emulator and Target Emulator can have the following port configurations Analyzers work with Emulator...

Страница 101: ...not work with Trainer Trainer can pair with one analyzer on a port Trainer does not work with emulators Trainer does not work with Jammer MUX Setting SAS only Enable Muxing on port combinations Figure 2 71 MUX Setting Dialog Box If you enable this option on two ports the data of both ports transfers on one physical link whose speed is twice the speed of each link and the data of two links multiple...

Страница 102: ...ulator 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 Add a Project Note To enter and save information about the current project click the Notes tab and enter the data about the project Figure 2 74 Project Notes Tab ...

Страница 103: ...n Use up to three timers which you can set to a maximum value of 42949 ms You can set a timer in the state or continue the timer set in the previous state Output an external trigger High or Low Note In Advanced Mode events on each link are counted independently A condition is met if the number of events on a link equals the defined occurrence Working in Advanced Mode To start working in the Advanc...

Страница 104: ...LeCroy Corporation Advanced Mode User Defined 102 Sierra M6 2 SAS SATA Protocol Analyzer User Manual Figure 2 75 SAS State Programming Dialog Figure 2 76 SATA State Programming Dialog ...

Страница 105: ... 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 Figure 2 77 SAS Advanced Trigger with multiple branches ...

Страница 106: ...rn field and choose a trigger condition from the drop down list Figure 2 78 SAS Choosing a Trigger Condition 2 Define each selected pattern in the same way as in Easy Mode as described starting on page 59 To use a timer define it first Note You can set a timer for any If or Else If condition 3 Enter a value for the number of occurrences before trigger in the Cont field up to a maximum of 65535 occ...

Страница 107: ...e If no other state has been defined choose New State to add a state Multi Link Triggering You can set different triggering for each link To set different trigger conditions for a link check the Multi Sequencer check box and select the link for setup from the Port drop down list Figure 2 80 Multi Link Triggering Setup Set Timers You can set and use up to three timers for triggering You can set eac...

Страница 108: ... 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 If timer expires before End Event occurs Figure 2 82 Timeout Dialog ...

Страница 109: ...flow can occur if interval between state jumps is less than 60 DWORDs In Advanced Mode infinite loops are usually used to check if an event occurs before a timeout In this case you can use the Timeout dialog to avoid hardware queue overflow Figure 2 83 State Machine with Multiple Patterns and Timer Elapse In Figure 2 83 the port detects HARD_RESET which starts the Timer When the timer expires it j...

Страница 110: ... trigger when the port detects the End Event before the Timeout occurs In our example this is the Bus Condition Capture begins when the ports detects the Bus Condition before the Timeout occurs If the port does not detect the Bus Condition until the Timeout occurs the State Machine in Figure 2 84 jumps to State 0 Useful Key Sequences The following key sequences are active to assist you in navigati...

Страница 111: ...ot show MUX Setting button Notes To include some descriptive information about the project click the Notes tab and enter a brief descriptive note See Add a Project Note on page 100 Exercise and Capture SAS To perform a capture with SAS Initiator Emulator generated bus traffic click File New Protocol Analyzer Initiator Emulator SATA To perform a capture with SATA Host Emulator generated bus traffic...

Страница 112: ... or Events These commands can execute in a program loop or be subject to user specified conditions Figure 2 88 SAS Host Emulator Program Dialog SATA You can create a Host program using ATA Frames and or Events Add Program Lines To add program lines enter the number of lines to add in the Insert field then click a command button ATA SCSI TASK SMP Frame or Event Note SAS Initiator Emulator supports ...

Страница 113: ...le smart commands click the Settings tab to open the Settings dialog click the Advanced button to open the Advanced Target Setting dialog go to the Miscellaneous Feature tab check Support smart feature set and check the specific features to enable them see Miscellaneous Features Tab on page 188 Note about Payload Data file The software refreshes the Payload Data file automatrically so when you sel...

Страница 114: ...ser 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 a command Figure 2 91 SAS SCSI Dropdown List The following menu options are available MMC6 SBC3 SMC3 SPC4 SSC2 OSD2 ADC3 User Defined ...

Страница 115: ...I Command User defined SCSI commands are Non Data Read from Block Device Read from Non Block Device Write to Block Device Write to Non Block Device Bi Directional from Block Skip_Write and Skip_Read Adding a TASK Command SAS only Click the Insert Task Command button and choose the command to insert Figure 2 93 SAS TASK Dropdown List The following menu options are available Abort Task Abort Task Se...

Страница 116: ...d to insert Figure 2 94 SAS SMP Dropdown List The following menu options are available Report General Report Manufacturer Information Read GPIO Register Report self configuration status Report zone permission table Report zone manager password Report broadcast Discover Report Phy Error Log Report Phy SATA Report Route Information Report phy event Discover list Report phy event list ...

Страница 117: ...Zone lock Zone activate Zone unlock Configure zone manager password Configure zone phy information Configure zone permission table Configure route information Phy control Phy test function Configure phy event Configure Zone Permission Adding a Frame SAS Click the Insert Frame button and choose the frame type to insert Figure 2 95 SAS Frame Dropdown List Note SSP and STP frames offer additional opt...

Страница 118: ...p Data User Defined SATA Click the Insert Frame button and choose the frame type to insert Figure 2 96 SATA Frame Dropdown List The following menu options are available Self Test Host to Device DMA Setup Data User Defined Adding an Event Click the Insert Event button and choose the event to insert Figure 2 97 SAS Event Dropdown List The following menu options are available PS Request PS Response W...

Страница 119: ...ff 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 PM Request PM Response Wake Up Soft Reset OOB Signal Primitive Attach Detach Power On Power Off PHY Setting Change Speed Change Data Frame Size Setting ...

Страница 120: ... PHY Capabilities you can select Calculate PARITY bit or not For Line 0 enter Start TX SSC Type and or Requested Logical Link Rate For Line 1 enter G1 without SSC G1 wirth SSC G2 without SSC G2 with SSC G3 without SSC and G3 with SSC Inserting Instructions Instructions are logical program elements that allow the definition of how the Initiator Emulator program executes Using instructions you can d...

Страница 121: ...ion Figure 2 102 End Loop Add a Goto To insert an unconditional jump to a previously labeled command insert a Goto instruction Then click the down arrow on the Drop down combo box and choose the label to designate the destination command Figure 2 103 Goto Add an If To insert a conditional jump to a previously labeled command insert an If instruction Choose a specialized condition for the If from t...

Страница 122: ... the Goto This instruction causes the Initiator program to go to the specified label if any frame occurs prior to the expiration time If the expiration time occurs first the Initiator program goes to the next step Figure 2 107 Wait Add Wait for PS SAS only Insert this instruction and select PS_ACK or PS_NAK Set an expiration time and a label for the Goto This instruction causes the emulator to go ...

Страница 123: ...t Delay To delay program execution insert a Delay instruction Enter the delay value in microseconds in the number text box to define a delay Figure 2 110 Delay Add Stop To define the end of the Initiator Emulator program insert the Stop Initiator Exerciser instruction Figure 2 111 Stop Add a Label Add a label to any command to use for conditional and unconditional jumps Click the command to label ...

Страница 124: ...ght click in the initiator page and choose Insert before current position or Insert after current position Figure 2 113 Instruction Insert Phy Reset Sequence and Identification The system performs this when required by default but you can perform it manually or on each run Sample Host Emulator Program SATA only Figure 2 114 shows a simple completed SATA Host Emulator program Figure 2 114 SATA Samp...

Страница 125: ...blocks If you need a new data block select Configuration Data Block or click the Data Block icon on the tool bar to open a data block definition dialog See Creating a Data Block on page 150 for instructions on creating data blocks Exercising Specific Addresses Since more than one device can be active at any given time you can specify specific commands to send to an address To assign commands to an...

Страница 126: ...how Find section All Info and SAS Address SATA Dialog has devices D1 to D2 and does not show T1 to T2 SATA Dialog does not show Supported Pages and Subpages SATA dialog lists Word Description and Value not Offset Field Length and Value SATA dialog lists Device Type Serial Number and Spec Version not Protocol Supported SSP SMP STP 2 Click the Find device button to display all active addresses Figur...

Страница 127: ...is 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 execution by the SATA Host Emulator You can export commands from all available samples between X and Y cursors or between designated commands To perform this action 1 Run a capture project or open a previously run and saved a ...

Страница 128: ...itiator 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 5 Choose an export range and item Command or FIS then click Export ...

Страница 129: ... run this set of commands immediately or you can modify it by inserting instructions and or additional commands Error and Command Settings Each command type allows you to set a variety of command settings and to introduce errors Click the Option button on a command line to display the corresponding Protocol Error and Command Settings dialog ATA Error and Command Settings Figure 2 123 SAS Protocol ...

Страница 130: ... External Trigger Out Click the down arrow on the External Trigger out combo box to choose the external trigger level High Low or No change on command execution Retry Enter a value for the number of command retries when a command failed in the Retry text box Store Payload in Buffer Check the Store Payload in Buffer check box and enter values for Data Offset and Data Length Auto Update LBA Check th...

Страница 131: ...ay in sending Done Close or Break Select the Close Connection Settings from the drop down lists Outgoing Open Error Check Outgoing Open Error and then the enabled Error Settings button to display the Open Frame Setting dialog Figure 2 126 Open Frame Setting Dialog Check errors to introduce Scroll through the available choices in the Destroy Field of Frame list box and check the field to destroy In...

Страница 132: ...imple Head of Queue Ordered or ACA Outgoing ATA 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 Settings dialog Figure 2 128 Outgoing Frame Settings Frame Type Error Check this to introduce a f...

Страница 133: ...d CRC errors Check these and specify Double or Omit by checking the corresponding option button Insert Primitive Check Insert Primitive and then click the Type button to open the Primitive Type dialog and select the primitive type Figure 2 129 Primitive Type Dialog Click the down arrow on the Primitive combo box choose a primitive then click OK Fill reserved fields with Enter a value for which res...

Страница 134: ...en SOF and EOF Incoming ATA Frame Settings Before selecting Incoming Frame Settings select the Types Of Frames and the Frame Number on which to inject an error Then check Incoming Frame in the Generate Error On area and then the enabled Settings button to display the Incoming Frame Settings dialog Figure 2 130 Incoming Frame Setting Dialog ATA Handshake Error Check Handshake Errors to enable selec...

Страница 135: ...port Physical Rate 1 5 G 3 or 6 Trigger Source Click the down arrow on the Trigger Source combo box and choose trigger type Immediate Wait for external trig or Wait for Analyzer trig External Trigger Out Click the down arrow on the External Trigger out combo box to choose the external trigger level High Low or No change on command execution Retry Enter a value for the number of command retries for...

Страница 136: ...he drop down list Check Delay in Sending to specify the delay in sending Done Close or Break Select Close Connection Settings from the drop down lists Store Payload in Buffer This option is available for read type commands Choose and specify Data Offset and Data Length Auto Update LB Check to enable Auto Update of LBA then specify the update by checking the option Outgoing Open Error Check Outgoin...

Страница 137: ...e to an incoming Open frame check Incoming Open Frame Response select a Primitive and enter a value for Delay Figure 2 134 SAS Open Primitive Response Enable First Burst Check the Enable First Burst box to specify to transfer the first burst data as defined by the First Burst Size field in the Advanced Initiator Setting dialog See Figure 2 142 on page 142 Task Attribute Choose a task attribute of ...

Страница 138: ...g Frame Setting Dialog SCSI Frame Type Error Check this to introduce a frame type error Remove Frame from sequence Check this to remove frame from sequence Delay in sending frame Check this to delay sending frame and enter a value for the delay Frame Length Error Check Frame Length Error then choose the type of error to introduce Code violation and Disparity error Check these and specify DWORD off...

Страница 139: ...Frame You can insert a frame before or after the current frame To insert a frame check Insert Frame check the option button at which to insert the frame and choose a Frame Type Figure 2 136 SAS Insert Frame Incoming SCSI Frame Settings Before selecting Incoming Frame Settings select the Types Of Frames and the Frame Number on which to inject an error Then check Incoming Frame in the Generate Error...

Страница 140: ...h Error then choose the type of error to introduce SOF EOF and CRC errors Check these and specify Double or Omit by checking the corresponding option button Code violation and Disparity error Check these and specify DWORD offset and the number of error DWORDs Insert Primitive Check Insert Primitive click the Type button to open the Primitive Type dialog then select the primitive type The host can ...

Страница 141: ...ly 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 You can run a Pattern Generator To run the Pattern generator check the Run Pattern Generator option button and select a Pattern Generator File You can create Pattern Generator Files See...

Страница 142: ... click OK you can Enable Muxing On Pattern Generator You can select a Pattern Generation file Initiator Emulator You can run an Initiator Emulator while setting Auto stop exerciser when Analyzer stops SAS Address Data Frame Payload Size Frame Receive Timeout Logical Block Size ATA Command Execution Timeout Send NOTIFY ENABLE SPINUP primitive Check Autostop exerciser when Analyzer Stopped to halt t...

Страница 143: ...ery 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 STP Initiator ALIGN Transmission Period Bus Inactivity Time Limit Maximum Connect Time Limit First Burst Size I_T nexus loss time Max Credits in each Connection Delay between getting HOL...

Страница 144: ...s 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 Figure 2 143 OOB Signal Setting Tab ...

Страница 145: ...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 Use the Speed Negotiation tab to inject errors during speed negotiation Figure 2 145 Speed Negotiation Tab ...

Страница 146: ...alyzer User Manual 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 Figure 2 146 SATA Host Setting Tab ...

Страница 147: ...15 seconds is the default the host emulator performs the action specified in the Advanced General ATA command timeout recovery action settings The options are Nothing Send Soft Reset and Hard Reset Figure 2 147 ATA Command Execution Timeout Choose Host Emulator Port For each port select a speed Pattern Generator You can select a Pattern Generation file To perform a capture with a Pattern Generator...

Страница 148: ...Size and ATA Command Execution Timeout 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 If the execution of the command takes more than the timeout specified 15 seconds is the default the host emulator performs the action specified in the A...

Страница 149: ...isplay 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 Specify Speed Negotiating Failure Option s and a Speed Negotiation Failure Type ...

Страница 150: ... 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 Inter reset Delay Settings Enter a value for SATA port Selection T1 to specify the inter reset assertion delay for the first event of the selection sequence and SATA port Selection T2 to specify the inter reset assertio...

Страница 151: ... 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 ...

Страница 152: ...lable and is grey Creating a Data Block You can create the following types of data blocks for use with data fields Random data pattern Custom data pattern specifically for your application Counter data pattern Walking bit pattern To create a data block click the Default Data Block button on the Main toolbar or select Configuration Data Block to open the Data Block dialog box as shown in Figure 2 1...

Страница 153: ...ow and the cell length up to 16 bytes cell This is a display function only 3 Click either the Bin Hex or Ascii option button to choose a number format 4 Click either the LSB or MSB option button to choose a bit order Naming a Data Block Each new data block automatically receives a sequential data block number To assign a unique descriptive name to a data block right click the data block name to op...

Страница 154: ... data in the defined cell structure by these methods Define your own pattern Set a counter Choose a Random Pattern Choose a Walking Bit Pattern Define Your Own Pattern To define a pattern 1 Click Pattern to open the Define Pattern dialog box as shown in Figure 2 156 2 Enter a data pattern in the Data Pattern edit box 3 Choose the number of times to repeat that pattern and click OK Figure 2 156 Def...

Страница 155: ...content or insert additional data Insert Overwrite Data To define whether to overwrite data in a previously defined cell or insert new data after that cell toggle the Insert Overwrite button Save When you have completed a data block definition click the Save button to save the newly created data block Counter To use a counter as data click the Counter button enter a Starting Number for the counter...

Страница 156: ...andom 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 or 1 the walk direction the start position and the number of times to repeat the pattern Figure 2 159 Define a Walking Bit Pattern ...

Страница 157: ...es defined 1 2 4 8 or 16 Item5 is the direction LSB or MSB Then enter the data in space delimited Hex format and save as a txt text file Load Data To import Text Editor created data click the Load button in the data block definition dialog to open the Load dialog Choose a file and click Load Modify existing data Save As To create a new data block from an existing data block using a text editor sel...

Страница 158: ...Performance Analysis with Analyzer Only Note Only Performance Analysis with Analyzer is supported Performance Analysis with Emulation Trainer or InFusion is not supported New Performance Analysis Project To perform a Performance Analysis on bus traffic and start a New project click File New Performance Analyzer Analyzer Only Last Saved Performance Analysis Project To open the last saved Performanc...

Страница 159: ... STP for SATA Commands SMP for Management Commands Address Frame for Open and Identify Analyzer Port Check the Analyzer Port s to include in the performance calculation Link Check the Link s to include in the performance calculation STP Port Enter the STP port number for the STP port to include in the performance calculation SAS Source Address SAS only Enter a SAS Source Address to include in the ...

Страница 160: ...data transferred during update interval Average Payload Size Ratio of overall payload size to number of data frame Completed Command Rate Ratio of completed commands to total com mands Data Efficiency Ratio of data payload time to data frame time Event Counts Number of Frame Events SCSI Command Number Number of Data Frame Events Number of Protocol Errors Number of Completed Commands Number of Comm...

Страница 161: ...o reset for each Update interval 3 Set the Analyzer Speed for each port used 4 To disable descrambling check the Disable Descrambling check box or check Disable Scrambling 5 Enter a value for Primitive Response Timeout 6 Choose the Align Transmission Period by checking the corresponding option button 7 To select Protocol Errors to exclude from the analysis click the Protocol Error Mask button and ...

Страница 162: ...col Analyzer User Manual 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 ...

Страница 163: ...perform the defined analysis click the Run Hardware button and wait for the result to display Target and Device Emulation You can run the analyzer while device emulation is active to monitor bus traffic Pages Tab SAS To set up SAS Target Emulation click File New Target Emulator to display the target emulator with the Pages tab selected Area Chart Columns and Bar Chart Line Chart Pie Chart Switch b...

Страница 164: ...dium Type and Device Specific Parameter for the target emulator 3 Check SSP or SMP to specify the protocol to support 4 To reset the pages to the default settings click the Default Settings button 5 To use a previously defined Target click the Import button and choose a previously defined Device Identifier saf file Note Clicking the Import button on any of the Target Emulation dialogs sets all the...

Страница 165: ...bled White Value fields on the Identify page 3 To reset the pages to the default settings click the Default Settings button To use a previously defined emulation click the Import button and select an emulation Writable Buffer Size Field Writable buffer size field is about 3 5 GB Error Injection Tab Clicking the Error Injection tab opens the General Errors dialog SAS In addition to specifying gener...

Страница 166: ... Protocol Analyzer User Manual 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 ...

Страница 167: ...he period unit of time number of IO commands or number of kilobytes transferred by checking the corresponding option button Outgoing FIS Command Error or Outgoing Frame Command Error SAS Check Generate Error on outgoing FIS commands then click the Setting button to open the error setting dialog Figure 2 170 SAS Outgoing FIS of Command Error Setting SATA Check Generate Error on outgoing frame comma...

Страница 168: ...Code violation and Disparity errors Check these and specify the DWORD offset and the number of error DWORDs Don t check credit SAS only Check this to disable credit checking Value of Reserved Fields Enter a value Ignore XRDY RRDY sequence SATA only Check or not Delay in HOLD Response SATA only Check or not No WTRM SATA only Check or not SOF EOF CRC Errors Check any or all and choose the criteria f...

Страница 169: ...k Reset If unchecked after every Link Reset the Emulator resets its internal Command Number Counters and re initializes the Error injection core If checked the Emulator keeps the state Retain Error Injection Counters after drop link error injection If unchecked after every Link Reset the Emulator resets its internal Command Number Counters and re initializes the Error injection core If checked the...

Страница 170: ...ded Not to send Identify frames check the Do not send identify frames option button Frame Type Error Check this to send a Frame Type error Frame Length Error Check Frame Length error and enter the number of DWORDs in the corresponding text box SOAF EOAF and CRC Check any or all and check the criteria for introduction Code violation and Disparity Check either or both and specify DWORD offset and Nu...

Страница 171: ...he 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 3 Enter a value for Outgoing Open Frame Number and Number of Errors in the corresponding text box Outgoing Frame Settings Click Outgoing Open Frame Error Settings to display the Open Frame...

Страница 172: ... the Close Sequence Type drop down list box then choose a closing sequence 3 For a delay in sending click the Delay in Sending check box click the down arrow on the associated drop down list box choose what to delay and enter a value for the Delay Time Figure 2 176 SAS Delay in Sending 4 Click the down arrow on the ClOSE Primitive or DONE Primitive dropdown list box in the Close Connection Setting...

Страница 173: ...y command then enter 2 for the Command Number you inject error on the 2nd Inquiry command Number of error commands specifies the number of commands for which you want to inject error For example if you select the Inquiry command then enter 2 for the Command Number and enter 3 for Number of Error Commands the target emulator injects error on the 2 3 and 4 Inquiry commands because you want to inject...

Страница 174: ...nd Number and Number of Error Commands in the 4th and 6th parameters See API reference manual section 5 5 139 page 748 ErInjSetSCSICommandRepeatedErrorOnCommandNumber int nCommand BOOL bEnable short iCountOfRepeatedErrorsOnCommands nCommand specifies SCSI command See 6 52 SCSI Command type definition in the API manual bEnable TRUE means you want repeat error as much as iCountOfRepeatedEr rorsOnCom...

Страница 175: ...utgoing Frame Setting Dialog Frame Type Error Check this to introduce a frame type error Remove Frame from sequence Check this to remove frame from sequence Delay in sending frame Check this to delay sending frame and enter a value for the delay 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 off...

Страница 176: ...that you have clicked More Incoming Frame Settings Before selecting Incoming Frame Settings select the Types Of Frames and the Frame Number on which to inject an error Then check Incoming Frame in the Generate Error On area and then the enabled Settings button to display the Incoming Frame Settings dialog Figure 2 179 Incoming Frame Setting Dialog Handshake Error Check Handshake Errors to enable s...

Страница 177: ...et Management Write Uncorrectable Ext Security Disable Password Security Erase Password Security Erase Unit Security Freeze Lock Security Set Password and Security Unlock 2 When you choose Command Number you can use Repeat error for periodic series of errors in commands Set the number of times to repeat the error by entering a value in the Number of Error Commands text box Note Once you check the ...

Страница 178: ...oing Frame Setting Dialog Frame Type Error Check this to introduce a frame type error Remove Frame from sequence Check this to remove frame from sequence Delay in sending frame Check this to delay sending frame and enter a value for the delay Additionally check No WTRM Code Violation on SATA primitive Disparity error on SATA primitive Ignore XRDY RRDY sequence Delay in HOLD response in sending HOL...

Страница 179: ...defined list of values Set Value of Field Check Fill Out in the Field of Frame area and enter values for fields Insert Frame Check Insert Frame and then click the down arrow on the Type combo box and choose the frame type Make sure that you have clicked More Note In addition to the pre defined frame types you can scroll down the list to User Defined and then enter your own frame data between SOF a...

Страница 180: ...nly Click the SATA Signature icon in the Errors window to display the SATA Signature dialog Figure 2 183 SATA SATA Signature Dialog Choose SATA Signature Content Choose either the pre defined Standard or SATA Alternatively you can define your own signature by checking the User Defined option button and then entering values in the enabled fields Specify when to send Signature You can choose from Do...

Страница 181: ...g Frame Length Error Choose the Frame Length Error type to introduce SOF EOF and CRC Errors Check any or all and check the criteria for introduction Code Violation and Disparity errors Check and specify DWORD offset and Number of DWORD errors for Disparity error Additional Settings Set and check Value for Reserved fields Ignore XRDY RRDY Sequence Delay in HOLD Response No WTRM Insert Primitive Che...

Страница 182: ...the corresponding text boxes 2 Click the down arrow on the Type combo box and choose a command type 3 For command types requiring configuration data click the down arrow on the enabled Config data combo box and choose appropriate configuration data 4 Enter the CDB length 6 10 12 or 16 5 When done click the New button 6 The defined command appears in the command name window 7 To make changes to a p...

Страница 183: ...an End Address click the down arrow under the Area Type and choose Normal Writable Circular Writable or Non Writable Note To set and get the settings of Media Settings Area Types use these two functions SetMediaAreaAttribute int nAreaIndex int nStartAddress int nEndAddress TrgEmulMediaAreaTypeEnum eAreaType int pnErrorCode GetMediaAreaAttribute int nAreaIndex int pnStartAddress int pnEndAddress Tr...

Страница 184: ...il you deactivate it This is the default behavior Period of Activation has no effect If Activate Device n where n 1 the software activates and deactivates Target Emulator n times with activation period specified in the period of activation field For example if Activate Device 10 and period of activation 2000 ms the software activates Target Emulator for 2000 ms and then deactivates it and then rep...

Страница 185: ...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 Figure 2 189 Speed Negotiating Error Setting Dialog Check a Speed Negotiation Error check box and choose a failure type by checking a corresponding option button Additionally you can choose the Synchronization failure...

Страница 186: ...un the analyzer while device emulation is active to monitor bus traffic Device Emulator Settings SATA only Click the Settings tab to display the Device Emulator Settings dialog The Settings tab opens with a default set of values which you can modify To return to these values click the Default Settings button Figure 2 190 SATA Device Emulator Settings PHY Link layer settings Enter values for Align ...

Страница 187: ...list box and choose a port speed Use the Speed Negotiation Setting button to open the dialog see Speed Negotiation Tab on page 143 Note If you have made some changes to a defined emulation and want to return to the original definition check the Activate the emulator with old settings Ports Configuration Click the Port Configuration button to display the Ports Configuration dialog see Ports Configu...

Страница 188: ...rotocol Analyzer User Manual 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 ...

Страница 189: ... the Identify page 2 Specify the response type for PMREQ_P and PMREQ_S the delay and Minimum Number of Response Primitives 3 In the Device Initiated Power Management area choose whether to support the report in the Identify page 4 Define start event by choosing Standby timer expires STANDBY command executes or Link layer remains in IDLE state more than XXX ms 5 Specify time for Abandon request and...

Страница 190: ...gs 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 ...

Страница 191: ...e set For self test check Enable smart self test For error logging check Enable error logging To return user data for READ DATA check READ DATA returns user data To set threshold enter an integer in Threshold exceeded To never exceed threshold enter 0 4 To enable Transmit Spread Spectrum Clocking check Enable Transmit SSC Project Note Click the Notes tab and enter a Project Name and a brief descri...

Страница 192: ...LeCroy Corporation Target and Device Emulation 190 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...

Страница 193: ...ol Analyzer User Manual 191 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 ...

Страница 194: ...ey upload As soon as a trace part uploads it is available in all trace views If you only need quick successive traces and do not need to save them keep the default setting to enable Quick View If you need to save all captured traces unchecking the Quick View setting loads traces faster especially for larger traces and slower connections than Gigabit Ethernet To refresh the viewer display with more...

Страница 195: ...e the default workspace or save options in the Software Settings dialog To toggle among open windows use CTRL TAB To reverse toggle order use CTRL SHIFT TAB To make a frame a trigger pattern in Packet View right click any frame select Add to Trigger and add the pattern to DataPatternCapture Sample Properties The Sample Properties dialog displays Software version Sample file version Grouping Type H...

Страница 196: ...al Save and Open a Workspace The workspace wss file sets viewing parameters Save After you open a trace and select views you can save the viewing parameters in a workspace file Select File Save Workspace to open a Save As dialog Save the current workspace as a wss file Default To set a default workspace select Configuration Software Settings to open the Software Settings dialog In the Default Work...

Страница 197: ...t Workspace field enter the path and name of the workspace wss file that you saved in step 3 Because the default workspace contains only Packet View the software opens trace files in Packet View CATC Navigation View To change the trace display to a CATC Trace click the CATC Navigation button You can change the colors fonts and so on in the Sample Viewer Configuration see Sample Viewer Configuratio...

Страница 198: ...d to the timestamp It also shows different speed 1 5G 3G 6G DWORDs Different DWORD cell height shows the duration of the DWORD To display Column View of the current capture click View Column View or click the button on the View Type toolbar Figure 3 7 SAS Column View Figure 3 8 SATA Column View Right click in the Column View to display commands Software Settings Time Stamp Format LeCroy Format Mil...

Страница 199: ...olumns You can rearrange columns by left clicking in the column title and then dragging the drag and drop icon to a new position Save As Text Excel Select File Save As Text Excel to open the Save As Text dialog For Save As Type select Text Files or Excel Files For Save As Range select All Packets or enter a cursor range Enter a File Name and click Save Note The Save As Excel option is available on...

Страница 200: ...t is selected you can click on one port button at a time to show hide the capture for that port Show Hide Single Port is time consuming as it shows or hides one port at a time Show Hide Multiple Ports If Show Hide Multiple Ports is selected you can click on multiple ports to show or hide them This mode is much faster Click on multiple ports to show or hide them Figure 3 12 SAS Show Hide Ports Tool...

Страница 201: ...en appear in the restore list Related Frames Right click a Command frame for an SSP frame or Register Device to Host for an STP frame to open a short cut menu then choose Goto Response to jump to the corresponding Response frame in the viewer Figure 3 16 Goto Response Similarly right click a Response frame for an SSP Frame or Register Device to Host for an STP frame to open a short cut menu then c...

Страница 202: ...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 Right click in the field select Byte Order and choose the ordering Figure 3 19 Byte Order Note A blue arrow in the byte order field indicates that it has been changed ...

Страница 203: ...k 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 the data in detail Figure 3 21 Show All Data You can expand or collapse all data fields globally To expand all data fields right click the mouse in a data field and choose Expand All Figure 3 22 Expand All Data ex...

Страница 204: ...ist View which displays field information in a list format The information of this view is shown in the Packet View under the Transport layer Expand the Info Unit then expand the Sense Data refer to the screen capture below To open a Field List View of the current capture select View Field List View or click the button on the View Type toolbar Note This icon will appear in the top tool bar only if...

Страница 205: ...t in a separate window as shown in the following figure Figure 3 24 Field List View Displayed in a Seperate Window Field List View Embedded in Frame or Spreadsheet Views 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 def...

Страница 206: ...of the Packet View fields in a time sequential spreadsheet format To display the Spreadsheet View of the current capture click View Spreadsheet View or click the button on the View Type toolbar Figure 3 26 SAS Spreadsheet View Figure 3 27 SATA Spreadsheet View Right click a column heading to go to Software Settings make all columns the same width choose Time Stamp Format or Goto a position Right c...

Страница 207: ...ck Address LBA You can set different LBA formats in Packet View and Spreadsheet View To change the LBA format right click the LBA column to display the popup menu select Format and change the format to Decimal Hexadecimal or Binary In Spreadsheet View you can also click the Sample Viewer Configuration icon to display the Sample Viewer Configuration dialog Expand the Frame List Spread Sheet View se...

Страница 208: ...e displayed in red To hide error frames from the histogram click the button Note To display the error code of a protocol error click the error icon with the red x Pending IO Graph The Tool menu has a Pending IO Graph command with horizontal zoom vertical zoom click and drag zoom graph area zoom synchronize with trace view fit to graph area and graph view User Defined You can define additional item...

Страница 209: ...he Primitive list box and choose a Primitive Figure 3 32 SAS Choosing a Primitive Figure 3 33 SATA Choosing a Primitive Check a Connection Type option radio button if available and click OK Zoom You can Zoom from x1 to x256 Bus Utilization View The Bus Utilization View displays information on pending IO To display the Bus Utilization View of the current capture click View Bus Utilization View or c...

Страница 210: ...w Synchronize all open views to that location in the trace Fit to Graph Area Zoom to fit Hide Do not display the graph To synchronize all open views to that location in the trace double click the graph Bus Utilization Buttons The Bus Utilization window has a row of buttons for changing the format of the displayed data The buttons have the following functions Horizontal zoom in Vertical zoom in Hor...

Страница 211: ...on on the View Type toolbar to enable the waveform display The Compact View shows the OOB Sequence with speed negotiation Figure 3 36 SAS Waveform View Figure 3 37 SATA Waveform View Making a timing Measurement Timing measurements are made with two timing cursors T1 and T2 Click the left mouse button in the gray bar on the top of the waveform display at a point for the T1 cursor and the right mous...

Страница 212: ...ew checkbox in the Waveform View window The OOB Sequence has speed negotiation Hardware version 4 or later Figure 3 39 SATA Expanded Waveform View Spec View Spec View shows packet header information To obtain the Spec View from the CATC View left click to display a popup menu then select the View Field option To obtain the Spec View from the Catalyst View right click to display a popup menu then s...

Страница 213: ...A Protocol Analyzer User Manual 211 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 ...

Страница 214: ...t 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 You can get more information about the data exclusion using the tooltip over the separator Note You can control the number of bytes per line Find Data Pattern To quickly locate a data pattern in the current frame enter...

Страница 215: ...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 Right click a payload field in Packet View or a related frame in Text View or Spreadsheet View to display a menu and choose Set as Second Data Payload To compare data payloads click the Show Hide Compare 2 Data Payloads button on the View Type toolbar Figure 3 42 Com...

Страница 216: ...here is no command to tile views vertically Port Status You can get an overview of the active ports by clicking the Port Status button at the bottom right of the application window The Port Status displays the Port Speed and Analyzer In addition to displaying OOB Link Frame and Error a display showing the buffer full opens when a trigger occurs Figure 3 43 Port Status Window and Capturing Time 1 P...

Страница 217: ...lbars To display or hide toolbars select View Toolbar then check or uncheck toolbars Toolbars are Main Viewer Cursor Position Layers Decode Channels Unit 1 Unit2 and so on Viewer Setting View Type Once enabled the toolbars can dock at the Viewer Display window or float on the windows desktop Main Toolbar See SAS Software Menus and Toolbar on page 44 View Type Toolbar See Switching Views on page 19...

Страница 218: ...ng on page 222 The Hide RRDY Primitives button toggles the display to show hide RRDY primitives see Filtering on page 222 The Hide Unassociated Traffic button toggles the display to show hide unassociated traffic see Filtering on page 222 The Hide All Primitives button toggles the display to show hide all primitives see Filtering on page 222 Note When capturing PM traces you need the ability to fi...

Страница 219: ...a M6 2 SAS SATA Protocol Analyzer User Manual 217 Toolbars LeCroy Corporation The SCSI Spec Assignment button displays the SCSI Spec Assignment dialog for SAS It displays the ATAPI Assignment dialog for SATA ...

Страница 220: ...ge 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 The Full Screen button on the Viewer Setting Toolbar increases the data display area to the full screen The Zoom In button on the Viewer Setting Toolbar magnifies the data display area on the screen Clicking this button in Column or Text View...

Страница 221: ...rmal Zoom button on the Viewer Setting Toolbar resets the zoom to default normal on the screen Clicking this button in Column or Text View resets column width only The Wrap Packets button on the Viewer Toolbar wraps the packet data in the display to eliminate the need for horizontal scrolling The View Setting button on the Viewer Setting Toolbar opens the Sample Viewer Configuration dialog see Dis...

Страница 222: ... The Pack Unpack Repeated Primitives toggles packing repeated primitives in one port The Show Hide Physical Packet button toggles the display of physical layer packets The Show Hide FIS packet button toggles the display of FIS layer packets When OFF the FIS layer and its links are hidden The Show Hide CMD packet button toggles the display of the CMD packets When ON only the command layer displays ...

Страница 223: ...ver a data field Figure 3 45 Payload Data Display 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 The Symbol Notation button decodes the 8 bit or 10 bit encoded data in Column View The Show Data button disp...

Страница 224: ... Search Status segment Filtering The Filtering menu and options allow you to modify data in the sample viewer display to exclude packets with a set of user defined patterns and show the results in all views To set up filtering you must have a viewer display open The Filtering menu has the options Enable Filtering see Enable Filter on page 232 Filtering see Filter Setup on page 223 Link Layer SAS T...

Страница 225: ...Protocol Analyzer User Manual 223 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 ...

Страница 226: ...un time are available for selection for filtering Filter Type You can choose to show or hide the Filter Type items by checking the Show or Hide option button Note When capturing PM traces you need the ability to filter the PM primitives so you can find commands quicker Filtering Direction You can select items for filtering in a single direction or both directions by checking the corresponding Port...

Страница 227: ...r dialog Filter Logic After you have set up Filter options you can set filter logic to And Related Items to apply AND logic on related selected options for example SCSI commands and SAS Addresses or OR to apply OR logic on all selected options Multilevel Filtering in SAS You can set up a filter in a sequential steps by Multi level filtering In each level you can select specific items to AND to the...

Страница 228: ...LeCroy Corporation Filtering 226 Sierra M6 2 SAS SATA Protocol Analyzer User Manual Figure 3 49 Second Level of Multilevel Filtering ...

Страница 229: ...oftware only filters the filtered packet For example if this option is checked and any SCSI command is selected all transport and link packets of this command are filtered If you unchecked this option only selected SCSI commands are filtered Selectable Filter Options for SAS The SAS Filter Options are Bus Condition Primitive Incomplete Frames Address Frames SSP Frames SMP Frames STP Frames SCSI Co...

Страница 230: ...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 ATA Command When selected depending on the Filter Type the Hide Show selection shows or hides captured ATA commands in the Sample Viewer Protocol Error When selected depending on the Filter Type the Hide Show selection shows or hides captured ...

Страница 231: ...ition 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 Figure 3 52 SAS Filter by Tag Number ...

Страница 232: ...SAS SATA Protocol Analyzer User Manual 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 ...

Страница 233: ...og Figure 3 54 SAS SAS Address Filtering before and after Using Pair SAS Addresses Note If you enable pair SAS addresses the source destination SAS addresses options are disabled and filtering on them is ignored at filtering time If you disable pair SAS addresses the pair SAS address option is disabled and filtering on it is ignored at filtering time Selectable Filter Options for SATA The SATA fil...

Страница 234: ...n selected depending on the Filter Type the Hide Show selection shows or hides captured packets with the specified Protocol Errors in the Sample Viewer Port When selected depending on the Filter Type the Show Hide selection shows or hides packet traffic for the selected port ATAPI SCSI Command When selected depending on the Filter Type the Show Hide selection shows or hides ATAPI SCSI commands Mis...

Страница 235: ...se button in the gray bar on the left side of the sample viewer next to the line in which to place the cursor Positioning the Y Cursor To position the Y cursor within the viewer data display click the right mouse button in the gray bar on the left side of the sample viewer next to the line in which to place the cursor Note You can also left click to set the X cursor and right click to set the Y cu...

Страница 236: ...d choosing the cursor to locate Figure 3 56 Locate Cursor Go to Time Stamp To locate a timestamp click the Go To button and choose Timestamp Figure 3 57 Time Stamp Enter a time stamp value in the Go To Timestamp dialog and click OK Figure 3 58 Go to Time Stamp Bookmarks Bookmarks are a convenient way to mark a point in the data viewer display by name so that you can rapidly return to that point To...

Страница 237: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 235 Using the Cursors and Bookmarks LeCroy Corporation Figure 3 59 Bookmark ...

Страница 238: ...button Repeat for additional bookmarks You can save the bookmark as a text file or Excel CSV file Note Column View has a different bookmark mechanism than other views and you can set a bookmark on each DWORD in the view Editing a Bookmark If a packet has a bookmark you can edit the bookmark by right clicking the data viewer area of the packet selecting the Edit Bookmark command from the pop up men...

Страница 239: ...e 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 Figure 3 62 Bookmark Found Example in Data Viewer Display Bookmark Description To get a quick description of a displayed bookmark position the tool tip over a bookmark The name and description of the bookmark display ...

Страница 240: ...ghlight Set Time Stamp Origin and choose either Absolute Trigger Current Position or Based on system time Search The Search menu and toolbar options permit you to examine any data capture file to quickly locate the packet or data pattern To perform an initial search select Edit Search or click the Search button to open the Search setup dialog Figure 3 64 Note Only items captured in the sample file...

Страница 241: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 239 Search LeCroy Corporation Figure 3 64 SAS Search Data Pattern ...

Страница 242: ...figuration you can save it as a SAS Search configuration file ssh or a SATA Search configuration file tsh by clicking Save You can then use it on a different capture by clicking Load in the Search dialog Search By Choose Hashed SAS Address to search on hash address or choose SAS Address to search for address Search Direction Choose either Forward or Backward direction in which to perform the searc...

Страница 243: ...lows you to search for a specific Data Type Pattern and Length see Figure 3 64 Data Pattern Only Data Payload Length Only Data Pattern and Data Payload Length Advanced options Some of the Search For categories offer advanced options for search To set these options highlight the search item in a category and click the Advanced button to open the Advanced options dialog Figure 3 66 Advanced Options ...

Страница 244: ...Note Some of the search categories allow you to refine the search by specifying specific SAS addresses and STP ports to search Figure 3 67 Search Sub Items When you check the SCSI Command Status the Check Condition item appears in the Search Items Window if a check condition has occurred Clicking this enables Search Sub Items allowing you to refine the search by specifying Sense Key ASC and ASCQ ...

Страница 245: ...er User Manual 243 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 ...

Страница 246: ...ft Align Field Header Setting Text color Name Abbreviation Foreground color Viewer Setting Wrap Packet Enable Tooltips Data Payload Columns in Row 1 2 4 8 16 Bytes in Column 1 2 4 8 16 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 fil...

Страница 247: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 245 Display Configuration LeCroy Corporation Figure 3 69 Sample Viewer Configuration ...

Страница 248: ...Manual 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 Figure 3 70 SCSI Command Fields ...

Страница 249: ...OK Viewer Setting Check the Wrap Packet box to enable the wrapping of packets in the display Check the Enable Tooltip box to enable tool tips for packet fields Data Payload You can format the Data Payload display For Columns in Row select 1 2 4 8 or 16 For Bytes in Column select 1 2 4 8 or 16 Time Stamp Origin Select Absolute User DEfined Trigger or Based on System Time Start Time and Port You can...

Страница 250: ... Save Load Settings You can save the customized configuration settings in a cfg file by clicking the Save button and completing the Save As procedure To load a previously saved configuration file click Load and choose an appropriate file Set Port Alias Port Alias allows you to assign a meaningful name to each port to assist in interpreting the results displayed in the sample view To assign port na...

Страница 251: ...n the sample file later the assigned names are retained Set As Default If you want to set these port aliases for sample files that will be captured later you can set them as default and new samples will be opened by these default port aliases SAS Address Alias SAS only SAS Address Alias allows you to assign a meaningful name to each SAS address to assist in interpreting the results displayed in th...

Страница 252: ...nd Statistical report Figure 3 75 SAS SAS Address Alias If you elect to save the captured sample file the assigned SAS address names are saved together with the result so that when you open the sample file later the assigned names are retained Set As Default If you want to set these SAS address aliases for sample files that will be captured later you can set them as default and new samples will be...

Страница 253: ...and characterization purposes This feature is also useful to compensate for line loss when driving long cables To select TX Vout select Configuration Tx Vout Preemphasis to display the Rx Tx Settings dialog Figure 3 76 Choose Port for TX Vout Copy Selected Port Settings to All Ports implements one port s setting into all other port settings Restore Factory Settings restores default values Save sav...

Страница 254: ...es appear when opened and to set ATAPI Spec Assignment To perform software settings in an open sample view select Configuration Software Settings General Tab Figure 3 77 SAS Software Settings Dialog General Tab The SATA Software Settings dialog has the same options except that it does not have SCSI spec assignment Paths User Path specifies the User folder path used by the software after launching ...

Страница 255: ...der Threads If Quick View is not enabled during cascading specifies the number of concurrent processes for uploading a sample file ATAPI spec assignment Specifies the ATAPI default spec SCSI spec assignment SAS only Specifies the SCSI default spec Convert port configuration without prompt for confirm If the current attached board does not support the project file port configuration the software co...

Страница 256: ...ed on the last saved configuration for the sample file Optimization Sampling memory usage optimization Enables memory cascading for two ports The analyzer will use memory of another port if there is not data on another port see Sampling Memory Usage Optimization on page 259 Quick View Quick View allows full access to the whole trace more quickly especially when using a Gigabit Ethernet connection ...

Страница 257: ... the uploading process if you press Cancel Close previous sample file when new sample file opens When you want to open a new sample file the software closes any open sample files Create statistical report read write page The software creates a Read Write page in the statistical report Enabling this setting displays the Read Write Stream DMA command in the Read Write page Spread Sheet View Tab Figu...

Страница 258: ...on Specific Command Type You can specify a color for each command The software applies the setting on the Command column Anchor the Selection bar You can anchor the selection bar of the Spreadsheet View Set the Anchor row as sync point Other views synchronize based on the contents of the anchor row Other Repeat decoded command in frame column The spreadsheet shows the name of the command in front ...

Страница 259: ... as blank cells Otherwise it will show them as pre filtered cells Show Warning in Search Primitive In Column View If searching in Column View takes a long time the software asks if you want to continue search Otherwise the software continues searching with no pause Column View Packet Size Specifies the allocated buffer for showing rows of a packet in Column View When you see Too Large in a Column ...

Страница 260: ... Field List based on the current Text View Spreadsheet view The software updates the contents of the Field List based on the current Spreadsheet View Mode of frame field list Transport Shows decoding of transport layer Application Shows decoding of Application layer Both Shows decoding of both transport and application layers Other Payload field length Specifies the number of bytes that are shown ...

Страница 261: ...r the system can try to use empty space in all memory banks if you check the MA option Therefore Memory Assignment efficiency is maximum when Trigger Position is set to 0 snap shot trigger and is minimum when Trig ger Position is set to 99 or when there is no triggering you stop recording man ually MUX When MUX is enabled each segment has four memory banks limiting Memory Assignment somewhat Here ...

Страница 262: ...Size and Segment Number parameters the resulting sample size may not be the same However if traffic load distribution is similar sample size will be similar Note The buffer status indicator shows buffer by FPGA not by port If the Sampling Memory Usage Optimization Option is Not Checked Each physical link or logical link if MUX is enabled is assigned to a specific memory space memory bank depending...

Страница 263: ...nsed only for AA cascading the two units and using the License Manager allows each unit to do JA To manage the license select Configuration License Manager The Floating License dialog displays the available functionality by Function Total Ports Assigned To ports and Not Used It also displays the Current License Configuration by License Type Serial Number Analyzer Device Emulator Host Emulator and ...

Страница 264: ...ting External Trig Out Setting The Analyzer can send a Low or High external signal anytime a trigger occurs Select the External Trig Out Setting High Active Low Active or Toggle from High to Low or Low to High once 3 3 V output Enter the External TrigOut pulse width External Trig In Setting An external Low or High input signal can cause triggering Select the External Trig In Setting High Active Lo...

Страница 265: ...lows you to update a Sierra M6 2 Analyzer or CATC Sync expansion card whose current version is incorrect 1 Click Configuration Update Sierra Device to display the Device Setup dialog Figure 3 84 Device Setup Dialog with BAD Device Status Devices whose version is correct have an OK status A device whose version is incorrect has a BAD status Note You can click the ellipses at the end of a file path ...

Страница 266: ...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 Figure 3 86 Info Dialog Then the update is complete Figure 3 87 Device Setup Dialog with DONE Device Status ...

Страница 267: ...t Static IP prompts you to enter a specific IP address To change from DHCP to Static IP while connected to a device using USB 1 Select Configuration Setup IP from the menu bar Figure 3 88 Configuration Menu with Setup IP Command Note If you are not connected to the device using USB the Configuration menu does not have the Setup IP command The IP Setup dialog appears For IP Mode two radio buttons a...

Страница 268: ...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 Click Yes to get a success message Figure 3 90 SAS IP Setup Success Message Click OK The message closes and the device resets 3 To change back to DHCP in the IP setup dialog click the DHCP radio button then click Update ...

Страница 269: ...d decoding allows you to create a definition file to interpret commands and frames that are not in the standard set recognized by the software Select Configuration User Defined Decoding to open the User Defined Decoding dialog Figure 3 92 SAS User Defined Decoding SAS vs SATA SAS adds SCSI Commands SSP Frames and SMP Frames Check ATA Commands and or STP frames Click the ellipses next to a command ...

Страница 270: ...y 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 Enter the path and filename for the license key or browse to the directory that contains the license key and select the lic file Click Open Check for Updates Check whether a new software version is available If so you can download from the L...

Страница 271: ...ent 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 If you try to use a feature for which you do not yet have a license the program displays the License Protection Message To use the feature you must purchase a license Figure 3 95 Licensing Di...

Страница 272: ... range between defined cursor positions or events Report between Cursors Click the option button next to the From cursor selection drop down list Then click the From down arrow and choose the 1st cursor click the To down arrow to choose the 2nd cursor and click OK The resulting report has only the capture between the cursors Figure 3 97 Report between Cursors Report between Events Click the option...

Страница 273: ...r Performance Lanes Others SATA A complete SATA statistical report consists of the following reports accessed by clicking the corresponding tab in the dialog General Bus Condition Primitive FIS ATA Command ATAPI Command Read Write Command Protocol Error Performance Others PM Statistic PM Performance Note Results are displayed only for items that have been captured in the sample Report Options Some...

Страница 274: ...urrences of total count Figure 3 99 General Statistical Report Primitive Report To display the Primitive Report click the Primitive tab The Primitive Report displays information in the following columns Primitive All Custom Unknown For SATA CONT EOF HOLD HOLDA R_IP R_OK R_RDY SOF SYNC WTRM X_RDY ALIGN FOR SAS SATA_CONT SATA_EOF SATA_R_IP SATA_R_OK SATA_R_RDY SATA_SOF SATA_SYNC SATA_WTRM SATA_X_RDY...

Страница 275: ...ondition Report ATA Command Report To display the ATA Command Report click the ATA Command tab The ATA Command Report displays information in the following columns Command All Custom Check Power Mode Execute Device Diagnostic Flush Cache Identify Device Read DMA Ext Read FPDMA Queue Set Feature Write DMA Ext Write FPDMA Queue PM Port Direction All H D D H I T T I or Custom Number of FIS All Custom...

Страница 276: ...on this threshold Any NCQ command that takes more than the given threshold is flagged as yes which means that a timeout occurred for that command ATAPI Report To display the ATAPI Report click the ATAPI tab The ATAPI Report displays information in the following columns Command All Custom Inquiry Mode Sense 10 Read10 Request Sense Direction All H D D H or Custom Number of FIS or Number of Transport...

Страница 277: ...om or a number of occurrences of total count Figure 3 104 SAS Protocol Error Report Others Report To display the Others Report click the Others tab The Others Report displays information in the following columns Items Idle No Number of idle packets Payload Size Total number of payloads in trace files SCSI ATA commands Sample Time Sample time Idle Initiator Host idle time Idle Target Device idle ti...

Страница 278: ... To display the SMP Transport Report click the SMP Transport tab The SMP Transport Report displays the report data in columns with the following information Type All Custom Request Response Direction All I T T I or Custom Duration All Custom or time unit Count All Custom or a number of total count Figure 3 107 SAS SMP Transport Report STP Transport Report SAS To display the STP Transport Report cl...

Страница 279: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 277 Statistical Report Content LeCroy Corporation of total count Figure 3 108 SAS STP Transport Report ...

Страница 280: ... Transport All Custom or a number Payload Size All Custom or a number of DWORDs Status All Custom Good Incomplete Response Data Present Task Attribute Simple Duration All Custom or time unit Count All Custom or a number of total count Figure 3 109 SAS SCSI Command Report SMP Command Report SAS To display the SMP Command Report click the SMP Command tab The SMP Command Report displays the report da...

Страница 281: ...unit Count All Custom or a number of total count Figure 3 111 SAS TASK Command Report SAS Address Report SAS To display the SAS Address Report click the SAS Address tab The SAS Address Report displays the report data in columns with the following information Source SAS Address All Custom or an address Destination SAS Address All Custom or an address Protocol Type SMP SSP STP Frame Type All Custom ...

Страница 282: ...ansfer Bytes All Custom or a number Link Utilization time Link Utilization Figure 3 113 SAS Lanes Report Read Write Command Report SAS 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 Software Settings on page 252 The Read Write Command report displays the report data in columns with the following ...

Страница 283: ...ation Minimum Completion Time Average Completion Time Maximum Completion Time Initiator Bus Utilization Target Bus Utilization Efficiency Total Read Cmd Total Read Bytes Total Read Duration Cmd Minimum Read MB S Cmd Average Read MB S Cmd Maximum Read MB S Total Write Cmd Total Write Bytes Total Write Duration Cmd Minimum Write MB S Cmd Average Write MB S Cmd Maximum Write MB S Average Byte per SSP...

Страница 284: ...rage Completion Time Maximum Completion Time Host Bus Utilization Device Bus Utilization Efficiency Total Read Cmd Total Read Bytes Total Read Duration Cmd Minimum Read MB S Cmd Average Read MB S Cmd Maximum Read MB S Total Write Cmd Total Write Bytes Total Write Duration Cmd Minimum Write MB S Cmd Average Write MB S Cmd Maximum Write MB S Average Byte Per FIS FIS Minimum Difference Time FIS Avera...

Страница 285: ... time unit accumulative Count All Custom or a number of occurrences of total count Figure 3 117 SATA FIS Report Queue Command Report SATA To display the Queue Command Report click the Queue Command tab The Queue Command Report displays information in the following columns Command All Custom Read DMA Queued PM Port Status All Custom Normal Output Payload Size All Custom or a number of DWORDs Direct...

Страница 286: ... Response Entering Delay Wakeup Type Request DC Idle Time Response DC Idle Time Request Wakeup Time Response Wakeup Time Count All Custom or a number Figure 3 119 SATA PM Statistic Report PM Performance Report SATA To display the PM Performance Report click the PM Performance tab The PM Performance Report displays information in the following columns Port Partial Request Partial ACKed Partial NACK...

Страница 287: ...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 OpCode Command LBA Sector Count Payload Size All Custom or a number of DWORDs Status All Custom Good Completion Time Count All Custom or a number Figure 3 121 SATA Read Write Command Report ...

Страница 288: ...ngs Move to X Cursor Y Cursor or None Export as Microsoft Excel file Save as Text file Print Statistical Report The Export to Excel button opens the Export to Excel dialog Choose a folder in which to save the Excel file choose an appropriate file name and click Save The Save as Text button opens the Export to Text dialog Choose a folder in which to save the Text file choose an appropriate file nam...

Страница 289: ...SAS SATA Protocol Analyzer User Manual 287 Statistical Report Toolbar LeCroy Corporation Print Preview Figure 3 122 Sample Print Preview of Report The Print Preview button displays a preview of the report to print ...

Страница 290: ...et 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 Figure 3 123 SAS Statistical Report Column Setting Figure 3 124 SATA Statistical Report Column Setting The Setting button opens the Setting dialog ...

Страница 291: ... 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 The Jump to Next button goes to the next instance of the selected type in the Sample Viewer The Jump to Specific button goes to the instance specified as N of M items on the Statistical Report toolbar The Move drop down list moves to the X ...

Страница 292: ...ize the display by Filtering columns by item Sorting items by column Hiding any column on the display Filtering Column Content To filter column content click the down arrow in the heading for that column and choose the items to display The default is All By checking a specific item you exclude everything but that item for display Figure 3 125 SAS Type Choosing Custom allows you to specify more tha...

Страница 293: ...User Manual 291 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 ...

Страница 294: ...n 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 To unhide a column right click any column and choose Unhide ...

Страница 295: ...isplays all the data sent from the host to the device and from the device to the host All PIO In In commands are grouped as a data packet until the occurrence of a PIO Out Out command creating a new data packet To display a Data Report click the Data Report button on the Viewer toolbar or select Report Data Report Figure 3 130 SAS Data Report Click the Down Arrow in a data field to display Data Re...

Страница 296: ...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 Figure 3 133 SAS Self Test Command on Tools Menu ...

Страница 297: ...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 If a test has an error and you specified one run the Test Result is Error 1 times Saving You can save any check result by checking the Save error details check box and specifying a destination file nam...

Страница 298: ...r tests in order After you check this check box the command button becomes Start All Tests You must click the Stop Test button on the LED Buzzer tab to stop the check Memory Check To perform a SDRAM or Exerciser RAM memory check select the Memory tab Figure 3 135 SAS Self Test Dialog Memory Tab Choose the SDRAM Exerciser Data or Exerciser Instruction to test and click the Start Memory Check button...

Страница 299: ... 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 After a short time the Test Result and Marvel Failure Type appear to the right of the selected line Marvel Failure Type indicates the error type ...

Страница 300: ...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 After a short time the Test Result appears to the right of the selected line ...

Страница 301: ...PGA 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 ...

Страница 302: ...orm 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 After a short time the Test Result appears to the right of the selected line ...

Страница 303: ...rm 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 ...

Страница 304: ...s all vendor specific information and detailed device parameters Find device finds any devices that are attached to any port Select Tools on the main menu bar and choose Find Device Figure 3 141 SATA Find Device Command on Tools Menu The Device Identifier dialog opens Figure 3 142 SAS Device Identifier Dialog Click the Find Device button to search for connected devices After a brief period the dia...

Страница 305: ...cification to a text file Click the Export button to open the Export dialog Compliance Test SATA 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 Note The tests follow the LeCroy MOI which is described in the SATA_Digital Device_MOI_LeCroy_1 00_UTD1 4 pdf file in the installed Documents directory Note You c...

Страница 306: ...ugh GTR 05 Native Command Queuing NCQ 01 through NCQ 05 Asynchronous Signal Recovery ASR 01 and ASR 02 Software Settings Preservation SSP 01 through SSP 12 Interface Power Management IPM 01 through IPM 11 Digital Optional Features DOF 01 and DOF 02 The PHY Test Group has tests OOB 03 through OOB 07 2 Choose the tests in the left pane of the dialog and click the Add button 3 Enter a value for Captu...

Страница 307: ...ile 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 After you select tests click Start 14 The test runs and after a brief period displays the result Figure 3 145 Compliance Test Result 15 To save the current com...

Страница 308: ...ify compliance with the SAS specification Note Speed Negotiation tests are documented in the SAS_2 0_Speed_Negotation_v0 4 pdf file in the installed Documents directory All other SAS tests are documented in the SAS Verification Suite Document pdf file in the installed Documents directory To run a SAS Verification Test 1 Select Tools on the main toolbar and choose SAS Verification to open the SAS V...

Страница 309: ...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 C Program Files LeCroy SAS Protocol Suite User 10 After you select tests click Start 11 The test runs and after a brief period displays the result 12 To save the current compliance setup for later use click the Save bu...

Страница 310: ...t that data in different formats Note You may write your own verification scripts to perform custom verification and analysis For information on how to write a verification script see the Verification Script Engine Reference Manual To run a verification script over a trace 1 Select the main menu item Tools Verification script or click the Running verification scripts button on the main tool bar Th...

Страница 311: ...nts you can edit all scripts in the editor Open all included files You can edit included files as well as the main script Launch editor application in full screen You can use whole screen Path to the template file for a new script You can use a template for the script Display Settings can show full trace file path restore dialog at start load last output from save log files activate dialog after s...

Страница 312: ...cripts 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 4 Right clicking in the script list displays some additional operations over selected scripts Figure 3 149 Run Verification Scripts Menu ...

Страница 313: ... 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 Show Description window Show hide the script description window Shortcut key F2 Show Output Show hide the script output windows Shortcut key F3 Settings Open a special Setting dialog to specify different sett...

Страница 314: ...LeCroy Corporation Running Verification Script Engine VSE 312 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...

Страница 315: ...tor 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 InFusion is the ideal tool for stress testing systems using actual workloads Figure 4 1 InFusion Windows ...

Страница 316: ...o systematically verify error recovery in ways not possible with other test platforms An Infusion event can trigger an analyzer Infusion supports all commands in the SATA 3 0 specification Key Features The key features of InFusion are Error Injection Injects CRC disparity 8b 10b encoding framing and coding errors Break Link Recovery Programmatically breaks the connection to test link recov ery Val...

Страница 317: ...in Batch Script window Open Library Lists the InFusion Library Files infdb which contain the available scenarios in an Open dialog Save Saves the current scenario in the UserData folder Print Prints the current scenario Show Library Displays hides the Main Library window on the right which displays the available scenarios You can create a new scenario save a selected scenario save the library save...

Страница 318: ...on database infdb file New Batch Script Save Batch Script As New Library Close Library Device Library or Main Library Save Library Save Copy of Library As Open Log File Print Setup Exit View Views Library Output Customize see window descriptions in Buttons section above Smart Docking Toolbar Status Bar Show Analyzer Show Trainer Configuration Update Sierra Device see Update Sierra Device on page 2...

Страница 319: ...how 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 View edit a scenario insert a scenario delete scenario and assign scenario to device ports Copy and paste ...

Страница 320: ...ry 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 Save a copy of the library View edit a selected item Delete a selected scenario Assign scenario to device ports Refresh the library Copy Paste ...

Страница 321: ...s not been configured to be a Jammer in the Port Configuration dialog see Port Configuration for InFusion on page 320 Using the Device Ports Dialog After you have finished Port Configuration see Port Configuration for InFusion on page 320 you use the Device Ports dialog to assign specific scenarios to ports so that different scenarios can run on different ports To assign a scenario to a port drag ...

Страница 322: ...st match the Analyzer port configurations for the infusion analyzer to work Select Configuration Port Configuration to display the Set Port Configuration dialog To record traffic select Jammer on the port that you want to jam In the following figure there is a match on Port 1 Figure 4 5 Ports Configuration Dialog with InFusion Analyzer Port Match You can select only one Jammer port at a time with ...

Страница 323: ... to Device However Jammer modifies traffic in one direction only from Host to Device or from Device to Host When using Jammer and Analyzer the Select Port Configuration dialog has options JA as shown in Figure 4 6 Figure 4 6 Select Port Configuration Options with Jammer and Analyzer The following figures illustrate the available setup options JA After Jammer Analyzer captures Jammer to Host and Ja...

Страница 324: ...ce or from Device to Host Note When the Unit Under Test UUT is the Host using JA Host Side see Figure 4 8 will give the most accurate recordings of Host behavior though the Jammer delays will accumulate in the round trip Note When the Unit Under Test UUT is the Device using JA Device Side see Figure 4 9 will give the most accurate recordings of Device behavior though the Jammer delays will accumul...

Страница 325: ...ssign the scenarios for execution to a desired port on an InFusion device You can also download up to ten scenarios to each InFusion device The InFusion application provides a menu driven interface for building scenarios The interface prompts you for simple decisions and choices from drop down menus As you make your selections the script takes shape automatically in the scenario window The script ...

Страница 326: ...Counter is used for Event counting 3 extra actions are consumed 3 more actions are required for Every Nth occurrence option Regarding limits on any of the above mentioned connections i e x timers y monitors are allowed per state where x y n There are a lot of big small rules checked by the scenario compiler but as a rule of thumb 8 actions per state are available 12 counters globally are available...

Страница 327: ...sponse of InFusion hardware to the event In the case of a combined event the action is taken upon occurrence of any of the events stated for the event combination It is a logical OR association meaning any of the events can trigger the action Term Definition Action InFusion response to an event Event Condition that is detectable by InFusion Combined Event Logical OR association of events for examp...

Страница 328: ...st state or to execute a test for a specified period of time As with Global Rules the menu driven interface guides you in building a sequence Some of the prompts are different however because you now are encapsulating groups of events and actions as distinct states Recall that a state is a combination of events and actions at a specific point in time If the event or combined event defined by a sta...

Страница 329: ...r creating and storing new scenarios The main library corresponds with the following file in the InFusion folder on the PC hard drive default infdb File Libraries You can save the main library with a name other than default while still using the infdb file extension The new file becomes a file library that is functionally equivalent to the main library with the following exception It does not open...

Страница 330: ...ry for that device in the Device List the device library for the device opens automatically The scenarios that appear in the device library are those currently stored on the corresponding device They were uploaded from the device to your PC when you opened the device library You can click any of the scenarios listed to open it for editing When you are finished with your edits you can use the butto...

Страница 331: ...tor Change is made to traffic coming from test host for example CRC error is injected into traffic stream sent from initiator to target From Target Modification is made to traffic coming from the target for exam ple CRC error is injected into traffic stream sent from target to initiator The figure shows the first prompt in the scenario creation process Figure 4 14 Entering Basic Scenario Informati...

Страница 332: ...cenario Properties screen the direction for traffic modification is defined on a global basis for the entire scenario In other words any scenario action that modifies line traffic only affects the traffic flowing in the direction established at the top of the scenario in the Scenario Properties Scenario events can be monitored in either direction and therefore the parameters for events provide the...

Страница 333: ... send HOLDA The bus engine FIFOs must be deep enough to hold all the traffic that the other device sends while the HOLD propagates The port drops all incoming HOLDA conditions so HOLDAs are never put in the FIFOs or made visible to the sequencers After this the port that had been receiving the HOLD stops sending HOLDA and attempts to read data from the FIFO The termination of HOLD propagates throu...

Страница 334: ...o area of the application display You can think of the scenario area itself as consisting of two subareas A Global Rules area at the top where you create the Global Rules and a Sequence area beneath the Global Rules where you create any sequences Whether you are creating Global Rules or a Sequence the menu driven interface prompts you to specify the event s for which you want to trigger actions Fi...

Страница 335: ...mand ATA Command Frame Occurrence of a particular ATA command frame ATAPI Occurrence of a particular ATAPI command from the list MMC4 RBC SBC2 SMC2 SPC2 SPC3 or SSC2 Both Links Up Occurrence of both line ports active not idling CRC Error Occurrence of a CRC error DWORD Matcher Occurrence of a particular DWORD FIS Frame Occurrence of a particular FIS frame FIS Type Occurrence of a particular SATA F...

Страница 336: ...ttern When you create a SAS data pattern keep the following in mind The pattern must be defined inside a frame that starts with a SOF or SOAF The pattern must be data only no K codes primitives The pattern must be defined at a specific offset in the frame The pattern and mask must be specified in the same format as specified in the SAS standard 0x12345678 hex where 1 is the first digit on the cabl...

Страница 337: ... 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 Figure 4 18 Action Properties Dialog The following table lists supported actions Note that some of these actions only apply to creating sequences ...

Страница 338: ... SAS ports at electrical idle immediately Reconnect Starts traffic pass through immediately This action restarts traffic after a previous disconnect command Once traffic is passing through the initiator and target resume OOB signaling Monitor Count Opens a window to count the number of events that occur during a session A session is a time interval during which a scenario runs Remove Frame Partial...

Страница 339: ...the action triggers a number of occurrences before the action takes place That number ranges randomly between 1 and the value set in the property At least every Nth occurrence which replaces the property Every Nth occurrence when Yes is selected Every Nth occurrence Number of times the system calls the action before it acts Note that there is some overlap in the way these counters can be used For ...

Страница 340: ... Using Captured Data DWORDs Captured data DWORDs can be used in creating events for data that match the captured DWORD s or in creating actions to substitute the captured DWORD s into the data stream To create an event using the captured DWORD in the Event Properties menu select SAS Data Pattern or SATA Data Pattern and then select any of the 12 DWORDs DWORD 0 Type through DWORD 11 Type The drop d...

Страница 341: ...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 ...

Страница 342: ...ibrary to a device library by drag and drop with a mouse Each device library is associated with a specific InFusion device 3 Download all scenarios in the device library to a InFusion device 4 Select the scenario in the device library that you want to run on the device 5 To run the scenario click the Start Scenario button from the Device Library toolbar The device starts to monitor modify traffic ...

Страница 343: ...at a test state you implement with the Global Rules operates in parallel with the active test state of each sequence in the scenario In effect InFusion lets you do up to three line tests at the same time You can do one test with the Global Rules and a separate test with each sequence you create You can have up to two sequences in a scenario The following table summarizes the Global Rules examples ...

Страница 344: ...area click the prompt to add an event Figure 4 22 Example 1 Adding an Event The Event Properties dialog box appears see Figure 4 17 on page 332 4 In the Type column of the Event Properties dialog choose Primitive SAS Primitive 5 In the Type column in the middle of the dialog box click Description if you want to add a description of the event 6 Click Direction to choose the direction of traffic to ...

Страница 345: ...ocol Analyzer User Manual 343 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 ...

Страница 346: ...5 10 In the Type column on the left choose the action that you want to occur when an RRDY is detected In this example it is the Remove Primitive action Select Random Yes or No N for Every Nth occurrence and Monitor Count as Monitored or Not Monitored 11 Click OK to close the Action Properties dialog box Figure 4 25 Example1 Complete Scenario 12 In the File menu select Save Scenario to save the sce...

Страница 347: ...In the Type column on the left choose Substitute with SAS Primitive as the action that you want when an RRDY Normal occurs 6 In the middle column of the dialog box click Description if you want to add a description of the action 7 Still in the middle column of the Event Properties dialog box click Primitive to display a drop down menu that lets you choose the type of primitive for which to substit...

Страница 348: ...mbined event consists of any occurrence of RRDY Normal or RRDY Reserved 0 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 In the Global Rules area click the prompt to add an event to display the Event Properties dialog box 3 As you did in example 1 of this chap...

Страница 349: ...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 8 In the Type list on the left choose Substitute SAS Primitive as the action that you want when either RRDY Reserved 0 or RRDY Normal occurs 9 Click OK to close the Action Properties dialog box 10 In the File menu select Save Scenario to save the scenario Figure ...

Страница 350: ...as the first event to monitor and substitute with the SAS primitive ERROR as action 3 In the Global Rules area click the prompt to add the next event keep in mind this is not a combined event Figure 4 29 Example 4 Entering Second Event The Event Properties dialog box appears In this example there is a parallel set of events but each event is associated with its own action In a combined event there...

Страница 351: ...0 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 Figure 4 31 Example 4 Complete Scenario 9 In the File menu select Save Scenario to save the scenario ...

Страница 352: ...es dialog enter the scenario name description and direction of traffic change 2 As in previous examples configure the first event and its response in the Global Rules area Choose ACK primitive as the event and Beep as the action From the Action Properties drop down menu enter 500 ms as the duration of the beep 3 Click the add another action prompt to add a second action Figure 4 32 Example 5 Enter...

Страница 353: ...User Manual 351 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 ...

Страница 354: ...and so on 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 configure the first event and its response in the Global Rules area Choose ACK primitive as the event and Inject RD Error as the action 3 Click the prompt to add another event kee...

Страница 355: ...ering 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 Figure 4 36 Example 6 Complete Scenario 9 In the File menu select Save Scenario to save the scenario ...

Страница 356: ...ween the two except through the Restart All Sequences action You must follow some simple rules when creating sequences TABLE 4 5 Sequence Rules You can use only two branch actions per state When you specify actions for a state you can only use two instances of Branch to an Existing State or Branch to a New State If you try to use more than two a red error message appears in the status area of the ...

Страница 357: ...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 8 Creating a sequence with many states 1 The objective of this scenario is to detect an incorrect order of primitives and to cause the device to beep when i...

Страница 358: ...ules area You create a sequence one state at a time The application numbers states consecutively from 0 up 1 2 3 and so on Figure 4 37 Example 7 Adding a Sequence By default the name of the first sequence in a scenario is Sequence 0 The name of the first state is State 0 To change the name of a sequence or state or to associate a description with it click the name of the sequence or state A dialog...

Страница 359: ...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 3 In the State 0 area click the prompt to add an action Figure 4 39 Example 7 Adding an Action for the First State ...

Страница 360: ...dress Frame event In the Direction column select From Target you want State 1 to trigger on an Identify Address frame received from the target 6 Click OK to close the Event Properties dialog box 7 Click the prompt to add an action for State 1 Figure 1 Example 7 Adding an Action to the Second State The Action Properties dialog box appears 1 In this example you enter the action Beep and you set the ...

Страница 361: ...e 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 0 Address Frame from Target Branch to State 1 1 Address Frame from Initiator Beep for 2 seconds ...

Страница 362: ...LeCroy Corporation Creating a Sequence 360 Sierra M6 2 SAS SATA Protocol Analyzer User Manual 5 In the File menu select Save Scenario to save the scenario Figure 4 41 Example 7 Sequence Area of Scenario ...

Страница 363: ... renamed do not have their default names The following table summarizes the sequence logic TABLE 4 10 Example 8 Logic of Sequence 0 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 five states for this sequence State Descriptio...

Страница 364: ...ration Example 8 Creating a Sequence With Many States 1 362 Sierra M6 2 SAS SATA Protocol Analyzer User Manual 3 In the File menu select Save Scenario to save the scenario Figure 4 42 Example 8 Top Half of Scenario ...

Страница 365: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 363 Example 8 Creating a Sequence With Many States 1 LeCroy Corporation Figure 4 43 Example 8 Bottom Half of Scenario ...

Страница 366: ...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 five states for this sequence State Description Wait for Align 0 When an Align 0 is received go to Wait for Align 1 Wait for Align 1 If an Align 1 is received next go to Wait for Align 2 otherwise replace primitive with Align 1 and go to In...

Страница 367: ...SAS SATA Protocol Analyzer User Manual 365 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 ...

Страница 368: ...LeCroy Corporation Example 9 Creating a Sequence With Many States 2 366 Sierra M6 2 SAS SATA Protocol Analyzer User Manual Figure 4 45 Example 9 Bottom Half of Scenario ...

Страница 369: ... 5 Download all scenarios in the device library to the InFusion device To do so click the Download all Scenarios button on the Device Library toolbar second button from left Running Scenarios If you use a general library as a scenario archive then the process of executing a scenario is as follows 1 Select the scenario to run by clicking it 2 To run the scenario click the Run Scenario button on the...

Страница 370: ...tch Files 368 Sierra M6 2 SAS SATA Protocol Analyzer User Manual 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 ...

Страница 371: ...enarios and connected hardware and available ports 2 Select appropriate parameters for the command and click OK to display the script in the Script Workspace Note You can select ports from the port list depending on number of ports licensed Note The hardware Serial Number can already exist or not If the Serial Number exists the Serial Number for example S N 12871 is shown In Offline and Simulation...

Страница 372: ...u can also cut delete and edit a selected script command 4 To edit batch commands click the command or right click the command and select Edit from popup menu To delete a command right click and select Delete from popup menu or select command and press Delete key on keyboard After finishing if everything is correct push the Run Batch button to execute scenario and save result in the log file Note ...

Страница 373: ... commands are saved automatically into a log file with user specified name The status of executable commands is shown in log area Statements Statements can be conditional statements or non conditional statements IfIsStopped Shows whether a scenario is already stopped or not Format IfIsStopped Serial Number Target Port Parameters Serial Number Serial number of hardware Target Port Port number in po...

Страница 374: ... Click here to add else body Goto Label Goes to specified label Labels can be assigned to each script line Format Goto Label3 Parameters None Example Label3 WaitForStop 0x83456 2 100 Run ox01267 Inject CRC000 4 Goto Label7 Note You can use a Label and a Goto Label to make loops First make the label then make Goto Label The Command Parameters window shows only enabled Labels Labels are disabled by ...

Страница 375: ...his 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 Format Run Serial Number Scenario Name Target Port Parameters Serial Number Serial number of hardware Scenario Name Name of scenario Target Port Port number in port map ...

Страница 376: ...Label6 Run S N 12871 Port 1 DISCOVER Note If the selected ports are busy scenario cannot run and the command will be skipped The result will be written in Log area Stop Stops running scenario by hardware and port name Format Stop Serial Number Target Port Parameters Serial Number Serial number of hardware Target Port Port number in port map Example Run ox00820 Inject CRC000 2 Beep 700 500 Stop ox0...

Страница 377: ...umber of hardware Target Port Port number in port map Duration Integer or random duration in milliseconds In the Command Parame ters Window WaitForStop duration has three options Infinite Wait until Stop command Random Stop after a random time Finite time Stop after specified time in milliseconds Example Run ox001267 Detect AddressFrame Open 2 WaitForStop 0x348790 2 Forever Run ox005007 Detect DAT...

Страница 378: ...eters 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 Parameters Duration Integer or random duration in milliseconds Frequency Frequency in hertz Example IfIsStopped 0x83456 4 then Beep 2 20 Run 0x83456 Identify_Disparity error 8 ...

Страница 379: ... to observe how devices handle faulty link conditions Traffic generation is performed via the execution of text based scripts These traffic generation files ssg contain statements about the types of traffic to be generated These script files can be edited with either a simple text editor such as Notepad or with the Script Editor utility provided by the application To open the Traffic Generation wi...

Страница 380: ...Save As Saves the current file with a new name Print Prints part or all of the current traffic data file Print Preview Produces an on screen preview before printing Print Setup Sets the options for the current or new printer Edit Comment Allows you to enter a comment in a dialog Export Saves trace as text file in Packet View Format Convert Converts an SATrainer Generation File stg file to a Genera...

Страница 381: ...raffic and also capture the traffic generated Analyzer and Trainer on same port and Analyzer and Trainer on another port You can generate initiator target traffic and also capture the traffic generated on two ports Trainer on one port and Analyzer on another port Trainer is run on a port gen erating initiator target traffic and Analyzer is run on the other port capturing the traffic Trainer and Ja...

Страница 382: ...ng the linkup to the Host Device Initiator or Target connected to the Generator Disconnect Link Disconnect link Connect Parameters Set the Identify frame parameter settings to keep the link connected See Connection Parameters on page 457 Generation Options Setup the Generation Rules See Generation Options on page 437 Figure 5 4 Trainer Generate Menu Search Menu Go to Event Opens a dialog that allo...

Страница 383: ...es 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 Search Direction Toggles the search forward or backwards The current direction is indicated in the menu Figure 5 6 Trainer Search Menu ...

Страница 384: ...help messages and the search direction 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 Zoom In Increases the size of the displayed elements Zoom Out Decreases the size of the displayed elements Wrap Wraps displayed packets within the window Compact Displays each row on...

Страница 385: ...or 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 Sierra Trainer Main Toolbar The Sierra Trainer toolbar contains the following buttons Figure 5 9 Sierra Trainer Toolbar The buttons have the following functions Save As Opens a dialog in which you ...

Страница 386: ... Generator file This text file has an ssg extension You can create this file by creating a new generator file or editing an existing file Note ssg files created in other applications run in the Sierra Trainer After the file has been created it can be opened and displayed in the application You can invoke the application to transmit the traffic generation file by using the Start Generation button N...

Страница 387: ...ierra 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 Figure 5 10 New GenFile 2 Click the Edit as Text button to enter a Generation Block or Change Settings instructions in the Script Editor See Starting the Script Editor on page 394 ...

Страница 388: ... behaves As you make and save changes the trace view of the generation file is automatically updated The following screenshots show an example file as it appears in the script editor and trace window In the screenshot global settings make up the eight bars at the top of the window Below that are five frames If you look at the script itself there are six frame commands five active and one commented...

Страница 389: ...t stg to ssg to display an Open dialog 2 Use Files of Type SATrainer Generator Files stg 3 Select an SATrainer Generator stg file 4 Click Open The application creates a Sierra Trainer Traffic Generator file ssg Opening a Traffic Generation File After the Traffic Generator file ssg file has been created you can open it in the application To open a Traffic Generator file 1 Select File Open on the Me...

Страница 390: ...Settings Files Example ssg files and Include files are in two directories called Samples and Include that are typically installed in C Program Files LeCroy SAS Protocol Suite Generation Traffic Generation ssg Files The ssg traffic generation files are text files consisting of include statements a generation block and optionally global statements The generation block is the code responsible for the...

Страница 391: ...neration file There are fifteen groups of settings in this file AutoMode COMINIT COMRESET OOB Signal COMWAKE OOB Signal COMSAS OOB Signal Generation Commands Link Speed SATA Link Initialization SAS Speed Negotiation SATA Speed Negotiation Autowait SAS After SAS Before SATA After SATA Before Wait Command Timeout Scrambling Mode Details about each group of settings are described in the Traffic Gener...

Страница 392: ...a global setting that may be on or off depending on the type of device you are emulating There is an AutoAlign setting for SAS and one for SATA for example set AutoAlignSAS ON and set AutoAlignSATA OFF SAS Sends AutoAligns every 2048 DWORDs SATA Sends AutoAligns every 256 DWORDs If you plan to set and reset AutoAlign in the middle of traffic generation you need to know what the defaults are for Au...

Страница 393: ... block For example you might want to set SASAutoAlign ON prior to traffic generation and then change to OFF halfway through the generation session When placed within the generation block and then viewed in the trace window global settings appear as colored bars interspersed amidst the traffic While most global settings can be set in the generation block three will be ignored if placed within the g...

Страница 394: ...ue agree Do not mix types For example do not mix a SAS Start of Frame SOF with a SAS End of Address Frame EOAF A SAS SOF should be matched to a SAS EOF A SAS SOAF should be matched to a SAS EOAF If generating SATA traffic a SATA_SOF should be matched to a SATA_EOF At the present time if you mix different types of prologues and epilogues for any given Frame the Frame is ignored 2 Data Length Fields...

Страница 395: ...Decl inc File The PrimitivesDecl inc file defines Primitives The file consists of declarations left and the corresponding byte streams right To generate Primitives copy relevant portions of text on the left not the bytes shown right from this file into the generator block section of the ssg file Address FramesDecl inc File The AddressFramesDecl inc file defines Address frames SSPFrames inc File Th...

Страница 396: ...d colored fields The Script Editor example below shows several commented lines followed by some instructions The Script Editor has three areas toolbar top script window and file tabs at the bottom of the window If errors occur a log opens at the bottom of the window Note If more than one port of Trainer is licensed you can assign scripts to one or more ports See Multi Port Trainer Script Assignmen...

Страница 397: ...the setting bars and Frames shown in the trace window Add Remove bookmark Allows markers to be set or removed to aid in navigation View Options Opens a menu with three options Enable Outlining Toggle Outlining and Show Line Numbers See View Options Menu below Go to next bookmark Cut Go to previous bookmark Copy Clear all bookmarks Paste Find Undo Find and Replace Redo Go to Trace View Print Go to ...

Страница 398: ...anywhere in the script window to open a pop up menu with the following options Display Options Selects what information to display See Display Options on page 450 Edit as Text Opens the Script Editor Zoom In Increases the size of the displayed elements Zoom Out Decreases the size of the displayed elements Wrap Wraps displayed packets within the window Compact Displays each row on one line only wit...

Страница 399: ... one or more ports Click the Port Configuration button to open the Set Port Configuration dialog see Ports Configuration on page 97 Select a port configuration For example Trainer may be on Port1 and Port 2 or Port3 and Port4 After you select port configuration the Assign Active Script Remove Assigned Script for Link 1 2 3 or 4 buttons have colors For example for Trainer on Ports 1 and 2 the butto...

Страница 400: ...neration Stop All Generation Resume All Generation Connect All Link and Disconnect All Link Use these buttons to control all links You can click to open the Link Script Selection script assignment dialog For any available Link you can select any open script from the Script drop down list After you select an open script you can assign or remove a link for that script by clicking Assign Active Scrip...

Страница 401: ...e the global settings and then establish a connection 3 Click the Start Generation button on the Toolbar While generating traffic a bar appears on the right of the trace view indicating that traffic generation is taking place The green light on the Traffic signal button also blinks during traffic generation Stop Traffic Generation Normally traffic generation stops automatically when the applicatio...

Страница 402: ...y declared No forward declarations are allowed at this time Generation Blocks List of generation instructions Note It is possible to create many generation blocks but currently only a block with the name Generation executes Calls of some blocks from another blocks are not currently allowed Language Comments is the Comment symbol The line remainder after this symbol is ignored is a Comment Block Al...

Страница 403: ... Const SOME_DEC_DATA 12 defines decimal constant Const SOME DEC DATA 64 defines decimal constant Const Some Hex Data 0xCDCDBEBE Predefined Constants TRUE FALSE ON OFF INFINITE Data Patterns Data patterns are streams of hexadecimal values Using lets the user include constants or predefined data pattern in another pattern Examples DataPattern PATTERN_1 AAAABBBB SOME_HEX_DATA EEEEFFFF 1210ABB1 AAAABB...

Страница 404: ...B Raw 10 bits codes This definition might cause running disparity errors Example Primitive CHAIN TWO 305 2D4 1E4 362 Mixed bytes and 10b codes This definition might cause running disparity errors Example Primitive CHAIN TWO 305 2D4 1E4 362 CHAIN ONE Packets Frames Using the Frame or Packet keyword you can define a frame of traffic to use in the generation stream Declarations of prolog and epilog m...

Страница 405: ...ta Data count start value step A pattern of values starting with start value with steps of step and a length of count is assigned to Data Primitive Definition Primitives are inserted into the frame payload Primitive definitions are inherited by descended frame templates Assigning clears all previous settings maybe from parent frame template Offset specifies the DWORD offset where this primitive is...

Страница 406: ...ues Add new fields Frame Examples Frame Some_Frame Field32 32 0xAABBFFEE FrameType 8 12 HashedDest 24 HEX_DATA Reserved1 8 0xDA Field16 16 0xAAAA Reserved2 8 0xAD Data PATTERN_1 CRC 32 Primitive Primitive SOF 48 Primitive SOF 96 Primitive CLOSE NORMAL 36 5 Prolog SOF Epilog EOF Frame Some_Frame_1 Some_Frame Field32 Some Hex Data Data 11111111 22222222 33333333 44444444 55555555 Opcode 128 8 0x2A L...

Страница 407: ...n is sent N times and then nothing is sent idle M times Repeat and Idle are optional Frame Definition Without any parameters send the frame based in default values With RunningDisp ON send the frames based on default values and insert a running disparity error With parameters overriding or adding to a template frame with or without injec tion of an overriding or adding to a template frame with or ...

Страница 408: ... y x y 0xFF 5 12 SOF Repeat x Idle y X Field16 0xEEEE Example of the data payload assignment which uses bothintegervariables constants hexliteralsanddatapatterns Data y y y y 7a7a7a7a Some Hex Data Some Hex Data 8b8b8b8b z z z z PATTERN_3 Repeat 10 Idle y uses integer variable for parameter setting Illegal operations x y 2 SOF Repeat x y 7 illegal use z x y 7 SOF Repeat z instead Loops Loops can b...

Страница 409: ...with limited output data patterns Trainer has sequential random LBA command generation and full NCQ support Trainer can be programmed to act as SAS Initiator SAS Target SATA Host or SATA Device SAS Initiator As an Initiator Trainer can send commands in all protocols SSP STP SMP and interact with its peer to complete the command in normal conditions and some popular error conditions Limitations are...

Страница 410: ...pported Does not save incoming write data Sends back data for all LBAs or generates counter random data Cannot be used as a real formatted partition To use the Trainer as a SATA Device in real configurations only tools like IO METER that can work with un partitioned and un formatted drives can be used Variable Definition Variable definition is like definitions in programming languages You can defi...

Страница 411: ...t type and field start bit position is calculated according to the packet type definition Part of last received frame varName1 LRF stratBitOffset endBitOffset where offsets are bit based Random values varName1 Random Expression on Variables Mathematical expressions such as sum subtract and shift varName1 varName2 varName1 varName2 varName1 varName2 varName1 varName2 varName1 2 Logical expressions ...

Страница 412: ...ted Using Variable Values in Creating Patterns on Bus In creating patterns to send on bus trainer script allows using variables In these cases because the created pattern is dynamic it is not possible to do scrambling and calculating in software code These tasks are done in the hardware engine To activate set Auto scramble mode in on state The following examples show uses of variables in creating ...

Страница 413: ...4 0 D30 0 D01 4 variableName1 50 00 62 B0 00 00 00 30 50 08 05 EF C 00 00 00 01 00 00 00 00 SendCRC K28 5 D24 0 D07 3 D31 4 When there are variable values in RawData you must include SendCRC command instead of last DWORD Otherwise wrong CRC value will be sent The constraints are Variables are not allowed on First and LAST DWORD instead of start end frames SendCRC is only supported on last DWORD be...

Страница 414: ...ounters on a number of defined events in generation settings Syntax for loading counters in variables is varName1 COUNT_REC_RESOURCE_OUTPUT_A varName1 COUNT_REC_RESOURCE_OUTPUT_B varName1 COUNT_REC_RESOURCE_OUTPUT_C varName1 COUNT_REC_RESOURCE_OUTPUT_D varName1 COUNT_REC_RESOURCE_OUTPUT_E varName1 COUNT_REC_RESOURCE_OUTPUT_F Syntax for clearing resetting counters is CLEAR_REC_RESOURCE_OUTPUT_A CLE...

Страница 415: ...ISCONNECT Generator will break existing connection to DUT PAUSE Generator will come to a break and the user will be able to resume generation by pressing Resume button on Generation toolbar Generator shall transmit idle DWORDs while in the Pause OUTPUT_ON Takes the Trainer out of Electric Idle state If it is already out of Electric Idle this is a NOP OOB Commands COMINIT Generator will send COMINI...

Страница 416: ... will change speed to 3G if MultiSpeed is enabled This settings is not applied when Advanced Connect is set Set Speed LINK_SPEED_6G Generator will change speed to 6G if MultiSpeed is enabled This settings is not applied when Advanced Connect is set Send_Phy_Capability Generator will send PHY Capability Bits this command is used in SNW3 Send_Train_TrainDone Generator will send Train Train Done Patt...

Страница 417: ...imitives declared in Primitives Decl inc as Symbol Chains If you want to use these primitives in your script you must also include Primitives Decl inc in your script SOF EOF SOAF EOAF ALIGN 0 ALIGN 1 ALIGN 2 ALIGN 3 NOTIFY ENABLE SPINUP NOTIFY RESERVED 0 NOTIFY RESERVED 1 NOTIFY RESERVED 2 ACK NAK CRC ERROR NAK RESERVED 0 NAK RESERVED 1 NAK RESERVED 2 CREDIT_BLOCKED RRDY NORMAL RRDY RESERVED 0 RRD...

Страница 418: ...D 3 BROADCAST RESERVED 4 BROADCAST RESERVED CHANGE 0 BROADCAST RESERVED CHANGE 1 CLOSE CLEAR AFFILIATION CLOSE NORMAL CLOSE RESERVED 0 CLOSE RESERVED 1 ERROR HARD_RESET OPEN_ACCEPT OPEN_REJECT BAD DESTINATION OPEN_REJECT CONNECTION RATE NOT SUPPORTED OPEN_REJECT NO DESTINATION OPEN_REJECT PATHWAY BLOCKED OPEN_REJECT PROTOCOL NOT SUPPORTED OPEN_REJECT RESERVED ABANDON 0 OPEN_REJECT RESERVED ABANDON...

Страница 419: ... SAS_AF_DT_FANOUT_EXPANDER_DEVICE SAS_AF_FT_IDENTIFY SAS_AF_FT_OPEN SAS_AF_PROTOCOL_SMP SAS_AF_PROTOCOL_SSP SAS_AF_PROTOCOL_STP SAS_AF_PROTOCOL_UNKNOWN SAS_AF_RATE_1_5_GBPS SAS_AF_RATE_3_GBPS SMP_FRAME_TYPE_REQUEST SMP_FRAME_TYPE_RESPONSE SMP_REPORT_GENERAL SMP_REPORT_MANUFACTURER_INFO SMP_DISCOVER SMP_REPORT_PHY_ERROR_LOG SMP_REPORT_PHY_SATA SMP_REPORT_ROUTE_INFO SMP_CONFIGURE_ROUTE_INFO SMP_PHY_...

Страница 420: ...N ACCEPT OPEN REJECT BAD DESTINATION CONNECTION RATE NOT SUPPORTED NO DES TINATION PATHWAY BLOCKED PROTOCOL NOT SUPPORTED RESERVED ABAN DON 0 RESERVED ABANDON 1 RESERVED ABANDON 2 RESERVED ABANDON 3 RESERVED CONTINUE 0 RESERVED CONTINUE 1 RESERVED INITIALIZE 0 RESERVED INITIALIZE 1 RESERVED STOP 0 RESERVED STOP 1 RETRY STP RESOURCES BUSY or WRONG DESTINATION BROADCAST CHANGE RESERVED 0 RESERVED 1 ...

Страница 421: ...nywhere in generation Default value is 1000 microseconds Syntax Set WaitTimeout value in microseconds 2 Through local WaitTimeout value for this specific wait session Syntax WAIT_FOR number_of_microseconds WF_TIMEOUT other_wait_commands In this case wait for other commands will be released no later then after number_of_microseconds but global WaitTimeout value remains unchanged for future use See ...

Страница 422: ...for condition is intended to be used before sending a SAS frame within a connection ClEAR_CREDIT_AVAIL clears this credit function WF_CREDIT_BLOCKED_RECEIVED CreditBlocked Received This function is based on a flip flop which is cleared by sending or receiving an OPEN_ACCEPT primitive It is set by receiving a CREDIT_BLOCKED primitive It is intended to be used in conjunction with wf_credit_avail to ...

Страница 423: ...rimitive WF_IDENTIFY_FRAME Identify Address Frame WF_OPEN_FRAME Open Address Frame WF_SMP_REQUEST SMP Request Frame WF_SMP_RESPONSE SMP Response Frame WF_REC_RESOURCES_OUTPUT_A Advanced Wait Condition A This command causes generation to wait for Event A to occur that you defined in the Generation Options dialog described at the end of this chapter WF_REC_RESOURCES_OUTPUT_B Advanced Wait Condition ...

Страница 424: ...eration to wait for Event F to occur that you defined in the Generation Options dialog described at the end of this chapter WF_COMRESET_COMINIT COMRESET OOB Signals WF_COMSAS COMSAS OOB Signals WF_COMWAKE COMWAKE OOB Signals WF_BLOCK1_MISC_RESERVED_0 reserved WF_BLOCK1_MISC_RESERVED_1 reserved WF_BLOCK1_MISC_RESERVED_2 reserved WF_BLOCK1_MISC_RESERVED_3 reserved WF_BLOCK1_MISC_RESERVED_4 reserved ...

Страница 425: ...EN_REJECT_RESERVED_ABANDON_ 0 primitive WF_OPEN_REJECT_RESERVED_ABANDON_ 1 primitive WF_OPEN_REJECT_RESERVED_ABANDON_ 2 primitive WF_OPEN_REJECT_RESERVED_ABANDON_ 3 primitive WF_OPEN_REJECT_RESERVED_CONTINUE_ 0 primitive WF_OPEN_REJECT_RESERVED_CONTINUE_ 1 primitive WF_OPEN_REJECT_RESERVED_INITIALIZE_ 0 primitive WF_OPEN_REJECT_RESERVED_INITIALIZE_ 1 primitive WF_OPEN_REJECT_RESERVED_STOP_0 primit...

Страница 426: ...ST_RESERVED_4 primitive WF_BROADCAST_RESERVED_CHANGE_0 primitive WF_BROADCAST_RESERVED_CHANGE_1 primitive WF_BLOCK2_MISC_RESERVED_0 reserved WF_BLOCK2_MISC_RESERVED_1 reserved WF_TRAIN primitive WF_TRAIN_DONE primitive WF_BREAK_REPLY primitive WF_MUX_LOGICAL_0 primitive WF_MUX_LOGICAL_1 primitive WF_PS_REQ_PARTIAL primitive WF_PS_REQ_SLUMBER primitive WF_PS_ACK primitive WF_PS_NAK primitive Wait C...

Страница 427: ..._TIMEOUT_BLOCK_ONE WF_TIMEOUT_BLOCK_TWO WF_ALL_SOF WF_SOF WF_SOAF WF_ALL_EOF WF_EOF WF_SOAF WF_NAK WF_NAK_CRC_ERROR WF_NAK_RESERVED_0 WF_NAK_RESERVED_1 WF_NAK_RESERVED_2 WF_RRDY WF_RRDY_NORMAL WF_RRDY_RESERVED_0 WF_RRDY_RESERVED_1 WF_CREDIT_OK WF_CREDIT_AVAIL WF_CREDIT_BLOCKED_RECEIVED WF_CLOSE WF_CLOSE_CLEAR_AFFILIATION WF_CLOSE_NORMAL WF_CLOSE_RESERVED_0 WF_CLOSE_RESERVED_1 ...

Страница 428: ..._NORMAL WF_AIP_RESERVED_0 WF_AIP_RESERVED_1 WF_AIP_RESERVED_2 WF_AIP_RESERVED_WAIT_ON_PART WF_AIP_WAIT_ON_CONN WF_AIP_WAIT_ON_DEVICE WF_AIP_WAIT_ON_PARTIAL WF_REC_RESOURCES WF_REC_RESOURCES_OUTPUT_A WF_REC_RESOURCES_OUTPUT_B WF_REC_RESOURCES_OUTPUT_C WF_REC_RESOURCES_OUTPUT_D WF_REC_RESOURCES_OUTPUT_E WF_REC_RESOURCES_OUTPUT_F WF_RCV_STATUS WF_SATA_R_ERR WF_SATA_R_OK WF_PM_REQ WF_SATA_PMREQ_P WF_S...

Страница 429: ..._REJECT_RESERVED_ABANDON_0 WF_OPEN_REJECT_RESERVED_ABANDON_1 WF_OPEN_REJECT continued WF_OPEN_REJECT_RESERVED_ABANDON_2 WF_OPEN_REJECT_RESERVED_ABANDON_3 WF_OPEN_REJECT_RESERVED_CONTINUE_0 WF_OPEN_REJECT_RESERVED_CONTINUE_1 WF_OPEN_REJECT_RESERVED_INITIALIZE_0 WF_OPEN_REJECT_RESERVED_INITIALIZE_1 WF_OPEN_REJECT_RESERVED_STOP_0 WF_OPEN_REJECT_RESERVED_STOP_1 WF_OPEN_RESPONSE WF_OPEN_ACCEPT WF_OPEN_...

Страница 430: ...T_RESERVED_4 WF_BROADCAST_RESERVED_CHANGE_0 WF_BROADCAST_RESERVED_CHANGE_1 WF_SAS_PS_REQ WF_PS_REQ_PARTIAL WF_PS_REQ_SLUMBER WF_SAS_PS_STATUS WF_PS_ACK WF_PS_ACK Predefined Constant Internal Value GEN_MODE_ERROR 0 GEN_MODE_SATA_HOST 1 GEN_MODE_SATA_DEVICE 2 GEN_MODE_SAS_INITIATOR 3 GEN_MODE_SAS_TARGET 4 GEN_LINK_SPEED_1_5G 00 GEN_LINK_SPEED_3G 01 GEN_LINK_SPEED_6G 10 SCRAMBLING_MODE_NONE 0 SCRAMBL...

Страница 431: ...Type and SSC Amplitude parameters SSCType Specifies SSC type as midspread SSCAmplitude Specifies SSC Amplitude Possible values are SSC_AMP_500 SSC_AMP_1000 SSC_AMP_1500 SSC_AMP_2000 SSC_AMP_2500 SSC_AMP_3000 MultiSpeedMode 0 When set the change of speed within Generation block is allowed with following syntax set Speed LINK_SPEED_1_5G LINK_SPEED_3G LINK_SPEED_6G Output Disable 0 This very poorly n...

Страница 432: ...link automatically including waiting for and responding to the device or host it is connected to AutoHoldMode 0 When set the generator will respond automatically to Hold requests Not supported for version 1 1 reserved AutoDMAT 0 When set the generator will respond automatically to DMAT requests Not supported for version 1 1 reserved AutoHandshake 0 When set the generator will respond automatically...

Страница 433: ... followed by the Negation_length of Idle COMWAKE_IdleLen 160 Burst time between each OOB idle in OOBIs During the specified period the generator will send ALIGN 0 at the specified speed COMWAKE_BurstLen 160 Idle time between each OOB burst in OOBIs During the specified period the generator will keep the line at electric idle COMWAKE_NumBursts 6 Negation time at the end of the OOB signal in OOBIs D...

Страница 434: ...SAS_Align0_Time 81920 ALIGN 0 time for SAS speed negotiation in OOBIs During the specified period the generator will transmit ALIGN 0 primitives OOB_SAS_Interspeed_Time 750000 Interspeed time for SAS speed negotiation in OOBIs During the specified period the generator will keep the line at electric idle OOB_SpeedNeg_MTT 29998080 OOBI The maximum time in OOBI during which training phase of speed ne...

Страница 435: ...s G1 i e 1 5 Gbps with SSC A G1 WITH SSC bit set to zero indicates that the phy does not support G1 with SSC OOB_SpeedNeg_ Phy_g2WithoutSSC A G2 WITHOUT SSC bit set to one indicates that the phy supports G2 i e 3 Gbps without SSC A G2 WITHOUT SSC bit set to zero indicates that the phy does not support G2 without SSC OOB_SpeedNeg_ Phy_g2WithSSC A G2 WITH SSC bit set to one indicates that the phy su...

Страница 436: ...G Default Value LINK_SPEED_1_5G RateMatching 0 When set the generator will automatically inserting the stream Align 0 primitive after every DWORD Scrambling Mode Settings Scrambling Raw Data Scrambling Mode Only those raw DWORDs will be scrambled that contain only data bytes no 10 bit symbols or K bytes Scrambling is reset by changing ScramblingMode or by any valid SAS or SATA frame When Scramblin...

Страница 437: ...SAS_AFTER_ SMP_REQ_FOR_RESP FALSE When set the generator will insert WAIT_FOR SMP Response Frame command immediately after each SMP Request Frame AUTO_WAIT_SAS_BEFORE Settings AUTO_WAIT_SAS_BEFORE_ CLOSE_FOR_CLOSE FALSE When set the generator will insert WAIT_FOR CLOSE command right before each CLOSE primitive AUTO_WAIT_SAS_BEFORE_ SOF_FOR_CREDIT FALSE When set the generator will insert WAIT_FOR C...

Страница 438: ...UTO_WAIT_SATA_AFTER_ SYNC_FOR_SYNC FALSE When set the generator will insert WAIT_FOR SATA_SYNC command immediately after each case of SATA_CONT primitive following SATA_SYNC primitive AUTO_WAIT_SATA_BEFORE Settings AUTO_WAIT_SATA_BEFORE_ PMACK_FOR_PMREQ FALSE When set the generator will insert WAIT_FOR SATA_PMREQ_S or SATA_PMREQ_P command right before each SATA_PMACK primitive AUTO_WAIT_SATA_BEFOR...

Страница 439: ...re rules by dragging Event buttons from the Available Events area and then assigning actions to those buttons Config Status Indicator A button that indicates if the rule is valid or invalid If a trigger or filter rule is configured correctly the button is green and indicates Con fig is Valid If a rule is not configured correctly the button is red and indicates Config is Invalid Pop Up Menus When y...

Страница 440: ...aller Delete Event Deletes the selected event Show Hide Channels Shows or hides the channel icon on the Event button Undo Undoes the change made to Recording Rules page The Undo buffer has unlimited size Show Hide Properties Dialog Shows or hides the properties dialog of the selected event action or state Redo Restores changes done to the Recording Rules page This display appears when the current ...

Страница 441: ...ing a rule involves the following steps 1 Creating Event buttons in the Available Events area 2 Drag and drop of Event buttons to the appropriate areas cells in the Main Display area 3 Assigning an action or actions to each Event button Creating Event Buttons To create a rule first create one or more Event buttons As you create Event buttons they appear in the Available Events area You then can dr...

Страница 442: ...ell a cell is a grayed out rectangle with a dashed line around it You can think of each cell as a target for drag and drop of an Event button To drag and drop the Event button 1 Place the mouse cursor on the Event button in the Available Events area Click the left mouse button 2 Drag the button to the cell When the button is in the cell a dashed highlight line appears around the cell Drop the butt...

Страница 443: ...n the Generator ignores the event To assign an action to an Event button 1 Right click the Event button to display a pop up menu Figure 5 21 Action Menu 2 Select Specify Action and then choose an action from the submenu The menu closes and the action is assigned Figure 5 22 Action in Main Display Note You can also set actions within the Properties dialog for each event Double click the Event butto...

Страница 444: ...click an Action button in the Main Display area the Action pop up menu appears with the options A through F and No Action Event Pop up Menu If you click an Event button in the Main Display area the Event pop up menu appears The Event pop up menu has the following options Specify Action s Opens the Actions submenu allowing you to assign an action to the event Options on this submenu are the same as...

Страница 445: ...es Zone Broadcast Address Frames SSP Frames or SMP Frames SCSI Commands SCSI Status SATA FIS Register Host to Device Register Device to Host Set Device Bits DMA Activate DMA Setup BIST Activate PIO Setup Data Route or Vend FIS SSP Frame Header DATA XFER_RDY COMMAND RESPONSE TASK VENDOR or RESERVED SSP Information Unit Command IU Task IU XFER_RDY IU or Response IU SMP Request Response RPT_GENERAL R...

Страница 446: ... 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 Optionally click the Sequential Offsets checkbox ...

Страница 447: ...event the letter is referred to in your generation script using the following command syntax Wait_For WF_REC_RESOURCES_OUTPUT_A where A in this case is the defined condition Setting Conditions with the Generation Options Dialog To set a complex condition open the Generation Options dialog 1 Select Generate Generation Options from the menu to open the Generation Options dialog 2 Click the New Event...

Страница 448: ...pears 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 After the condition has been defined you can then add the Wait For command line with whatever letter you assigned to your script For example Wait_For WF_REC_RESOURCES_OUTPUT_A ...

Страница 449: ...ick on the toolbar Searches can combine criteria using the options Intersection and Union Intersection creates AND statements such as Find all packets with x and y Union creates OR statements such as Find all packets with x OR y You can also perform searches in which packets or events are excluded from a trace using the Exclusion option To perform a search 1 Select Find under Search on the Menu Ba...

Страница 450: ...Addresses Destination Addresses Hash Destination Addresses Data Length SMP Frames SSP Frames Errors FIS Types FIS Port Number Channel Data Pattern Completion Time 4 Select one of the following options Union Find all packets matching ANY of the specified events Intersection Find packets matching ALL of the specified events Exclusion Exclude packets matching any of the specified events Exclusion wor...

Страница 451: ...ct Data Pattern as the Event Group in the Find dialog you can set the Bitmask Mask and Match for each bit Figure 5 26 Data Pattern Bitmask and Match always correlate When you set Bitmask or Match the other changes to maintain their correlation Note If you set Bitmask Match before setting Mask the Mask changes to the default mask You must change to the Mask that you want If you set an appropriate M...

Страница 452: ... or backwards The current direction is indicated in the menu Display Options You can select what information to display using the Display Options window To open the Display Options window Select Display Options under Setup on the Menu Bar OR Click on the Toolbar You can select Color Format Hiding Level Hiding and Headers display options The following sections describe these display options Restore...

Страница 453: ...lyzer User Manual 451 Display Options LeCroy Corporation Color Format Hiding Display Options To modify the colors formats and hiding options select the Color Format Hiding tab Figure 5 27 Display Options Dialog Color Format Hiding Tab ...

Страница 454: ...ations are appropriate for most graphic systems You can alter any color To specify a color for an information type in the Color Format Hiding tab select a row such as Data in the Group and Color column and expand it Select a data type such as Data Length in the Group then select a color in the Color section using Standard or Custom colors Use a bright color for each important field Figure 5 28 Dis...

Страница 455: ...data the program has a default data format Examples of number data formats are Binary Decimal and Hexadecimal An example of a text data format is ASCII To specify a data format for an information type in the Color Format Hiding tab select a row such as Data in the Group and Color column and expand it Select a data type in the Group Select a format in the Format section The following formats are av...

Страница 456: ...lumn then click the Hidden checkbox in the display or the Hidden checkbox in the Hiding section of the Format section Level Hiding Options By default nothing is hidden You can hide Packet Types Primitives Source Addresses Destination Addresses Data Length SMP Frames SSP Frames Channels FIS Types FIS Ports Gen Global Settings Select the Level Hiding tab then select the data types to hide Figure 5 3...

Страница 457: ...quest or Response SMP Report Phy Error Log Request or Response SMP Report Route Info Request or Response SMP Configure Route Info Request or Response SMP Phy Control Request or Response SMP Phy Test Function Request or Response SMP Configure Phy Zone Request or Response SMP Configure Zone Permission Request or Response SMP Report Zone Permission Request or Response SMP Report Zone Routing Table Re...

Страница 458: ...with the commands at the bottom of the Display Options window To save the current Display Options values in an options file for use in future ses sions click Save Enter a file name without a file name extension The program adds the opt extension The file must have an opt file name extension To load a previously saved opt file click Load and select a file name To save the current Display Options va...

Страница 459: ... link connected Device Type End Device Edge Expander or Fanout Expander SSP Initiator Present or Not Present STP Initiator Present or Not Present SMP Initiator Present or Not Present SSP Target Present or Not Present STP Target Present or Not Present SMP Target Present or Not Present SAS Address hex eight digits eight digits PHY Identifier hex two digits Zone Device Yes or No Zone Broadcast Method...

Страница 460: ...to Analyzer frame Abort Analyzer Abort Analyzer without switching to Analyzer frame The Generator Toolbar has the following Start Generation Stop Generation Resume Generation Connect Link Disconnect Link Generation Options From time to time such as following a software upgrade it is possible for the buttons on the toolbar to not match their intended function You can reset the toolbar by performing...

Страница 461: ...ser Manual 459 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 ...

Страница 462: ...LeCroy Corporation Resetting the Toolbar 460 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...

Страница 463: ...mitive definition format To add an ALIGN primitive use ALIGN or 27 3 10 2 10 2 K28 5 To add a CONT primitive use CONT or 25 4 25 4 10 5 K28 3 Loop definition format You may write a defined pattern into memory repeatedly by enabling a loop Loop definition allows either Enable or Disable To enable looping use Loop Enable Scramble definition format Scramble definition allows either Enable or Disable ...

Страница 464: ...n Example Pattern Generator File 462 Sierra M6 2 SAS SATA Protocol Analyzer User Manual Example Pattern Generator File Figure A 1 illustrates a typical Pattern Generator file Figure A 1 Sample Pattern Generator File spg ...

Страница 465: ...SATA Protocol Analyzer User Manual 463 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 ...

Страница 466: ...N Operation 464 Sierra M6 2 SAS SATA Protocol Analyzer User Manual WAN Operation WAN connected operation is supported Contact factory for details of operation Refer How to Contact LeCroy on page 465 for contact information ...

Страница 467: ... 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 Santa Clara CA 95054 3115 USA Send e mail psgsupport lecroy com Visit LeCroy s web site http www lecroy com ...

Страница 468: ...LeCroy Corporation 466 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...

Страница 469: ...ings 182 Affiliation 130 affiliation setting 130 alias name 303 ALIGN Transmission Period 95 Analysis Project dialog 46 analyzer connecting 21 analyzer overview 17 Anchor the Selection bar 256 Any Trigger mode 72 application overview 36 Apply Show Hide Link Setting 47 As previously saved 254 Ask user to close the previous captured sample before running the new project 253 assigning actions 441 Asy...

Страница 470: ...Connection dialog 170 Close Connection Setting 129 134 Close previous sample file when new sample file opens 255 Code violation and Disparity 168 Code Violation and Disparity error 173 Code violation and Disparity error 131 136 138 176 Code Violation and Disparity errors 179 Code violation and Disparity errors 166 Collapse All 202 Collapse Log button 308 color 247 colors Display Options 452 column...

Страница 471: ...Decode toolbar 38 Default Data Block button 150 Default Workspace 253 254 default workspace 253 default infdb file 327 Defer Handshake 133 138 Defer Handshake Errors 174 178 Define different patterns for pre trigger and post trigger data captures 44 Define Pattern dialog 152 defining patterns 90 Delay in HOLD Response 166 Delay in sending frame 130 136 173 176 Delay instruction 121 Delete button 4...

Страница 472: ...re Align 43 Idles 44 Notify 44 OOB Signals 43 patterns 57 Payload of Data Frame 43 RRDY 43 SATA_CONT 43 SATA_SYNC 43 XXXX 43 Exclude Idle checkbox 57 Exclusion search 448 exercise specific addresses 123 Expand All 201 Expand Log button 308 Expand Collapse all Layers button 216 expandability 23 Expanded Waveform View 210 Expansion Card Data Status or Clock Status check 300 Expansion module 18 Expan...

Страница 473: ...pe 137 Frame Type Error 130 136 138 168 173 176 frames hide 206 From Initiator 329 From Target 329 full screen results display 218 G General Errors dialog 163 general report 272 Generate Error On area 130 Generate Menu 380 Generate Periodic Error 165 Generating Traffic 384 399 Generation Commands 413 Generation Files 386 Generation Language 400 Generation Options 380 Generation Rules 437 Generatio...

Страница 474: ...115 Insert Instruction button 118 Insert Primitive 131 137 138 166 174 177 179 Insert SCSI Command button 112 Insert SMP Command button 114 Insert Task Command button 113 Install component selection 20 Installation CD ROM 18 installing the analyzer 20 Instruction button 118 Inter FPGA Connection 299 Inter reset Delay Settings 148 Intersection search 448 IP address 35 IP Settings 28 IP Setup 265 IP...

Страница 475: ...mand 315 Open Sample file In 254 operating system 20 opt files 456 order reorder in results display 220 Others Report view 275 Outgoing FIS Command Error 165 Outgoing Frame Command Error 165 Outgoing Frame Setting dialog 136 138 173 176 Outgoing Frame Settings 169 173 176 Outgoing Frame Settings dialog 130 Outgoing Open Error 129 134 output trigger 105 P Pack Repeated Primitives 255 Packet Drop 31...

Страница 476: ...eport 275 protocol errors 60 Protocol Errors dialog 60 80 Q Queue Command Report 283 Queue Settings dialog 141 146 Quick View 192 254 R random data pattern 154 Random Error Injection 128 133 rate matching 128 133 Read Write Command Report 285 read write command report 280 Rec Analyzer command 316 record and play 125 Refresh append to the list of found devices 253 Refresh Device List 29 register de...

Страница 477: ...sable 95 Script Assignment dialog 398 Script Editor 394 buttons 383 395 pop up menu 396 toolbar 395 Script Workspace 368 SCSI Command 112 SCSI Command Pattern dialog 85 SCSI Command report 278 SCSI commands address display 45 SCSI spec assignment 253 SCSI Spec Assignment button 217 SDRAM or Exerciser RAM memory check 296 search 238 by tag 243 complex 447 Direction 449 direction 381 450 domain 241 ...

Страница 478: ... button 213 Show Hide DLLP packet in results display 220 Show Hide Field 198 Show Hide Link Packet button 219 Show Hide Physical Packet in results display 220 Show Hide TLP packet in results display 220 Show Hide Transport Packet button 219 Sierra M6 2 Protocol Analyzer 17 Sierra Trainer menus 378 Sierra Trainer toolbar 383 Simulation Mode 35 Sleep statement 376 smart features 189 SMP Command 114 ...

Страница 479: ...ting 185 target power management 187 Target SAS Address block 123 target speed negotiation 186 Task Attribute 135 task attribute 130 Task Command 113 task command report 279 Technical Support 465 telephone number 465 Template Files 253 Terminate receiving frame 178 Termination receiving frame 132 Test Result 295 Text View 38 text view 195 Tile Horizontally All Views button 214 Tile Views 214 time ...

Страница 480: ...80 user defined decoding 267 User Defined Decoding dialog 267 User Path 252 User Defined Find Events screen 447 using the cursors 233 V Value of Reserved Fields 166 Value Replacement 314 VENDOR FIS 70 Verification script command 308 Verification Script Engine Reference Manual 308 View Field option 210 View Menu 382 View menu InFusion 316 View Options button 396 menu 396 View Setting button 219 Vie...

Отзывы: