Home
Sierra M6-1 User Manual
Contents
1. Figure 3 129 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 222 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Navigation View Toolbar Teledyne LeCroy 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 Search Figure 3 130 Search by Tag Number Sierra M6 1 SAS SATA Protocol Analyzer User Manual 223 Teledyne LeCroy Navigation View Toolbar Search by Speed 224 Search Packet Vie Search For A Incomplete Frames Address Frames SSP Frames 8MP Frames 8TP Frames FSCS Commands SMP Commands A Task Management Func PATA Commands SCSI Command Status Source 545 Address Fl Destination SAS Addres Protocol Error Tag SCSI Task Attribute ATAPI SCS Command PM Device Sleep A Training Sequence Speed Changes Miscellaneous Search By C Hashed 565 Address SAS Address Search Direction Forward Backward Search From a Start 5 Trig Painter 5 amp Fainter 5 Y Fointer 3 Last Found Search Items To search by Speed check the Speed box in the Search For window to l
2. SAS Data Pattern SATA Data Pattern 4 SCSI SMP Frame SNW 1 SSP Frame Timer Training Sequence Trigger Input Not i Figure 4 21 Event Properties Not Use the Not property to look for a de asserted Primitive Sierra M6 1 SAS SATA Protocol Analyzer User Manual 307 Teledyne LeCroy Scenario Actions 4 8 308 Scenario Actions After you enter the set of events for a test state the menu driven interface prompts you for the corresponding action or set of actions If you define multiple actions the actions occur simultaneously AB Action Properties E ioj x Type Properties i Analyzer Trigger Type Action L Beep Description z Capture Data Dword Random Ma El Inject Every Nth occurence 1 CROC Error Monitor Count Not monitored z Invalid 10bit code Error E je Running Disparity Error Insert B Address Frame T FIS Frame SAS Primitive SATA Primitive z SMF Frame SSP Frame Insert DWORD l Link T Disconnect Reconnect x Monitor Count E Remove o Frame Partially Primitive Whole Frame E SNW Speed Negotiation Retime z Speed Megotiation Violation T Stop Scenario Substitute Data Dward with SAS primitive with SATA primitive Trigger Output x Cima E Figure 4 22 Action Properties Dialog The following table lists supported actions Note that some of these actions only apply to creating sequences Sierra M6 1 SAS SATA Protoco
3. vax i For Help press F1 CAP NUM SCRL Figure 4 12 InFusion Dialog The following New Scenario dialog pops up See Figure 4 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 297 Teledyne LeCroy Scenario Properties y Teledyne LeCroy InFusion Error Injector and Traffic Modifier New Scenario 0 File Setup View Configuration Tools Help gt P O Analyzer 4 Trainer BL BH Record M Il Status Not sa 3 E B EUx Ba New Scenario 0 Scenario Name New Scenario O y Direction for traffic changes From Initiator ES Smart Hold Yes 3T New Scenario 0 OOB Setting Normal Spec Value T Global Rules lt Click here to add an event gt lt Click here to add a sequence gt 26 11 55 For Help press F1 CAP NUM SCRL Figure 4 13 Structure of New Scenario O 4 6 1 Scenario Generation Your New Scenario O already has several Scenario Properties defined for it Q Scenario Name New Scenario O a Direction for traffic changes From Initiator Q Smart Hold Yes Q OOB Setting Normal Spec Value You can change any of these parameters by selecting them Scenario Name Selecting Scenario Name allows you to customize it See Figure 4 14 TT CE Properties Type Scenario Description Direction From Initiator Smart Hold Yes E Set OOB OOB Definition Normal Spec Value Figure 4 14 Scenar
4. 4 New ScriptO A Batch Script is valid Label 0 IF IsStop S N 12871 Port 1 THEN Beep 40 Hz 10 ms lt Click here to add another script command Run S N 12871 Port 1 ZONED BROADCAST lt Click here to add another script command lt Click here to add else body gt END IF 4 ew Script 0 een Batch Script is valid Label 0 Run S N 12871 Port 1 DISCOVER zChck here to add another action Label 1 Sleep 10 ms Click here to add another action Label 2 IF IsStop S N 12871 Port 2 THEN lt Click here to add another action gt Beep 40 Hz 10 ms Click here to add another action gt Label 3 ELSE lt Click here to add another actioni Beep 40 Hz 20 ms Chick here to add another action gt END IF 4 145 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 Ox017607 In ject CRCOODT 4 Goto Label Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Batch Files Teledyne LeCroy 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 default and are in gray color To enable them click them to make purple color El Command Parameters Commands Parameters Run Label fisStop Beep
5. STP Frame Type FIS Type Show Reserved and Obsolete Parameter FIS Type PH Port DMA Butter id Low DMA Buffer id High DMA Buffer Offset 241 OMA Setup A ES eS ORO DMA Buffer Transfer Count De Hui rus He Mioi Fr be Po Check All Uncheck All Figure 2 33 DMA Setup BIST STP Frame Type E xi Format C Binary Hexadecimal Cancel FIS Type Show Reserved and Obsolete Parameter FIS Type 058 BIST PM Port A V P F L 5 A T Data 0 MS D ata 15 8 so MH rus p us H4 p rs pps F pi Check All Uncheck All Figure 2 34 BIST 70 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Protocol Errors Teledyne LeCroy PIO Setup 5TP Frame Type FIS Type Format Binary Hexadecimal Cancel Show Reserved and Obsolete Parameter FIS Type Phi Port D Status Error LBA Low LBA Mid LBA High Device LBA Low exp RH F Hz Mob Fo O 5F PIO Setup X x xxx xx M H4 Da Check All Uncheck ll Figure 2 35 PIO Setup Data 5TP Frame Type FIS Type Show Reserved and Obsolete Format C Binary f Hexadecimal Cancel Parameter FIS Type Ph Port Data Dl Data DT Data D2 Data D3 Data 044 Data D S Data D w 5 Data D Data D3 M Hi F H Mol ro Oxd46 Data M H4 D4 Check All Uncheck All
6. Segmented Memory Alternatively you can use Segmented Memory Enter an integer of Segment from 1 to 32 then enter an integer Segment Size in kilobytes up to the memory size in megabytes divided by the number of segments The default segment size is 10 MB Each time a trigger condition occurs the system records a new segment You can use a Snapshot or Pattern trigger but not Manual Trigger As the same trigger automatically repeats the system makes the number of segments that you entered Upload Manager To upload segments manually in the Upload Manager select the Don t upload segments and open upload manager automatically checkbox To upload segments automatically for display as the system creates them do not select the checkbox To view segmented trace files click the Upload Manager button beside the Record button to display the Upload Manager dialog see Figure 2 69 on page 99 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analyzer Settings Teledyne LeCroy 2 15 2 15 1 2 15 2 Preview 3 MB around segment trigger position rrgrgroggrgrggrgrgrggrogrgrgragrgel qM E 1 gos H C Show Traffic Summary Preview Select All Deselect all Figure 2 69 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 dis
7. 4 14 2 Error Checking The Script Workspace shows errors by red color The program reports all errors in the log file If you use a script from other InFusion hardware it may cause an error for example mismatch in hardware Mac addresses or scenarios that are not already in current hardware 4 New Script 0 bx E Label 0 Run S N 12871 Port 1 DISCOVER Label 1 Run N 12871 Port 2 REPORT PHY LOG ERROR 4 14 3 Log Results of executable batch commands are saved automatically into a log file with user specified name The status of executable commands is shown in log area 4 14 4 Statements Statements can be conditional statements or non conditional statements IflsStopped Shows whether a scenario is already stopped or not Format IflsStopped Serial Number Target Port Parameters a Serial Number Serial number of hardware Q Target Port Port number in port map Sierra M6 1 SAS SATA Protocol Analyzer User Manual 351 Teledyne LeCroy Scenario Batch Files 352 Example IfIsStopped ox01267 1 Then Beep 750 300 Run ox01267 Detect AddressFrame Open 5 The value of second parameter is 5 and shows check stopping mode of combination of port number 1 and port number 3 After filling parameters from the Command Parameters Dialog the program makes the IF ELSE structure in the Script workspace The ELSE statement is optional To add an ELSE body click Click here to add else body
8. Check All i Reset All Save Load Cancel Figure 3 124 Filter State and or Device Sleep Sierra M6 1 SAS SATA Protocol Analyzer User Manual 215 Teledyne LeCroy Navigation View Toolbar Use Pair SAS Addresses You can use all available pair SAS addresses Source gt Destination instead of using SAS source and destination addresses To enable the pair SAS address filter option check Use Pair SAS Addresses check box in the Filter dialog Filter i Filter Filter Options Filter Options Bus Condition J0x5000 85000000001 Bus Condition 0x50060560000003C5 gt 0x500062B 000001074 Primitive J0x50060560000003C5 Primitive j0 50060560000003C4 0 500062B 000001074 Incomplete Frames Incomplete Frames 0x50000500001 04765 gt 0x500062B 000001074 Address Frames 0x5000C500001047B5 Address Frames J0x5000 85000000001 gt 0xE SAE 8E SSP Frames J0x5000C50000103D91 SSP Frames jO 5 00E 85000000001 gt 0x5000C50000103D91 SMP Frames J0x50060560000003C4 SMP Frames j 5000C50000103D31 0 5000E 85000000001 STP Frames STP Frames 0x5000050000103091 gt 0x5000626 000001074 SCSI Commands SCSI Commands 4 0x500062B 000001074 gt 0x5006056000000305 SMP Commands OISMP Commands jO 500062BO000001074 0 5000C 50000104785 Task Management Functions Task Management Functions 10 500062B 000001 074 0 5000C50000103D 31 ATA Commands DATA
9. LLLDLDLDLDLU O STP Frame Pattern Register Device to Host Set Device Bit DMA Activate DMA Setup BIST PIO Setup Data Any Type Double click STP Pattern to open the STP Pattern selection dialog 5TP Frame Type Format FIS Type Register Host to Device Ox27 Binary Hexadecimal Cancel Show Reserved and Obsolete Parameter FIS Type PH Port C Command Features LBA Low LBA Mid LBA High Device LBA Low exp LBA Mid exp x27 Register Host to Device ARA Se e 52 ARONA Check All Uncheck All Figure 2 28 SATA STP Pattern Dialog The STP 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 Choose FIS Type and complete the corresponding dialog FIS Types SAS and SATA If you select STP Frame SAS or FIS Pattern SATA for the Pattern the FIS Pattern window displays see Figure 2 29 on page 68 You can select the FIS Type in this window from among the following types Register Host to Device Sierra M6 1 SAS SATA Protocol Analyzer User Manual 67 Teledyne LeCroy Protocol Errors 68 STP Frame Type E Eu Format C Binary f Hexadecimal FIS Type Register Host to Device Ox27 Cancel Show Reserved and Obsolete Parameter FIS Type One Register Host to Device PM Port C Command Features LBA Low
10. Mochange NoJum ERIT External Trigger O 9 ud p Capture Everything Else If O Nochange NoJump Exclude Items Idle Notify Bus Condition Symbol Capture Primitive Set capture settings of all states as state 0 C Eventh STP Frame v Exclude Idle Exclude lt x C Nothing ATA Command Exclude ODB Signal Excl Es Pattern ATAPI Exclude ALIGN v Exclude NOTIFY Exclude SATA CONT Exclude SATA SYNC Exclude Payload except fo Dword s SMP Frame Include SSP Frame the following Patterns Exclude SCSI Command Data Pattern Address Frame Protocol Errors Timer 1 Elapsed Timer 2 Elapsed Timer 3 Elapsed ProtocolE Anything Advanced switch to Easy mode Ir Multi Sequencer Port 1 77 y Make Same as Current amp Add State JE Delete State For Help press F1 TxVout Disabled Initiator Emulator Stop Target Emulator Inactive Simulation Mode Stop Figure 2 77 SAS Choosing a Trigger Condition 2 Define each selected pattern in the same way as in Easy Mode as described starting on page 60 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 occurrences 4 Choose a capture option Everything Nothing or Pattern Sierra M6 1 SAS SATA Protocol Analyzer User Manual 107 Teledyne LeCr
11. Paths User Path specifies the User folder path used by the software after launching the Open dialog Template Files Protocol Analyzer You can use a pre saved analyzer project file as a template Whenever you make a new project file the software uses the template to initialize the project file New Protocol Analyzer Project in Advanced Mode When you use the New menu item to create a new project file the software switches to Advanced mode automatically Sierra M6 1 SAS SATA Protocol Analyzer User Manual Preferences Teledyne LeCroy Other Default Workspace specifies the default workspace file for opening a sample file You can save any viewer configuration as a workspace and then specify it as the default workspace The software always open a trace file based on the default workspace file NCQ Commands Time out Threshold The software uses this setting in the statistical ATA command page for NCQ commands If the time out exceeds this setting the software reports an error Maximum Number of Uploader 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 converts it to a sup
12. Print Setup Recent Trace Files Recent Project Files A ER CAP NUM SCRL Close Figure 4 6 Generate a New Scenario 290 Sierra M6 1 SAS SATA Protocol Analyzer User Manual InFusion Scenarios Teledyne LeCroy Be soup Yew Contguaion Toos Hep L Ww 3 Fa E ES Analyzer Y 4 New Scenario 0 EE Main Library Scenario Name New Scenario 0 Direction for traffic changes From Initiator Smart Hold Yes 008 Setting Normal Spec Value Global Rules lt Click here to add an event gt lt Click here to add a sequence gt Output Figure 4 7 Structur 4 7 asa Sue Nemo a aa New Scenario 0 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 291 Teledyne LeCroy InFusion Scenarios InFusion Scenario Parameters Timers Timers allowed per state sequence scenario 2 timers per state and 6 timers per scenario are allowed Events Events allowed to be used per state sequence scenario For combined events there is virtually no limit per state sequence scenario Actions Actions allowed per state sequence scenario A maximum of 8 actions per state 2048 actions per sequence 8 256 state 4104 actions per scenario 2 2048 8 more in the Global Rules state Monitors Monitors allowed to be used per state sequence scenario InFusion can keep an account of 8 12 Monitor Count events per scenario Random change of use of count and count randomly In Global Rules if a Counter is used for
13. and Substitute with ALIGN iz E Wait for Aligned Wait for ALIGN 3 from Initiatori then Branch to Wait for Alicmn Wait for ALIGN 0 from Initiatori OR ALIGN 1 from Initiator OR ALIGN iz from Initiator then Branch to Error Detected and Substitute with ALIGN 13 Error Detected Wait for Any Dword from Initiator then Beep 500 ms and Branch to Wait for Alicmn lt T For Help press F1 Figure 4 55 Example 9 Bottom Half of Scenario 4 11 Downloading Scenarios D amp File Library c 2 X Scenarios di 5S equencers ex d Align T est di Fis Aligns Test File Libr File Libr After you have created a scenario you need to download it to the InFusion device for execution If you use a general library as a scenario archive then the process of creating and downloading a scenario is as follows 1 Open the general library Main library or a File library Scenarios in the library are listed in the Main Library window 2 Open the Device Library window by clicking the Show Device Library button on application toolbar 3 Openthe Device Library for the device to which you want to download a scenario or scenarios You can open the device library in two ways by clicking the Device Library icon in the device list window or by double clicking the device name 4 Copy the scenario from general library to device library by dragging it with the mouse
14. 3 NEM REC NEC EE C ES A 34 801 121 213 min 186 ns 320 ns 333 ns 200 ns EN AAN CRC H F87BA6E3 f a Start Start AIPNORMAL 1 34 801 121 533 min 26 ns 26 ns KEEN 5 D27 4 D27 4 D27 4 i a Start Start AIP WAITING ON DEVICE 1 34 801 121 560 min 266 ns A D27 4 D30 0 D29 7 P Start Start OPENACCEPT 1 34 801 121 826 min 200 ns K28 5 D16 7 D16 7 D16 7 m Trans 3 Start Start SMP Request Request Length H 1 34 801 122 026 min 38 693 us Report gener 0 M Trans 4 n Start Start SMP Response 1 34 801 160 720 min 186 ns Report genere i a Start Start CLOSE NORMAL Sequence 1 34 801 160 906 min 93 ns K28 5 D2 0 D30 0 D27 4 r Start Start CLOSE NORMAL Sequence 1 34 801 161 000 min 85 213 us K28 5 K28 5 D2 0 D30 0 D27 4 D30 0 D27 4 MEA Frame 780 P SCEE MN Source SAS Address H n SAS Address H Initiator Connection Tag H Arbitration Wait Time H 134801 246213 min 320s i soooeocaaFBsooos swear J o e TT Source SAS Address H Des Initiator Connection Tag H 5000E0C42FB5D004 5000E0CA71865000 T FFFF 0 Xto Y Ons XtoT Ons Y to T Ons For Help press F1 j TxVout Disabled Initiator Emulator Stop Target Emulator inactive eo Simulation Stop Figure 3 134 CATC Navigation View Sierra M6 1 SAS SATA Protocol Analyzer User Manual 227 Teledyne LeCroy Packet View Toolbar 3 7 2 Spec V
15. 302 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Events Teledyne LeCroy FO Address Frame Type Mask F1 Device Type Value 3 Ets Fl Device Type Mask F2 Reserved Value 1 Bt F2 Reserved Mask F3 Reason Valve 4 Bts F3 Reason Mask F4 Reserved Value 4 Bts F4 Reserved Mask FS Restricted Value 1 Ba F5 Restricted Mask FG SMP intiator Port Value 1 B x00 indicates that an SMP initiator port is not present FG SMP Intiator Port Mask 0 F7 STP Intiator Port Value 1 Ba x00 indicates that an STP initiator port is not present F7 STP Intiator Port Mask 0 F8 SSP Intiator Port Value 1 Ba 0x00 indicates that an SSP initiator port is not present F8 SSP Intiator Port Mask 0 F9 Reserved Value 4 Bts 0 F9 Reserved Mask 0 F10 Restricted Value 1 Bt 0 F10 Restricted Mask 0 FIT SMP Target Port Value 1 Bt 0x00 indicates that an SMP target port is not present F11 SMP Target Port Mask 0 F12 STP Target Port Value 1 Be 0x00 indicates that an STP target port is not present F12 STP Target Port Mask 0 F13 SSP Target Port Value 1 Be x00 indicates that an SSP target port is not present F13 SSP Target Pot Mask 0 F14 Reserved Value 4 Bis 0 F14 Reserved Mask F15 Device Name Value 64 Bes F15 Device Name Mask 0000000000000000 FIG SAS Address Value 64 Bes 0000000000000000 F16 SAS Address Mask
16. Alias name Sierra FC_test ce Figure 1 10 Set Device Alias Name Dialog Disconnect Click Disconnect to disconnect a device Sierra M6 1 SAS SATA Protocol Analyzer User Manual Connecting via Ethernet Teledyne LeCroy Add Device Click Add Device to add a device with a static IP address Add Device with Static IP 3 e Device Type Sierra M6 1 Device IP Address WU UD Force add connect attempt Figure 1 11 Add Device with Static IP Dialog Force Add Connect Attempt Use this option if the application s Ping function fails the button in the upper right corner but you re sure the address is correct and you still want to attempt the connection This setting is stored in the device 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 Subnet Mask Default Gateway I Figure 1 12 IP Setting Dialog Networks Click Networks to select a network adapter The following dialog displays Sierra M6 1 SAS SATA Protocol Analyzer User Manual 25 Teledyne LeCroy Connecting via Ethernet 26 Select Adapter 1 Intell Wireless WiFi Link 49B54GN Pac 16925440154 DOldel5cc38b 2 Intell 82566MM Gigabit Network Connec 172 16 193 128 001c2570494f Cancel Figure 1 13 Select Adapter Dialog Refresh Device List Click Refresh Device L
17. Check All Uncheck All Figure 2 60 SATA STP Pattern Dialog The STP 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 Choose FIS Type and complete the corresponding dialog ATA Command Pattern SATA only Double click ATA Command to open the ATA Command Pattern selection dialog see Figure 2 61 on page 93 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup Teledyne LeCroy ATA Command Pattern E x Format Command Any Command x C Binary write Multiple Ext D 38 Hexadecimal Esnez Write Part Multiplier OxEB Show F Write Sectors 030 Write Sectors Ext x34 write Stream DMA 0434 a Command rite Stream PIO 036 Features Write DMA FLA Ext 03D Write DMA Queued FUA Ext Ox3E Sector Nurs Multiple FUA Ext OxCE Cylinder Li Trusted Receive 05C Cylinder H Trusted Receive DMA 05D Trusted Send OxBE sil ESO Dx5F sector NU Read Log DMA Ext Dx47 Cylinder Ly Trusted Non D ata 0256 Cylinder H write Log DMA Ext 057 Features Write Uncorrectable Ext On45 Write Multiple C3 Ox CS Add LBA s to NY Cache Pinned Set OxB6 10 e H1 Flush WN Cache OxB6 1 4 Di MY Cache Disable 0xB6 16 NY Cache Enable 0 B6 15 Query NV Cache Misses OxB6 1 3 Check Query NW Cache Pinned Set 0xB6 12 Remove LB 4 2 From WY Cache Pinned 0xB6 11 Court Return From NV Cache Power Mode DBE 1
18. Export to Initiator Emulator Export to Trainer Export Read Write Command Report Export Paired SAS Address Report Trace Properties Edit Comment Print Ctrl P Print Preview Print Setup Recent Trace Files gt Recent Project Files gt Exit Figure 3 200 Export gt Export Text Excel This will bring up a SaveAs menu See Figure 3 201 on page 281 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Exporting LBA XFER Length and Tag from Spreadsheet View Teledyne LeCroy Savein Simulation 62 PrE Columns Y Time Stamp Y Status nc dic iR dM Date modified Y Relative Time y neo No items match your search V Delta Time V Sense F V Port IV Error OL Y Sre SAS Address V Dest SAS Address Y LBA Sector Y XFER Length Sector Count Uncheck All File name Save as type Text Files txt With comma delimiter _ Export Dur Seal gees mum I ext Files Version ZU bd Save As Range Excel File Version 2 0 csv E Text Files Version 1 0 bd All Packets Excel File Version 1 0 csv eon To Figure 3 201 Select Text Files Version 1 0 2 0 or Excel File Version 1 0 2 0 LBA Sector XFER Length Sector Count and Tag will bring up a option to save the data in hexadecimal decimal or binary format See Figure 3 202 on page 282 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 281 Teledyne LeCroy Exporting LBA XFER Length and Tag from Spreadsheet View vi S
19. LSB C MSB C Binary Hex C Ascii Data Block Data Counter Random Data Address 13 14 15 Aia New C Append Inset Overwrite Delete Address ls Repeat fi times Walking Bit Data Custom 1 Delete All C Inctemental Decremental Random Initial Number fi 6 Pattern Counter Walking Bit Figure 2 89 Set Counter as Data Sierra M6 1 SAS SATA Protocol Analyzer User Manual 115 Teledyne LeCroy Counter 2 19 1 Random Data Pattern To use a random data pattern click the Random button enter the number of times to repeat the pattern and click OK Number of Data Cells 16 Column v Cell Length 9 LSB OMSB Binary 9 Hex Ascii Data Block Data Random 1024 o 1 2 3 js s e 7 s o 10 19 12 13 14 15 Pattern 1024 CB A8 D2 8A DC CA E0 DC D B3 FF 9A A3 82 F9 9E Increment 10 nene pate Walkzero 10 C1 D3 87 FF B5 A6 82 86 D9 A9 CE 9B ZE AC 8B 96 Delete All Pattern LFPT EC 3E 8E 91 D0 D1 84 A7 B5 3C 97 88 82 9C DO F8 Pattern HFTP CE D5 80 BF A1 8F B9 F2 D 9A E7 C7 80 9C D2 9A A Pattern MFTP 90 C6 C6 96 3E A3 AC FF B D3 BF 86 B4 8F 89 AC 3 Pattern LBP 9E A1 B2 B7 95 C5 EC EF D8 2B 8C C1 F4 CA B0 E7 Patt F5 F5 E2 8E 00 3E 2E B9 D8 E8 F6 EF 9E F4 8F AE D1 E CA EF 84 A 83 B9 B6 FA FC 8D F3 C5 84 C7 9B D3 E9 B3 AF FE DA EA CE DO 8C 4B C2 FA 97 8A F6 AC E7 9F DE E9 E8 AO EC FD B3 C7 C3 EA CF 2E walking Bit oC C5 A B8 3C A5 C8 CF E7 D7 F1 C2 CF
20. SAS vs SATA SATA Dialog has no radio buttons and has different drop down options Sierra M6 1 SAS SATA Protocol Analyzer User Manual 79 Teledyne LeCroy Trigger Setup 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 Users need to exclude the ALIGN capture for the SAS SOF EOF trigger and exclude the XXX capture for the SATA SOF EOF trigger in order for the trigger to precisely display on those primitives in the Link Data frame Note Check the box to the right of the Primitive Type to use the logical NOT EE x Primitive Type AIP NORMAL NOT C AIP NORMAL ance AIP RESERVED O AIP RESERVED 1 AIP RESERVED 2 AIP RESERVED WAITING ON PARTIAL AIP WAITING ON CONNECTION AIP WAITING ON DEVICE AIP WAITING ON PARTIAL Any ALIGN ALIGN O ALIGN 1 ALIGN 2 ALIGN 3 Any BREAK BREAK BREAK REPLY BROADCAST CHANGE BROADCAST SES Figure 2 47 SAS Primitive Selection Choices SAS vs SATA SATA Dialog has different choices Primitive Traffic Soeed Option SATA only 80 You can change the speed for triggering as well as search by speed for Primitives y LE Primitive CONT y NOT Cancel Traffic Speed 1 5 Gbps 3 0 Gbps 6 0 Gbps e H1 v He v H3 Ha D Y D2 Y D3 Y Da Check All Uncheck All Count Expected number of occurrences on each link Sie
21. SMP input Functions Figure 3 190 Discover List Descriptor Lists This will bring up the Discover List descriptor list See Figure 3 191 on page 274 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 273 Teledyne LeCroy Discover List Descriptor Lists Decode DISCOVER LIST descriptor list Sox 00 00 00 00 20 20 20 20 20 20 FF FF 01 00 00 04 01 00 00 04 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2A 30 00 00 2A 30 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 07 01 BB 99 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F A7 1E 00 B2 05 06 50 00 00 00 00 00 00 00 00 00 00 3B 00 1D 00 10 41 00 00 00 00 20 20 20 20 20 20 FF FF 01 00 00 04 01 00 00 04 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2A 80 00 00 2A 80 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 07 01 BB 99 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F A7 1E 00 B2 05 06 50 00 00 00 00 00 00 01 00 00 00 3B 00 1D 00 10 41 00 00 00 00 20 20 20 20 20 20 FF FF 01 00 00 04 01 00 00 04 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2A 80 00 00 2A 80 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 07 01 BB 99 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F A7 1E 00 B2 05 06 50 00 00 00 00 00 00 02 00 00 00 3B 00 1D 00 10 41 00 00 00 00 20 20 20 20 20 20 FF FF 01 00 00 04 01 00 00 04 01 0
22. TLR CONTROL H 1 NE NL L7 NN CASSQS 427080 Hide Field 0 Num of FA Bytes H Tag H Target Port Transfer Tag H Data Offset H a gt Data 1024 Bytes View Fields l IW esca osca 0000 ATT EF QAAGBAADF3FDF277 938167 gt ME ssP Frame Type Hashed Dest SAS Addr H Hashed Sre SAS Addr Add to Trigger rames H TLR CONTROL H 12G l _ ae CAS5OS 427080 ET l 0 Num of FA Bytes M Tag M Target Port Transfer Tag M Data Offset M gt gt Data 1024 Bytes Byte Order i 0 0SCB 0000 00000800 i 97 FD B9 31 2C 82 06 SFAD 1450 13 gt y Expand All Transport Packets Transport 4 SSP Frame Type Hashed Dest SAS Addr H Hashed Src SAS Addr A 12G z i s Expa 20 EN TN CASSOS 427080 nd All Numoff Bytes H Tag M TargetPort Transfer Tag M OstaOffset M gt gt Data 1024 Bytes Open as data view 05CB 0000 00000C00 l 5D F7 GA EF 92 58 CF 1A 4C C4 21 04 gt o l PS Eia SIN PP GUIAS CESEN Set as Reference Data Payload Transport SSP Frame Hashed Dest SAS Addr Hashed Sre SAS Adde eg gt Na d e Set as Second Data Payload en IL H ET 0x01 Dat l CA9505 427080 l 0 Num of Fa Bytes H ETE Target Port Transfer Tag H Dota Offset H gt gt Data 1024 Bytes Copy Data 0 ocs 0000 ro LES AD 29 749 FD 94 7ADACS CD EO SE Copy Frame XtoT Ons YtoT Ons Goto Command riar riis a p I A A Ell Goto Response j 2 q EH Goto Previous Tag Shift F5 Set Time Stamp Origin
23. The Order Reorder toggles the time order of packets SATA only The Pack Unpack Repeated Primitives toggles packing repeated primitives in one port SAS only 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 8B depending on the Scrambled setting Sierra M6 1 SAS SATA Protocol Analyzer User Manual Packet View Toolbar Teledyne LeCroy The SC button selects scramble unscramble for the 8 bit payload data SC The PV button shows hides the primitive value EV 3 7 1 CATC Navigation View To change the trace display to a CATC Trace click the CATC Navigation a button see Figure 3 134 on page 227 You can change the colors fonts and so on in the Trace Viewer Configuration see Trace Viewer Configuration on page 238 SU O ore Vime Gor 18 slo ac rra Ip Ei B B E ula x Li f BOE 0 9 ss la pe js LT Frame 781 3 AIP NORMAL E Trans 1 r Start Start d SMP Request Request Length H 1 34 800 993 280 min B 55040 us Trans 2 Start Start 1 34 801 048 320 min 293 ns teport manufacturer information Smp function accepted r Start Start CLOSE NORMAL Sequence 1 34 801 048 613 min 93 ns K28 5D20D30 0D274 E Frame Start Start CLOSE NORMAL Sequence EEC 1 34 801 048 706 min 72 506 us K28 5 D2 0 D30 0D27 4 Frme72
24. To configure the data viewer display use the toolbars You can display the same data in Packet view Spreadsheet view Column view with transactions grouped for each active port Text view with transactions grouped for each active port Waveform view Frame Inspector view Histogram view Bus Utilization view Data Report Statistical Report view LDLLLLDLDLDDLUDUDLUD O To change the view type when opening a sample change the default workspace or save options in the Preferences 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 Viewer Display enables you to also perform the following O Decode Assignments Refer to Decoding Assignments on page 123 for more details Q Compare Two Data Payloads Refer to Compare Two Data Payloads on page 189 for more details a Run Verification Scripts Refer to Running Verification Script Engine VSE on page 197 for more details 3 2 Trace Properties The Trace Properties dialog displays Q Software version Sample file version Grouping Type Hardware bin file version Analyzer armed at Analyzer triggered at Sample saved at Original Capture Project Open displays the project settings used to capture the sample Licensing Information LLILDLDLDLDUDLU O Sierra M6
25. 0 0 02129EDD Command Colors Task Attribute Tag H Status LUN H Background a El 0x0 Simple 0160 0x00 Good 0000000000000000 Command FUA_NV H FUA H DPO H RDPROTECT H Logical Block Address H Pa EE SEI 009DAD42 Task Attribute Tag H Status LUN H El 0x0 Simpe 0148 ox00 Good 0000000000000000 2 Inthe Preferences window select the Packet View tab select the Based on Specific Command Type option In the commands list search for any command that you want and change the background and foreground colors Packet View Metrics The Metrics feature provides quick access to additional information about the packet data Click the Metrics icon as shown in Figure 3 9 to display the details Sierra M6 1 SAS SATA Protocol Analyzer User Manual 127 Teledyne LeCroy Analysis la x 2 EN 1 42 311 543 7 20 min Cm Operation Code EvPD Hi CMDDT m 36 SN ERECTO gt Standard Inquiry Data HJ Task Attribute E Tag tH a Status Relative Time Duration atio ETE Figure 3 9 Packet View Metrics The following additional information of the packet is displayed when the Metrics field is expanded Refer to Figure 3 10 on page 128 Performance Reference Definitions Trp No Number of Transports The total number of transports that compose this exchange Resp Time Response Time The time taken to transmit this command on the link s from the beginning of the f
26. 186 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Data Stat Time Data to Status Time The time between the end of data transmission for this command and the Status frame Thrpt MB s Data Throughput The payload divided by response time expressed in MB per second Duration The time taken from the first DWord to the last DWord in a line 3 3 17 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 Aa Horizontal zoom in S Vertical zoom in amp Horizontal zoom out 2 Vertical zoom out Graph Areas Click and Drag zoom Presents options for displaying additional E Click diagonally to select and graphs zoom in on part of the graph Graph legend see previous Hide graph E idi page 3 3 18 Data Report When a captured sample is in the Sample Viewer the Data Report button is on the Viewer toolbar and Data Report is in the Report menu The data report displays all the data sent from the host to the device and from the device to the host All PIO In gt In commands are grouped as a data packet until the occurrence of a PIO Out gt Out command creating a new data packet To display a Data Report click the select Report gt Data Report Data Report button on the Viewer toolbar or X to Y 136 880 293 ms X to T 136 880 293 ms Y to T 0 ns EM 12 ME poro
27. 40 REPORT EXPANDER ROUTE TABLE LIS 40 CONFIGURE GENERAL 40 ENABLE DISABLE ZONING 40 WRTIE GPIO REGISTER 40 ZONED BROADCAST Inject CRC error Inject Disparity error Remove Stop Scenario Capture amp Substitute Main Library File Manager Output e vax 2 911 055 In this window you can enter a script command by clicking Click here to add script command 1 First click Click here to add script command to open the Command Properties dialog El Command Parameters Parameters Serial Number S N 12371 flsStop Port MT Jes 4 Beep Scenario DISCOVERY WaitForStop GoTo Stop Sleep The Command Parameters Dialog contains the list of available commands and their parameters from which to build scenarios and connected hardware and available ports Sierra M6 1 SAS SATA Protocol Analyzer User Manual 349 Teledyne LeCroy Scenario Batch Files 2 Select appropriate parameters for the command and click OK to display the script in the Script Workspace 4 New Script 0 Batch Script is valid Label0 Run S N 12871 Port 1 DISCOVER WHckK here to add nad 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 mode you can enter a Serial Number In Online mode you can only enter an
28. Color Time Stamp Format b Goto gt Figure 3 18 Goto Command Goto Response Menu Clicking on Goto Command will take you to the Command Packet 1 See Figure 3 19 on page 132 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 131 Teledyne LeCroy Analysis I File Setup Session Analysis Navigation View Window Help 218 x SE O Trae Wanne He 0518 51 Pla PROM RIP iwi Oe OGG Mel 2e PRA 08 ve es l 2708 NumofFA Bytes H Tag M Target Pon Transfer Tag M Data Offset m gt gt info Una H Logical Unt Number H i 0 05CR FEF 00000000 0000000000000000000000002A000007394A2 gt 0000000 Addi CDB Len H CDB H 00 2400000739420000 1000000000000000 0003 0 WL ssptrametype MeshedDestSASAddr M Mashed Src SASAger H Changing Data Pointer M ReTransmt H Retry Data Frames M TLR CONTROL M fe Ox0S XFER_ROY 427080 CA9505 0 0 7 l 0 Num of Fil Bytes H Tag H Target Port Transfer Tag H Data Offset M gt gt info Unt H T CRC H Handshake IEEE CI 272340 204 777755 IS DATABIIC 0x0 ACK my SSP Frame Type Hashes Dest SAS Addr H i Retry Data Frames H 16 oro ed cassos 0 EET Num of FA Bytes M Tag M Target Port Transfer Tag H Data Offset HM Data 1024 Bytes CRC M 0 05CB 427 C7 23 C0 5B g 62134F2 0x01 Di ri 0000 C7 6D FA 84 BC 1 17 CF 1 Destination SAS Address H SSP Frame Type Tag H Link Data H Relative Time
29. E Statistical Report TR HERREN Transport PL Bus Utilization EX Data Report Bo Transport T Compare 2 Data Payloads 15 SS 0 33 39 R VsE Figure 3 13 Packet view 2 Show Transport layer iyne LeCroy SAS SATA Protocol Suite BETA Simulation s Setup Session Analysis Navigation View Window Help 49 Trainer Y Jammer Record E Il Lok Trp App co amp Fg else sc PY Show Hide Transport Packet lt gt hs 3 659 973 ms Figure 3 14 Transport layer 3 Expand the Information Unit 130 ls la ls PLP RO SM 9 I alo pls ES Info Unit H CRC H Handshake Duration AS 534 F511E 0x0 ACK 213 ns m Info Unit H E CRC H Handshake Duration AA 000000000000000000000000000000000000 gt The INFORMATION UNIT field contains the information unit the format af which H Info Unit H e H H is defined by the FRAME TYPE field The a maximum size of the INFORMATION UNIT a field 7 Bez L i 1 5 o E a A senha de is 1 O24 bytes making the maximum size of 000000000000000000000000140002000000 gt TToFEBA6 0x0 ACK 213 ns H Info Unit H CRE HA Handshake Duration 000000000000000000000000140015000000 130804654 213 nz H gt Info Unit H j CRC H Handshake METI Figure 3 15 Information unit Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy 4
30. Exerciser subfolders Device Identifier file SAS Sample file in the SAS Examples folder Sample subfolder Filter configuration file Single role Pattern Generator file in the Examples folder SAS PatternGenerator Single role spg files subfolder and SATA PatternGenerator Single Role subfolder Single role means the file is for a Device or Host SAS Search configuration File SATA Protocol Analyzer Capture Project Viewer file in the Examples folder EasyCaptr AdvanceCaptr or Exerciser subfolders SATA Sample file in the SATA Examples folder Sample subfolder SATA Search configuration file SAS Workspace file in the SAS System folder Predefined Workspace subfolder SATA Workspace file in the SATA System folder PreDefined Workspace subfolder Sierra M6 1 SAS SATA Protocol Analyzer User Manual Projects Teledyne LeCroy 2 10 2 Example Projects The Analyzer includes example projects that you can use to perform an immediate analysis without any setup The Analyzer system software has a pre defined folder directory structure for storing all files All example files are in the Examples folder under the Sierra M6 1 folder It is strongly recommended that you open some example files to see types of projects that you can create 2 10 3 Run an Example Analysis Project To run an example project 1 Select File gt Open Locate example analysis projects by looking in the Ex
31. O External Trigger X 1 Analyzer Trigger X 1 Training Detector x 4 only M12x Primitive Detector each has its own Embedded counter in M12x X 8 Pattern Detector each has its own Embedded counter in M12x X 8 a total of 12 DWORD detectors are shared between all pattern detectors Frame Type Detector X 24 Counter X 12 Timer X 8 OOB X 1 ComWakeDetected X 1 ComWakeCompleted X 1 ComlnitDetected X 1 ComlnitCompleted X 1 ComSasDetected X 1 ComSasCompleted X 1 Snw1X1 Snw2X1 Snw3X1 SnwFinal X 1 SnwTrain X 1 DisparityError X 1 10B Error X 1 CrcError X 1 Both Links Up X 1 Link Speed 3G X 1 Link Speed 6G X1 Link Speed 12G X 1 LDLDLDL LDLLDLDLLDDDDUDUDDUDODUDDUDULULDLDDUDLUDLC Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Actions Teledyne LeCroy 4 8 2 Primitive Substitute X 12 Insert Frame1 Up To 1024 Dword X 1 Insert Dword8 Up To 16 Dword X 8 SNW Manipulation X 16 Global Action Register X 8 State per sequencer X 256 Action Register per state X 8 OOCOOO O O Usage of Action Register Each Counter in Global Rules 2 Each Counter in State 3 Each Timer in Global Rules 2 Each Timer in State 3 Other Actions 1 DOOCOD Using Counters in Events and Actions Many of the events and actions supported by InFusion also support counters that can control functions Within events counters determine how many times the event must occur before the associated
32. Q 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 88 2 Enter a data pattern in the Data Pattern edit box 3 Choose the number of times to repeat that pattern and click OK C Program Files CATALYST SAS System DataBlock DataBlock dat an hunda a Data Cete T6 Coum Z Address Daa pak ER C Append Inset Overwrite Random Data Pattern Address 4 Repeat 2 times Counter Data Walking Bit Data Custom 1 Figure 2 88 Define Your Own Data Pattern Sierra M6 1 SAS SATA Protocol Analyzer User Manual Counter Teledyne LeCroy 2 19 Address The cell address starts at O for the first data entry and automatically increments to the next available address You can set it to a previously defined address to modify its content or insert additional data 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 and the data address to count to and click OK n C Program Files CATALYST SAS SystemiDataBlock DataBlock dat Number of Data Cells 16 Column y Cell Length 1 Byte y
33. You can use the scroll bar to see more data 194 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trace Expert Teledyne LeCroy 3 4 3 Trace Analysis Statistics To view the Trace Analysis Statistics click on the that button See Figure 3 103 we eE D Teledyne LeCroy Tra x YM w i cin file C Users James Allen Desktop SAS Protocol Suite 5 92 B1061 ALPHA SAS Protocol Suite 5 92 B1061 ALPHA Deliverables SASSATASuite PublicDocs User SAS962012G h 77 z it Apps El iGoogle 3 Lenovo Recom Fin Sites 7 Teledyne LeCro FIT BugTrack Tutorial Video L Yahoo Finance Yahoo News L PSG Intranet 5 Google News 2j TELEDYNE LECROY Everywhereyoulook SBS Y SAS SATA Protocol Suite Version 5 92 Fad Scroll Bar Trace Expert Analysis Report for the SAS 12G scs trace This report contains a comprehensive analysis of performance errors and event statistics of the trace It is a stand alone HTML file that you may save print and share with no dependency on SAS SATA Protocol Performance Analysis i 7 Error Reports Trace Analysis Statistics General Type Porti Duration Count Open Address Frame 11 2 040 625 10us 62 0 75 Open Address Frame T1 4 596875 19us 138 1 66 Open Address Frame 12 1 99374998us 60 0 72 Open Address Frame T2 4 77500010us 142 1 71 SSP Frame 11 1 34452498ms 768 9 23 SSP Frame T1 20 584 375 38us 138 1 66 SSP Frame 12 1 33393443ms 762 9 1
34. coonccocccccncocononcccccncnnonenanonnnnonnnonanenarenrrnnrrnnnrrnnrenarenarernnanenans 253 If the Sampling Memory Usage Optimization Option is Checked 253 If the Sampling Memory Usage Optimization Option is Not Checked 255 3 14 Floalifhig LICENSE cani iia 255 3 10 External HO Seti 256 External Trid Out Settings alas 256 External TAON SEUA ee 256 3 19 UDbaate DeVIiCO iii 256 3 20 USer Demnea DC COGIING ii t 259 3 21 HEID Men lc 261 321 1 Tell Teledyne LEC ro Vistas it 261 A A TODIES 5 ooi Dn do Uo vo Mc a EC M M M M I MM m ME D E 261 9 21 9 VSE HelD TOPES A 261 3214 Update cons 261 2 21 5 Display License Informati n anar da dd 261 3 21 60 Check for UDO ALES cuina 262 9214 ABOUL as 263 3 22 SEP MENU sisii 263 322 OOM TEST Er 263 3 22 2 Gd Tolo 4 COPEC dT 264 T st Result OK OFENSA 264 MU mo P 264 Number OF RUNS Each TES Torsi D da 265 RUN All Tests Sequentially ii n 265 3 223 Memory CHECK usina 265 3224A SETAS CRACK ai doi 266 322 9 CTOSSPOMECNEOCK ERE TD LO LS mt 267 3 22 60 Main FPGA Check SATA only cien ru ia err pr ED e eheu A En Vs ao cora Ere sey c b aiuu x 268 322 EXPansio n NOE ee OO Rm 269 3 220 LEDIBUZZO Check ut 270 S 23 EIDO DU o AA O 271 ANASINO no I 273 EXPORTNO aaron adn 273 3 24 Discover List Descriptor Lists DecoOde ocooccocccccccnconcoccococoncccconncnnronn
35. 1 11 5 Navigation The Navigation menu has the following options to navigate through the application see the following screen capture El Fie Setup Session Analysis Navigation View Window Help gt gp Trainer Y DEM uo ii Search Ctrl F 2 Position C Lak Tee fee i FE Search Mexk F3 Y Position x Search Previous F4 Packet Mo B a Time Stamp 3 Bookmark Begin Source Zone Group HI Pathyray Blo End Figure 1 21 Navigation Menu Option a Goto Trigger Position X Position Y Position Packet No Time Stamp Bookmark Begin End Q Search O Search Next Q Search Previous 1 11 6 View The View menu options allows the user to zoom in and out enable disable filtering and toolbars among other actions It has the following options see Figure 1 22 on page 35 34 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Menu Options and Toolbars Teledyne LeCroy Window Help 9 Zoom In 2 Zoom Qut P Actual Size Tile Views Enable Filtering JP Filtering Filter Idles IY Lak Trp App Link Layer Transport Layer Application Layer Pack Unpack Repeated Primitives Wrap Packets Toolbar gt Y CURT Figure 1 22 View Menu Option DOODODDODOCDODoUOo Co LDLLDLDL Zoom In refer to Navigation View Toolbar on page 200 Zoom Out refer to Navigation View Toolbar on page 200 Actual Size refer to Navigation View Toolbar on page
36. 166 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Read Write Command Report Note To generate this report as well as all the other Statistical Reports the Create statistical report read write page option must be checked in the Preferences gt Trace Viewer page See Statistical Report on page 150 and Figure 3 46 on page 151 To display the Read Write Command Report click the Read Write Command tab see Figure 3 64 on page 167 The Read Write Report displays the report data in columns with the following information O Time Stamp All Custom Number Source SAS Address All Custom Number Destination SAS Address All Custom Number Protocol Type All Custom SSP STP OpCode Command All Custom Read10 Write10 Write DMA Ext Read DMA Ext Identify Device Tag All Custom LBA All Custom Sector Count All Custom Number Xfer Length All Custom Number Payload Size All Custom Number Status All Custom Good Normal Output Incomplete Completion Time All Custom Number Performance All Custom Number Standard Deviation All Custom Number Count Number OCDOO O DLDLDLDLDLDLDLDULLDLU e File Setup Session Analysis Navigation View Window Help El O ree Wie 90 S S s m PUB ORR PLP Oln mismo uut mp ds xj y dA FSD 1 o1 Read write Command Move Cursor w General Primitive SSP Transport SMP Transport FIS ATA Command SCSI
37. 342 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Running Scenarios Teledyne LeCroy 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 4 12 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 Torun the scenario click the Run Scenario button on the Device Library toolbar second button from the right The InFusion device then begins its session Sierra M6 1 SAS SATA Protocol Analyzer User Manual 343 Teledyne LeCroy Saving a Log File 4 13 Saving a Log File To save a log file of a Jammer or Device Output select the wrench from the toolbar below the Scenario window see Figure 4 56 or below the Device window see Figure 4 58 on page 345 Option to Save Output Window Log File fH Setup View Configuration Took Hep Das OBS DORE Que Trainer Up BE o mou 4 10Meter Traffic x EXTRAER ES ETA vax Status Not sa Daas BS x i 3 Scenario Name 10 Meter Traffic M EE Scenarios Direction for traffic changes From Target I 10 Meter Traffic Smart Hold Yes E New Scenario 0 008 Setting Normal Spec Value SV Global Rules Click here to add an event O Sequence 9 6 State O o Wait for ATA Command h60 READ FPOMA QUEUZD From
38. Aliqn Test Description Detect incorrect order of Aliqns and beep when it happens Direction for traffic changes I Global Rules Click here to add an event Sequence Wait for Aliqgnd Wait for ALIGN 0 then Branch to Click here to add Wait for Alignl Wait for ALIGN 1 then Eranch to Wait for ALICN 0 OB ALIGN 12 OB ALIGN 3 then Branch toa Click here to add m Wait for Aliqnz Wait for ALIGN 2 then Branch to Wait for ALIGN 10 OR ALIGN 11 For Help press Fl from Wait From Initiator Initiator for Alignl another event gt from Wait from from from Initiatori for Alignz Initiatori Initiatori Initiator Error Detected another ewvent from Wait from from Initiator for Align3 Initiator Initiator Click here to add combined event gt Click here to add combined event gt Click here to add combined event gt Click here to add another action Click here to add combined event gt D x File Library c 2 X ad b Scen i 5S equencers ex d Align Test J Sequencer exa lt Click here to add another action zxDClick here to add another action lt lt Click here to add another action File Libr CAP NUM SCRL File Libr Figure 4 52 Example 8 Top Half of Scenario Sierra M6 1 SAS SATA Protocol Analyzer User Manual Creating a Sequence Teledyne L
39. E Record Trigger Settings Notes Dont care Snapshot Manual Trig o Pattem Infusion Tre Ch y Project Tree le 8 SASProtocolAnalyzerl 5 H Capture e A Include XxX Include SYNC Include CONT HP Include DOB Signals Y Include Payload of Data Frame B FE Trigger Non Sequential P Device Sleep Rising Edge E B Primitive AIP NORMAL ei Settings 9 Trigger Position in Memory 50 Capture Memory Size 10000 KB Primitive Response Timeout 65000 Dword s Speed AutoSpeed 11 T1 12 T2 13 T3 14 T Descrambling Enabled son Align Transmission Period 2049 for SSP 258 for STP Parameters Timeout Extemal Manual Trigger Device Sleep Bus Condition Symbol Primitive a 8 Connection Details All Ports STP Frame ATA Command Figure 2 38 Default Trigger Selected Manual Trigger Mode To perform a manual trigger check the Manual Trig radio button In the Manual Trigger mode the analyzer captures bus traffic continually from when you use the Manual Trigger until you click the Stop Recording button on the analyzer toolbar which triggers the analyzer Clicking the Manual Trigger button on the application toolbar creates a Trigger Event and uploads the trace with the specified trigger position Any Trigger in Pattern Mode In Pattern mode the Analyzer triggers whenever any of the patterns selected for triggering occurs
40. FIS 70 Don t care Snapshot 72 downloading a scenario 342 DVD ROM 19 DWORD Matcher 305 E Easy Mode 28 Edit script 200 e mail 363 Email CATC Support 363 Enable Tooltip box 241 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Index Teledyne LeCroy Entire Memory 98 Error Injection 284 error message startup 19 errors 351 Ethernet connecting with 22 Event 293 event counter 311 scenario 302 example files 55 exclude from capture Align 41 Idles 42 Notify 42 OOB Signals 41 patterns 58 Payload of Data Frame 41 RRDY 42 SATA_CONT 41 SATA_SYNC 41 XXXX 41 Exclude Idle checkbox 59 Expand All 233 Expand Log button 197 Expanded Waveform View 149 Expansion Card Data Status or Clock Status check 269 Export Paired SAS Address Report 52 Export Read Write Command Report 52 Export to Excel button 173 Export to Initiator Emulator 48 External Trig In Setting 101 256 External Trig Out Setting 101 256 External Trig Setting 286 External Trig Setting dialog 256 external trigger 101 External Trigger dialog 78 F fax number 363 field show hide 230 Field Settings 240 Field View 146 file library 295 File Manager 295 File menu InFusion 286 file type definition 54 filter 206 by tag number 214 check condition 213 options 211 save setup 208 Sierra M6 1 SAS SATA Protocol Analyzer User Manual type 208 filter enable 217 filter idle 200 218 filtering 206 direction 208
41. Field Name Discover list descriptor 00 00 00 00 20 20 20 20 20 20 FF FF 01 00 00 04 01 00 00 04 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2A 80 00 00 2A 80 00 00 00 00 00 00 00 00 00 00 00 00 AN AOA ANA AA nn NAN AN AA 00 00 AN A Y Show First Field 00 00 00 00 00 00 C Format Decimal 01 00 00 04 00 00 00 UU 00 UU 00 00 00 OU OU OU UU UN OT im 00 00 00 00 00 00 00 00 00 00 0000 3F A7 1 00820508 exadecimal 00 00 3B 00 1D 00 10 41 Binary Discover list descriptor Figure 3 193 Discover List Descriptor List Showing Different Options and Formats If you de select Show First Field the Data will be shown as Function Data Size and value of the data with an explanation See Figure 3 194 on page 276 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 275 Teledyne LeCroy Trusted Command Group Decodes in Spreadsheet View in a a DISCOVER LIST descriptor list rr ARO eme m p 3 AAA o pom A IO EI AAA AA e p m amp c 09 8 O A E AAA AA A AZ AN CN JN mew 1 9 A 1 Figure 3 194 Data Shown as Function Data Size and Value 3 25 Trusted Command Group Decodes in Spreadsheet View Trusted Command Group TCG decodes are now available in the Spreadsheet View See Figure 3 195 on page 277 276 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trusted Command
42. Handshake OPEN ACCEPT 0x0 Smp function accepted Function 0x00 Report general f Transport ction 0x00 Report general Function Result 0x00 Smp function accepted Application Both 4 mi nection Rate 0xB 12 0 Gbps Handshake OPEN ACCEPT Stop NU Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy From this window you can select the Enable Field List View and the Field List View will pop up see Figure 3 33 File Setup Session Analysis Navigation View Window Help j x eu Traine Y lamme MES e BH 1 518 sisse A Po x HIPS Sl ch t 0 Sn u pk Swe v LEJ Delta Time Speed Frame Summary y e Connection Rate 0xB 12 0 Gbps Handshake OPEN ACCEPT rame la lx Cu mmand 1 753 us 17 353 us b M sCLOSE NORMAL x3 Uu 3 Initiator Port 0x1 Sr Connection Rate 12 0 Gbps _Status 0x0 Smp function accepted Function 0x00 Report general 121 668 us 2 14 _ Coxe _ Function 0x00 Report general Function Resut 0x00 Smp function accey 1 515 us lt gt Ti 106 ns p Rea LEE Features 0x0 dal T 32 09 s HACIA 126 DA AE AAA Riz 32 34 s HA K Connection Rate 0xB 12 0 Gbps Handshake OPEN ACCEPT 32 388 196 5 162 ns T4 B Destination SAS Address f 124380712 8 A OXSOD0E00SAAAAAA AF Will 32 96 s 84 ns p M i cw 2
43. Host Initiator Emulator Ports 4 Yes Enable four ports for SATA Host or SAS Initiator Emulator Feature Muxing Mo Enable Muxing in Emulator Trainer Parts 1 Yes Enable one Trainer port for blade Trainer Ports 2 Yes Enable two Trainer ports for blade Trainer Ports 4 Yes Enable four Trainer ports for blade Infusion Parts 1 Yes Enable one Infusion port for blade Infusion Parts 2 Yes Enable two Infusion ports for blade Infusion Parts 4 Yes Enable four Infusion ports for blade Infusion Feature Muxina Yes Enable Muxina in Infusion 7 cose EZ Figure 3 177 Licensing Dialog 3 21 6 Check for Updates Check whether a new software version is available If so you can download from the Teledyne LeCroy web site You can select to Check for updates at application startup see Figure 3 178 on page 263 262 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Setup Menu Teledyne LeCroy LeCroy 545 Protocol Suite Scftware Update X E There are no new updates available Far 545 Protocol Suite Sd Check for updates at application start up The latest software downloads can always be Found at htkp www lecrav caomjEmiLibrary SaFEware PSG Sierra SaS as Clase Figure 3 178 Check for Updates 3 21 7 About Displays version information 3 22 Setup Menu 3 22 1 Self Test You can use the built in RAM self test utility Select Setup on the main m
44. InFusion Overview on page 283 Note The Advanced Mode option has to be purchased separately The SAS SATA application now provides functionality for both protocols Either protocol can now be accessed via the File menu and choosing the protocol to work with Click File gt New and select the desired protocol and application File Setup Session Analysis View Help New gt SAS Protocol Analyzer 5 Open SAS Protocol Analyzer Initiator Emulator SAS Performance Analyzer WV Launch Jammer SAS Target Emulator Q Launch Trainer Launch CrossSync Control Panel SATA Protocol Analyzer E Ses SATA Protocol Analyzer Host Emulator E d Mts SATA Performance Analyzer ari SATA Device Emulator Print Setup Recent Trace Files gt Recent Project Files Exit Figure 1 16 File Menu To switch between protocols click Window and the select the trace or application to use Depending on the protocol in use the relevant functions and menu options are available and the others are greyed out see Figure 1 17 on page 30 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 29 Teledyne LeCroy Menu Options and Toolbars 30 1 10 2 File Setup Session Analysis Navigation View Help i m 4 Trainer Y Jammer 41 Cascade Tile Horizontal Tile Vertical Arrange Icons Close All 1 NCQ and Mon NCO on two Ports sts wv 2 Enclosure Service scs 3 SASProtocolAnalyzerl 4 SATAProtocolAnalyzer2 5 S
45. LBA Mid LBA High Device LBA Low exp LBA Mid exp EEE E EJE EJES i Hi rus Ph T H4 Moi Po Pos Pos Check All Uncheck All Figure 2 29 Register Host to Device Register Device to Host STP Frame Type E xl Format C Binary f Hexadecimal FIS Type Staten Bieta E Show Reserved and Obsolete Parameter FIS Type x34 Register Device to Host PM Port Status Error LBA Low LBA Mid LBA High Device LBA Low exp LBA Mid exp E EEE EE E ES MH PH Pa ru Mobi Pob Fo p p Check All Uncheck All Figure 2 30 Register Device to Host Sierra M6 1 SAS SATA Protocol Analyzer User Manual Protocol Errors Teledyne LeCroy Set Device Bits STP Frame Type E xj Format C Binary f Hexadecimal Cancel FIS Type Show Reserved and Obsolete Parameter FIS Type O41 Set Device Bits Phi Port A 7 M 7 Status Lo Status Hi Error S SActive 31 0 es MH rus p H3 Moi PF be F p3 Check All Uncheck All Figure 2 31 Set Device Bits DMA Activate STP Frame Type E I X Farmat Binary Hexadecimal Cancel FIS Type Show Reserved and Obsolete Parameter FIS Type 0 39 DMA Activate Phi Port Es mich Oe Jas la mu rs rss F p4 Check All Uncheck All Figure 2 32 DMA Activate Sierra M6 1 SAS SATA Protocol Analyzer User Manual 69 Teledyne LeCroy Protocol Errors DMA Setup
46. LU4 Cross point Intercon Pair LU1 LIL1 Pair LU2 ULZ Pair LU3 ULZ Pair LU4 UL4 Pair UL1 LUI Pair LIL2 LUZ Pair LIL3 LUZ External Link 1 LIAX LIEX EO External Link 2 L2AXILZEX External Link 3 L3AXIL3EX External Link 4 L4AX LAEX External Link 5 LBAX LBEX Iv Append eror details Number Of Run Each Test f Run Al Tests Sequentially Start Crasspoint Check Cloze Figure 3 183 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 267 Teledyne LeCroy Setup Menu 3 22 6 Main FPGA Check SATA only To perform an Inter FPGA Connection check select the Main FPGA tab Clock Memory Serdes Crosspoint Main FPGA Expansion LED Buzzer Test Result RJ inter FPGA Connection test Save error details Cave It C Program Files L eCrausLeCray SATA Protocol SuteUserErrorz detail sl El Iv Append error details o dle Number Of Run Each Test f Run All Tests Sequentially Start Main FPGA Check Close Figure 3 184 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 268 Sierra M6
47. Length Value General Protocol Supported Figure 3 188 SATA Find DUT Dialog Click the Find Device button to search for connected devices After a brief period the dialog displays all device information Device Identifier Find Find Device in Alllnfo SAS Address F TI Device List EEF T1 500605600000035 PH 0 PH 1 5006056000001 i PHY 2 Bes PHY 3 B PHY 4 H PHY 5 ll PHY 6 AK PHY 7 A PHY 8 B PHY 9 i PHY 10 i PH 11 500605600001 Parameters PHY Information Property PH Id 0 Invalid D word Count 0 Running Disparity Count 0 Loss OF DWord Sync Count 0 PH Reset Problem Court d8d General Protocol Supported SSP iV SMP STP Number OF PH 12 Vendor Id LSILOGIC Expander Change Count 163 Product Id 5455126 0 Expander Route Indexes 144 Product Rev Lev Id 32 Config Esport Save Load cese Figure 3 189 SAS Identified Devices Click a device in the Device List to display information about that device 272 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Discover List Descriptor Lists Decode Teledyne LeCroy Aliasing You can enter a 16 character alias name for a device In the Device List right click the device name and enter an alias after the colon The alias name appears in the Device List Exporting You can export a device specification to a text file Click the Export button to open the Export dialog 3 24 Discover Li
48. NA 50 260133 ms Latency Time from Command transmission to the first data transmitted for this IO operation Read Latency Time Avg NA 14 164080 ms Avg Read Latency Time Sum of all Read Latency times Total Read Commands Read Response Time Min NA 0 411826 ms Response Time Time to transmit a Command from beginning of the first Frame to end of the last Frame Read Response Time Max NA 50 291066 ms Response Time Time to transmit a Command from beginning of the first Frame to end of the last Frame Read Response Time Avg NA 14 191253 ms Avg Read Response Time Total Read Response Time Total Read Commands IO Per Second Read NA 125 336235 cmd s Read IO z Total Read Commands Whole Trace Time Total Write Size NA 663552 Bytes Total number of Bytes Written in the trace Total Write Duration NA 4 148386 ms Total time spent writing Total Write Commands NA 325 Total Write Commands Write Throughput Min MB S NA 0 077116 MB S Write Throughput Write Payload Size Write Response Time Write Throughput Max MB S NA 28 186334 MB S Write Throughput z Write Payload Size Write Response Time Write Throughput Avg MB 5 NA 0 710992 MB S Avg Write Throughput Sum of the Write Payloads Sum of the Write Response Times Write Latency Time Min NA 0 052506 ms Latency Time from Command transmission to the first data transmitted for this IO operation Write Latency Time Max NA 25 278066 ms Latency z Time from Command
49. OOB Setting Normal Spec Value Global Rules Wait for Internal Trigger Event Index 3 Click here to add combined event then Beep 50 ms and Stop Scenario Click here to add another action Click here to add another event Sequence 0 State 0 Wait for SSP Frame O0x06 Command FO Frame Type Value 8 Bits 0x06 Command Mask OxFF From Initiator Click here to add combined event then Monitor Count and Stop Scenario after 500th occurrence and Internal Trigger Action Index 3 Click here to add another action Click here to add another event Click here to add another state Click here to add another sequence Figure 4 27 Scenario to Turn Off Scenarios with Internal Triggers Generating a Jammer Marker The main purpose of this feature to enable the user to mark specific parts of the captured traffic for easier tracking of data In Sequence 0 shown below the Event is Waiting for a CRC Error After that event occurs an Action will be taken see Figure 4 28 on page 316 Y FEICUYIHT LUCVIVy UU uon CNU DIJUEULCLOI ama HOIN TVIVVUITICI IWC ILCIGIIU Y J HAS File Setup View Configuration Tools Help 5 P O Analyzer 4 Trainer BL BE Reor B Ul 4 New Scenario 0 No action specified for the event CRC Error From Initiator in Sequence 0 State O Click here to jump to the prok Scenario Name New Scenario 0 Direction for traffic changes From Initiator Smart
50. Refresh append to the list of found devices 9 Windows default 9 Pass through unused ports cms c setastactoy _ Figure 3 8 Preferences Window If a specific SCSI Spec does not appear in the SCSI Specs window it may not be supported by the current release of the SAS SATA Protocol Suite Contact Teledyne LeCroy Technical Support to request additional decode development Packet View After you select a view it appears in a separate window To increase the new window n display size select View Packet View or click the Show Hide Packet View button to hide the Packet View When scrolling through a window display using the scroll bar the displays in the other windows also scroll To rearrange the tiling select the Window menu and choose Cascade Tile Vertical or Tile Horizontal You can customize the color of any operation code field using either of the following two methods Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Ma TEECUyne LELTOY 2442 IATA FTULUCUI 2UILC7DE FA 7 MTL Loe p meom m File Setup Session Analysis Navigation View Window Help 18 x 5 E Tere ime reco mon cR oss a PD 001229 810 0 B B ED Fun BD oa Ln f Be BERN aem n Destination Address H Operation Code FUA NV H FUA H DPO H RDPROTECT eu _ Logical Block Address H a 5000C50000104785 0x28 Read 10 ey EDS x gt a S
51. Remove PER Normal Description Wait for BEDY Normal and remove it Direction for traffic changes From Initiator Global Pules E Wait for BEDY NORMAL from Initiator then Femotve Click here to add a Sequence gt E For Help press F1 Figure 4 34 Example1 Complete Scenario 12 In the File menu select Save Scenario to save the scenario Example 2 Wait for a Primitive and Replace It with an Error In this example the Global Rules portion of the scenario waits for each RRDY Normal primitive and replaces it with an ERROR primitive 322 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Summary of Scenario Creation Teledyne LeCroy 8 9 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 In the Global Rules area click the prompt to add an event to display the Event Properties dialog box As you did in the previous example choose RRDY Normal as the type of primitive to monitor In the Global Rules area click the prompt to add an action to display the Action Properties dialog box In the Type column on the left choose Substitute with SAS Primitive as the action that you want when an RRDY Normal occurs In the middle column of the dialog box click Description if you want to add a description of the action Still in the middle column of the Event Properties dia
52. SMP Frames STP Frames SCSI Commands SMP Commands Task Management Function Seagate 2 gt Intrasever Intrasever gt Network tools 2 Intrasever gt Network tools 1 JT ask Management Functions Intrasever gt Seagate 2 JATA Commands Intrasever gt Seagate 1 ILILILIL LILIEILEILI LI LI L1 LI LI LI LI ATA Commands 8C5I Command Status SCSI Command Status Source SAS Address M Source SAS Address Destination 545 Address M Pair SAS Address Figure 3 160 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 3 15 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 opened by these default SAS address aliases TxRx Vout amp Preemphasis The analyzer incorporates the ability to select TX Vout for the transmitter on each port Selecting TX Vout increases the output voltage swing above the nominal value for test Sierra M6 1 SAS SATA Protocol Analyzer User Manual TxRx Vout Preemphasis Teledyne LeCroy and characterization purposes This feature is also useful to compensate for line loss when driving long cables To select TX Vout select Setup gt Tx Vout amp Preemphasis to display the Rx Tx
53. T2 and so on the columns are Source Destination SAS Address pairs such as S1 SEP or S2 EXP O 2 9 4 Trace Properties Select File Trace Properties to see the properties of the trace For more information refer to Trace Properties on page 121 2 9 5 Edit Comment You can write comments and edit them for a trace for future use Select File Edit Comment to view the edit window Key in the comments and close the window Sierra M6 1 SAS SATA Protocol Analyzer User Manual 53 Teledyne LeCroy Projects 54 2 10 2 10 1 Projects You can define a new project starting with the default project definition or modify the settings for the last project run New Default Project To start a New project select File gt New on the main menu bar and choose Protocol Analyzer to open a new project with default settings that you can modify see Main Window on page 39 Last Project Clicking the Green button e opens the last project run so you can modify it Project File Types Projects have the following file types asl cfg dat sac saf SCS sfl spg Decoding script file in the Examples folder User Define Decoding Script subfolder Display Configuration file in the System folder Config subfolder DataBlock file in the System folder DataBlock subfolder SAS Protocol Analyzer Capture Project Viewer file in the Examples folder EasyCaptr AdvanceCaptr or
54. TT CN 33 RRDYNORMAL ES Spis CLOSE NOMMA 3 e EOE META 1 1 META Sins MEETS MA EILIDNHCONER Sins oe nea a ae T J a me T bytes R RIP ar OxAO tLUNS _40 980 623 543 8 META 126 och 9 CAD LUNS eee time T 128 pons OxA0 Report LUNS A E ashe Desi SaS Aas hashed sre Sas ar on T 40 960 496 721 8 25 0 06 Command C3EBSE FETTE 000000000000000000000000A0000000000 BCT54577 Ox0 ACK siins ro Se Source SAS Address H 3BD 43 Fal et CS ERR EHE Destination 545 Address H SSP Frame D gt 1 Er EL RDY NORMAL Figure 3 31 Primitives Shown in Spreadsheet and Packet Views Export As Text Excel Select File gt Export gt Export to Text Excel to open the Save As Text dialog For Save As Type select Text Files or Excel Files Select options from With comma delimiter Export Duration and Save in a Single CSV File For Save As Range select All Packets or enter a cursor range Enter a File Name and click Save Sierra M6 1 SAS SATA Protocol Analyzer User Manual 141 Teledyne LeCroy Analysis Note When Spreadsheet View is exported to text the XFER Length field is always in hexadecimal format Note Export to Text Excel is available from the Spreadsheet View Packet View or Text View as of S W version 5 60 or later Export to Text Excel is not available from Column View as of S W vers
55. Traine Y lamme z BE ES EE Lis EE n M es KA Figure 3 86 Bus Utilization Toolbar Functions Horizontal zoom in Horizontal zoom out Vertical zoom in Vertical zoom out Click and drag zoom mode Q Graph areas OOOO O Select functions to view from the Available Bus Utilization Views from the Graph areas Icon Q Pending SCSI IO for SAS Shows number of pending commands Pending ATA IO for SATA Shows number of pending commands Q SCSI IO Throughput for SAS The payload divided by response time expressed in MB per second a ATAIO Throughput for SATA The payload divided by response time expressed in MB per second Q SCSI lO Latency Time for SAS The time measured from the transmission of the command to the first data transmitted for this IO operation Q ATA IO Latency Time for SATA The time measured from the transmission of the command to the first data transmitted for this IO operation O SCSI lO Response Time for SAS The time taken to transmit this command on the link s from the beginning of the first frame in the command to the end of the last frame in the command O ATA IO Response Time for SATA The time taken to transmit this command on the link s from the beginning of the first frame in the command to the end of the last frame in the command O See figure below Figure 3 87 on page 182 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 181 Teledyne LeCroy Analysis v Pendi
56. You can define triggering for specific ports by checking or unchecking Port IDs 78 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup Teledyne LeCroy Symbol Double click Symbol in the Pattern window to open the Symbol dialog K Symbol k28 3 Cancel C D Symbol E Mi Pre ris pm Bu ure drum mr Check All Uncheck All Count Expected number of occurences on each link f Figure 2 45 Symbol Dialog Choose a symbol type by checking either the K Symbol or D Symbol option then click the down arrow in the Symbol dropdown list choose a symbol to trigger on and click OK Note that the D Symbol choice does not have a down arrow Q To choose a D symbol click the D symbol option button and enter a Hex value Primitive Double click Primitive in the Pattern window to open the Primitive dialog The radio buttons select a different subset of primitives from an approximate total of 88 that are available This makes it easier to find the right primitive The Count field is enabled when the Define Sequential Trigger Mode check box is selected see Figure 2 40 on page 75 Primitive Primitive Type AIP NORMAL NOT E Cancel Not Specific To Type Of Connections Used Only Inside SSP And SMP Connections 0 Used Inside STP Connections Traffic Speed v 1 5 gbps 3 0 gbps 6 0 gbps 12 0 gbp 9 1 4 T1 Check All Uncheck Al Figure 2 46 SAS Primitive Dialog
57. a All Samples Q arange between selected cursors Q arange between selected Idle link commands a range between bookmarks The Save Filtered Sample checkbox saves a trace file without filtered data The Apply Show Hide Link Setting checkbox filters the saved data further by also applying the current status of the port buttons of the toolbar 2 9 1 Exporting From the File menu you can Export to Text Excel Export to Trainer Export Read Write Command Report or Export Paired SAS Address Report Sierra M6 1 SAS SATA Protocol Analyzer User Manual 47 Teledyne LeCroy Saving a Trace Capture Note Export to Text Excel is available from the Spreadsheet View Packet View or Text View as of S W version 5 60 or later Export to Text Excel is not available from Column View as of S W version 5 60 or later Export to Text Excel From the File menu you can export to Text Excel using the Export to Text Excel The Save as Text dialog displays Savein Samples O8 PE Columns jeer 4 Time Stamp l hame Date moddied Type 4 Relative Time No items match your search Delta Time Recent Places Desktop i A Libraries J Port V Sre SAS Address 4 Dest SAS Address IJ Frame Command 4 LBA Sectortt AFER Length Sector C Tag 7 SActive Speed z LUN Z Status Z Handshake V Sense Kep ASC ASCO nan 4 i n i t File name A y Save
58. drop down list 1 5 Gbps 3 0 Gbps or 6 0 Gbps Note If a Port ID check box has no check the analyzer does not capture any patterns for that port The system allocates trace memory for that port to its adjacent port for example 11 T1 I2 T2 2 15 8 Ports Configuration Select the Port Configuration button to display the Set Port Configuration dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 101 Teledyne LeCroy Analyzer Settings Set Port Configuration Available Functionality by Setup and licensed Features E Analyzer Target Emulator Initiator Emulator Jammer Trainer Cancel 0 Available TES Available IE 2 Available Yy 2 Available D 2 Available Out of 2 Out of 2 Out of 2 Out of 2 Out of 2 Ports Configuration for Current Setup Serial Hum SN 61666 0xFOEZ Ports Assignment Figure 2 71 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 Select Port Configuration k X Al Configurations Filter e Analyzer v Emulator Jammer Trainer All valid port configurations For 5M 61658 OxF DA Port 01 o o Figure 2 72 SAS Select Port Configuration Dialog Port configuration depends on the application you run a To act as Analyzer select the Q Analyzer port configuration Q To activate the InFusion on a port select V Jammer
59. select Branch to gt New State 9 Click the OK button to close the Action Properties dialog box 10 This saves the action and automatically creates an area for State 1 in the scenario 11 In the State 1 area click the prompt to add an event The Event Properties dialog box appears 12 Choose the Address Frame event In the Direction column select From Target you want State 1 to trigger on an Identify Address frame received from the target 13 Click OK to close the Event Properties dialog box Sierra M6 1 SAS SATA Protocol Analyzer User Manual 333 Teledyne LeCroy Creating a Sequence 14 Click the prompt to add an action for State 1 New Scenario O bx Mo action specified Far the event Address Frame 0x00 IDEMTIF in Sequence O State 1 Click here to jump to the pro Status Nok saved Scenario Name New Scenario O Direction for traffic changes From Initiator I Global Rules Click here to add an event Sequence O a State O A Wait for Address Frame Ox00 IDENTIFY FO ddressFremeType Value 4 Bits Ox00 IDENTIFY Mask OxF From Initiator then Branch to State 1 State 1 ld E Wait for Click here to add i action Figure 4 49 Example 7 Adding an Action to the Second State The Action Properties dialog box appears 15 In this example you enter the action Beep and you set the duration of the beep for 1 second 16 Click OK to close the Action Properties dialog
60. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Figure 3 199 TCG showing Copy Text No Show First Field and Changing Format of Data 3 26 Exporting LBA XFER Length and Tag from Spreadsheet View From an open Trace in Spreadsheet display mode you can now Export and SaveAs LBA Transfer Length and Tag data in different formats Text 1 0 2 0 and Excel 1 0 2 0 as well as hexadecimal decimal or binary See Figure 3 200 on page 280 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 279 Teledyne LeCroy Exporting LBA XFER Length and Tag from Spreadsheet View 280 File Setup Session Analysis Navigation View Window Help AT V 9 New gt an 25 Bl 191 s al PH Open Close Launch Jammer Launch Trainer Launch CrossSync Control Panel Save WorkSpace Save Ctrl S Save As Export Export to Text Excel
61. 1 L Nochange NoJump gms g Nochange NoJump State 1 81 Else lf mk O Capture Everything i Exclude Items Idle Notify Primitive OPEN ACCEPT then Go To Stat Nochange NoJump Capture Everything V Exclude Idle Exclude Xx State 2 S2 Nothing Exclude OOB Signal Exclude RRDY C Pattem Exclude ALIGN v Exclude NOTIFY I Exclude SATA CONT Exclude SATA SYNC Exclude Payload except Capture Everything Exclude Items Idle Notify SSP Frame Command then Go To State 3 State 3 83 Exclud idle Notify Primitive ACK then Trig Ext Out Ac 2 Add State JE Delete State Figure 2 76 SAS Advanced Trigger with Multiple Branches 2 16 2 State Number for Complex Trigger Sequences To follow the path of complex trigger sequences you can display state numbers in a trace To see state number in Packet View right click a link layer packet show field and select state number Setting Trigger Conditions To set the If and Else If trigger condition 106 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Advanced Mode User Defined Teledyne LeCroy 1 Click the Add Pattern button fora Pattern field and choose a trigger condition from the drop down list Advance Mode Settings Notes State O SO Start n pue Pattern Cont Trig Timer Ext Out Go To L Fr If Nochange NoJump E Else If Timeout ET Nochange NoJump State 1 S1
62. 1 SAS SATA Protocol Analyzer User Manual Creating a Data Block Teledyne LeCroy To add another data block 1 Click the New button in the Data Block dialog box Number of Data Cells 16 Column v Cell Length LSB MSB O Binary Hex Ascii Data Block Random 1024 Pattern 1024 a55a Increment 1024 Walkzero 1024 Delete All Pattern LFPT Pattern HF TP Delete Random Pattern INN Figure 2 85 New Data Block Dialog Box 2 Choose the number of data columns up to 16 data cells row and the cell length up to 16 bytes cell 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 2 18 1 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 open the Data Block Edit menu Figure 2 86 Data Block Edit Sierra M6 1 SAS SATA Protocol Analyzer User Manual 113 Teledyne LeCroy Creating a Data Block 114 2 18 2 2 18 3 Choose Rename Rename Data Block X New Name Custom 1 Cancel Figure 2 87 Rename Data Block Enter a descriptive name in the New Name edit box and click OK Editing a Data Block You can enter data in the defined cell structure by these methods QO Define your own pattern Q Seta counter O Choose a Random Pattern
63. 1 SAS SATA Protocol Analyzer User Manual Setup Menu Teledyne LeCroy 3 22 7 Expansion Check To perform a Expansion Card Data Status or Clock Status check select the Expansion tab Clock Memory Serdes Crosspoint Main FPGA Expansion LED Buzzer Test Result expansion Card Data Status J Expansion Card Clock Status Save error details Cave T C Program Files LeCroausLeCray SATA Protocol Suites sersE ors detail sl El v Append error details ale Number OF Run Each Test f Run All Tests Sequentially Start Expansion Check Close Figure 3 185 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 269 Teledyne LeCroy Setup Menu 3 22 8 LED Buzzer Check To perform a LED or Buzzer check select the LED Buzzer tab x Clock Memory Serdes Crosspoint Main FPGA Expansion LED Buzzer The LED board shows Following patterns 1 OM All LEDs are ON 2 OFF All LEDs are OFF 3 Walking GFF All LEDs are ON and only one LED is turned OFF and start moving 4 Walking Oh All LEDs are OFF and only one LED is turned OM and start Moving Iv Buzzer Test ou should hear the buzzer sound stop Test Save error details Cave Tr C Program F
64. 102 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analyzer Settings Teledyne LeCroy Note To display the current Port Configuration click the green button in the lower right corner to display the Port Status window see Port Status on page 234 2 15 9 Port Configuration and Projects Port Configuration depends on Project selected Performance Analyzer and Performance Analyzer with do not use ports Protocol Analyzer has the following port configuration Project Number Protocol Analyzer Port 1 2 15 10 Add a Project Note To enter and save information about the current project click the Notes tab and enter the data about the project Pre Trigger Capture Trigger Post Trigger Capture Settings Notes Project Tree B SASProtocolAnalyzer2 a Project Name RENATA E Pre Trigger Capture Exclude Include 990 Note E Include SATA SYNC Include SATA CONT Include OOB Signals Include Payload of Data Frame Exclude Idle e Trigger Non Sequential B y Post Trigger Capture Everything Exclude NOTIFY Include 99 Include SATA SYNC zi Include SATA_CONT Creation Date 08 04 13 on Tuesday Jul 08 08 Include OB Signals Include Payload of Data Frame Last Modified Not saved yet Include RADY Exclude Idle Last Run Not run yet S Settings Trigger Position in Memory 50 Capture Memory Size 10000 KB Primitive Response Timeout 65000 Dword s Speed AutoSpee
65. 200 Tile Views refer to Navigation View Toolbar on page 200 Enable Filtering refer to Filter Setup on page 207 Filtering refer to Filter Setup on page 207 Filter Idles refer to Filter Setup on page 207 Link Layer SAS only refer to Packet View Toolbar on page 225 Transport Layer SAS only refer to Packet View Toolbar on page 225 Application Layer SAS only refer to Packet View Toolbar on page 225 Pack Unpack Repeated Primitives SAS only refer to Packet View Toolbar on page 225 Physical Layer SATA only refer to Packet View Toolbar on page 225 FIS Layer SATA only refer to Packet View Toolbar on page 225 Command Layer SATA only refer to Packet View Toolbar on page 225 Wrap Packets refer to refer to Packet View Toolbar on page 225 Toolbar allows you to customize the toolbar with the options given below Main Record Capture Analysis Navigation View Packet View Column View Cursor position Target Emulator Status Bar refer to Cursor Position Status Bar on page 236 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 35 Teledyne LeCroy Menu Options and Toolbars 36 1 11 7 Window 1 11 8 1 11 9 Help Cascade Tile Horizontal Tile Vertical Arrange Icons Close All Mi Ree The Window menu has the following options DOOCDL Help Cascade Displays all open windows in an overlapping arrangement Tile Horizontal Displays all open windows in a above belo
66. 206 3 00 Elder oca acta 207 Fer TP acen 208 PINCTING DIFECUON riada ND 208 A O 208 rimari oem cett 208 FIr Logica aci 208 Multil vel Filteritig ISA Sonar A AAA AAA A 209 Filter descending packets from trace highlight bar eere sees 211 3 6 4 Selectable Filter Options for Aso 211 Command Data Pattern ustessssae aeo tuE EE brEnn E En EdExE a a a dM rs xx diste EU ERE d E ED PES 212 EN o A 212 Incomplete Frames segr A AN 212 NP Worse 212 ETOLOCO MENTA das 212 ATAPLSCSI COMME EeE RUE UE 212 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 7 Teledyne LeCroy Contents Filter Check Condito oorr 213 Filter DY Tad NUImDOF iue ches cou A aan 214 Filter IMISGCNANCOUS aia ED cuoi A AA 215 Use Pair 5A AdOIeSSeS ai toca RR BERE GER ESSE 216 TERA SEQUENCE aiara E EEE E A E EEE E 216 3 6 5 Selectable Filter Options for SATA o 216 SGC ENIDE P O A A 217 A E N 217 3 0 0 DC Clin 218 SAVE SCAG CUI o PO RI gt E caus ME ecsucanee M EMEN 219 Sear M ni ete TP HM RECTORES 219 Search WIFE CUO NM ee wnnv 219 SEACA FT ON a 219 Search Logran Er RN 220 SOMEONE AA 220 BriCHa lsi idi eet RR 220 PRAVANGEO ODTIONS P UNTEN TT Mx 220 Search DOMA memes 221 Searcn SUD NEMS rraian a a a IL M E aoe aes awe eeeeaemaadauaaeaaea 221 Search Dy Vad NUMDOT ideal 223 3 6 9 Show Hide POS ai A a 225 S
67. 2E F9 A9 a FE 81 C2 D3 C1 8A 2C 3E F7 A9 A4 9F AE C6 D7 9C 98 B1 D 9D D1 9D 97 EF 81 B2 3B A7 93 8A A1 E6 E8 83 DO F3 EC CE D A5 D6 EC CE 8E C4 DE C3 C3 E DA FR 82 F1 3F RA CA AC DA DA ACF AN GA FF 83 Figure 2 90 Choose a Random Pattern 2 19 2 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 C Program Files CATALYST SAS System DataBlock Datablock dat Number of Data Cells 16 Column Cell Length 1 Byte LSB MSB C Binary Hex C Ascii Data Block z Walking Bit x Pattern C4 EO EF Et Counter Data Walking Bit Data Custom 1 WalkingBit 0 C 1 Direction E Pighi oLeft mno Left oRight 7 Start Position at 0 Address C Append Inset Overwrite Walking Bit Address le Repeat fi times EE Figure 2 91 Define a Walking Bit Pattern 116 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Counter Teledyne LeCroy 2 19 3 2 19 4 2 19 5 Creating and Editing Data Blocks as Text You can create and edit data blocks using a text editor such as Windows Notepad To create a data block in Notepad launch Notepad Enter a header consisting of Item1 Item2 Item3 Item4 Item5 where Item1 is the name of the Data Block Item2 is the size of the Data Block
68. 31 Example 1 Adding an Event The Event Properties dialog box appears see Figure 4 20 on page 303 4 Inthe Type column of the Event Properties dialog choose Primitive gt 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 monitor for the selected event the default is From Initiator which is what you want for this example 320 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Summary of Scenario Creation Teledyne LeCroy 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 you want to wait in this scenario In this example it is RRDY Normal lala Type Address Frame 2 Any Dword E ATA Command e ATA Command Frame E ATAPI Both Links Up CRC Error a Dward Matcher z FIS Frame FIS Type pu Frame Type z Invalid 10bit code Error Links Speed 3G Links Speed 66 OOB Signal Er Primitives z Primitive Group AS Primitive o SATA Primitive x Running Disparity Error 545 Data Pattern SATA Data Pattern H CSI m SMP Frame z SSP Frame Event Ho 1 From Initiator NOTIFY ENABLE SPINUF NOTIFY POWER LOST EXPECTED NOTIFY RESERVED 1 NOTIFY RESERVED 2 ACK MAK CAC ERROR HAK RESERVED 0 HAK RESERVED 1 HA
69. 3G Yes Support for 3GBps data rate Rate Support 6G Yes Support for 6GBps data rate Tool Pattern Generator Yes Enable Pattern Generator Tool SATA Compliance Yes Enable SATA Compliance Tool SATA Host Emulator Yes Enable SATA Host Emulator Tool SATA Device Emulator Yes Enable SATA Device Emulator Tool SAS Initiator Emulator Yes Enable SAS Initiator Emulator Tool SAS Traget Emulator Yes Enable SAS Target Emulator Protocol Support SAS Yes Support for SAS protocol Protocol Support SATA Yes Support for SATA protocol Protocol Support STP Yes Support for STP in SAS protocol Protocol Support Pre emphasis Yes Support for Pre emphasis for SAS and SATA protocols Analysis ports 1 Yes Enable one analysis port for blade Analysis ports 2 Yes Enable two analysis ports for blade Analysis ports 4 Yes Enable four analysis ports for blade Analyzer Feature Muxing No Enable Muxing in analyzer Device Target Emulator Ports 1 Yes Enable one port for SATA Device or SAS Target Device Target Emulator Ports 2 Yes Enable two ports for SATA Device or SAS Target Device Target Emulator Ports 4 Yes Enable four ports for SATA Device or SAS Target Host Initiator Emulator Ports 1 Yes Enable one port for SATA Host or SAS Initiator Host Initiator Emulator Ports 2 Yes Enable two ports for SATA Host or SAS Initiator
70. 680 0 08 788 0 10 683 0 08 686 0 08 788 0 10 670 0 08 394 0 05 301 0 04 299 0 04 1110 0 14 602 0 07 323 0 04 eno nn Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Bus Condition Report To display the Bus Condition Report click the Bus Condition tab The Bus Condition Report displays information in the following columns Q Bus Condition See Figure 3 54 All Custom Activity On COMINIT COMRESET COMWAKE COMSAS Q Port See Figure 3 52 on page 155 All Custom I1 T1 12 T2 13 T3 14 T4 Q Count All Custom or a number of occurrences Q 96 Percentage of total count rs File Setup Session Analysis Navigation View Window Help u u lt w E Gs Er E T JL c 1 of 2 Activity On Bus Conditior COMINIT COMRESET COMWAKE COMSAS B 0 47 T3 0 70 Figure 3 54 Statistical Reports Bus Condition Sierra M6 1 SAS SATA Protocol Analyzer User Manual 157 Teledyne LeCroy Analysis SSP Transport Report To display the SSP Transport Report click the SSP Transport tab The SSP Transport Report displays information in the following columns O Type See Figure 3 55 on page 158 All Custom Data XFR_RDY Command Response and Task Port See Figure 3 52 on page 155 All Custom I1 T1 12 T2 13 T3 14 T4 Duration All Custom or time unit Count All Custom or a number of occurrences Percentage of total count LDLDLDL F
71. A v All SMP Function Accepted 14 296 875 000 00 ns 4 Custom SMP Function Accepted 14 75 000 000 00 ns 1 8 33 Report General SMP Function Accepted n 896 875 000 00 ns 1 8 33 Report Manufacturer Information SMP Function Accepted 12 584 375 000 00 ns 1 8 33 Discover List SMP Function Accepted B 890 625 000 00 ns 1 8 33 Discover List SMP Function Accepted 14 3 556 250 10 us B 33 33 6 300 000 19 us 12 100 00 Figure 3 62 Statistical Reports SMP Command 165 Teledyne LeCroy Analysis Task Command Report To display the Task Command Report click the Task Command tab see Figure 3 63 The Task Command Report displays the report data in columns with the following information a Function All Custom Abort Task Status Good Port All H1 11 H2 12 H3 13 H4 14 or Custom Duration All Custom or time unit accumulative Count All Custom or a number of occurrences Percentage of total count DOOCD File Setup Session Analysis Navigation View Window Help T T TRC S E Q Tene W Jammer i O Pecod B M Wy 2 m 7 cz Lok Typ App v CQ amp fA iGB SB sc PV 3 P Bw od aS aS x aj EJ En CS qo PLD 1 of 1 Abort Task Task Command Move X Cursor y General Primitive SSP Transport SMP Transport FIS ATA Command SCSI Command SMP Command Task Command 426 666 687 01 ns 426 666 687 01 ns 1 100 00 Figure 3 63 Statistical Reports Task Commands
72. All Connected Devices Status Bar Views Library Output Customize see window descriptions in Buttons section above Smart Docking Toolbar Status Bar Port Configuration see Port Configuration for InFusion on page 289 Batch Script Setting see Scenario Batch Files on page 348 Tools Browse UserData System or InFusion folder Help Help Topics and About InFusion 4 2 3 Main Library You can Show Main Library Sierra M6 1 SAS SATA Protocol Analyzer User Manual Interface Teledyne LeCroy Main Library an bx Al Scenarios li Br Mew Scenario 0 Figure 4 2 Main Library The Main Library has Scenarios Using the buttons from left to right you can Q Create a new scenario and save a scenario Save a library and save a copy of a library View edit a scenario insert copy of a scenario and delete scenario device ports Copy and paste OOO O 4 2 4 File Library You can display the File Library LE ry E x 10 12 Be as A Mone SAS EGET L3 9 Bad SCSI ter length in Crad tr SA5 bla LL3 14 545 frame after DONE no cr SAS emors test TY DEVICE wrie Faled Device 16 DEVICE Buffer Underun Device 20 DEVICE Verity Soft Reset Recovery Inject Disparity Error Inject Disparity Error emp Figure 4 3 File Library A File Library has Scenarios currently available in the device Using the buttons from left to right you can New scenario Save selected
73. Avg NA 10 438453 ms Average FIS Difference Total FIS Difference Time Total FIS Count Figure 3 67 Statistical Reports Performance Items 170 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Lanes Report To display the Lanes Report click the Lanes tab see Figure 3 68 on page 171 The Lanes Report displays the report data in columns with the following information Port All H1 11 H2 I2 H3 I3 H4 14 or Custom Open Accept All Custom or Number Open Reject Number AIP Waiting on Con Number Break Number SCSI Command All Custom or Number ATA Command Number SMP Command All Custom or Number Outstanding Command Number Transfer Bytes All Custom or Number Link Utilization Number Link Utilization 96 Percentage of total count O DO UOUCODODDODO O oO ei File Setup Session Analysis Navigation View Window Help SE Q Tee Y Jammer Q m n SSB AS Slit AP Peo R DP H S ch d PIR s E 8 50 wuk S6 33 vs xl EJ Sy St s T L gt 1 Move X Cursor Port m Accept T Open Reject AIP Waiting on Con Break SCSI Command ATA Command SMP Command oustanding Cmd Transfer Bytes Link Utilization Link Utilization Al All Saa A All All All TDI i 0 0 a 0 0 0 73538300 m 538 300 m 12 45 T1 3 0 0 0 0 0 73 679 764 ms 1248 2 18 0 0 0 2 0 1 0 0 73 706 352 ms 12 48 T2 3 0 0 0 0 0 0 0 8480 73813492 ms 12 50 B 0 0 0 0 2 0 1 0 0 73910141 ms 12 51
74. Command Task Command Read Write Command SAS Address All 5000C500001047B5 500062B000001074 5000C500001047B5 500062B000001074 SSP Response 690 5000628000001074 5000C50000104785 SSP Command 690 5000E85000000001 5000C50000103D91 SSP Command 5 5000C500001047B5 5000628000001074 SSP XFER RDY 229 5000628000001074 5000C500001047B5 SSP Data 458 5000C50000103D91 5000E85000000001 SSP Data 3 5000C50000103D91 5000E85000000001 SSP Response 6 50060560000003C4 5000628000001074 STP Data 205 50060560000003 C4 5000628000001074 STP Register Device to Host 299 5000628000001074 50060560000003 C4 STP Register Host to Device 300 50060560000003C4 5000628000001074 STP DMA Activate 95 500062B000001074 50060560000003C4 STP Data 95 5000E85000000001 5000C50000103D91 SSP Task 1 5000628000001074 50060560000003C5 SMP Request 25 50060560000003C5 5000628000001074 SMP Response 25 50060560000003C4 5000628000001074 STP PIO Setup 1 5000628000001074 5000C50000103D91 SSP Command 11 5000 C50000103D91 5000628000001074 SSP Data 9 5000C50000103D91 5000628000001074 SSP Response 11 4067 Figure 3 65 Statistical Reports SAS Address Command Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Protocol Error Report To display the Protocol Error Report click the Protocol Error tab see Figure 3 66 on page 169 The Protocol Error Report displays the report data in columns with the following information Q Protocol Error All Custom Code Vio
75. Command Direction gt Data 2048 Bytes Duration 00 00 00 00 00 00 00 00 00 00 00 00 gt gt 23 us Port H Command Direction 2 gt Data 4096 Bytes 00 oo 00 00 00 00 00 00 OO OO 00 00 gt gt 27 207 920 ms Source Address H Destination Address H Command Direction i 3 596 333 ms 5000C500001047B5 00 00 00 00 00 00 OO 00 OO 00 00 00 Destination Address H Command Direction gt gt i 5000500001047565 Do 00 00 00 00 00 00 OO 00 00 OO 00 gt gt Data 2048 Bytes Destination Address H Command Direction gt gt 5000C 00 00 00 00 00 00 00 00 00 00 00 00 For Help press F1 TxVout Disabled Initiator Emulator Stop Target Emulator Inactive Simulation Mode Stop Ogg ur Figure 3 93 SAS Data Report Click the Down Arrow in a data field to display Data Report details see Figure 3 94 on page 188 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 187 Teledyne LeCroy Analysis Mee Port Command Direction Data 2048 Bytes IE O 82 951 533 ms 0x01 In 00 00 00 00 00 00 00 00 00 00 00 00 gt 27 207 3920 ms SEE 365 333 ms 50000500001 04785 0x00 Out 00 00 00 00 00 00 00 00 00 OO 00 00 Duration 7 666 us A to Y 136 880 293 ms A to T 136 880 293 ms Y to T 0 ns For Help press F1 TxVout Disabled Initiator Emulator Stop Target Emulator Inactive GE Simulation Mode Stop e Figure 3 94 SAS Data Report Details Click the Sta
76. Commands J0x500062B 000001074 gt 0x50060560000003C4 SCSI Command Status SCSI Command Status Source SAS Address Destination SAS Address Pair SAS Address Pair SAS Address Protocol Error Protocol Error ISTP Port STP Port Tag Tag amp TAPI SCS Command JATAPI SCSI Command Miscellaneous Miscellaneous Source SAS Address Destination S45 Address Filter Type Filter Type Pida LSRON Filter Idle Ports Filter Logic 5 2 Multi Level Filtering Ros ia Loge Multi Level Filtering v v d It v v 2 E DD treten tme Use Pair SAS Addresses Vi We D coder ams M Use Pair SAS Addresses I T1 v T2 OR Iv T1 T2 f OR Reset All Check All v Filter descend packets if ascend packet is filtered Reset All Check All V Filter descend packets if ascend packet is filtered Save Load Cancel Save Load Cancel Figure 3 125 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 Training Sequence When selected depending on the Filter Type the Hide Show selection shows or hides captured Training Sequences in the Trace Viewer 3 6 5 Selec
77. Compatible Features H i 0 Gte ol 0062 01074 OO 000010478 i RDY NORM tetative tune Y SSP Frame Type a A Mashed Sre SAS ddr dy Chang LL Relransmi M Retry Dota Frames H NumotF amp Bytes Tag Terga Pest Tr anster Tag H i z LOWE B AUR A f 177 zi FFFFSA Transport TE o SSP Frame Type Mashed Dest SAS Adar 09 Peshed Sre SAS Adr 00 499 iei m ptione 0x01 Dota E270 f CAD C Data oreet Data 1024 Bytes CRC H Handshake 00000400 an 00 00 00 00 00 00 00 00 00 00 00 00 gt gt LIES 00 ACK Source and destination addresses in SCSI commands not shown in this capture Figure 2 5 SAS Typical Packet View 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 44 In the Packet View right click on any packet and select Show gt State to display the states and their transitions in the trace SAS In case of an STP interface the expander displays STP addresses provided to the SATA drive and the SAS software integrates the STP addresses in the ATA command The results display shows each transaction for every layer identified in a different color and the data direction identified with data direction arrows Upstream traffic has an arrow from right to left Downstream traffic has an arrow left to right gt Layers can be hidden by clicking the corresponding Show Hide button on the menu bar The syst
78. E3 Column View E Text View Frame Inspector View lig Statistical Report Ill Histogram pl Bus Utilization Fa Data Report v Trace Expert SAS Verification Compliance Test mE VSE Figure 3 5 SAS SATA Analysis Menu 3 3 2 Decoding Assignments The SAS SATA Protocol Suite is designed to automatically assign SCSI decoding to a trace by using SBC3 SPCA for SSP based transactions and MMC6 SPC4 for ATAPI STP based transactions To view the current decoding assignment for devices in the trace click on the Decoding Assignments icon See Figure 3 5and Figure 3 6 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 123 Teledyne LeCroy Analysis 124 Decoding Assignments Hash Destination SAS Address SCSI Specs 0xBB13F MMC6 SPC4 red COE SBC3 SPC4 SMC3 SPC4 SSC2 SPC4 SCC2 SPC4 0SD2 SPC4 4DC3 SPC4 E Add to Assigned List Assigned SCSI Specs Hash Destination SAS Address SCSI Spec 0xBB13F SBC3 SPC4 Ox49C05D SBC3 SPC4 OxF3C259 SBC3 SPC4 Ox92E 724 SBC3 SPC4 ATAPI MMC6 SPC4 Remove All l Cancel Figure 3 6 Decoding Assignments In the Decoding Assignments window the hashed address for all SCSI devices detected in the trace will appear in the Hash Destination SAS Address list The supported specifications appear in the window on the right labeled SCSI Specs The Assigned SCSI Specs scroll list displays the current assignment for each hashed address detected in the trace This scroll l
79. End Device Y Launch Jammer E Q9 Launch Trainer E Launch CrossSync Control Panel Save WorkSpace lel Save Ctrl S Save As Trace Properties Edit Comment Print Ctri P Print Preview Print Setup Export Paired SAS Address Report a Recent Trace Files Recent Project Files Exit Figure 2 9 Export to Trainer Dialog SAS Sierra M6 1 SAS SATA Protocol Analyzer User Manual 49 Teledyne LeCroy Saving a Trace Capture 50 Export to Trainer gt From ATACmd y No 1 To ATACmd No1 Impor Items SSP Frames 4 SMP Frames Insert Waits Auto Aligment Fraject Type Trainer Ger ration File Figure 2 10 Export to Trainer Dialog In the Export to Trainer dialog you can a Limit the range of the saved file You can save m All Traces m Range between selected cursors m Range between SCSI Commands SMP Commands or Transport Import SSP Frames SMP Frames or STP Frames see Events and Event Proper ties on page 431 Reverse Data Payload Reverses DWORD s byte order of Data Payload in DATA FIS and SSP Data Frame Insert Waits inserts the appropriate Wait_for commands in the Trainer script as a function of the protocol state machine An example would be to insert a Wait_for open_accept after an open command is exported This allows the script to work even if the DUT has different timing
80. Expected Set NV Cache Power Mode OxBb A NCO Queue Management Oxb3 Data Set Management Ox 5 Any Command A Figure 2 61 SATA ATA Command Pattern Dialog Choose an ATA command and click OK Soft Reset SATA only 2 13 8 Double click Soft Reset to open the Soft Reset dialog E x Fort 5 Cancel Hi EM THs Eh p Pob Fo F pi Check All Uncheck All Count Expected number of occurences on each link Figure 2 62 SATA Soft Reset Dialog SAS vs SATA Not available in SAS Sequential Trigger Mode In Sequential Trigger mode triggering occurs whenever the system detects a specific sequence of patterns Defining the triggering patterns sets the sequence order You must define at least two patterns to enable selection of Sequential Trigger mode Note Patterns such as Primitives and Symbols or Frames occurring very close together on different ports can cause false triggers Sierra M6 1 SAS SATA Protocol Analyzer User Manual 93 Teledyne LeCroy Trigger Setup To define a triggering sequence select more than one pattern then check the Define Sequential Trigger Mode check box File Edit Setup Session Analysis View Window Help ta E O Trainer Y Jammer CB Record 8 Capture Trigger Settings Notes Ch y Project Tree Dont care Snapshot Manual Trig Pattem Infusion Tre Parameters Pattem Timer Timeou
81. Figure 2 66 Triggering Order Sierra M6 1 SAS SATA Protocol Analyzer User Manual 95 Teledyne LeCroy Trigger Setup 96 Pre Trigger You can set the amount of data to capture before and after the trigger as a percentage of pre trigger between 1 and 99 Position the pre trigger slider to a percentage This feature allows the evaluation of bus activity leading up to and after the triggering event Figure 2 67 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 O 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 fewer than the specified data points prior to the triggering event DATA MEMORY PRE TRIGGER ALL SS PRE TRIGGER PARTIAL DATA PRE TRIGGER DATA TRIGGERING EVENT ALL SPECIFIED ALL SPECIFIED POST TRIGGER DATA POST TRIGGER DATA Figure 2 67 Pre Trigger Example 20 Pre Trigger Sierra M6 1 SAS SATA Protocol Analyzer User Manual Project Settings Teledyne LeCroy 2 14 2 14 1 Project Settings To set project options click the Settings tab Trace Memory Status Trigger Position In Memory 7 1 E Partial Memory KB Upto 1024 MB O Segmented Memory 1 10000 Trace File Name c users public documents lecroy sas protoct E Dont upload trace and
82. Hold Yes OOB Setting Normal Spec Value Sequence 0 Add an Event Event CRC Error Global Rules Click here to add an even Sequence 0 State 0 E Wait for CRC Error From Initiator lt Click here to add combined event gt lt Click here to add another me UU Add an Action Adding a lt Click here to add another state gt Marker Index lt Click here to add another sequence gt Figure 4 28 Sequence 0 Event CRC Error then Add an Action Sierra M6 1 SAS SATA Protocol Analyzer User Manual Summary of Scenario Creation Teledyne LeCroy In this case Click on lt Click here to add an action gt and the Action Properties Menu will pop up To add a Jammer Marker click on Marker and the Properties section of the Menu will show Marker Index There are seven Jammer Markers available to the user See Figure 4 29 on page 317 Properties Type Action Description Random No Capture Data Dword Every Nth occurrence 1 Inject Monitor Count Not monitored Ga Insert Marker Index Jammer Marker 1 y hoort NPURD Jammer Marker 1 Internal Trigger Jammer Marker 2 Jammer Marker 3 Jammer Marker 4 Monitor Count Jammer Marker 5 Remove Jammer Marker 6 Restart Jammer Marker 7 G SNW Stop Scenario H Substitute Trigger Output ims Index Figure 4 29 Jammer Marker Index 1 7 When the Jammer implements this action the result is adding a marker to the c
83. Idle Exclude Idle B FA Trigger Non Sequential Nhat analyzer triggers on Peale S Settings Trigger Position in Memory 1 Capture Memory Size 10000 KB Primitive Response Timeout 65000 Dword Speed AutoSpeed 11 11 12 12 13 T3 14 T4 Descrambling Enabled Align Transmission Period 258 8 Connection Details Simulation Mode yapture memory settings Define different pattems for pre trigger and post trigger data captures B Easy switch to Advanced mode Collapse All button hides details in Project Tree Expand All button expands collapsed Project Tree Figure 2 2 SATA New Analysis Project Dialog 40 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Project Tree Teledyne LeCroy 2 3 2 4 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 The Project Tree on the right side of the main window displays a comprehensive tree structured overview of the project The project tree shows the capture configuration trigger setups and the capture memory settings Capture Tab Fields The Capture tab has the following fields Exclude SATA_CONT SAS or Exclude CONT SATA Check this to exclude SATA_CONT primitives from the data capture Exclude SATA_SYNC SAS or Exclude SYNC SATA Check this to ex
84. Initiator Click here to bdd combined event F then Branch to State 1 lt Click here to a44 another action Click here to add another event B State i o Wait for ATA Command h l WRITE FROMA QUITED From Initiator Click here to add combined event 1 then Branch to State 2 after 20th occurrence Click here to add another actica gt b lt Click here to add another event Trate 2 Wait for FIS Frame 10xA1 Set Device Bits FO FIS Type Value 8 Bits OMAL Set Device Bits Mask OXxIT Prom Target Click here to add combined event TQth occurrence Click here to add another action Click here to add another event LI 0 Options Set cotons this output window Jx Device Output SN 10542 vax Be W Dua 116 1 27 042 000 000 000 SN 10942 Sevies Joined Port i 16 30 22 208 187 000 Inject CRC Error Velue 16 16 15 27 057 000 000 SN 10542 Device connected Port 2 16 30 22 263 931 090 Inject CRC Error Value 0 16 19 39 887 000 000 SN 10842 Session started Port 1 I0 Meter Traffic Port 3 16 30 22 309 455 000 Inject CRC Error Value 0 16 20 03 977 000 000 SN 10542 Session stopped Port 1 I0 Meter Traffic Port 4 16 30 22 347 685 090 Inject CRC Error Value 0 16 28 55 795 000 000 SN 10542 Session started Ports 1 IO Meter Traffic 2 IO Meter Traf 16 31 04 024 000 000 SN 10542 Session stopped Ports 1 IO Me
85. Manager dialog 98 user defined decoding 259 User Defined Decoding dialog 259 Sierra M6 1 SAS SATA Protocol Analyzer User Manual User Path 246 using the cursors 237 V Value Replacement 284 VENDOR FIS 72 Verification script command 197 Verification Script Engine Reference Manual 197 View Field option 228 View menu InFusion 286 View Type toolbar 144 Viewer 119 Viewer Setting toolbar 225 Viewer Settings 241 Viewing Check Condition Sense Data 129 views 33 Virtual Private Network VPN 27 Visible box 240 W WaitForStop statement 354 walking bit pattern 116 Waveform Display 33 waveform display 148 web site 363 Website CATC 363 Windows default 247 Wrap Packet box 241 wrap packets in results display 225 Z Zoom In results display 201 Zoom Out results display 201 371 Teledyne LeCroy Index 372 Sierra M6 1 SAS SATA Protocol Analyzer User Manual
86. Ore ERE 0x01 Data 0SCB 175 in XtoY Ons Xo T Ons Y to T One Clicking on Goto Response will take you to the Response Packet 35 See Figure 3 20 on page 132 ig Fite Setup Session Analysis Navigation View Window Help dE Ore Wiomme Bloc also e APAY EX KP P iwi ORO us B wifi Be EERE OD F lt rv A O SSP Frame Tye Hasned Dest SAS Agar H Hashed Sre SAS Agar H Changing Data Pointer H Retry Data Frames H TLR CONTROL M 0x07 Resoor TUS 0 1 0 onc 427080 00000 0 Num of Fil Bytes M Tag H Target Port Transfer Tag 4 Data Offset H gt gt Handshake T 0x0 ACK 2 t 1S T Host f FFFF 0 oss info Unt 00000000000000000000000000000000000 gt F8188077 pe 584 50010860007 000A WOCCAN2B00477E Source Zone Group H Pathway Blocked Count M Arbitration Wat Time H More Compatible Features H CRC H Link Data H Relative Time 0 ms Figure 3 20 Goto Response Trace Note Export to Text Excel is available from the Spreadsheet View Packet View or Text View as of S W version 5 60 or later Export to Text Excel is not available from Column View as of S W version 5 60 or later 3 3 5 Changing the Default View Perform the following steps to change the default view of all trace files to Packet View 1 Open a trace file Select the Packet View Close all other views Select File Save Workspace to open a Save As dialog Save the current wo
87. Per Second Total IO Per Second Ave Byte Per SSP Frame Ave Byte Per FlSFrame Init Bus Util Target Bus Util Efficiency Max Min Ave FIS Diff Q Port All H1 11 H2 I2 H3 I3 H4 14 Custom or NA O Value Number a Description Definition of Performance Items BD Teledyne LeCroy SAS SATA Protocol Suite NewSample scs cy File Setup Session Analysis Navigation View Window Help SE O Tene Y seme j RUSA II of1 Total Read Size Performance au 18 S 1a SS gt M P Pu METIA IES BORA suk AE Move X Cursor ATA Command SCSI Command SMP Command Task Command Read Wite Command SAS Address Protocol Emor Performance Lanes Pending 10 Others Performance Item Description All Total Read Size 1329680 Bytes Total number of Bytes Read in the trace Total Read Duration NA 10 382093 ms Total time spent reading Total Read Commands NA 658 Total Read Commands Read Throughput Min MB S NA 0 014801 MB S Read Throughput Read Payload Size Read Response Time Read Throughput Max MB S NA 1 051968 MB S Read Throughput Read Payload Size Read Response Time Read Throughput Avg MB S NA 0 135800 MB S Avg Read Throughput Sum of the Read Payloads Sum of the Read Response Times Read Latency Time Min NA 0 368880 ms Latency Time from Command transmission to the first data transmitted for this IO operation Read Latency Time Max
88. SAS Data Pattern E Condition 2 SATA Data Pattern D ward 2 Type Custom D word E SCSI Dword 2 Value OxD0000000 SMP Frame Dword 2 Mask Ox00000000 e 55P Frame D ward 2 Offset D Timer Trigger Input Dword 0 Type Y x isa E Figure 4 24 Using a Captured DWORD in a SAS Data Pattern Captured data DWORDs may also be used in the Substitute Data DWORD test state action From the Action Properties screen choose Substitute Data DWORD and then select the Substitute for property A drop down menu is provided see below that allows the choice of a custom DWORD or any of the four captured DWORD registers 21011 Type Properties Type Achon Z Capture Data Dword Description Inject Random Mo H Link Ever Ath occurence 1 Monitor Count Monitar L eunt Mot monitored z Remove Custom Diward Z Stop Scenario Pattern Field Name Custom Diward Er Substitute Pattern Field Value a e A i mem aptured Dwor r Data Divar Pattern Field Mask Captured Dword 2 with SAS primitive with SATA primitive Trigger Qutput Recalculate CAC Captured Diword 3 x ere E Figure 4 25 Using a Captured Data DWORD in Substitute DWORD Test Action Sierra M6 1 SAS SATA Protocol Analyzer User Manual 313 Teledyne LeCroy Summary of Scenario Creation 4 9 Summary of Scenario Creation The suggested process of creating and executing a scenario is as follows 1 Create a scenario in the main library 2 Copy
89. SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Source Address M Destination Address M O Transter Length H Control M CDE Padimg m Payload Data 10756096 Bytes Figure 3 11 Packets Selected to Copy Note This is applicable only when using M6 4 or M6 2 as only they support emulation 3 3 4 Viewing Check Condition Sense Data When a Check Condition error occurs you can view decode data from it This information is shown in Packet View Under Transport layer expand Info Unit then expand Sense Data In Column View check the Show Field View in Column View check box in SW settings then display Field View while column View is open 000 ck Condition Ux4 Hardware Error 0x1900 DEFECT LIST ERROR 7000040000000004000000001900060000003339 sina Sense Ley 0x04 Hardware Errar en Ponk ticle as mum ASC 0 19 FFFF 00000000 000000000000000000000000151000 ASCO D D ITO oy tes TT i AL al Info Unit H 0 0001 00000000 000000000000000000000202000000 Figure 3 12 Check Condition Data Sierra M6 1 SAS SATA Protocol Analyzer User Manual 129 Teledyne LeCroy Analysis 1 Open Packet View ne LeCroy SAS SATA Protocol Suite BETA Simulation sd gt Trainer P Decoding Assignments gn z Packet View E Spread Sheet View Column View Transport 2 239 El Text View Frame Inspector View n JL Wave Form view F Power Tracker View
90. SATA Protocol Analyzer User Manual Index B Based on Cell Type 251 Based on Port No 251 Based on Read Write Command Type 251 253 Based on Specific Command Type 251 253 batch command editing 350 batch script 348 Batch Script Setting 286 Beep statement 356 BIST FIS 70 bookmarks 202 finding 204 Break Link Recovery 284 Browse Default Path 247 buffer full 235 Bus Condition report 157 Bus Conditions dialog 78 Bus Utilization buttons 187 Bus Utilization View 180 buttons bus utilization 187 Buzzer check 270 Byte Order 232 Bytes in Column 241 C Cancel button kills upload immediately 249 capture parameter 58 pre and post trigger 59 Capture tab 41 Capture tab for Pattern 57 cascading 20 CATC Script Language 197 CATC Technical Support 363 cell address 115 Check for Updates 262 Choose Port Speed 101 365 Teledyne LeCroy Index Click here to add another script command 350 Click here to add script command 349 Clock check 264 Close previous sample file when new sample file opens 249 Collapse All 233 234 Collapse Log button 197 color 241 Color customize operation code field 126 column hiding 177 rearrange 144 resize 144 column content filtering 175 sorting 177 Column View 33 column view 143 Columns in Row 241 Combined Event 293 Command Parameters dialog 349 Command Properties dialog 349 compensate for line loss 245 components 17 conditional statements 351 configur
91. With Sample View 175 Load dialog 117 log file 351 M Main FPGA tab 268 Main Library window 295 Manual Trig button 73 manual trigger 73 Maximum Number of Uploader Threads 247 Memory Assignment 253 memory check 265 Memory Size 98 Micro D Sync cable 20 Micro D to DB 9 cable 21 Move drop down list 175 MUX Setting 103 N NCQ Commands Time out Threshold 247 368 network 22 Networks 25 New Batch Script command 285 New Protocol Analyzer Project in Advanced Mode 246 New Scenario button 297 New script 200 normal zoom reset 201 Notes tab 103 Number of Run text box 98 Number of Runs Each Test 265 O Open as Data Vie 188 Open Library command 285 Open Sample file In 248 operating system 19 order reorder in results display 226 Others Report view 172 output trigger 108 p Pack Repeated Primitives 249 Packet Drop 284 Packet View 33 119 126 packing list 17 Partial Memory 98 Paths settings 246 pattern definition 94 Pattern command 57 pattern definition in sequential trigger mode 94 Pattern field 107 Pattern triggers 72 Pending ATA IO 181 Pending lO report 171 Pending SCSI IO 181 Performance report 170 PIO Setup FIS 71 port renaming 229 status 234 port alias 242 Port Configuration 285 286 Port Configuration button 101 port ID 229 Port Speed 101 Port Status 37 Post Trigger Capture tab 59 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Index Teledyne LeCroy pre trigger 96 dat
92. as type F with comma delimiter Export Di Excel File csv Text Files Version 1 0 bd Save As Range Excel File Version 1 0 csv 5 All Packets i amp From T Cursor To T Curzor Check All Uncheck Figure 2 8 Save As Text Dialog a From the Save as type drop down select Text Files txt or Text Files Version 1 0 txt for text format or Excel File csv or Excel Files Version 1 0 csv for Excel format see Save As Display Formats on page 49 Q Check the box Export the whole payload more than 32KB to export the whole payload more than 32KB Q You can limit the range of the saved file You can save m All Packets m Range between selected cursors O Range between bookmarks 48 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Saving a Trace Capture Teledyne LeCroy Save As Display Formats The following figure describes the four different Save As type formats XFER Length Sector Count XFER Length 2048 4 2048 2043 4 2048 Excel File csv format Excel Files Version 1 0 csv format Text Files txt format Text Files Version 1 0 txt format Export to Trainer The Export to Trainer dialog accessible from the File menu allows exporting data to a file in a format supported by the Trainer See Figure 2 9 and Figure 2 10 on page 50 fes File Setup Session Analysis Navigation View Window Help New 13318 11 s 1a B x E Open SCI cQ eg 198 88 Close 0x0 Identify E IL
93. assign SAS address names in an open sample view select Setup gt Set SAS Address Alias Sierra M6 1 SAS SATA Protocol Analyzer User Manual 243 Teledyne LeCroy TxRx Vout Preemphasis 244 SAS Adress Alias SAS Address Hash Address Alias Name 5000626000001074 FFFFS4 Intrasewer 8 8 8 OOROSE0000003C4 9p 2525 Network tools 1 S000E 85000000001 DE182F Catalyst SO0E0S6000000205 500252 Network tools 2 ROOOCSOO00 D47B5 CCAD3C Seagate 1 5000c500001 03091 E34EDE Seagate 2 M Apply alias to all wiew Set4sD efault i E Cancel Figure 3 159 SAS Assign SAS Address Alias Assign a meaningful name to each SAS address in use and click OK The assigned names replace the SAS address in the sample view Search filter and Statistical report Source SAS Address H Destination SAS Address H Command Intrasever Network tools 1 0x25 Read DMA Ext gt Input H sie Normal Output H gie ATA Command Data 2048 Bytes earch For Search Items ce Data Pattern Intrasever Bus Condition Network tools 2 Intrasever Bus Condition Network tools 1 Primitive Network tools 1 Intrasever Primitive Catalyst Incomplete Frames Seagate 1 gt Intrasever Incomplete Frames Network tools 2 Catalyst Seagate 2 Address Frames Seagate 1 Catalyst gt 0xE 94E8E SSP Frames Seagate 2 Seagate 2 gt Catalyst
94. at a point for the T2 cursor The time difference between the cursors is on a line connecting the two cursors 148 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy E Y Compact 24 800 ul afa 1 COMRESET COMWAKE COMINIT COMINIT i COMINIT COMWAKE D1 FT gt Figure 3 43 SATA Timing Cursors Enabled Expanded Waveform View To see a 10x time scale expansion of the waveform uncheck the Compact View checkbox in the Waveform View window The OOB Sequence has speed negotiation Hardware version 4 or later x z E Compact 8 680 AAA IE H1 ninnnnm NES a ETT 3f Figure 3 44 SATA Expanded Waveform View Performance Reference Definitions Trp No Number of Transports The total number of transports that compose this exchange Resp Time Response Time The time taken to transmit this command on the link s from the beginning of the first frame in the command to the end of the last frame in the command Pld Bytes Payload Bytes The number of payload bytes this operation transferred Latency Time The time measured from the transmission of the command to the first data transmitted for this IO operation Data Stat Time Data to Status Time The time between the end of data transmission for this command and the Status frame Thrpt MB s Data Throughput The payload divided by response time expressed in MB per second Duration The
95. automatically save the log file with a path and size start logging stop logging and clear the Output window Show Device Library Displays hides the scenarios of the current device library Port Configuration Displays the port configuration dialog See Port Configuration for InFusion on page 289 Show Analyzer Returns to the Protocol Analyzer Show Trainer Goes to the Trainer window Run Batch Script Runs a scenario batch file Stop Batch Script Stops a running scenario batch file Rec Analyzer Starts recording on the current analyzer using the current project Stop Stops recording on the current analyzer Sierra M6 1 SAS SATA Protocol Analyzer User Manual 285 Teledyne LeCroy Interface 286 Abort Aborts recording 4 2 2 Menus The InFusion interface has the following menus File see command descriptions in the Buttons section above O a O O a O O m O O m Setup O m O O View O O Configuration New Scenario Open Scenario File Library or Main Library Open an InFusion database infdb file Launch Analyzer Launch Trainer New Batch Script Save Batch Script As New Library Close Library File Library or Main Library Save Library Save Copy of Library As Open Log File Print Setup Recent Trace Files Recent Project Files Close External Trig Setting see External Trig Setting on page 256 Update Sierra Device see Update Device on page 256
96. be open to connect over the Ethernet TCP Port 4000 to 4003 UDP Ports 4015 to 4017 Launching Your Analyzer To launch the software double click the SAS or SATA icon Operating in Simulation Mode The SAS SATA applications operate in Simulation Mode by default if the software detects no hardware The Analyzer software launches and displays the appropriate tool bar but with the limitation that the Analyzer operates only on static previously captured bus data Limitations Simulation Mode lets you try all of the available functions but the system is not capturing any real data and is displaying only pre captured results Using the Software Depending on the software license s purchased with the unit the Sierra M6 1 has SAS and SATA protocol capability or has SATA only Use the SAS SATA Protocol Suite applications respectively The Teledyne LeCroy SAS SATA Protocol Suite can be a Q Protocol Analyzer Captures data triggers on events and saves Easy Mode allows standard Trigger and Data capture Advanced Mode requires license allows you to program custom triggering in and out capturing state jumps and timers see Protocol Analysis on page 39 O Jammer The InFusion Error Injector and Traffic Modifier is an error injector and traffic modification tool that allows you to verify real world fault handling Sierra M6 1 SAS SATA Protocol Analyzer User Manual Operating in Simulation Mode Teledyne LeCroy see
97. button 188 Status bar 237 Stop Batch Script 285 Stop Hardware button 73 Stop statement 354 subnet 27 support 363 Switch to CATC Navigation 249 Symbol dialog 79 Sync port 20 Synchronize with Trace View 184 T Task Command Report 166 Technical Support 363 telephone number 363 Template Files 246 Test Result 264 Text View 33 text view 144 Tile Views 201 time Sierra M6 1 SAS SATA Protocol Analyzer User Manual Index Teledyne LeCroy relative display 44 Time Stamp Origin 205 Timeout Pattern dialog 76 timer setup advanced mode 108 Timer dialog 76 94 timers 328 timing cursors 148 measurement 148 tool bar 236 Toolbar command 236 Tools menu InFusion 286 Trace Capture 46 Trace Memory Status section 97 Traffic Monitoring 284 trigger condition 106 external 78 manually 73 on address frame 87 on ATA command 81 on ATA command pattern 92 on ATAPI 82 on bus condition 78 on data pattern 83 on FIS 91 on pattern 73 on primitive 79 on protocol errors 85 on SCSI Command 90 on SMP Frame 88 on soft reset 93 on SSP Frame 89 on STP frame 86 on symbol 79 on timer 76 position in memory 97 setting advanced 106 setup 72 snapshot 73 trigger on any ATA command 81 Trigger tab 72 triggering on timer sequential 94 order 95 Tx Vout 244 Tx Vout amp Preemphasis command 245 U unpacking 17 Update License 261 Update Sierra Device 286 Update Sierra Device command 256 Upload
98. default analyzer project is created automatically when the application starts An analyzer project contains all the settings for capturing triggering and memory usage A project can be saved as a sac files for later use Easy Mode Pre Defined Setups After you install the Analyzer software see Software Installation on page 19 and set up the Analyzer see Hardware Setup on page 19 launch the Analyzer software see Launching Your Analyzer on page 28 to display the default Protocol Analyzer in Easy Mode at the Capture tab The default Protocol Analyzer uses the Easy Mode which allows triggering and data capture Main Window Use Easy Mode to get a comprehensive overview of your analyzer s capabilities Use the default Analyzer Project or create a new project For SAS On the Analyzer Menu Bar click File gt New gt SAS Protocol Analyzer to open a SAS Protocol Analyzer dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 39 Teledyne LeCroy Main Window Project Tree display Capture Trigger Settings Notes Project Tree SASProtocolAnalyzer1 c Evening Exclude SATA_CONT E Capture 9 J Exclude SATA SYNC Everythingl Exclude NOTIFY Exclude OOB Signals Exclude gt 900 Include 999 lt Y Include SATA SYNC Include SATA CONT Include OOB Signals Include Payload of Data Frame Include RADY Y Exclude Idle Trigger Non Sequential Snapsho
99. display The default is All By checking a specific item you exclude everything but that item for display Sierra M6 1 SAS SATA Protocol Analyzer User Manual 175 Teledyne LeCroy Analysis Type All v Custom STP Frame Open ddress Frame SSP Frame Identify Address Frame Figure 3 74 SAS Type Choosing Custom allows you to specify more than one item for display Custom Filter x Show selected items Identify Address Frame Open Address Frame Check All SMP Frame Reset All SSP Frame STP Frame C Show conditional items Equal to fo Register Host to Device Register Device to Host Set Device Bits DMA Activate Figure 3 76 SATA FIS Type Choosing Custom allows you to specify more than one item for display 176 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Custom Filter Show selected items DMA Activate DMA Setup Check Al Data Reset All PIO Setup Register Device to Host Register Host to Device Set Device Bits C Show conditional items Equal to fo Gees Figure 3 77 SATA Custom Filter Check the items to display and click OK Sorting Column Content To sort column content click the heading for that column Repeated clicking of the column heading sorts the column in ascending or descending order Type A Direction Duration Count Al A v All Al vw Open Address Frame I gt T 18 39999962 us 69 28 51 SM
100. e 00 ca L8 1 ns Packet View Toolbar 83 2 peje co e we Be se ev Figure 1 23 SAS SATA Protocol Suite Toolbars 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 234 InFusion The Teledyne LeCroy InFusion Error Injector and Traffic Modifier is an error injector and traffic modification tool for traffic passing through the Jammer It allows you to verify real world fault handling for Serial Attached SCSI SAS and Serial ATA SATA systems Click on the Jammer icon Y Jammer to invoke the Teledyne LeCroy SAS or SATA InFusion see InFusion Overview on page 283 You can toggle between the InFusion and Analyzer panes by using the Alt Tab keys the Windows Task Bar or by pressing the respective toolbar button in each pane Analyzer and InFusion Sierra M6 1 Analyzers can be used in tandem to combine simultaneous error injection and trace capture analysis capabilities see Figure 1 24 on page 38 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 37 Teledyne LeCroy Menu Options and Toolbars Sierra M6 1 Sierra M6 1 InFusion Analyzer Sierra mo 1 INRE Sierra ms 1 ALE VECROY a OOOO OOOO Trig Error Link Spd Fr OOB is ron Jt TO Device or Host Figure 1 24 Analyzer and Infusion 38 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Protocol Analysis 2 1 2 2 A
101. each link Expected number of occurrences on each link fi Count field disabled Count field enabled Figure 2 40 Count Field Dialog The SATA Parameters window displays the following trigger pattern categories Timer Timeout External Manual Trigger Device Sleep Bus Condition Symbol Primitive FIS FIS Pattern ATA Command ATA Command Pattern ATAPI Soft Reset Data Pattern Protocol Errors O L DL DL D D D D D D D D D D o Note In packet view you can right click on any frame select Add to Trigger and add the pattern to DataPatternCapture to make it a trigger pattern Sierra M6 1 SAS SATA Protocol Analyzer User Manual 75 Teledyne LeCroy Trigger Setup 76 2 13 4 2 13 5 2 13 6 Choosing a Parameter Either highlight the category and click the Add gt gt button or double click the category to open a corresponding definition dialog To remove an item highlight it in the Project Tree then click the lt lt Remove button Triggering on a Timer Triggering based on a timer means that the trigger is activated when the timer expires Other triggers can preempt the timed trigger while it is counting down the time The timer starts when the project s started You can set a timer independently of any other trigger selection to cause an unconditional trigger after a set time To set the timer value double click Timer in the Pattern window to open the Timer dialog xi Timer V
102. 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 recording process Captured traffic is displayed using the latest analyzer software in separate windows with all the protocol specific search and reporting features Captured packets are displayed in separate windows that share a common time scale Navigating the traffic in either direction will scroll to the same timestamp in a synchronized window When using the CrossSync option users can access the full complement of analysis capabilities available within the individual Teledyne LeCroy software Search reporting and decoding all operate normally This feature is available with the Teledyne LeCroy SAS SATA Protocol Suite application Launching the CrossSync 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 Figure 2 6 on page 46 and see Figure on page 46 Or you can launch CrossSync from the Start menu Sierra M6 1 SAS SATA Protocol Analyzer User Manual 45 Teledyne LeCroy Save Workspace File Setup Session Analysis Navigation V Mew zr Open Close WF Launch Jammer ap Launch Trainer Launch CrassSvnc Control Panel Figu
103. example and may not be suitable for all analyzers but the basic steps are the same for any analyzer Next find the Trace Experticon which is available from the Main Toolbar as shown in Figure 3 98 or the Analysis Toolbar shown on Figure 3 5 on page 123 D File Setup Session Analysis Navigation View Wind on o ERES 08 ee ss as se a PAARA n e Figure 3 98 Main Toolbar Trace Expert Icon Click on the Trace Expert icon which generates the following pop up dialog Figure 3 99 showing all the Trace HTML files which contain the previously generated reports used by Trace Expert jo Users Public Public Documents LeCroy SASSATA Protocol Suite User gt 4s Search User Organize v New folder RE Desktop Name Date modified Type Downloads 1 5 3 0 6 0 html 4 22 2015 3 08 PM Chrome HTML Document i Recent Places 126 SMP and SCSI via Expander html 4 22 2015 3 39 PM Chrome HTML Document ATAPI Inquiry Read html 4 22 2015 3 43 PM Chrome HTML Document Cascading 3 Board html 4 22 2015 3 44PM Chrome HTML Document Identify device html 4 22 2015 3 10 PM Chrome HTML Document NewSample html 4 22 2015 3 40 PM Chrome HTML Document 008 Sample html 4 22 2015 3 09 PM Chrome HTML Document PowerTracker html 4 22 2015 3 19 PM Chrome HTML Document c TCG BUS Trace OpenSession CloseSession html 4 22 2015 3 19 PM Chrome HTML Document A Libraries B D
104. existing Serial Number 3 To add another command click Click here to add another script command 4 New Script 0 px Batch Script is valid Label 0 IF IsStop S N 12871 Port 1 THEN Beep 40 Hz 10 ms Run S N 12871 Port 1 ZONED BROADCAST lt Click here to add else body gt END IF To copy a script command right click on the command and select Copy Right click Click here to add another script command and then select Paste You can also cut delete and edit a selected script command 4 To edit batch commands click the command or right click the command and select Edit from popup menu Batch Script is valid Label0 IF IsStop S N 12871 Port 1 THEN eep 40 Hz 20 ms click here to add another script command Run S N 12871 Port 1 ZONED BROADCAST e IDA 14 C Edit HCK nere to add anotner script command Delete 5 To delete a command right click and select Delete from popup menu or select command and press Delete key on keyboard 6 After finishing if everything is correct push the Run Batch button to execute scenario and save result in the log file 350 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Batch Files Teledyne LeCroy 2 Rec Analyzer Run Batch 4 New Script 0 Batch Script is valid Note Before you run a Scenario Batch file that requests scenarios you must download the scenarios to the Scenarios box
105. filtering column content 175 Filtering menu 206 Find Device 271 Find Device button 272 FIS Command Report 160 FIS Pattern dialog 86 FIS Patterns dialog 63 FIS Type dialog 66 91 FIS types 67 Fit to Graph Area 184 Floating License dialog 255 Force Add Connect Attempt 25 Found Device List Mode 247 FPGA 1 or 2 Serdes Chip 266 Frame Inspector View 146 frames hide 178 From Initiator 299 From Target 299 G general report 154 Gigabit Ethernet interface 22 Global Rules 294 examples 318 Go to ATA SCSI Cmd 184 Go To button 200 Go To Timestamp dialog 202 Goto Command 231 Goto Label statement 352 Goto Response 231 Goto Within Packet command 231 grouping by port 99 H hardware run 43 hardware setup 19 Help Topics 261 Hide All Primitives 201 Hide RRDY Primitives 200 Hide Unassociated Traffic 201 Histogram View 33 histogram view 178 I IfisStopped statement 351 367 Teledyne LeCroy Index InFusion 283 Infusion 37 InFusion scenarios 290 Install component selection 19 Installation DVD ROM 17 Inter FPGA Connection 268 IP Settings 25 J Jammer 289 Jump to Next button 175 Jump to Previous button 175 Jump to Specific button 175 K K Codes 305 key sequences 111 L Lanes Report 171 launching 28 Launching the CrossSync Control Panel 45 LED check 270 library 295 device 296 main 295 License Configuration 255 License Manager 255 line condition 304 link layer command interpretation 44 Link
106. for installation 5 Click Next to complete the installation System restart You must restart your computer before you can use your Analyzer software Error Message If you get an error message during installation of the drivers for Window consult your system administrator Your system may allow only administrator level users to copy such driver files 1 6 2 Hardware Setup Separate Systems When using the analyzer it is recommended to use a system to generate bus traffic and a second system to run the software to avoid characterization of traffic generated by the analyzer Connecting in General Note You must install the software before connecting the analyzer to the host machine for the first time To set up the analyzer 1 Plug the power adapter into the unit and then plug the power adapter into a 100V 240V 50Hz 60Hz power outlet Turn on the Power switch 2 Connect the USB cable between the Sierra M6 1 USB port and a USB port on the host machine The host machine s operating system detects the analyzer and driver files See Connecting via Ethernet on page 22 for Ethernet connectivity 3 Connect the analyzer to Host and Device as follows Sierra M6 1 SAS SATA Protocol Analyzer User Manual 19 Teledyne LeCroy Cascading Sierra Analyzers STX M6 1 Host Analyzer Device STX M6 1 Host InFusion Device Figure 1 4 Hardware Setup 1 7 Cascading Sierra Analyzers A Sierra M6 1 anal
107. gt 24 240 us r 4 26 PU _Wiatus 0x0 Smp function accepted Function 0x00 Report general 0x0 Report General Funwjons0x00 Report general Function Result 0x00 Smp function accep l 32 124 414 181 143 ns gt M CLOSE NORMAL x3 1 4 e e e r Field List View X to Y 817 686 209 ms X to T 656 678 us Y to T 818 342 887 ms For Help press F1 TxVout Disat Initiator Emulator Stop Target Emulator Inactiz Simulation Stop 2 G N Figure 3 33 Field List View The Field List View contains information about the selected Packet 3 3 8 Column View Column View displays the captured data grouped in columns by port Each row shows captured DWORDS on different ports related 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 see Figure 3 34 on page 143 click Analysis Column View or click the E3 button on the View Type toolbar You can click the sign to expand the packet and sign to collapse the packet Hovering over the signs displays a tooltip showing the contents of the packet see the arrows in Figure 3 34 on page 143 Right click a packet to change the background and foreground color ACK R RDY NORMAL DONE NORMAL Link 11 1st DW of 10 DWords gt gt K28 5 D24 0 030 0 D1 4 81 1E 18 BC 110000 0101 110011 0100 011110 0100 0111
108. lab aree 41 Exclude SATA CONT SAS or Exclude CONT SATA ooooccocccccoccccocccononccocaccnnancnnanonannnnnanonnanennnnonnns 41 Exclude SATA SYNC SAS or Exclude SYNC SATA cooooccococccoocccococoncnoconanoncanonnnronannnnnaronnanennanenons 41 Exclude DOB SIONA SS taaan ios 41 EXCUSA 41 Exclude ALIGN e 41 Exclude RRDY SAS ONIY riton aa aa ida 42 Exclude NOTIFY SAS ONY reoi da 42 EXCIUGE IA aaa 42 Define different patterns for pre trigger and post trigger data captures 42 2 5 SAS SATA Software Menus and Toolbars occccccncncnncnononcncncnno nono nono nono nc nro no nono ne nene nnn nnn 42 ZX DASISATA Maini TOOIDAE iia 42 2 9 2 SATA MaN TOODA ai ds 42 ZG Start ReCOrdINO emn 43 2 01 Lancha ie ais 45 2 1 Clrossoync Control PANA as 45 21 1 Launching the CrossSync Control Pariel sonia aii di Cn wx eru ia P eua REUS a auo FE aai 45 2 0 DAVE WOIKSDACB id 46 2 9 Savitig a Trace Capture ui ein ic ida 46 29 1 EXPONO Ropa CAEN 47 EXPDOFUTO TOXDEXCO unos 48 EXPONO Traner ic Ep tata v toD 49 2 9 2 Export Read Write Command Report ocooccocccocccccconccncconoconnconconnconconnronnnonncnnrrnnrnnrrnnrrnnrnnnrnnrnnnrnanrnnnrnanenanos 52 2 9 3 Export Paired SAS Address ROD our A tai 52 2 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Contents Teledyne LeCroy ZIA VEACE Proper UES dd 53
109. m General Trace Viewer Spread Sheet View Column View Open Trace File In Optimization Default Workspace W Sampling memory usage optimizati As Previously Savec Quick View Q More Info Switch to CATC Navigation L Cancel button kills upload immediately 1 Reverse Link Data E Close previous trace file when new trace file opens Pack Repeated Primitives E Create statistical report read write page El Scroll Horizontally to Show matched E Show Quick View Warning Column In Search l ATA decoding mode I Use new PHY capabilities decoding J LBA mode CHS mode 9 According to LBA mode in ATA comma ds Figure 3 163 Preferences Dialog Trace Viewer Tab The SATA Preferences dialog has the same options Open Trace file In Default Workspace The software opens a sample file in view s based on the specified default workspace As previously saved The software opens a sample file in view views based 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 253 Quick View Quick View allows full access to the whole trace more quickly especially when using a Gigabit Ethernet connection However the trace is NOT written to the host machine s hard drive To save the trace you must m
110. not in the current sample are in shade See Selectable Filter Options for SAS on page 211 and Selectable Filter Options for SATA on page 216 Note If you select a group that also selects all child items Note Only packets captured at run time are available for selection for filtering Sierra M6 1 SAS SATA Protocol Analyzer User Manual 207 Teledyne LeCroy Navigation View Toolbar 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 By default all ports are enabled Uncheck the port check boxes for ports not to include in the filter Filter Idle Depending on the Filter Type Hide Show Idle packets in the Sample Viewer are shown or hidden Save Filter Setup After you have set up a Filter configuration you can save it as an SAS Filter file sfl or SATA Filter file tfl by clicking Save You can then use it on a different capture by clicking Load in the Filter dialog 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
111. on all selected options Filter only applies to entities in a trace When you choose SCSI command AND SSP frame for instance Filter affects all entities in the trace that are SCSI commands AND are SSP frames Any SCSI commands that are NOT SSP frames will not in this case be filtered If you choose OR Filter affects all entities that are SCSI commands as well as all SSP frames The AND operator is only applicable for some cases such as a ASCSI command AND a Tag Q ASCSI command AND a source destination address For example when you choose a SCSI command AND a tag Ox1 you will filter all entities on a trace that are SCSI commands that have tags equal to 0x1 in that SCSI command As a general rule it is not possible to apply AND to two packet types frames commands primitives training sequences or bus conditions It only works when you apply AND to one packet type with other items such as source Destination Addresses TAG Task attribute 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 previous level The results of all levels show in views see the following three figures 208 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Navigation View Toolbar Teledyne LeCroy Filter m Filter Options Bus Condition iv O50 060560000003C5 gt 05000626 000001 074 Primitive 10s50060560000003C4
112. open upload manager automatically 7 Auto Run Mumber of Run 20 Analyzer Settings EN Primitive Response Timeout 65000 DWORD C Show XXXX E Disable descrambling HOLD HOLDA Response Timeout 205 ALIGM Transmission Period 2048 for SSP 256for STP ie 2049 for SSP 258 for STP Pack training sequence Speed O i i n T1 713 T3 E 12 T2 Iu T4 Figure 2 68 SAS Setting Project Options SAS vs SATA For the ALIGN Transmission Period section SATA Dialog shows options 256 and 258 and does not show 2048 or 2049 For Speed SATA Dialog shows H1 D1 to H2 D2 and does not show l1 T1 to I2 T2 SATA Dialog does not show MUX Setting button Memory Settings The Trace Memory Status section has the following fields Trigger Position Pre Trigger memory defaults to 5096 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 O This can occur if the triggering event occurs before storing the required amount of pre trigger event data In such a case the data display shows fewer than the specified data points prior to the triggering event For more detail See Pre Trigger on page 96 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 97 Teledyne LeCroy Project Settings 98 Note Trigger Po
113. print and share with no dependency on SAS SATA Protocol Suite Version 5 92 OLE E Analysis Error Reports Trace Analysis Statistics Trace Information 2015 Teledyne LeCroy Inc Figure 3 100 Trace Expert Main Report Dialog The main window has an Expand All button a Collapse All button a Print All button and a Save All button The Save All button stores the Trace Expert html file to your Download folder You can select any of the four topics and information about that topic will be displayed If there is no information on any of the four topics no report will be generated For instance if no Errors were detected no report would be generated and the Error Report menu option wouldn t appear 192 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trace Expert Teledyne LeCroy 3 4 1 Performance Analysis To view Performance Analysis click on that button See Figure 3 101 Cin file C Users James Allen Desktop SAS_Protocol_Suite_5 92_B1061 ALPHA SAS_Protocol_Suite_5 92_B1061 ALPHA _Deliverables SASSATASuite PublicDocs User SAS 2012G h1 77 5 Apps E iGoogle 3 Lenovo Recom J Fin_Sites 7 Teledyne LeCro E FIT BugTrack Tutorial Video L Yahoo Finance Yahoo News L PSG Intranet 87 Google News n E E Ties esci ln t 5 Teledyne LeCroy Tra x Y 1 L 9 e med irm ANA TELEDYNE LECROY D ey Everywhereyoulook Nas SAS SATA Protocol Suite Version 5 92 T
114. 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 O0 Type through DWORD 11 Type The drop down menu provides the choice of a custom DWORD or any of the four captured DWORDs If you select a captured DWORD the Value field beneath this selection is hidden the Value field is only used for specifying custom DWORDs Note that choice of a mask and an offset are still available when using captured DWORDS see Figure 4 24 on page 313 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Actions Teledyne LeCroy Event Properties oa ID Xx E Type Properties H ATA Command Frame Type Event E ATAPI Description Both Links Up Count Randomly No CRC Error Counter Walue 1 Dword Matcher Direction From Initiator z FIS Frame Start of Frame SUF FIS Type E Condition 0 Frame Type Dword 0 Type Custom D word Invalid 10bit code Error D word 0 Value Custom Dword 5 Links Speed 3G Dword O Mask Captured D word 0 Links Speed 6G Captured Dword 1 QOB Signal D word D Offset Captured Dword 2 E Condition 1 Captured Dword 3 E Primitives i Primitive eau Dword 1 Type Custom D word mM SAS Primitive D ward 1 Value Dis QD DOCTI SATA Primitive D ward 1 Mask OxOO000000 iu Running Disparity Error Dword 1 Offset z
115. scenario Save library Save a copy of the library as View edit a selected item Insert a copy Delete a selected scenario Copy Paste DODODDODOODOLDO Sierra M6 1 SAS SATA Protocol Analyzer User Manual 287 Teledyne LeCroy Interface 288 4 2 5 Device Ports If a device is connected the software displays the Device Ports Device Ports SM 128580008 Figure 4 4 Device Ports Using the first row of icons you can Run Stop All Ports or Run Stop individual ports The columns display the Port Function Configuration Library and Scenario You can Float Dock Auto Hide or Hide the window Note A port row is grayed out when that port has not been configured to be a Jammer in the Port Configuration dialog see Port Configuration for InFusion on page 289 4 2 6 Using the Device Ports Dialog After you have finished Port Configuration see Port Configuration for InFusion on page 289 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 and drop the scenario from any library window to the port The Device Ports dialog then displays the Library and Scenario on the row for that Port Configuration Device Parks SM 61656 ib 2b Scenarios P Ports are Ready to Aun Library Scenario Y GSN 61658 New Scenario 1 c Y SH 61658 Hew Scenario 3 Sierra M6
116. scenario also can contain one or two sequences which can define multiple states and allow branching between states With a sequence you also can do looping which allows you to repeat a test 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 state occurs the corresponding action or set of actions follows Scenario Name Test 3276 Direction for traffic changes From Initiator Global Bules Wait for SOF from Initiator then Beep 500 ms Sequence O State oO Wait for CEC Error from Initiator then Branch to Stare 1 Figure 4 8 Global Rules and Sequence Areas of a Scenario InFusion hardware provides the capacity to have up to two sequences co existing in a scenario in addition to the Global Rules Recall that both the Global Rules and any sequences are active at all times Each is a separate state machine having the behavior of a particular test state at any point in time Because the Global Rules has the capacity for only one state you can view it as a degenerative state machine 294 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Librari
117. 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 OO 01 02 03 as displayed in the trace you must enter this DWORD pattern as 03 02 01 00 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 83 Teledyne LeCroy Trigger Setup Training Sequence Double click Training Sequence in the Patterns window of the Trigger dialog to open the Training Sequence dialog Training Sequence Byte Bit y 6 5 4 3 2 1 0 0 Pattern Type Reserved PAA Reserved Mn Wie vib 7 14 Miri Eltre vita W T4 Expected number of occurrences on each link 1 Figure 2 53 SAS Training Sequence Dialog SAS vs SATA Not available in SATA Define the training sequence for triggering and click OK 84 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup Teledyne LeCroy Protocol Errors Double click Protocol Errors in the Pattern window to open the Protocol Errors dialog Protocol Errors E x Protocol Errors O Code Violation Disparity Error O ALIGN Error Camel O STP Signaling Latency Error STF Invalid State Transition Unexpected Primitive STP Inval
118. than the DUT in the original trace See Wait Commands on page 404 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Saving a Trace Capture Teledyne LeCroy QO Insert Delays inserts the exact delays as they appear in the original exported trace This may result in the closest match in terms of timing to the original trace but may not work with other DUTs See Figure 2 11 rr j Q Teledyne Le Sor x Ele Setup A Search View Toc Tools Window Help 6x S BEN AAS ww G en te Yorma Orne 92 ON FH O0 9 CONFIGURATION AutoOOB AutoHOLD AutoDMAT AutoHndShk AutoSpdNeg AutoAlignSATA AutoAlignSAS Optical oc oc DC Optical Generation Script Editor x fa oot mw o0 ERK MAB 26 xj 20 SendIdentifyAddressFrame S 216 22 DeviceType 0x1 23 PhyIdentifier 0x0 24 SSPInitiatorPort 1 25 STPInitiatorPort 0 26 SMPInitiatorPort 1 27 SSPTargetPort 0 28 STPTargetPort 0 29 SMPTargetPort 0 30 F 31 32 DELAY 168893 33 34 SendOpenAddressFrameSSP 39 0 MATA i M 4 M SAS simulation trace with delay ssg inj h co UERSUM For Help press F1 _ ii Figure 2 11 SAS Trainer Script with Delays This option is selected by default but can be unselected by the user and no delays will be added to the Exported Trainer script See Figure 2 12 Q9 Teledyne LeCroy SAS SATA Trainer C Program Files x86 LeC SAS simul
119. the Others tab The Others Report displays information in the following columns O Items m 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 time total SSP Bus Utilization SSP bus utilization time SSP frames SMP Bus Utilization SSP bus utilization time SMP frames m STP Bus Utilization SSP bus utilization time STP frames a Report m Count or Time File Setup Session Analysis Navigation View Window Help S Il Y Tene V Jammer RU cn a psi S a P PY Oe R PL S a ch ls PSR Ttt Move Cursor General Primitive Bus Condition SSP Transport SMP Transport SCSI Command SMP Command SAS Address Protocol Error Performance Lanes Pending 10 Others Idle No 0 Payload Size 8480 Sample Time 49 523 216 25 s Idle Time Initiator 0 000 000 00 s Idle Time Target 0 000 000 00 s SSP Bus Utilization 9 143 749 24 us SMP Bus Utilization 6 300 00019 us STP Bus Utilization 0 000 000 00 s Figure 3 70 Statistical Reports Others Report 3 3 13 Statistical Report Toolbar The Statistical Report toolbar provides the following functions accessible by buttons on the toolbar a Export to Excel Save as Text Print Report Print Preview Report Display Settings Move to X Cursor Y Cursor or None DOOUOD ela Y dr dL cj 1 k Move 172 Sierra M6 1 S
120. the above two errors enable the software setting Disable Disparity Error and Symbol Violation during Speed negotiation After this the code violation is not triggered during the speed negotiation phase but is triggered if the violation happens after the speed negotiation phase Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analyzer Settings Teledyne LeCroy 2 15 5 External Trig Out Setting The Analyzer can send a Low or High external signal when 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 The pulse width is programmable in the software The Voltage level is O to 3 3 Volt The trigger out is derived by NL17SZ126 buffer The delay for OOB traffic external trigger out is 330 ns The delays for non OOB external trigger out are a 66G 7 370 ns a 3G 7 540 ns a 1 56 850 ns Note The External Trigger In and External Trigger Out feature is always available in both Easy and Advanced modes and is not dependent on the licensing of both these modes 2 15 6 2 15 7 External Trig In Setting An external Low or High input signal can cause triggering Select the External Trig In Setting High Active Low Active or Toggle from High to Low or Low to High once 3 3 V output Choose Port Speed The default speed is Autospeed You can also select the port speed from the
121. 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 82 on page 110 jumps to State O Useful Key Sequences The following key sequences are active to assist you in navigating a defined state machine Ctri a Insert Del Ctrl c Ctrl Ins Ctrl v Shift Ins Up Down arrow keys Page Up Page Down Home End Sierra M6 1 SAS SATA Protocol Analyzer User Manual Add State Insert State Delete State Copy Paste Moves selection between states Page Up and Page Down states Go to first page Go to end page 111 Teledyne LeCroy Project Settings 2 17 2 17 1 2 18 112 Project Settings Prior to running the Advanced mode project click the Settings tab The options in the Settings dialog are the same as for the Easy Mode described starting on page 97 SAS vs SATA For the ALIGN Transmission Period section SATA Dialog shows options 256 and 258 and does not show 2048 or 2049 For Speed SATA Dialog shows H1 D1 to H2 D2 and does not show l1 T1 to 12 T2 SATA Dialog does not 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 103 Creating a Data Block You can create the following types of data blocks for use with data fi
122. to the editor Browse Edit all selected scripts in one process Open all included files Launch editor application in full screen Path to the template file for a new script Je program fleslecroy sas protocol suite SA5 Browse Display settings vw Show the full path for the trace file in dialog caption Restore don t maximize dialog at start v Load last output from saved log files when possible v Activate dialog after script s stop running Remember dialog layout Ignore possible run time errors and warnings Saving settings Save log files to the folder which is relative to the trace file path Path to the folder where to save output log files Je program files lecroy sas protocol suite SA5 Browse Save logs automatically after scripts stopped running OF Cancel Figure 3 106 Run Verification Scripts Settings Dialog Choose the editor application Notepad or other Edit all selected scripts in one process If the editor supports multiple documents you can edit all scripts in the editor 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 scripts have run re
123. to two sequences in a scenario The following table summarizes the Global Rules examples that follow TABLE 4 4 Global Rules Examples Example Description 1 Creating a single event and action removes a primitive 2 Creating a single event and action replaces a primitive 3 Creating a combined event a logical OR association of multiple events and an action 4 Creating multiple triggers and actions 5 Creating multiple actions on a single event 6 Using timers 4 9 5 Examples Example 1 Creating a Single Event and Action that Removes a Primitive In this example the Global Rules area of the scenario waits for each RRDY Normal primitive from the initiator and removes it 1 Click the New Scenario button in the main library or one of the device libraries 2 In the Scenario Properties dialog enter the scenario name description and direction of traffic change see Figure 4 7 on page 291 3 In the Global Rules area click the prompt to add an event d Remove RRDY Normal gt x 1 Scenario is valid Status Mok saved Scenario Name Remove BREDY Normal Description Wait for BEDY Normal and remove it Direction for traffic changes From Initiator T Global Rules lt Click here to A event gt Click here to add a sequence For Help press F1 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 319 Teledyne LeCroy Summary of Scenario Creation Figure 4
124. you turn off the Smart Hold option the port does not send HOLDA when it detects a HOLD primitive during a SATA frame OOB Definition Select OOB Definition to set the Out of Band conditions You have three choices see Figure 4 17 on page 301 Q Normal Spec Value o Violated Q Custom User Defined Normal uses Spec Values for OOB conditions 300 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Properties Teledyne LeCroy Normal Spec Value Y scenario Properties d bo e Properties Type Scenario Name New Scenario 0 Description Direction From Initiator Smart Hold Yes Set OOB OOB Definition Normal Spec Value Normal Spec Value Violated Custom User Defined OOB Definition Figure 4 17 Scenario Properties OOB Definition Violated You can set the COMINT COMSAS or COMWAKE parameters that would cause an OOB condition by selecting Violated and selecting Yes or No See Figure 4 18 W scenario Properties mm PA Properties Type Scenario Name New Scenario 0 Description Direction From Initiator Smart Hold Yes E Set OOB OOB Definition E COMINIT Burst Idle Negation Count Value COMSAS Burst Idle Negation Count Value COMWAKE Burst Idle Negation Count Value OOB Definition Yes No No No Figure 4 18 Scenario Properties OOB Violated Conditions Sierra M6 1 SAS SATA Protocol Analyzer User Manual 301 Teledyne LeCro
125. 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Figure 3 196 TCG Parameter Data Field Name Size and Values Sierra M6 1 SAS SATA Protocol Analyzer User Manual 277 Teledyne LeCroy Trusted Command Group Decodes in Spreadsheet View Clicking on the symbol in any of the Field Name boxes will pop up a window with more detaile
126. 0 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2A 80 00 00 2A 80 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 07 01 BB 99 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F A7 1E 00 B2 05 06 50 00 00 00 00 00 00 03 00 00 00 38 00 1D 00 10 41 00 00 00 00 20 20 20 20 20 20 FF FF 01 00 00 04 01 00 00 04 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2A 80 00 00 2A 80 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 07 01 BB 99 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F A7 1E 00 B2 05 06 50 00 00 00 00 00 00 04 00 00 00 3B 00 1D 00 10 41 00 00 00 00 20 20 20 20 20 20 FF FF 01 00 00 04 01 00 00 04 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2A 80 00 00 2A 80 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 07 01 BB 99 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F A7 1E 00 B2 05 06 50 00 00 00 00 00 00 05 00 00 00 3B 00 1D 00 10 41 00 00 00 00 20 20 20 20 20 20 FF FF 01 00 00 04 01 00 00 04 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2A 80 00 00 2A 80 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 07 01 BB 99 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F A7 1E 00 B2 05 06 50 00 00 00 00 00 00 06 00 00 00 3B 00 1D 00 10 41 Discover list descriptor 00 00 00 00 20 20 20 20 20 20 FF FF 01 00 00 04 01 00 00 04 01 00 00 04
127. 0 600 800 1 000 1 200 1 400 1 600 1 800 2 000 2 200 2 400 2 600 2 800 3 000 3 200 3 400 3 600 3 800 4 000 4 200 4 400 4 600 4 800 Time ms ee G nM X to Y 0 ns X to T 2 869 213 ms Y to T 2 869 213 ms For Help press F1 TxVout Disat Initiator Emulator Stop Target Emulator Inactigi Simulation Stop Figure 3 89 Packet and Waveform Views Right clicking the mouse over the graph heading displays the graph legend Q Go to ATA SCSI Cmd Jump to command Q Synchronize with Trace View Synchronize all open views to that location in the trace a Fit to Graph Area Zoom to fit QO Hide Do not display the graph See Figure 3 90 on page 185 184 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy ee Go to SCSI Cmd 264 I M Synchronize with Trace View Fit to Graph Area Hide Figure 3 90 Right Click on Graph Heading Dialog Selecting Go to SCSI Cmd 264 and Synchronize with Trace View will bring up both the Packet View and the associated Waveforms See Figure 3 91 File Setup Session Analysis Navigation View Window Help Gk E Q Trainer Y lamme Weg ccor MN i s sS aS se PPR a P SS gt al fo Es E3 E3 E IL f lin EX M ug ia z P Lok Trp App w CO D 3 108 8B SC PY xj RARA E Pending SCSI IO eo F 200 400 600 800 1 000 1 200 1 400 1 600 1 800 2 000 2 200 2 400 2 600
128. 0 Binary 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 OC Ascii 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 F1 00 00 00 FO F9 F1 01 FC FF FF 84 24 74 1E 15 84 F0 03 FF 00 00 00 00 00 00 A8 FF 00 00 00 00 00 00 00 A8 F8 25 00 00 00 00 00 00 00 00 00 00 00 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4C 00 00 00 00 00 00 00 00 00 00 00 00 00 FF 07 00 00 00 00 Figure 3 198 TCG showing Copy Text Show First Field and Changing Format of Data If you de select Show First Field the Data will be shown as Function Data Size and value of the data with an explanation See Figure 3 199 on page 279 TRUSTED parameters data Field Name O e m pes Sov HERR on Data Payload 40 Bytes 00 00 00 F1 00 00 00 FO FS F1 01 FC FF FF 84 24 74 1E e Hexadecimal 00 A8 FF 00 00 00 00 00 00 00 A8 F8 Binary 416 Bytes 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 DN DO UN OU UN 00 UN Ut 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
129. 00 00 00 00 00 d Auxilary 23 16 H Auxikary 31 24 H CRC H Durat 00 00 Bus Link ws FIS Type ATA Command SecCount H Link Data H i Relative Time Duratior ED CX fret ETE TU z a T Dir r a uo 1 786 us Register Host to Device 0x25 Read DMA Ext 000008089293 0004 i 0 ns EN Target AAA Duratior 2 i CLOSE NORMAL x3 73 ns 20 ns MITA accress Frame Type Protocol initiator Port H Connection Rate Features H initiator Connection Tag H Destination SAS Address H 0x1 Open 0x1 SS 0x9 3 0 Gbps FFFF 5000C500001047B5 ER c 24 Ope Sse F Ol 104 Source SAS Address H Source Zone Group H Pathway Blocked Count H Arbitration Wait Time H More Compatible Features H CRC H Link Data H E Relative Time Duration i MM omn 1 A TTA 5000E85000000001 00 00 03E8 00 4910BE12 40 ns Target RD Relative Time ice 4 80 ns 6 ns Target RD Relative Time Duratior e i 1 R_ROY NORMAL x2 l 13 ns E it Target RD Relative Time Duratio X to Y 498 360 us xto T 0 ns Y to T 498 360 us For Help press F1 TxVout Disat Initiator Emulator Stop Target Emulator Inact Figure 3 21 Default Workspace Trace View 2 Select the other views you d like to see In this case we have chosen Packet Spreadsheet Column and Bus Utilization See Figure 3 22 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 133 Te
130. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2A 80 00 00 2A 80 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 07 01 BB 99 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F A7 1E 00 B2 05 06 50 00 00 00 00 00 00 07 00 00 00 3B 00 1D 00 10 41 Figure 3 191 Descriptor Lists Click on the sign in the first field to bring up a menu with more information abut the Discover list descriptor See Figure 3 192 on page 275 274 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Discover List Descriptor Lists Decode Teledyne LeCroy DISCOVER LIST descriptor list Discover list descriptor 00 00 00 00 20 20 20 20 20 20 FF FF 01 00 00 04 01 00 00 04 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2A 80 00 00 2A 80 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 07 01 BB 99 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F A7 1E 00 B2 05 06 50 00 00 00 00 00 00 00 00 00 00 3B 00 1D 00 10 41 we 0 me E AH Attached Device Type 399 e No device attached i YEN ENS Attached SMP Initiator esI el ir FF SL an 5 me AIN BL ee gt gt S Figure 3 192 Details of a Single Discover List Decio If you right click in the Value Field you can Copy text Show First Field or Change the data format to binary decimal or leave it in hexadecimal format See Figure 3 193 on page 275 DISCOVER LIST descriptor list
131. 01 0010 R_RDY NORMA m Figure 3 34 Column View Sierra M6 1 SAS SATA Protocol Analyzer User Manual 143 Teledyne LeCroy Analysis Right click in the Column View to display commands Q Add Bookmark Expand All Preferences Time Stamp Format LeCroy Format Milli Second Micro Second Go to Trigger Position X Position Y Position Packet Number Time Stamp Book mark Begin End Goto within Packet SOF EOF Next HOLD Previous HOLD Next HOLDA Previous HOLDA Next Align Previous Align Next R_IP Previous R_IP Set X Pointer Set Y Pointer Change Background Color Change Foreground Color O OCDOO O 0D DODO Note The Column View displays the CRC value To see different formats 10b 8b scrambled and so on select a format by clicking its Tool menu button Resize Columns You can resize the columns in Column View by clicking in the column boundary and dragging the boundary to a new position Rearrange Columns You can rearrange columns by left clicking in the column title and then dragging the drag and drop icon to a new position Note Export to Text Excel is available from the Spreadsheet View Packet View or Text View as of S W version 5 60 or later Export to Text Excel is not available from Column View as of S W version 5 60 or later 3 3 9 Text View Text View displays see Figure 3 35 on page 145 the captured data interpreted as transaction frames grouped in columns by p
132. 045000676000001 0174 Incomplete Frames T Ox5000C50 r2 0 5 Address Frames 10 5000 85000000001 gt DxE 94E 8E 55P Frames 0 5000 5000000001 gt 050000500001 03091 SMP Frames 050000500001 030 91 gt 05000 86000000001 STP Frames 0 5000C500001 03091 gt Ox5000626 000001 074 8C51I Commands O0x5000628 000007 074 gt 0 5D06056000000305 SMP Commands 005000628 000001 074 gt 0x50000500001047B5 Task Management Functions 10 5000626 000001 074 gt 050000500007 03091 HATA Commands 05000626 000001 OF 4 gt Ox50060560000003C4 5C5l Command Status S5aurce 55 Address Destination 545 Address Parr 545 Address IL Fratacal Error amp TAFI SCSI Command IL Miscellaneous Filter Idle Filter Type E Hide Show Parts Filter Logic wilt iv 2 C AND Related Items iY T1 i T2 OF Reset All Check All le Filter descend packets if ascend packet is filtered Save Load Next gt Cancel Figure 3 119 First Level of Multilevel Filtering i Multi Level Filtering M Use Pair SAS Addresses Sierra M6 1 SAS SATA Protocol Analyzer User Manual 209 Teledyne LeCroy Navigation View Toolbar 210 Filter m Filter Options Bus Condition Primitive Incamplete Frames j amp ddress Frames I9 55P Frames SMP Frames STP Frames SCSI Lammands SMP Commands Task Management Func
133. 06 SAS Parameters window 74 SAS SATA Protocol Suite 28 SATA data pattern 306 SATA Parameters window 75 save partial trace capture 47 48 49 53 trace capture 46 Save As Display Formats 49 Save as Text button 173 Save As Text dialog 141 Save Filtered Sample 47 Save Output button 197 scenario 290 action 308 creation 314 318 downloading 342 event 302 running 343 Scenario Batch file 348 scramble unscramble payload data 227 scrambling disable 99 Script Workspace 349 SCSI Command Pattern dialog 90 SCSI Command Report 164 SCSI commands address display 44 SCSI spec assignment 247 SDRAM or Exerciser RAM memory check 265 search 218 by tag 223 224 domain 221 for data pattern 219 220 logic 220 SAS address 221 save setup 219 status 237 STP port 221 sub items 221 search direction 219 search from 219 select item for capture 60 Select Device 22 369 Teledyne LeCroy Index Select Port Configuration dialog 102 selecting components for installation 19 self test 263 Self Test dialog 263 separate systems 19 sequence 294 examples 330 Sequential Trigger mode 93 sequential triggering 93 Serial ATA SATA data transfers 15 Serial Attached SCSI SAS data transfers 15 session 309 Set Alias Name 24 Set as Second Data Payload 190 set device bits FIS 69 Set Port Configuration dialog 101 Set the Anchor row as sync point 251 Set Time Stamp Origin 205 Set Timers dialog 108 Setting button 174 Setting dial
134. 1 SAS SATA Protocol Analyzer User Manual Port Configuration for InFusion Teledyne LeCroy Alternatively assign the scenario using the Library and Scenario drop down lists Library Scenario Wy SN 61658 Mew Scenario 1 a hd SM 61658 ProductionT estB eer Mew Scenario 1 Mew Scenario 10 New Scenario 3 New Scenario 4 New Scenario 5 Mew Scenario 6 Substitute Status cor Mew Scenario B Mew Srnenarn A After you have assigned scenarios to ports in the first row of icons use the first green arrow icon to Run Stop All Ports or use the numbered green arrows to Run Stop an individual port Note A port row is grayed out when that port is running a scenario 4 3 Port Configuration for InFusion The InFusion Jammer port configurations must 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 Set Port Configuration k xl Available Functionality by Setup and licensed Features Analyzer Target Emulator Initiator Emulator Jammer Trainer Cancel 0 Available TES 2 Available IE 2 Available vy 2 Available D 2 Available Out of 2 Out of 2 Out of 2 Out of 2 Out of 2 Ports Configuration For Current Setup Serial Num Ports Assignment Hamilton SM 61666
135. 1 SAS SATA Protocol Analyzer User Manual 121 Teledyne LeCroy Analysis Trace Properties EU x Software version 4 30 Build 500 Sample file version Version 54 Adding optical DOB Grouping Type M arrow Hardware bin file version 0016 with Hw version 3 VP 70 1 GB Memory Analyzer armed at Unknown Analyzer triggered at Unknown Sample saved at Unknow Original Capture Project Unknown Licensing Information Unknown Simpass Information Unknown Close Figure 3 3 Trace Properties Dialog 3 3 Analysis The Analysis menu options allows you to see the trace in various views and switch views 3 3 1 Analysis Toolbar To display the capture in any of the other available views you can make the selection on the View Type toolbar as shown below or select the menu option under Analysis as shown in Figure 3 5 on page 123 Decoding Assignments Show Hide Column View Show Hide Trace IS MIMO showiklido Expert Waveform View uA I 1 Show Hide Histogram View um Wu EX E od vi d s NEN Power Tracker Show Hide Bus Show Hide Frame Utilization View Compare 2 Data l Inspector View Payloads Show Hide Show Hide Running Packet View Spreadsheet View Verification Show Hide Statistical Report View Scripts Figure 3 4 View Type Toolbar 122 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Navigation View Wi LE Decoding Assignments Packet View HE Spread Sheet View
136. 2 800 3 000 3 200 3 400 3 600 3 800 4 000 4 200 4 400 4 600 4 800 fme ms la Ait m EA PA A SCSI IO Throughput eo X 200 400 600 800 1 000 1 200 1 400 1 600 1 800 2 000 2 200 2 400 2 600 2 800 3 000 3 200 3 400 3 600 3 800 4 000 4 200 4 400 4 600 4 800 Time ns SCSI IO Latency Time QS 200 400 600 800 1 000 1 200 1 400 1 600 1 800 2 000 2 200 2 400 2 600 2 800 3 000 3 200 3 400 3 600 3 800 4 000 4 200 4 400 4 600 4 800 fme rs SCSI IO Response Time ee 200 400 600 800 1 000 1 200 1 400 1 600 1 800 2 000 2 200 2 400 2 600 2 800 3 000 3 200 3 400 3 600 3 800 4 000 4 200 4 400 4 600 4 800 Time m3 E 5 v9 E E 3 8 7 OTC GCECA Y Q 1 876 955120 ms 0x28 Read 10 SCSI Cmd pr Source Address H Destination Address Destination Address H Operation Code FUA_NV H FUA H DPO ROPROTECT Logical Block Address H Group Number Gi _ Number H Transfer Length D Control zia CDB Padding H 01 000000000000 HEC I7 NENER T EET RN x Figure 3 91 Packet View and Waveforms Synchronized Then you can zoom in to the waveforms associated with the selected packet See Figure 3 92 on page 186 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 185 Teledyne LeCroy Analysis qs File Setup Session Analysis Navigation View Window Help 2 18 x ju d Q Traine Y lamme Weg e gt B Uu i 1 s Las se y 0 PP AR Bch y amp zz t B
137. 2 Good Simple 4 506 666 66 us 2 0 09 Readl0 B 4 2048 Good Simple 7 506 666 66 us 1 0 15 Read10 2 1 0 Incomplete Simple 226 666 671 75 ns 1 442e 3 5 129 866 60 ms 707 100 00 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Teledyne LeCroy SMP Command Report Sierra M6 1 SAS SATA Protocol Analyzer User Manual To display the SMP Command Report see Figure 3 62 on page 165 click the SMP Command tab The SMP Command Report displays information in the following columns a Function All Custom Report General Report Manufacturer Information Dis cover List Port All H1 11 H2 12 H3 13 H4 14 or Custom Number of Transport All Custom or a number Payload Size All Custom or a number of DWORDs Status All Custom Check Condition Good Task Attribute Simple Duration All Custom or time unit accumulative Count All Custom or a number of occurrences Percentage of total count LDLDLDLDLDLDLDUDLU as File Setup Session Analysis Navigation View Window Help T FR 60 24H uu ad gt Trainer W Jammer QU Reco HB il 518 os aS ov pPuoxs m s o nt rp App w CQ G5 106 8B SC PY x a eel f4 Report General SMP Command Move X Cursor General Primitive Bus Condition SSP Transport SMP Transport SCSI Command SMP Command SAS Address Protocol Error Performance Function Function Result Port Duration Count r All v All
138. 3 2 10 2 Editing A Data BIOCK asi seid aaa di 114 2 19 3 Denne Your OWN Patel esdexse esu edu b der pU VES ME cane cedex AREE CE NEM eue EA 114 e ennaa a a E 115 2 191 Random Data ig e S ER 116 2 192 Walking BIf PaltterD unciis tas ceps vo podra e EEE N a Ea eee 116 2 19 3 Creating and Editing Data Blocks as TeXt ooocoonccnncconncococecococnconcconaroncnronanonnronanrnnnnnnnrrnnrrnnnrnnnrnannreanennns 117 Z194 Load Daila cC CA 117 21953 SIVE AS Sri a a a a r ea 117 Chapter 3 Display Manipulation essere eere nennen 119 3 1 VIG WeErDIS o rp 119 Be E Ses o NAG AAA EN 119 S12 QUICK VIE a 120 9 5 9 USING Ne VIEWER DISPARO doi 121 2 2 race PODEIS is 121 O A a 122 2 9 1 AfalySsIS TOOIDAE iia dl 122 23 5 2 DECOGING ASSIGIINGINGS ione aa Sexe Esa bes a coda ec bexe oes ere bee nup b eta aua ied eura R aco Oaa GE MO URDU cR E Debra xcrMR CE RETE Ra 123 399 PACKU VIGW acier ed Eu ai 126 Packer VIEW MLlTICS uiro rior intere EE od A Dac AAA AA oso AAA AER 127 Performance Reference Definitions 11 eceeeeeeeeeeeenieenie enne enhn nnn n hne n nnn h sans ann n naa 128 Copying Packets from a Trace to a Host Emulator Script cesses 128 3 3 4 Viewing Check Condition Sense Data 1 lese eieeeeeeeieeeieeen eene nenne nnne nnne san n nna n a sauna nnns 129 Go to Command Go to Response ore iinet eae EROSUES E
139. 6 SSP Frame T2 11 89999962us 143 1 72 Bus Condition 11 75 93750000us 30 0 36 Bus Condition Ti 15 10000038us 8 0 10 Bus Condition 12 75 88750458us 30 0 36 Bus Condition T2 15 27812481us 12 0 14 Training Sequence 11 256 023 895 26 ms 1004 12 07 Training Sequence T1 256 015 533 45 ms 1005 12 08 Training Sequence 12 256 040 130 62 ms 2000 24 04 Training Sequence T2 256 035 400 39 ms 2001 24 05 Y Figure 3 103 Trace Expert Trace Analysis Statistics You can use the scroll bar to see more data Sierra M6 1 SAS SATA Protocol Analyzer User Manual 195 Teledyne LeCroy Trace Expert 3 4 4 Trace File Information To view the Trace File Information click on that button See Figure 3 104 gt CID file C Users James Allen Desktop SAS_Protocol_Suite_5 92_B1061 ALPHA SAS_Protocol_Suite_5 92_81061 ALPHA _Deliverables SASSATASuite PublicDocs User SAS 2012G h1 s iii Apps E iGoogle CJ Lenovo Recom J Fin_Sites 7 Teledyne LeCro FIT BugTrack Tutorial Video L NA Yahoo Finance RA Yahoo News L PSG Intranet 5 Google News a TELEDYNE LECROY Everywhereyoulook SAS SATA Protocol Suite Version 5 92 Trace Expert Analysis Report for the SAS 12G scs trace This report contains a comprehensive analysis of performance errors and event statistics of the trace It is a stand alone HTML file that you may save print and share with no dependency on SAS SATA Protocol Performance Analysis Error Report
140. 6 eE GotoNext HOLDA F7 XXXX RIF Goto Previous HOLDA Shift F 4140 Figure 3 144 Goto Within Packet Command Sierra M6 1 SAS SATA Protocol Analyzer User Manual 231 Teledyne LeCroy Packet View Toolbar 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 Bookmark Show Field Hide Field Format a Right Align MSB z LSB Copy Data M Copy Frame Goto Response Set Time Stamp Origin P Color Goto k Figure 3 145 Byte Order Note A blue arrow in the byte order field indicates that it has been changed Choose Data Format You can display data values either in hexadecimal default or binary To choose data format right click the mouse over a data field and choose Format and the format Bookmark Show Field Hide Field Byte deder k Hexadecimal Binary Copy Data Goto Command Set Time Stamp Origin F Color Figure 3 146 Format 232 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Packet View Toolbar Teledyne LeCroy Show All Data To display all captured data click the data expand toggle arrow in a data field to examine the data in detail Data expand toggle ATA Command Data 2048 Bytes PMPort H 00 09 00 00 00 00 00 00 00 00 00 00 gt gt o 0 y Figure 3 147 Show All Data You can expand or collapse all data fields globally To expand al
141. 6 2 SM 61658 PSG_QA MB 2 Local Machine Ready to connect Unit 1 El 3J Disconnect Sierra M6 45N 52342 Masis M5 4 Unit 2 7 el a Add Device lt L IP Settings Selected Device Id 0x00104C00F26E m uu wf Networks Refresh Device list Close Figure 1 15 Select Device Dialog Displaying Unit 1 and Unit 2 Chained Note When using STX Sync cards you need to manually specify the order of the chained units To match your unit sequence to the address for each unit in the Select Device dialog click the pull down tab under the Order heading on the right side and select unit numbers 1 for Unit 1 2 for Unit 2 and so on This determines the order in which the cascaded ports appear in the trace When using the CATC Sync cards the order is automatically detected IMPORTANT Power up all units before starting the software 1 8 3 Connecting over Different Subnets If the host machine with the software and Sierra M6 1 are on the same subnet they will see each other s broadcasts and the Sierra M6 1 application will automatically appear in the Select Device dialog from which you can select a device as described in the previous section If the host machine and Sierra M6 1 do not reside on the same subnet they will not see each other automatically You must add the Sierra M6 1 IP address manually To add the IP Address use the Add Device button see Figure 1 11 on page 25 1 8 4 Virt
142. 7 775 ms E y 159 ns 3 240 us 14 87 ns i 85 968 us 143 ns 2 206 us gt 12 575 us Preferences Time Stamp Format Goto Enable Field List View VIVU e Uu Shift S b b b X to T 656 678 us X to Y 817 686 209 ms Y to T 818 342 887 ms For Help press F1 TxVout Disat Initiator Emulator Stop Target Emulator Inactgg Simulation Figure 3 32 Spreadsheet View Context Menu 142 20 Discover list Status 0x0 Smp Mlliction accepted Function 0x20 Discover list 18 X BUD Gg E Apl a ie fs ral Command Summary 20 Discover list Function 0x20 Disqgover list Function Result 0x00 Smp function accepted Ph Connection Rate0xB 12 0 Gbps Handshake OPEN ACCEPT Spreadsheet View 20 Discover list 20 Discover list 20 Discover list Function 0x20 Discover list Function Result 0x00 Smp function accepted Ph Connection Rate 0xB 12 0 Gbps Handshake OPEN ACCEPT 20 Discover list Status 0x0 Smp function accepted Function 0x20 Discover list t 20 Discover list Function 0x20 Discover list Function Resultz0x00 Smp function accepted Ph Connection Ratex0xB 12 0 Gbps Handshake OPEN ACCEPT e Tame Status 0x0 Smp function accepted Function 0x20 Discover list 20 Discover list Function 0x20 Discover list Function Result 0x00 Smp function accepted Ph Connection Rate 0xB 12 0 Gbps
143. 909 7112 Worldwide 1 408 653 1260 Fax your questions Worldwide 1 408 727 6622 Write a letter Teledyne LeCroy Protocol Solutions Group Customer Support 3385 Scott Blvd Santa Clara CA 95054 3115 USA Send e mail psgsupport lecroy com Visit Teledyne LeCroy s web site teledynelecroy com Tell Teledyne LeCroy Report a problem to Teledyne LeCroy Support via e mail by selecting Help gt Tell Teledyne LeCroy from the application toolbar This requires that an e mail client be installed and configured on the host machine Sierra M6 1 SAS SATA Protocol Analyzer User Manual 363 Teledyne LeCroy 364 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Symbols cfg file 242 Anfdb file 295 sac files 39 Numerics 10 bit payload data display 226 8 bit payload data display 226 A About 263 Action 293 action counter 311 scenario 308 Action Properties dialog 310 Add Device 25 Add Pattern button 107 Add to Trigger 121 address 363 address frame 64 Address Frame Type Pattern dialog 64 87 Advanced Mode 28 104 alias name 273 ALIGN Transmission Period 100 Analysis Project dialog 45 analyzer overview 15 Anchor the Selection bar 251 As previously saved 248 Ask user to close the previous captured sample before running the new project 247 ATA Command Pattern dialog 81 92 ATA Command Report 160 ATAPI Pattern dialog 82 ATAPI Report 163 ATAPI spec assignment 247 Auto Run 19 98 Sierra M6 1 SAS
144. A SYNC pm E Exclude Payload except Dword Primitive H amp RD RESET then Go To State e Advanced switch to Easy mode Multi Sequencer Port 17 T Make Same as Current e Add State e Delete State Figure 2 82 State Machine with Timeout Pattern to replace Timer To overcome this limitation use a Timeout Pattern instead of Timer Figure 2 82 shows the state machine using Timeout instead of Timer Figure 2 83 on page 111 shows the Timeout settings 110 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Advanced Mode User Defined Teledyne LeCroy Timeout Pattern Pattern Start E vents External Trigger Frimitive Add gt gt aula Remove lt lt Sumbol Remowe lt lt Primitive STP Frame ATA Command ATAPI Address Frame SMP Frame SSP Frame Mate Logical OR operator appllied on added events Timeout value 346 milliseconds Trigger mode End Events Bus Condition 2 microseconds 2 Trigger if the End Events accur s before the timer expires Trigger if the timer expires before the End Event s accur s Note Start Event s reset s the timer unconditionally pm Figure 2 83 Timeout Settings Cancel Timeout begins when the port detects the Start Event Timer begins when the port detects the Hard RESET primitive In the Trigger Mode window set the Trigger to trigger when the port detects the End Event before the Timeout occurs In our example
145. AAET Figure 26 SATA Spreadsheet View Right click a column heading to go to Preferences make all columns the same width choose Time Stamp Format or Goto a position Right click a column heading to Hide or Show the column To show the same columns permanently select Setup gt Preferences gt Trace Viewer gt As Previously Saved Right click the column to Add Bookmark or Edit Bookmark Set Time Stamp Origin go to Preferences choose Time Stamp Format Change Background or Foreground Color or Goto a position Note You can double click a data frame to display the data payload view The Status column can show ABRT and UNC status 136 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Spreadsheet View Column Add Edit Delete Right click on the Column Heading to bring up the Options Dialog see Figure 3 27 Setup Session Analysis Navigation View Window Help A PP 2 we Time Stamp ore S rumeur s3 me B MM Show 2 069 213 BEER BEEN 5 333 us Bei Hide 1 106 us 240 ns T2 Preferences c 400 ns Add Column Edit Column FAA r y 2 929 306 ms 430 ns M Delete Column 2 929 453 ms EE 70734 433 f 3 660 us fi 2 933 133 3 660 Us Auto fit all columns 2 933 160 ms 26 ns R Il col idth 2 933 240 ms 80 ns Mud c 3 586 us HEUS Ti Time Stamp Format Figure 3 27 esse View Column
146. AG ni la iio ii 241 Tie Stamp OO varada dd dada old 241 Stan Time ang POr adn 241 Packet VIEW Condense MOCO ii ro eben feria V NEP MERE NKCRNRSREUXE EXEC Cen podia RENE NECARE NE De EOR EU 241 TME Stamp Formats 242 PON dal Pe e 242 odVerlLoad Setllgs aii 242 3 19 SEP POL AS oa 242 Restore Factory Presets ion 243 Set AS Detalla fans 243 3 14 SAS Address Allas SAS OMY uscssiicnst este 243 Set As Deal p 244 3 15 TXRx Vout amp PreempliasiS ias iiec sitae pa 244 3 16 Preferente S en 246 3 10 1 G peral da di 246 PalliS earan T a winnie stant a A E 246 Template ROS cem PU TEM 246 sj e XX aeias 247 Found Device EISE MOGOGG o erc tra donde 247 Browse Default Palas ac 247 Port Configuration Setlilig x5 ooi A A RU cose Cu OOo Veo a ai 247 3 16 2 Mace Viewer TaD ee H 248 Open Trace Meli I TU EU E M En ed 248 OptimiZalloD cr 248 3 160 S GI RC es 249 3 10 4 Spread Sheet View TaD a 251 Color Setting src A 251 Anchor the Selection Dai A AAA 251 O A OT 252 316 5 Column VIEW TaD e 252 Sij Rn eR O 252 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 9 Teledyne LeCroy Contents 3 10 60 Packet VIEW TaD etc M 253 3 16 7 Sampling Memory Usage OptiMizatiON
147. AS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Sierra M6 1 SAS SATA Protocol Analyzer User Manual Export as Microsoft Excel file Ej Save as Text file Print Statistical Report Print Preview Catalyst Enterprises Inc conT oon ees E eo pon po f ROK o roo ROY o ooo E ROY Don eos f sor on 199 f Ewc fao 005 Ww sooo T xmv usb Tro E xro oon ew Fl pen peo eo M des 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 name and click Save The Print button opens the select printer dialog Choose an available printer and click OK The Print Preview button displays a preview of the report to print see Figure 3 71 on page 173 Serial ATA Apr 14 2006 Figure 3 71 Sample Print Preview of Report 173 Teledyne LeCroy Analysis Report Display Settings e The Setting button opens the Setting dialog You can set up the report columns for display to suit a particular analysis need eliminating the need to show hide columns individually Use the Setting dialog to configure the display for each page see Figure 3 72 on page 174 and see Figure 3 73 on page 174 Setting Pages
148. ASProtocolAnalyzer3 6 5imulation scs 7 SATA Two Sides of Expander scs Figure 1 17 Window Dialog Getting Started with the Protocol Analyzer To use the software for protocol analysis first select File New SAS Protocol Analyzer File New SATA Protocol Analyzer for a new SATA project for a new project or File Open an existing protocol analysis file sac for a SAS file or stc for a SATA file see Protocol Analysis on page 39 You can also open a scs SAS Sample file or sts SATA Sample file Example files are in the Examples folder Note Project files created on the Sierra M6 X family of analyzer products are not compatible with the Sierra M124A M124 Analyzer Open the files and perform a Save As to use them with the Sierra M124A M124 Analyzer 1 11 On the Capture tab select to capture Everything or Pattern For Pattern select a Pattern You can exclude patterns and frames You can use different patterns for pre trigger and post trigger On the Trigger tab select the trigger type For Pattern select the pattern On the Settings tab select trigger position and memory use Change the Analyzer settings if necessary Change the port Speed if necessary Use Advanced Mode only after you become familiar with the hardware and software and have special needs Menu Options and Toolbars This section lists all the SAS SATA Protocol Suite application menu options and the toolbars Sierra M6 1 SAS SATA Protocol A
149. B Port for host connectivity External Trigger IN OUT and Sync Expansion Port Gigabit Ethernet Port for network connectivity DC Power Power Switch 0 1 LDLDLDL 0000000000 000000000000 Figure 1 3 Rear Panel WARNING Do not open the enclosure No operator serviceable parts are inside 1 5 3 Temperature and Humidity The hardware should operate flawlessly in the following temperature ranges a Operating O C to 50 C 32 F to 122 F a Non Operating 20 C to 80 C 4 F to 176 F The hardware should operate in the following humidity range a 10 to 90 RH non condensing 18 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Installing Your Analyzer Teledyne LeCroy 1 6 Installing Your Analyzer 1 6 1 Software Installation The SAS and SATA software works on systems using the Windows XP Windows 7 x86 x64 Windows 8 x86 x64 Windows Server 2003 Windows Server 2008 and Windows Server 2012 R2 operating systems 64 bit Windows OS is recommended because it allows using more RAM memory Other Operating Systems limit the RAM to 3GB 1 Insert the Installation DVD ROM into the DVD drive on the host machine 2 The installation automatically starts setup unless Auto Run is off In that case select the DVD ROM from My Computer and click Setup 3 After the warning to close all other programs and before starting the installation the Install component selection opens 4 Select components
150. BS z uu EE e ile gt MM 4 Pending IOs IOs 1840 1 845 1 850 1 855 1 860 1 865 1 870 1 875 1 880 1 885 1 890 1 895 1 900 1 905 1 910 1 915 Time ms 4 MT b a o 3 2 s 2 lt 1 840 1 845 1 850 1 855 1 860 1 865 1 870 1 875 1 880 1 885 1 890 1 895 1 900 1 905 1 910 1 915 4 THE SCSI IO Latency Time 69 9 Operation Time 1 840 1 845 1 850 1 855 1 860 1 865 1 870 1 875 1 880 1 885 1 890 1 895 1 900 1 905 1 910 1 915 Time ms IT SCSI IO Response Time e is NI Operation Time 4L 1 840 1 905 1 910 1 915 Time ms 1 845 1 850 1 855 1 860 1 865 1 870 1 875 1 880 1 885 1 890 1 895 1 900 4 LH j A to Y 0 ns X to T 2 869 213 ms Y to T 2 869 213 ms For Help press F1 TxVout Disat Initiator Emulator Stop Target Emulator Inact Simulation Stop _ Figure 3 92 Zoom In on Waveforms near the Selected Packet Performance Reference Definitions Trp No Number of Transports The total number of transports that compose this exchange Resp Time Response Time The time taken to transmit this command on the link s from the beginning of the first frame in the command to the end of the last frame in the command Pld Bytes Payload Bytes The number of payload bytes this operation transferred Latency Time The time measured from the transmission of the command to the first data transmitted for this IO operation
151. C Backward Search From Packet with Error w Packet without Error From Tag fo Hex To Tag jo Hex F Forts W Don t Care w STP Port 0 Advanced Start l Trig Pointer sepes Logie Pointer C AND Selected Items Y Pointer OF Selected Items C Last Found Reset All Save Load Cancel Domain Figure 3 127 Search Parameter Definition Dialog You can continue to search the output file using Next Search F3 or Previous Search F4 for the same pattern until you redefine the data capture search parameters Save Search Setup After you have set up a Search configuration you can save it as a SAS Search configuration file ssh or a SATA Search configuration file tsh by clicking Save 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 search Search From Choose a starting point to begin or continue a search Start of the sample file Trigger Pointer X Pointer Y Pointer or Last Found Sierra M6 1 SAS SATA Protocol Analyzer User Manual 219 Teledyne LeCroy Navigation View Toolbar Search Logic The default setting is Or Selected Items With this setting clicking Find Next locates all select
152. CODO F17 Phy identifier Value 8 Bts F17 Phy identifier Mask F18 Break Reply Capable Value 1 Be F18 Break Reply Capable Mask F19 Requested Inside ZPSDS Value 1 B F19 Requested Inside ZPSDS Mask F20 Inside ZPSDS Persistent Value 1 Bt F20 inside ZPSDS Persistent Mask F21 Reserved Value 5 Bes F21 Reserved Mask F22 Reserved Value 48 Bes F2 Reserved Mask 200000000000 F23 CRC Value 32 Bts 00000000 F23 CRC Mask 00000000 FO Address Frame Type Value 4 Bits Format Hex Indicates the type of address frame DO 00 00 0 0 0 0 0 0 00 00 000000000000 Figure 4 20 Event Properties Dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 303 Teledyne LeCroy Scenario Events 304 To copy an event or action right click on the event or action and select Copy Right click Click here to add another event or Click here to add an action and then select Paste To copy a sequence or state right click on the sequence or state and select Copy Right click Click here to add another sequence or Click here to add another state and then select Paste You can also cut delete and edit a selected sequence state event or action While many events are line conditions an event also can be a condition that occurs within a InFusion device for example detection of a trigger signal from another device The following table lists supported events Note that some events are applicable on
153. Command SMP Command Task Command Read Write Command SAS Address Protocol Error Performance Lanes Pending IO Others Time Stamp Source SAS Address Destination SAS Address Protocol Type OpCode Command Tag LBA Sector Count Xfer Length Payload size Status Completion Time Performance Standard Deviation Count All v All v an 5 All E Al s A 5 All 5 Al 5 All v AN y an 5 All 3 021187 ms 500062B000001074 SSP Writelo OXAEFAAS 048 352 266 693 us 1 3420787 ms 5000628000001074 5000C50000104785 SSP Read10 47C 0x1 65352 0x4 2048 Good 14481987 ms 0 134866 0 000934 1 36 054 974 ms 50006 28000001074 50060560000003C4 STP Write DMA Ext 0x2175824 0x4 2048 Normal Output 18 312 666 ms 0 106654 0 604338 1 82 951 698 ms 5000628000001074 50060560000003C4 STP Read DMA Ext Ox8E28F6 0x4 2048 Normal Output 27 097 839 ms 0 072077 0 063723 1 110 115 250 ms 5000628000001074 50060560000003C4 STP Read DMA Ext Ox4530CE9 0x4 2048 Norma Output 33 748 718 ms 0 057873 0 077928 1 143 928 009 ms 5000628000001074 5006056000000324 STP Write DMA Ext 0x55C325 Ont 2048 Normal Output 141 386 673 us 13814068 13 103076 1 144 114 807 ms 5000628000001074 50060560000003 C4 STP Read DMA Ext OxDFC287 0x4 2048 Normal Output 27 002 346 ms 0 072332 0 063468 1 171 221 039 ms 5000628000001074 50060 56000000304 STP Read DMA Ext Ox9B1FE2 0x4 2048 Normal Output 8 108 067 ms 0 240887 0 105087 1 179 333 240 ms 5000628000001074 50060560000003C4 ST
154. E FROMA QUIVED From Initiator Click here to add combined event then Branch to State 2 after 20th occurrence Click here to add another actica gt Click here to add another event State J Wait for FIS Frame OxALl Set Device Bits FO FIS Type Value 8 Bits OMAL Set Device Bits Mask OxFT From Target Click here to add combined event then Inject CAC Error every 10th occurrence Click here to add another action Click here to add another event O Options Set options for this output window j ta D 26 25 27 042 000 42 Device Joined 16 15 27 057 000 000 SN 10542 Device connected 16 30 22 208 187 000 Inject CRC Error Y gt 216 30 22 263 931 000 Inject CRC Error Val Port 3 16 30 22 309 455 000 Inject CRC Error Values s 10 37 16 19 39 887 000 000 SN 10842 Session started Port 1 IO Meter Traffi E 16 20 03 977 000 000 SN 10842 Session stopped Port 1 IO Meter Traf Copy Port 4 36 30 22 347 685 090 Inject CRC Error Val 16 28 55 795 000 000 SN 10542 Session started Ports 1 IO Meter Traff E 16 31 04 024 000 000 SN 10542 Session stopped Ports 1 IO Meter TrafNN Copy All 4 In 4 Set options for this output window Se Figure 4 63 Copy Data from Log File Window 4 14 Scenario Batch Files You can write a script with commands to run a sequence of executable scenarios automatically A Scenario Batch file is a text file with a l
155. E InitiatorLinkLayer infdb E DEFALILT infdb n a Docs My Documents g My Computer a E A My Network Files of type InFusion Library Files infdb v Figure 4 9 Open Library File List Sierra M6 1 SAS SATA Protocol Analyzer User Manual 295 Teledyne LeCroy Scenario Libraries By selecting the TestCasesForSATA infbd file you get an additional library window with predefined SATA test cases similar to the following File Library c program Filesilecroyiinfu A X 3 EJ E 3 Scenarios 01 HOST Buffer Underrun 02 HOST write Failed 03 HOST R RD failed 04 HOST Read Failed JE HOST Break Link with Pending 10s 06 HOST Write DMA Flow control error OF HOST Write DMA terminate protocol 08 HOST Write DMA transfer count erra 09 HOST Link Layer Retry 1 HOST Invalid FIS type 11 HOST Vendor FIS type 12 DEVICE Buffer Underrun Figure 4 10 Test Cases for SATA Library Device Libraries 296 In addition to general libraries the application defines device libraries Each device library is associated with a specific InFusion device Each device library opens in a separate Device Library window and holds up to ten InFusion scenarios for the device When you connect to the device and click the entry 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
156. El Format Address Frame Type Any Address Frame Type X Binary Any Address Frame Type Hexadecimal Cancel Show Reserved and Parameter Address Frame Type A Any Address Frame Type Mio Pie ris Fl Gi gre Ors Eri Check All Uncheck All Count Expected number of occurences on each link Figure 2 55 SAS Address Frame Type Pattern Dialog SAS vs SATA Not available in SATA Choose an Address Frame Type from the drop down list and click OK Sierra M6 1 SAS SATA Protocol Analyzer User Manual 87 Teledyne LeCroy Trigger Setup SMP Frame SAS only Double click SMP Frame in the Pattern window to open the SMP Frame Pattern dialog 5MP Frame Type E E X Format SMP Frame Types Any SMP Frame Type A Binary Function Any SMP Frame Type 3 e Hexadecimal Fene Show Reserved aria Parameter SMP Frame Type A Any SMP Frame Type Function Any Function ha ali Je Je De rl e T m ea t Check All Uncheck All Count Expected number of occurences on each link Figure 2 56 SAS SMP Frame Pattern Dialog SAS vs SATA Not available in SATA Choose a SMP Frame Type from the dropdown list on which to trigger Then choose a Function from the drop down list and click OK 88 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup Teledyne LeCroy SSP Frame SAS only Double click SSP Frame in the Pattern window to open the SSP Fra
157. Event counting 2 extra actions are consumed 2 more actions are required for Every Nth occurrence option In Sequences If a 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 each assigned permanently to a certain job 6 available timers per scenario 12 programmable multi purpose resources for DWORD comparison substitution capture are available If a pattern detector uses 3 of these resources to trigger on a specific frame on the bus only 9 more resources are available for other tasks Frame FIS type detectors are excluded from this rule because they use their own dedicated resources 8 primitive detectors are available If you want to trigger on a pattern Frame FIS and change capture a dword s before the last offset of a detected pattern e g changing the Frame Type of a SAS Frame with Data Offset 11223344 you are limited to a maximum of 9 dword offset i e if you trigger on the 20th payload of a Data FIS you can change capture the 12th dword onwards 11th payload dword and preceding dwords are not accessible for change capture 292 Sierra M6 1 SAS SATA Protoco
158. Exclude SATA_CONT with Exclude CONT and Exclude SATA_SYNC with Exclude SYNC SAS The SAS Parameters window displays the following pattern capture categories a STP Frame Address Frame SMP Frame SSP Frame Data Pattern a Protocol Errors OOO O SATA The SATA Parameters window displays the following pattern capture categories a FIS FIS Pattern Data Pattern Protocol Errors ODO O 2 11 1 Choose a Parameter To choose a parameter for capture from any of these categories highlight the category in the parameter window and click the Add gt gt button This opens selection dialogs for each of the categories displaying all of the parameters for that category All patterns added appear in the Project Tree 2 11 2 Exclude Patterns Check this box to allow for the capture of everything except the patterns that have been added to the Project Tree 58 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Patterns and Data Capture Setup Teledyne LeCroy When you check this box the Primitive category appears in the Parameter window and the window enables the Exclude Idle checkbox Capture Trigger Settings Notes Project Tree C Everything Exclude SATA CONT al a Capture Exclude v Pattern Exclude SATA SYNC Iv Exclude Idle Y Include 50902 Exclude OOB Signals E Exclude 290 Exclude Payload except fo Dwordls Y Include SATA SYNC Y Include SATA CONT Y Include OOB Signals Include Pay
159. Expand Sense Data The hidden fields are revealed 39 34 00 00 00 06 00 19 00 00 00 00 gt gt ECERTTTTS rum F TUN NO DATA the SENSE DATA field shall not be present In RESPONSE DATA the SENSE DATA field shall not be present In SENSE DATA the SENSE DATA field shall contain sense data Figure 3 16 Sense data Figure 3 17 Sense data expanded Go to Command Go to Response The Go to Command Go to Response feature can be used to scroll through a large data packet to find SCSI commands and responses To use the Go to Command Go to Response feature open a trace with a data packet and Right Click on the Data section of the packet See Figure 3 18 on page 131 ID Ele Setup Session Analysis Navigation View Window Help 218 xj S E O Trina Wan B1 6 m n cfi S O e PLL AAA ROAD ea 8 Bo SEED e e Pv e Transport M ssPFrame Type Hashes Dest SASAder H HashedSrcSASAGdriM Changing Data Pointer H ReTransme H Retry Data Frames M TLR CONTROL M s _ _ 1126 AA II _ A A AAA gt A A A A AAA 18 I 0x01 Data CA950 427000 0 0 0 Num of FA Bytes H Tag H Torget Port Transfer Tog 01 Data Offset H Data 1024 Bytes f Malinalco 0 osc ELT 160000000 E701C75F9BCABIA3 4 BA 1 37 gt Edit Bookmark Transport PF SSP Frame Type Mashed Dest SAS Ader M Hashed Sre SAS Addr Show Field gt Frames H
160. Figure 2 36 Data Sierra M6 1 SAS SATA Protocol Analyzer User Manual 71 Teledyne LeCroy Trigger Setup Vendor Vendor is for FIS Pattern STP Frame Type x Format FIS Type Venda A gt Binary Number of DWORD s fi Hexadecimal Cancel Show Reserved and Obsolete Parameter Data 24 bits SOG Check All Uncheck All Figure 2 37 Vendor 2 13 Trigger Setup The Trigger tab in the analysis project dialog allows you to specify when the analyzer completes a data capture Three trigger modes are available Q Don t care Snapshot is the default A Manual Trig a Pattern When data capture starts with Don t care Snapshot selected the analyzer triggers on the first data pattern on the bus Starting a data capture with Pattern selected triggers when specific pattern s are detected in the captured data stream The following three ways can trigger the analyzer with Pattern selected a Trigger on any pattern Any Trigger Mode a External Trigger Q Trigger on a sequence of patterns Sequential Trigger Mode 72 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup Teledyne LeCroy 2 13 1 2 13 2 2 13 3 Snapshot Mode To trigger immediately on any pattern check the Don t care Snapshot button iJ Teledyne LeCroy SAS SATA Protocol Suite SASProtocolAnalyzer oc E im m File Edit Setup Session Analysis View Window Help Gb bel lt gt Trainer Y Jammer
161. Group Decodes in Spreadsheet View Teledyne LeCroy e File Setup Session Analysis Navigation View Window Help 5 El O Traine Wlamme seco m n C11 51 83 v PBR DE RAA S D CET cs v CQ 8 198 8B se PY CLAMA Transport FIS Type Data 12 Bytes CRC H iag 6 0x46 Data 0 ER 00 00 00 07 FF 00 00 00 00 00 00 gt gt m 486DADF3 FIS Type PM Port H 1 H Status H Error H LBA Low m LBA Mid H LBA High H 0 1 50 FF 00 F9A77970 out e ITI T5 AASER nd EN EJ 4 320 us Hi 36 UPA 4 366 713 oo SET 5 472 106 ms AS 520 us 067 706 nin 235 558 on 36 n 1 253 us i 2191 a S 5 307 520 ms y 31 077 800 ms 72 240 us X to Y 0 ns XtoT Set e Y toT e Rn For elp press F1 dh TXVoutDisat Initiator Emulator Stop Targ et Emulator inact MUSB TCP S Figure 3 195 Trace Showing Trusted Command Group data in Spreadsheet View If you click on the TCG icon in the trace a window with detailed data about the TCG packet will pop up The different Fields shown include Com Packet Packet Data Sub Packet Data Payload and Data See Figure 3 196 on page 277 TRUSTED parameters data a o a omes eoo ooo 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0
162. Heading Options You can Add a new column Edit a new or existing Column or Delete a new or existing Column If you select Add Column the following dialog will pop up see Figure 3 28 on page 138 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 137 Teledyne LeCroy Analysis E Add column to SpreadSheet view Y Initiator to Target Target to Initiator ymbination of data AND Apply frame type color Width of column 60 E Apply port color Enable Time Format Add to predefined columns Display field name Show Field List Subsequently Figure 3 28 Column Header Options Dialog From this dialog you can customize the Spreadsheet View Columns by adding a Link Fields Transport Fields ATA Cmd Fields SCSI Cmd Fields SMP Cmd Fields QO Additional Fields 0D DODO Each option will bring up a dialog with characteristics for that field which would become a new column Select an item from the drop down in this case Link gt Frame Information Structure FIS was chosen See Figure 3 29 on page 139 138 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy E Add column to SpreadSheet view Y Initiator to Target Target to Initiator Combination of data ao Display data payload icon 7 Display protocol error icon C Apply
163. ICCD Show Field 00 00 View Fields Add to Trigger PC Copy Frame Host to Device 0x25 Read DMA Ext Collapse All Transport Packets Ceo 3 ns 20 ns DIOE Set Time Stamp Origin Absolute Color Trigger Time Stamp Format Current Position Gato Based on system time Figure 3 116 Set Time Stamp Origin Trigger Highlight Set Time Stamp Origin and choose either Absolute Trigger Current Position or Based on system time Example Trigger Mode An example Trace showing the Time Stamp set to Trigger Mode in both the Packet View and the Column View is shown below in Figure 3 117 B File Setup Session Analysis Navigation View Window Help lel xi E Traine Vienne o econ nimi sis t via PBL CX Kio l elm AMA swt AAA OQ mm del Transport gt 115G LBA Mid exp H LBA High exp H Features exp H Sector Count H Sector Count exp H KC n Control H Auxdlary 7 0 H Auxilary 15 8 H Auxilary 23 16 H Auxibary 31 24 H CRC H 4 00 00 00 00 73E6DFF9 Ii i FIS Type PM Port M C H Command H Features H LBA Low M LBA Mid H LBA High M Device H LBA Low exp M 0 t 93 82 T 08 0x27 Register Host to Device 0 1 00 93 92 08 40 08 00 00 04 00 HCEM 00 00 E i E i E FIS Type ATA Command LBA H SecCount 4 Link Data H a NETS 7 0x27 Register Host to Device 0x25 Read DMA Ext 00000808929 104
164. Insi PA SL Reserved 1 000005 00 00 00 00 0x00 0x00 0x00 0x00 0x00 0x00 0x000000 000006 00 00 00 00 0x00000000 CRC 000007 41 55 13 31 F 2 Oxa1551331 SEEN Figure 3 38 Frame Inspector View 146 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Field View Display Manipulation If you select Field View each Field and it s Value for the selected Packet will be displayed see Figure 3 39 m File Setup Session Analysis Navigation View Window Help RUM BALE OU r m _o D O E O i E 4 Transport SMP Frame Type Func Alloc 2 Len H ReqLength H Jreserved H Starting phy identifier M gt T MI 7 0x40 Request 0x20 Discover list A J aum 06 00000000 Resenyed H Reserved H Maximum number of discover Est descriptors H cn AY APA ATAN 0x0 Discover 0 00000000 000000000000000000000000 S70SEEOD 37 ns E All Fields are Shown Field Field M OSEA E e 0sme Frame Request Expand Al Source SAS Address E SMP Frame Type Collapse All Destination SAS Address El Func Show Field SMP Frame Type 0x40 Request Alloc Resp Len Func 0x20 Reserved For SMP input Functions Z dx SMP Frame Request El Req Length Hide Field Reserved 0x00000000 Starting phy identifier 0x00 Figure 3 39 Field Inspector F
165. K RESERVED 2 CREDIT BLUCKED AAC NORMAL RADY RESERVED 0 RADY RESERVED 1 AIP NORMAL AIP RESERVED 0 AIP RESERVED 1 AIP RESERVED 2 AIP RESERVED WAITING ON PARTIAL AIP WAITING ON CONNECTION E EJE w x Cama 2 Figure 4 32 Example 1 Event Drop Down List 8 Click OK to close the Event Properties dialog box Sierra M6 1 SAS SATA Protocol Analyzer User Manual 321 Teledyne LeCroy Summary of Scenario Creation 9 Inthe Global Rules area click the prompt to add an action 4 Remove RRDY Normal Mo action specified Far the event RROY NORMAL From Initiator in Global Rules Click here to jump to Ehe p Scenario Name Remove ERDY Normal Description Wait for BRPDY Normal and remove it Direction for traffic changes From Initiator Global Pules i Wait for RPDY NORMAL from Initiator Click here to m action Click here to add a sequence E For Help press F1 Figure 4 33 Example 1 Entering an Action The Action Properties dialog box appears see Figure 4 22 on page 308 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 4 Remove RRDY Normal m Scenario is valid gt Scenario Mame
166. MAL AIP RESERVED O AIP RESERVED 1 AIP RESERVED 2 AIP RESERVED WAITING ON PARTIAL AIP WAITING ON CONNECTION AIP WAITING ON DEVICE AIP WAITING ON PARTIAL ALIGN D Cancel Figure 3 83 SAS Choosing a Primitive Sierra M6 1 SAS SATA Protocol Analyzer User Manual 179 Teledyne LeCroy Analysis User Defined i x Primitive Figure 3 84 SATA Choosing a Primitive Check a Connection Type option radio button if available and click OK Zoom You can Zoom from x1 to x256 3 3 16 Bus Utilization View The Bus Utilization View displays information on pending IO IO Throughput Latency Time and Response Time To display the Bus Utilization View of the current capture Select Analysis from the Main Toolbar see Figure 3 85 dei File Setup Session Navigation View Window Help S E Traine Y lar Deco Assianmen p us EX n3 di x oo ee a RARA Packet View Spread Sheet View ES Column View B Text View ig Statistical Report ll Histogram wa Bus Utilization ES ba zi s SAS Verification Compliance Test fa VSE Figure 3 85 Analysis Bus Utilization Dialog then select Bus Utilization View or click the button on the main tool bar 180 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy This will bring up the Bus Utilization Toolbar see Figure 3 86 which has the following functions File Setup Session Analysis Navigation View Window Help Gp E lt
167. MOLE PO arc NA naweninesacaeaaamaeetscuneiees 225 MUILIDIG F ONS aire a a aE Ea a A a a 225 244 Packet VIEW POOIDAN nuncio das 225 3 11 GATCG Navigation VIEW isisitaa M M 227 3e PEE Aaa ne ea nT E p M EK MIEL INI PI N 228 Delo WECOGE ICONS oo 228 SA GUSLOMIZE DIS urna 229 Rename Porn 229 Select and Apply Show Hide Port Mode ooccoccocccoccconconccncconnconccnaconanonononrnnncnnnrnaronnrnnnrnnrennrnanennrs 229 ShowiHide Field iii A A FREU SEP MEN PU E WR EL ELE 230 Related Frames ci 231 Byte OrdET m M 232 Choose Data Formal sse asm is peus Eo a EA SPEM cH OE E M MEIN ME EE EDS EM MEE EQEEEEE 232 SJ PANN DD Ae eT Em 233 O RO a Uni 234 2 9 WOO DS ci ii 236 29 94 Enabling TOO Ba St baaa 236 3 9 2 Cursor POSITION Status Data T NER UR cue FOE RR cus ER A a A aaa 236 2 10 AUN Sls a cats UE 237 9 10 1 Sea eh Stals ao 237 8 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Contents Teledyne LeCroy 3 11 Using the Cursors and BookmarksS oocccoccocncoccconcocccocnconccnncnnncnnnconccnnrnnnrnnnennrennrnnnrnanenanos 237 5S au fen NL GSU gro Saad a 237 POSITIONING Ine X CONS Ol ainia 237 TIME ee 237 3 12 Display Configuration iaa 238 3 12 1 Trace Viewer CONTGUIALIONN ie 238 PICA eN O DR 240 Field Header Seting iaa ae ireduitu sx oaa veau Fevwiluck dui evi a OaM UV oV VE ME 241 WIGWEN SENO ertt 241 Dala AV IO
168. Milli Micro Save Trace Viewer Configuration in a file Load Trace Viewer Configuration from a file Factory Setting restores default settings Font opens Font dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual Display Configuration Teledyne LeCroy 1 Geb o o bo b o o o o o o D o 4 4 4 9 Trace Viewer Configuration LATE Packet View Frame Fields Idle Fields Trans Fields ATA Com Fields SCS Op Fields Data Fields Queue Cmd Fields Phy Reset Fields Data Display Units LAC Time Others Protocal Address Frame Primitives SSP Frame SMP Frame Out OF Band Signals STP FIS Channels ATA Command SCSI Corn Task Mng Sierra M6 1 SAS SATA Protocol Analyzer User Manual Field Setting Format visible Field Header Setting C Mame C Abbreviation Foreground Data Payload Columns im Aow 16 Column Bytes in Colum 1 Bute Viewer Setting e wrap Packet e Enable Tooltip Time Stamp Origin C Absolute Trigger User Define C Based On System Time Headers Enable Packet View Condenze Mode Time Stamp Farmat Lecray Format vw Same color for start time and port Save Load Factory Setting Font o Cancel Figure 3 154 Trace Viewer Configuration Teledyne LeCroy Display Configuration 240 Field Setting To view a packet field select a field from the packet field tree and check the Visible box Uncheck i
169. N C Program FilessLeCrov 5 EBEN C Program FilessLeCrov 5 Update All EBEN C Program FilessLeCrov 5 EE C Program FilessLeCrav 5 EBEN C Program FilessLeCrov 5 EBEN C Program FilessLeCrov 5 i iles L eCray s lose Figure 3 173 Device Setup Dialog with DONE Device Status Sierra M6 1 SAS SATA Protocol Analyzer User Manual User Defined Decoding Teledyne LeCroy 3 20 User Defined Decoding User defined decoding allows you to create a definition file to interpret commands and frames that are not in the standard set recognized by the software Select Setup gt User Defined Decoding to open the User Defined Decoding dialog See Figure 3 174 ATAPIA SCSI Commands Fl ATA Commands IF ssp Framers E stp Framers SMP Frames TOG UDD Scripts Level Discovery TOG Features ComPacket Sub Packet El El Packet El El Payload Set as default Figure 3 174 SAS SATA User Defined Decoding SAS adds SCSI Commands SSP Frames and SMP Frames Select one of the script types and click on the tab See Figure 3 175 on page 260 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 259 Teledyne LeCroy User Defined Decoding User Defined Decoding en a ATAPI amp SCSI Command s ATA Commands SSF Frames El o TF Frames El SMF Frames T TOG UDD Scripts Level 0 Discovery Ms TOG Features E ComPacket Packet a a m Sub Pac
170. NON AP 72 215 WRIO GER Clinica 72 PAP BOR ES Trl riatoimii roro att 73 2 19 2 Manual Trigger MOJE s dris a a a ANa tinned iau aS a E 73 2 13 3 ANY Trigger in Pattern Mod rn a EE E RrwL eR eo E Eu PR RES 73 2 13 4 Choosing ParamelGer iii AAA AAA AA AAA AAA AAA 76 2 1320 TIridderingr on a TIMO A A as 76 ZV SO Tri Tolg tert e tic ccidada 76 EXterhallMantal Trigger sirnana aO a Aa aT 78 BUS CONAM a ina 78 SV MDO bacan iaa 79 PrI A AA A o o EO aa a TENO ENO 79 ATA A E E E A 81 ATAP ledi E a aia 82 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 3 Teledyne LeCroy Contents BricWu ulil M E O 83 TRAINING SEQUENCE em 84 PTOLOCON ENlOrs citrated iawn a a a a aa a a E 85 SIP Frame SAS A O E a OE E EE aE 86 Address Frame SAS Only jarra a ita 87 SMP Frame SAS ONIY Jonina aa a a e N 88 SOP Frame SAS ONIY Jorrai OOA REE eaves 89 SCSI Gommand SAS Ve 90 FIS Frame Information Structure SATA Only ooooccoccconncocononoconoconcnconaconaronaronannonaronaronarcnannnnnnenanenas 91 2 19 7 S TP Frame Pato Miura coo quae ruso Edo Cu Peew Y Eo oder 92 ATA Command Pattern SATA Only 1 i ctas e ua ov ecacus cias 92 Soft RESCE SATACONY ai dl odian 93 2 13 9 gt equential Trigger ModE uta A da 93 A E 94 DETINING Patterns nd A A A 94 A perro CN PN TTE TUNE 95 POs ree ges c 96 AI Adus emeret e 97 2 14 1 Memory Settings ssc ae riaa ea a arna a rikar Ini eiea E E Eae AEE E Ei 97 Tigger POS Il OO
171. NW TELEDYNE LECROY Everywhereyoulook Sierra M6 1 SAS SATA Protocol Analyzer User Manual ae Ld Sierra BLUR SAS SATA 6Gbps For software version 5 95 Generated September 23 2015 09 36 Teledyne LeCroy Protocol Solutions Group Trademarks and Servicemarks Teledyne LeCroy Teledyne LeCroy Protocol Solutions Group CATC SAS SATA Protocol Suite SASTracer SATracer SAS Trainer SATrainer SASTracker and Avalanche are trademarks of Teledyne LeCroy Microsoft Windows Windows 2000 and Windows XP Windows Vista and Windows 7 are registered trademarks of Microsoft Inc Intel and Pentium are registered trademarks of Intel Corporation All other trademarks and registered trademarks are property of their respective owners THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE ALL INFORMATION EXAMPLES AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE REPRESENTED WITHOUT WARRANTY OF ANY KIND EXPRESS OR IMPLIED USERS ARE FULLY RESPONSIBLE FOR THEIR APPLICATION OF ANY PRODUCTS THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN INFORMATION THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY CONTACT TELEDYNE LECROY FOR A COPY 2012 Teledyne LeCroy Inc All rights reserved This document may be printed
172. OxFOEZ 01 S a2 EN E Figure 4 5 Ports Configuration Dialog with InFusion Analyzer Port Match Note To display the current Port Configuration click Show Analyzer to go to the analyzer application then click the green button in the lower right corner to display the Port Status window see Port Status on page 234 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 289 Teledyne LeCroy InFusion Scenarios 4 4 InFusion Scenarios You can create and execute InFusion scenarios A scenario is a test script that defines how InFusion monitors and modifies line traffic 4 4 1 Scenarios Overview 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 is in the form of simple English sentences You need not understand any formal scripting language see Figure 4 6 and Figure 4 7 on page 291 To start Select File gt New Scenario as shown below Teledyne LeCroy InFusion Error Injector and Traffic Modifier Fite Setup View Configuration Tools Help J E New Scenario Ctri N Analyz Open Scenario is Open Launch Analyzer Lp Launch Trainer New Batch Script Save Batch Script As New Library Close Library Save Library gt Save Copy of Library As Open Log File
173. P PIEH ACT AY A BY 87 A SR TE me SERBS ORRE UE 3 95 RAE sci AR aM Toxic or Hazardous Substances and Elements Polybrominated Cadmium Part Name Hg Cd HE PCBAs Mechanical Hardware Sheet Metal Plastic Parts Power Supply Power Cord BED Protective Case if present o0 Cable Assemblies 1f present Fans 1f present 10 O X O a Ext Power Sup p ly it Probes if present 1 B sel z n d i O o Lx PP Polybrominated Diphenyl Ethers O Indicates that this toxic or hazardous substance contained in all of the homogeneous materials for this part is below the limit requirement specified in 51 T1 1363 2006 X Indicates that this toxic or hazardous substance contained in at least one of the homogenous materials used for this part is above the limit requirement specified in J T11363 2006 EFUP Environmental Friendly Use Period Use Conditions Temperature 5C to 40C Humidity 555 to 95 max RH non condensing Altitude Up to 2000 meters Sierra M6 1 SAS SATA Protocol Analyzer User Manual 361 Teledyne LeCroy WAN Operation 6 1 WAN Operation WAN connected operation is supported Contact factory for details of operation Refer How to Contact Teledyne LeCroy on page 363 for contact information 362 Sierra M6 1 SAS SATA Protocol Analyzer User Manual How to Contact Teledyne LeCroy Type of Service Contact Call for technical support US and Canada 1 800
174. P Frame T 51 4 53333330 us 17 7 02 SMP Frame I gt T 1 81333339 us 17 7 02 SSP Frame T gt 1 23 12000084 us 53 21 90 SSP Frame I gt T 14 48000050 us 35 14 46 STP Frame T gt I 85 89333344 us 34 14 05 STP Frame I gt T 7 03999996 us 17 7 02 0 00015528 242 100 00 STP Frame 7 03999996 us STP Frame T gt I 85 89333344 us 34 14 05 SSP Frame I gt T 14 48000050 us 35 14 46 SSP Frame T gt I 23 12000084 us 53 21 90 SMP Frame I gt T 1 81333339 us 17 7 02 SMP Frame T gt I 53333330 US 17 7 02 Open Address Frame I gt T 18 39999962 us 69 28 51 0 00015528 242 100 00 Figure 3 78 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 177 Teledyne LeCroy Analysis 3 3 15 Histogram View The Histogram View displays a histogram of frame type transfers To display the Histogram View of the current capture click View gt Histogram View or click the im dy tus Viraj Buades zom E gt A ee Ma P y button on the View Type toolbar x gt gt H Figure 3 79 Histogram View Hide Frames You can customize the histogram by including only frame types that you want To choose frame types to include in the display click the down arrow on the Frame button on the Histogram toolbar and check frame types STP Frame STP Read Data STP Write Data SSP Fram
175. P Read DMA Ext 0x2895A3 0x4 2048 Normal Output 10 202867 ms 0 191429 0 055629 1 189 639 252 ms 5000628000001074 50060560000003C4 STP Write DMA Ext OxEGBAAF 0x4 2048 Normal Output 103 973 335 us 18 784865 18 073873 1 189 787 155 ms 5000628000001074 5006056000000324 STP Read DMA Ext 0x4628901 0x4 2048 Normal Output 33 297 653 ms 0 058657 0 077144 1 223 139 648 ms 5000628000001074 50060560000003C4 STP Write DMA Ext 0x2115C7B 0x4 2048 Normal Output 10 885680 ms 0 179422 0 531570 1 Figure 3 64 Statistical Reports Read Write Command Sierra M6 1 SAS SATA Protocol Analyzer User Manual 167 Teledyne LeCroy Analysis SAS Address Command Report To display the SAS Address Command Report click the SAS Address tab see Figure 3 65 on page 168 The SAS Command Address Report displays the report data in columns with the following information O Source SAS Address All Custom Number O Destination SAS Address All Custom Number Q Protocol Type All Custom SSP STP SMP O Frame Type All Custom Data Response Command XFER RDY Register Device to Host Register Host to Device DMA Activate Task Request PIO Setup a Count All Custom Number B File Setup Session Analysis Navigation View Window Help gt ed Y Traner Y Jammer ME Reco x a n also al pP YO ARIAL mon 168 1 RASO PLD General Primitive SSP Transport SMP Transport FIS Source SAS Address ATA Command SCSI Command SMP
176. Primitive SSP Transport SMP Transport STP Transport ATA Command SCSI Command SMP Command Task Command Read Write Command 545 Address Protocol Error Performance Lanes Others Primitive Bus Condition ATA Command Read Write Command Performance Others Check All Reset All Figure 3 73 SATA Statistical Report Column Setting 174 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Link With Sample View When you select a type on any page of the Statistical Report a set of navigation buttons allows you to examine each instance of that type in the Sample Viewer 4 gt 3 of 137 Register Host to Device FIS The Jump to Previous button goes to the previous instance of the selected type in 4 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 Cursor Y Cursor or None 3 3 14 Formatting the Statistical Report View Initially the Statistical Report View contains all of the information in columns but you can customize the display by a Filtering columns by item a Sorting items by column a 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
177. R ER FNEP EE ai Aan ace 131 2 95 9 Changing tne Detal VIGW nano nie eed cuter e veros A oOx io va s cu S aO CoA La So vu ve dn CERES 132 32 9 0 Ubdating UNG Works Pace cara oa 133 9 9 Spreadsneet VIEW irana O ausaeemweneese 136 Spreadsheet View Column Add Edit Delete oooccoccoccconcconcocnconccnnconnconconanonnnnnncnnronarnnncnnnenanos 137 Primitives Displayed in Both Spreadsheet and Packet Views 140 EXDOIt AS T6XUEXEGI 2 ie tiae equ doo oi 141 Change Format of Logical Block Address LBA ceeeeeeeeeeeeeeeee enne nen 142 Spreadsheet VIEW Context Medline aaa 142 32 3 0 COMITE We caian 143 RESIZO COMUNAS ss 144 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 5 Teledyne LeCroy Contents Rearrange COMAS cian lin 144 e O O A ene E 144 Text View COMLEX CIVIC INU di 145 3 93 10 Frame Inspector VIEW die 146 SPEC VOW oo E N 146 FISIA VIEWS 146 Field View Display MANIPULATION aan sa 147 2 9 11 WaVeloriti DISDIAY eai a a TUR r E AN CERE 148 Making a timing Measurermerit ioececesezes ee ove ex odo nuc o Ee caue v epe x Ce kYv a vean ea VIEN Ee VO kd Opa oe Eu E v ON en VUo e nenna 148 Expanded Waveform VIEW ira ta 149 Performance Reference Definitions iia 149 3 3912 SlallStiCal RepDOLFL 5 ioiieit eese o vu du EY ua Eee Ex TS a 150 Generating Statistical Read Write Report eeeeeeeeeeeeeeeeeeei
178. Reserved 0 Test 1 hab Description Replace BRODY Normal w ERB R If BDDY Reserved 01 Inject PD Error Direction for traffic changes From Initiator Global Fules Wait for BEDY NORMAL from Initiator then Substitute with ERROR ie Wait for RADY RESERVED 0 from Initiator E Click here to add an action iid here xo ada anacron For Help press F1 lt Figure 4 39 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 4 RDDY Normal amp RDDY Reserved 0 Test 1 box Scenario is valid Scenario Name BODY Normal 4 BODY Peserved 0 Test 1 gt Description Peplace BODY Normal vsERROR If BODY Reserved 0j Inject PD Error Direction for traffic changes From Initiator l Global Fules Wait for BRADY NORMAL from Initiator then Substitute with ERROR Wait for BRDY RESERVED 07 from Initiator E then Inject Punning Disparity Error 4 For Help press F1 Figure 4 40 Example 4 Complete Scenario 9 In the File menu select Save Scenario to save the scenario 326 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Summary of Scenario Creation Teledyne LeCroy Example 5 Multiple Actions on a Single Event In this example an event triggers a set of actions The actions occur at the same time The device waits for an ACK from t
179. S SATA Protocol Analyzer User Manual Summary of Scenario Creation Teledyne LeCroy H Branch to Capture Data Dword Inject In e Internal Trigger b Marker Monitor Count H Remove H Restart H SNW Stop Scenario Substitute Trigger Output Properties Type Description Random Every Nth occurrence Monitor Count Internal Trigger Index Internal Trigger Index Figure 4 26 Internal Trigger Index Example of Using Internal Triggers to Stop All Scenarios The example scenario can be generated to use any of the internal triggers to stop all scenarios When this scenario New Scenario 1 is run on all ports as soon as any port finds the 500th occurrence of SSP Command Frame the scenario will stop on that Port and send an internal trigger signal to all other ports This internal trigger will then cause the scenarios running on any other port to stop The commands used in the script are shown below lt Global Rules waits for Internal Trigger Event then stop scenario gt lt Sequence waits for SSP Command Frame then Internal Trigger Action and stop scenario gt The commands to generate this scenario are shown below see Figure 4 27 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 315 Teledyne LeCroy Summary of Scenario Creation 316 4 9 2 4 New Scenario 1 Scenario Name New Scenario 1 Direction for traffic changes From Initiator Smart Hold Yes
180. SATA Protocol Analyzer User Manual 183 Teledyne LeCroy Analysis ol Suite N Sample scs iB j File Setup Session Analysis Navigation View Window Help GF El Traine Wiamme 65 5 m n EI RIpsies s P Oe AAA en y E Ean Dues ce Trp App w CQ o we SB se adl Sy a i a oe SUP itor Por 0x0 Identify 0x1 End Device 0x0 Unknown reason SAS Address H reverts eer o ns H Inside ZPSDS Persistent H S000E8s000000001 5000E85000000001 0 SLUMBER CAPABLE H TN Link Data H 3 E Duration 5 0 000000 ms OxFFFF 0 000133 ms Address Frame Type Device Type Reason 0x0 identify B Edge Expander Device 0x0 Unknown reason SMP Initiator Port H STP Initiator Port H SSP Initiator Port H Restricted H SMP Target Port H STP Target Port H SSP Target Port H TIED VEL F 0 0 0 Device Name A SAS Address H Phy Identifier H Break Reply Capable H Requested Inside ZPSDS H Inside ZPSDS Persistent H TINI 50060560000003C5 07 0 0 0 YO E 400 600 800 1 000 1 200 1 400 1 600 1 800 2 000 2 200 2 400 2 600 2 800 3 000 3 200 3 400 3 600 3 800 4 000 4 200 4 400 4 600 4 800 Time ns Hi w eo r SCSI IO Latency Time 20 200 400 600 800 1 000 1 200 1 400 1 600 1 800 2 000 2 200 2 400 2 600 2 800 3 000 3 200 3 400 3 600 3 800 4 000 4 200 4 400 4 600 4 800 fime ms lt Lg SCSI IO Response Time ee 200 40
181. Send Cue Sheet 2 Goto Label6 Run S N 212871 Port ay 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 4 14 7 Stop Stops running scenario by hardware and port name Format Stop Serial Number Target Port Parameters e Serial Number Serial number of hardware e Target Port Port number in port map Example Eun ox00920 InJject CRCODOM 2 Beep 700 500 Scop ox008Z0y 2 Goto Label3 Labels is Runiox005007 Detecrc DATA 38 Sleep 40 4 14 8 WaitForStop Used to wait for occurrence of specified condition Format WaitForStop SerialNumber Target Port Duration Parameters a Serial Number Serial number of hardware Q Target Port Port number in port map Q Duration Integer or random duration in milliseconds In the Command Parame ters Window WaitForStop duration has three options m Infinite Wait until Stop command m Random Stop after a random time m Finite time Stop after specified time in milliseconds 354 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Batch Files Teledyne LeCroy Example Run ox001267 Detect AddressFrame Open 2 WaitForStop 0x348790 2 Forever Run Ox005007 Detect DATA 4 WaitForStop ox005007 4 Stop OxODIZOJ 2 HS Command Parameters 100 Run Serial Number S N 12871 IflsStop Port iv 1 Beep Duration Inf
182. Set as Second Data Payload Copy Data 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 BB Show Hide Compare 2 Data Payloads button on the View Type toolbar LeCroy SAS Protocol Suite LSI Expander PowerOn SAS scs El File Edit View Configuration Project Setup Filtering Report Tools Window Help PE LZ Gi QE 0 neos Ban SA q E s pp o x R c 29 OF zz d EB eS un a B B P m efes o gt ix vp e D TTE i lig 1 04 716 444 386 min Payload Data 4096 Bytes Task Attribute 52 43 52 44 28 0009 00 ED 21 8000 gt 0x0 Simple 0209 Hex O ASCII Layer Transport Layer Transport Packet No 2142 ef Packet No 2141 X to Y O ns X toT D ns Y to T D ns For Help press F1 TxVout Disabled Initiator Emulator Stop Target Emulator Inactive Simulation Mode Stop Figure 3 97 Compare Two Data Payloads 190 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trace Expert Teledyne LeCroy 3 4 Trace Expert Trace Expert generates the following reports and analysis for the currently loaded trace a Performance Analysis O Error Reports a Trace Analysis Statistics Q Trace Information To use Trace Expert load a saved Trace that you are interested in examining In this case the Trace SAS 12G scs has been loaded This trace is used as an
183. Settings dialog Rx Tx Settings a mi AAA ut E E AAA d Input signal equalization Output pre emphasis Restore Factory Settings Short time constant 2 GHz 2 dB Output Pre Long peere SE _ _ ave Medium time constant 800 MHz OFF Pre emphasis level OFF Long time constant 300 MHz 4 dB 5 Pre emphasis decay 500 ps pamm Auto Calibration Output Pre Short Output power level 800 mv i Pre emphasis level 5 8 dB hil Loss of signal 130 my Pre emphasis decay 200 ps Port Status Copy Selected Port Settings to All Ports 3 Number of errors per second 0 Start Reading Ports Status Close Figure 3 161 Choose Port for TX Vout Port displays ports to select from Copy Selected Port Settings to All Ports implements one port s setting into all other port settings Input signal equalization allows you to select values for Short time constant Medium time constant Long time constant Output power level and Loss of signal from the drop down menu Output pre emphasis Output Pre Long allows you to select values for Pre emphasis level Pre emphasis decay from the drop down menu Output Pre Short allows you to select values for Pre emphasis level Pre emphasis decay from the drop down menu Port Status displays number of errors per second Apply applies the selected settings Start Reading Port Status implements reading of number of errors displaye
184. Status Time The time between the end of data transmission for this command and the Status frame Thrpt MB s Data Throughput The payload divided by response time expressed in MB per second Duration The time taken from the first DWord to the last DWord in a line Note Results are displayed only for items that have been captured in the sample Report Options Some report categories offer options which display only specific items The tabs shown in the examples below depend on the specific Trace loaded These report categories incorporate drop down list boxes offering pre defined and custom options For details see Formatting the Statistical Report View on page 175 General Report To display the General Report click the General tab The General Report displays the report data in columns with the following information Type of Frame Port Type Duration Count and see Figure 3 50 File Setup Session Analysis Navigation View Window Help gt bel lt Tene Y Jammer QE A eS g To Z Bgn Tto General Primitive SSP Transport SMP Transport FIS ATA Command SCSI Command SMI Type Port Duration Count Figure 3 50 General Statistical Report Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Q Type contains All Custom FIS Open Address Frame SSP Frame Identify Address Frame Incomplete Frame and SMP Frame see Figure 3 51 File Setup S
185. T3 3 0 0 0 0 0 0 0 0 74042824 ms 12 54 i 0 0 0 0 8 0 9 0 0 73 889 481 ms 1251 T4 17 0 0 0 0 0 0 0 0 74 013557 ms 12 53 44 0 0 0 14 0 12 0 8480 590 593 933 ms 100 00 Figure 3 68 Statistical Reports Lanes Report Pending l O Report To display the Pending lO Report click the Pending lO tab see Figure 3 69 The Pending IO Report displays the report data in columns with the following information Q Pending lO All Custom SCSI or ATA O Max Pending IO All Custom or Number Q Ave Pending lO All Custom or Number mj File Setup Session Analysis Navigation View Window Help E Tene Y Jammer 98 en iB lisis A PRYOR R MLY Sln Ol BoM E 5 SQSR eI aie Move x Cursor General Primitive ssP Transport s SMP Transport FIS ATA Command SCSI Command SMP Command Task Command SAS Address Protocol Error Performance Lanes Pending IO Pending lO Max Pending IO Avg Pending IO 1 03 2 Custom 2 1 80 SCSI 0x500062B000001074 gt 0x5000C500001047B5 1 1 00 SCSI 0x5000E85000000001 gt 0x5000C50000103D91 1 1 00 ATA 0x500062B000001074 gt 0x50060560000003C4 1 1 00 SCSI 0x5000E85000000001 gt 0xE9AESE SCSI 0x500062B000001074 0x5000C50000103D91 Figure 3 69 Statistical Reports Pending IO Sierra M6 1 SAS SATA Protocol Analyzer User Manual 171 Teledyne LeCroy Analysis Others Report To display the Others Report see Figure 3 70 on page 172 click
186. TA Protocol Analyzer User Manual Summary of Scenario Creation Teledyne LeCroy 4 UK ACK Inject Error b x Scenario is valid Status Mot saved Scenario Name If ACE Inject Error 3 Description Wait for ACK inject error Direction for traffic changes From Initiator Global Fules Wait for ACK from Initiator Click here to add combined event then Inject Bunning Disparity Error Click here to add another action Click here to add another ewvent aide here to a anouhetggvente Click here to add a sequence bus For Help press F1 CAP MUM SCRL Figure 4 43 Example 6 Entering the Second Event The Event Properties dialog box appears 4 Inthe Type column on the left choose Timer Set the timer for random timing with a maximum time limit of 1 790 seconds 5 Click OK to close the Event Properties dialog box 6 Click the prompt to add an action to correspond with the second event 4 Tf ACK Inject Error If ACK Inject Error box Mo action specified For the event Random Timer Max Time 1 790 sY in Global Rules Click here to jump to Eh Status Not saved Scenario Name If ACK Inject Error 3 Description Wait for ACK inject error Direction for traffic changes From Initiator Global Bules lil Wait for ACK from Initiator Click here to add combined event then Inject Bunning Disparity Error Click here to add another action d Wait for Random Timer Max Time 1 790 s lt C
187. Task Command Read Write Command SAS Address Protocol Error Performance Lanes Pending IO Others Type Port Duration Count All All E z FIS 2 413 466 45 ms 394 5 33 FIS Custom 3 552 093 51 ms 301 4 07 FIS D 3474 373 34 ms 299 4 04 Open Address Frame T2 933 333 374 02 ns 7 0 09 Open Address Frame T3 1 200 000 05 us 9 0 12 Open Address Frame n 179 666 656 49 us 1347 18 22 Open Address Frame n 116 959 999 08 us 877 11 86 Open Address Frame B 116 800 003 05 us 876 11 85 Figure 3 49 Analysis Statistical Reports Showing Ports General Primitive SSP Transport SMP Transport FIS ATA Command Queue Command ATAPI Command SCSI Command SMP Command Task Command Read Write Command SAS Address Protocol Error Performance Lanes Pending IO Others DOODODDODDO DO oDoOoO oo o O O Performance Reference Definitions Trp No Number of Transports The total number of transports that compose this exchange Resp Time Response Time The time taken to transmit this command on the link s from the beginning of the first frame in the command to the end of the last frame in the command Pld Bytes Payload Bytes The number of payload bytes this operation transferred Latency Time The time measured from the transmission of the command to the first data transmitted for this IO operation Sierra M6 1 SAS SATA Protocol Analyzer User Manual 153 154 Teledyne LeCroy Analysis Data Stat Time Data to
188. Trainer W Jammer NES O Fecod E H EG 8 1 RUARI General Primitive SSP Transport SMP Transport k Chalo T 3 VI ransport ATA Command Type Count Custom T2 4 293 333 53 us 25 Request 6 266 666 89 us 50 Response Figure 3 56 SMP Transport Report Sierra M6 1 SAS SATA Protocol Analyzer User Manual 159 Teledyne LeCroy Analysis FIS Command Report To display the FIS Command Report click the FIS Command tab see Figure 3 57 The FIS Command Report displays information in the following columns a FIS Types All Custom Register Host to Device Register Device to Host DMA Active PIO Setup and Data Q Port See Figure 3 52 on page 155 All Custom I1 T1 12 T2 13 T3 14 T4 a Count All Custom or a number of occurrences Q 96 Percentage of total count File Setup Session Analysis Navigation View Window Help SE Q tone Y Jammer 6 m u Ble 25 1a PRR e 5 RASROTIS Move Cusor General Primitive SSP Transport SMP Transport FIS ATA Command SCSI Command SMP Command Task Command FIS Type PM Port eee Count All 335 506 652 83 us Custom 0 2 439 999 82 us 0 10 Register Host to Device 0 189 240 005 49 us 15 88 Register Device to Host 0 i 160 893 341 06 us u 14 17 DMA Activate 0 T2 40 599 998 47 us 40 4 02 PIO Setup 0 T3 61 639 999 39 us 55 5 53 Data l 0 T3 2 346 666 57 us 1 0 10 Data 0 2 764 986 694 34 us 95 9 55 Data 0 T2 1 490 373 25 ms 103 10 35 Dat
189. TrigOut pulse width field supports increments of 16 ns starting from 64 ns and up to 1024 ns External Trig In Setting An external Low or High input signal can cause triggering Select the External Trig In Setting High Active Low Active or Toggle from High to Low or Low to High once 3 3 V output 3 19 Update Device The Update Sierra Device command allows you to update a Sierra M6 1 Analyzer or CATC Sync expansion card whose current version is incorrect 1 Click Setup Update Sierra Device to display the Device Setup dialog see Figure 3 170 on page 257 256 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Update Device Teledyne LeCroy Dev Name Type Cur Reg Status File Name Update Selected Sierra Firmware 1 06 1 06 GE C Program Files LeCroy s Sierra Analzers 1310 1310 POE C Program FilessLeCroy 5 Update All Sierra Emulators 2310 23 10 POE C Program FilessLeCroy 5 Sierra Analyzer 3310 3310 BENE C Program FilessLeCroy 5 Siera Self Test 4312 43 12 MBE C Program FilessLeCroj 5 Sierra Infusion 53 20 53 20 BAN C Program FilessLeCroy s k Sierra Trainer 63 01 63 00 MON C Program FilessLeCrov 5 Figure 3 170 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 and name to display an Open di
190. Type SMP Frame Type 0x40 Request Maximum 3 Func 0x20 Reserved For SMP input Functions E Phy filter Hide Field Function E bx SMP Frame Request El Reserved Allocated Response Length 3 Ignore zone group Request Length Bn Figure 3 40 Field Inspector with Fields Hidden Sierra M6 1 SAS SATA Protocol Analyzer User Manual 147 Teledyne LeCroy Analysis To display the Hidden Fields simply select them in the Show Field box They will then be displayed in both the Packet View and the Field View 3 3 11 Waveform Display You can enable a waveform display for all active ports and perform timing measurements by positioning timing cursors within the waveform display see Figure 3 41 on page 148 IL Select View Wave Form View or click the Show Hide Waveform button on the View Type toolbar to enable the waveform display The Compact View shows the OOB Sequence with speed negotiation iv Compact ajo la pe T SNW 1 Y COMINIT COMSAS AA AAA hr e Figure 3 41 SAS Waveform View iv Compact la pe D COMRESET COMWAKE H1 il COMINIT COMINIT COMINIT COMWAKE i 1 Jl aL Figure 3 42 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 mouse button
191. User Manual 15 Teledyne LeCroy Features Sierra M6 1 Analyzers can be linked together in cascaded configurations to provide additional recording channel capacity or used in tandem to combine simultaneous error injection and trace capture analysis capabilities requires two Sierra M6 1 units one protocol analyzer model and one error injector model Separate licenses are required for the protocol analyzer and the error injector The Sierra M6 1 Analyzer provides a full range of views and statistical reports Statistical reports provide event and error counters as well as performance metrics that give users a snapshot into capture The InFusion Error Injector and Traffic Modifier is an error injector and traffic modification tool that allows you to verify real world fault handling The Sierra M6 1 InFusion models perform as a stand alone 1 5 3 or 6 Gb s version allowing engineers to verify error recovery characteristics of their designs An easy pop up menu interface allows the creation of customized test scenarios in just minutes You can program on the fly modifications to any field within any intercepted and changed to a different user frame as the data moves across the link Any primitive or data pattern can be intercepted and changed to a different user specified pattern Examples include support for changing DWORD values disconnecting links and forcing various error conditions such as an intermittent CRC error or running disparit
192. View The Field List View contains information about the selected Packet 3 3 10 Frame Inspector View Frame Inspector View has lots of information that is available in Packet View but not Spreadsheet View so it is most useful in conjunction with the Spreadsheet View This view has the following three tabs Spec View This view shows the Frame as it would appear in the spec with the field names and values spelled out clearly Fields that are too short to clearly contain the description can be viewed as tooltips by hovering the mouse over them Some fields might have a a lowercase e button at the top right corner Pressing this button displays an expanded view of the sub fields in this field Field View This view shows when applicable a hierarchical display of the selected Packet with the relevant fields in each level To open a Frame Inspector View of the current capture select View Frame Inspector View or click the 4 Spec View Field View Xr e YT Hex BO am Address Frame Type Device Type Res Reason Reserved Res SM STP SS Reserved Res SM STP SS Reserved 0x00 identify 0x01 End Dev 0x00 0x00 Unknown rea 0x00 amp 0x00 0x01 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 Device Name 000001 00 00 00 00 n 000002 00 00 00 00 0x00000000 SAS Address 000003 50 00 E8 50 IOUEN 000004 00 00 00 01 0x00000001 Phy identifier Bre Rea
193. WaitForStop Stop Sleep New Script 0 px itch Seript is valid Disabled Run S N 12871 Port 1 DISCOVER Run S N 12871 Port 2 REPORT PHY LOG ERROR Enabled 4 NewScriptO l b x Batch Script is valid E Label IF IsStop S N 12871 Port 1 THEN Beep 40 Hz 20 ms B Click here to add another script command Goto Label 2 Chick here to add another script commana Label 1 ELSE Beep 40 Hz 20 ms Chick here i tasa dd anothor lt r lu Ll as LU utt anotneTt gt 5 CAeTe 1 Goto Label 9 Click here to add another script command END IF Label2 Run S N 12871 Port 1 ZONED BROADCAST Click here to add another script command 4 14 6 Run Runs the scenario on hardware on specified ports If you call this command for the first time and the scenario was not assigned to the hardware and ports before the scenario is assigned to specified hardware and ports and then scenario runs on the hardware Format Run Serial Number Scenario Name Target Port Parameters QO Serial Number Serial number of hardware Q Scenario Name Name of scenario Q Target Port Port number in port map Sierra M6 1 SAS SATA Protocol Analyzer User Manual 353 Teledyne LeCroy Scenario Batch Files Example Run ox841200 Substitute address frame 4 Beep 800 400 Run OX9ALZ00S ORG ImjJect Play 0D 49 WarztBPorStop 0xo0234063 1 150 Run oxo41200 Remove
194. ZO EGIC COMMEN zaia a E A E a EE R 53 LIO ProOjeCiS ean a a eee 54 210 1 Project File TYDOS t M 54 Z 10 2 EXample PLOT ad A A 55 2 10 3 Run an Example Analysis Project iia AS 55 2 11 Patterns and Data Capture SetUp ooncoccconcccncccccoccconccocnccnncnnccnncnnnrnnnrnnrnnnrnanrnnrennrnanrnanenannnnrs 57 Ze Choose a Parameter cina a E E CR RO Gn 58 2 11 2 Exclude Paltterns uento Verse EE Vasa Qa euod EE EDU E FUTT EUR EO g Ea DE Ex E21 D Lula Du uc TnV RR FCR di EG 58 2 11 3 Pre and Post Trigger Data Capture 2 ore erret o ee rura teca hs A EE Saved va ee goo pe PERO rv cs 59 211 4 Denning Patterns ea 60 2 11 Data Pattern ETT TC T E IM RENS 61 CUZ TP POLO GON EITOIS it 61 Protocol Errors Descriptions TE TOT T ERIT 62 SPF FAMe OA puli EE REE 63 Address Frame SAS ONIY orei eb ceviat a pa pares a caren a a e paai aE 64 SMP Frame SAS ONIY ar AA A ed 65 DOP Frame SAS OMY re aa E a a aa aAa a a EEE Nu ERE wu xS 66 FIS Frame Information Structure SATA ONly ocoooncconnccoonconccccoccononaconanononaronnaronnnronanrrnnrrnarenaarenans 66 SIP Fame Pattern ETT IOS T T I Tc 67 FIS Types SAS and SATA usais 67 Register DEVICE O HOSE m 68 Set DEVICE BIS ft 69 DMA PACU ALO TTD TO LO TID IIR 69 DNA ID ion 70 BIS A sate se Sse ee eae eee ee eee a ecco Sree 70 PIO SC UD 71 Dile 71 VE
195. a 0 T3 1 406 359 91 ms 102 10 25 4 454 38671 ms 995 100 00 Figure 3 57 Statistical Reports FIS Type ATA Command Report To display the ATA Command Report click the ATA Command tab see Figure 3 58 on page 161 The ATA Command Report displays information in the following columns O 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 Port All H1 11 H2 12 H3 13 H4 14 or Custom Number of FIS All Custom or a number Payload Size All Custom or a number of DWORDs Status All Custom Incomplete Normal Output Timeout All Custom N A Yes No see Time out of ATA Command Report on page 161 Duration All Custom or time unit Count All Custom or a number of occurrences O Percentage of total count DOOUOCD O O 160 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy ei File Setup Session Analysis Navigation View Window Help e ad Q Tener Y Jammer We e o mH 518 1 9910 se Am P PY ODER EE xi ni E a eb wy T Lb gt 1 of 94 Write DMA Ext ATA Command Move X Cursor v General Primitive SSP Transport SMP Transport FIS Command PM Port Port Number of FIS Payload Size Status Time out Duration Count Alc All vr All wj All v Al sS All ww A v All 0 4 2048 Normal Ou
196. a 97 Pre Trigger Capture tab 59 Primitive dialog 60 79 Primitive Manipulation 284 primitive report 156 primitive response timeout 99 Print Preview button 173 project examples 55 file type definition 54 notes 103 settings 97 112 project note 103 Project Tree 41 projects 54 protocol error mask 100 Protocol Analyzer 28 Protocol Analyzer setting 246 protocol error report 169 protocol errors 61 Protocol Errors dialog 61 85 Q Quick Start manual 17 Quick View 120 248 R random data pattern 116 Read Write report 167 Rec Analyzer command 285 Refresh append to the list of found devices 247 Refresh Device List 26 register device to host FIS 67 68 relative time display 44 Remove Device 25 Rename Title of Port dialog 229 renaming port 229 Repeat decoded command in frame column 252 Reset clear the list of found devices 247 Response frame 231 Reverse Link Data 249 Run All Tests Sequentially 265 Run Batch button 350 Run Batch Script command 285 run hardware 43 Run Scenario button 343 Run scripts button 198 Run statement 353 Run Verification Scripts dialog 197 running disparity 228 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Running verification scripts button 197 Rx Tx Settings dialog 245 S Sample File Name 98 Sample View link 175 Sampling memory usage optimization 248 Sampling Memory Usage Optimization option 253 SAS Address Alias 243 SAS Address report 168 SAS data pattern 3
197. a M6 1 SAS SATA Protocol Analyzer User Manual 265 Teledyne LeCroy Setup Menu 3 22 4 Serdes Check To perform an FPGA 1 or 2 Serdes Chip check select the Serdes tab x Clock Memory Serdes crosspoint Main FPGA Expansion LED Buzzer reas 1_Serdes Chip 0 FPGA 1_Serdes Chip 1 PFPGA 1 Serdes Chip 2 freca 1 Serdes Chip 3 reas 2 Serdes Chip 0 freca 2 Serdes Chip 1 reas 2 Serdes Chip 2 rec 2 Serdes Chip 3 Save error details Save in E Program Files LeCroysleCroy SATA Protocol SuitesUsersErrors detail sit i Append error details o dle Number OF Run Each Test f O Run All Tests Sequentially start Serdes Check Close Figure 3 182 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 266 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Setup Menu Teledyne LeCroy 3 22 5 Crosspoint Check To perform a Crosspoint Crosspoint bus test or Crosspoint external loop back select the Crosspoint tab Clock Memory Serdes Erosspoimt main FPGA Expansion LED Buzzer Test Result ES Ei Cross point Intercon J Cross point Intercon Pcross paint Intercon Pcross paint Intercon ii cross point Intercon Ei Cross point Intercon Pcross paint Intercon FairtUL4
198. a Pattern Only QO Data Payload Length Only QO 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 220 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Navigation View Toolbar Teledyne LeCroy x Field Length Value hv O PM Pot O ON C Status Lo Status Hi C Eror C SActive 31 0 32 0O WwW U de id ce Figure 3 128 Advanced Options Dialog Example Set Device Bits Set the options and click OK Search Domain Click the Domain button and choose a search domain from all ports or a specific port Protocol Error You can refine the search to locate packets with an error or without an error Note When searching for Protocol Errors in Column View you cannot search for a specific Protocol Error type Search returns any protocol error Search Sub Items When searching SCSI Command Status you can refine the search by selecting from a list of Sub Items Note Some of the search categories allow you to refine the search by specifying specific SAS addresses and STP ports to search Sierra M6 1 SAS SATA Protocol Analyzer User Manual 221 Teledyne LeCroy Navigation View Toolbar Search DOMEN KO ee i ch ams JData Pattern Good Ivi Check Condition iviIncomplete
199. aa 00 aa 00 00 00 au oo ag 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa 00 00 00 00 00 00 aa 00 aa 00 00 00 au oo ag 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa 00 00 00 00 00 00 aa 00 aa 00 00 00 au oo ag 00 00 00 00 00 00 00 00 00 00 OO 00 00 00 00 00 aa 00 00 00 00 00 00 aa 00 aa 00 00 00 au oo ag 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Copy Data Export data in file Figure 3 96 Data Payload View inl Hex ASCI Columnsin Row 16 Columns w Bytes in Columm 1 Byte s paga DL EL EE EF EL BEL DEL EI EL EI EI EI 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 the pattern in the Text Box and click the Find button 3 3 19 Compare Two Data Payloads To compare two data payloads select two different payload packets one as reference Right click a payload field in Packet View or a related frame in Text View or Spreadsheet View to display a menu then select Set As Reference Data Payload Sierra M6 1 SAS SATA Protocol Analyzer User Manual 189 Teledyne LeCroy Analysis Bookmark Show Field F Hide Field Format k Byte Order Expand All Open as data view Setas Refrence Data Payload
200. actions are triggered Event counters typically have two properties Q Count Randomly Can be set to Yes or No default value is No If set to Yes the event repeats a random number of times between 1 and the value set in the property Max Random Count which replaces the property Counter Value when Yes is selected before the action is triggered Q Counter Value Number of repeats required when Count Randomly is set to No The default value is 1 Within actions counters determine how many times the system calls the action before it acts Action counters typically have two properties O Random Can be set to Yes or No default value is No If set to Yes 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 Q 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 example in the simple case of a single event leading to a single action it makes no difference whether you specify the event to require five repeats before triggering the action or the action to require five occurrences before it acts However in the case of combined events and or actions the separate counters provide flexibili
201. aiaa E a 97 Sample Ple NaMe irna I ULM 98 AUO RUI ai a 98 Memory SIZE ina ao 98 Partlal Memo CEST ILI TC 98 Segmented pea a 98 UDIOAA Manada ETE II n 98 219 Analyzer OOTINOS M Hv 99 2 15 1 Primitive Response l ImeoUL uni pr boston u udo Bode vetuit Ue eabe diner Oodd C OE ven VV POL UC aaa aaa aaa 99 2 19 2 Disaple DESCAMDIN O siii 99 2 199 SNOW AAA VaIUC eb 100 Pack training Sequence sirvan is 100 21 924 Protocol Error INAS Koni A E AA NA 100 2 15 5 External FO QUES CUINA 101 2 19 06 External EMO A Sening eara 101 2195 Ghnoose Port SPEE access qve ces o E xem cans O ii M IM sae PE IR E P DET 101 2 15 90 Ports Configuration AAA AAA AA 101 2 15 9 Port Configuration and NETO Plica id id 103 21910 Add a Project Note e A eure 103 2 16 Advanced Mode User Defined isis aii 104 2 16 1 Working in Advanced MONO css ria AAA a 104 2 16 2 State Number for Complex Trigger Sequences ccocccococococononononconanenanenanennnnennrennrrnnronnnrrnnrrnnrenarennarenanes 106 Setting rrigger Conditions unan 106 4 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Contents Teledyne LeCroy SOE PIONS aa 108 EE OUI eem 109 Usef l Key SEQUENCES ui TE 111 2V POCE SENOS parmin arcane eaesaseuiseeaucuanennneees 112 ZN O A nen ees 112 2 18 Greatino a Data BlOCK iii me 112 2 18 1 Naming a Data BIOCK 2 0 Cap Eo ri sedi xe eva x x coda uoti vi 6a OR tao Tae vuk oues Vesudusacuutmctsistaigdudseuucawndewunebines 11
202. aiii E R N 296 A6 Scenario PFoperti6S siora aa a ME EI TEX CP PIN MEL i EE 297 4 61 Scena o Genera lO ERES TS DT ii 298 Scenario Naime NR STET eolica lenta 298 Direction or Tralfle ooo ed Exod e Uie A AAA 299 Mart HO 299 OB Deo Mo ITI IM m 300 A f Scenario EVO IS iia 302 A121 DVVORD Matet ansi IT D IIIS 305 A 6 2 Address Frae uei at eaa E cates oe nn nc E pU eae dO D MM EL eee evalu LI M MM EL ELM EE E E 306 A LISAS Data Pattern uo cate e A M DN DS M AM ULM EE 306 ATA SATA Data Patet utens tendu we eae ew ates dia a 306 AO Analyzer ge o puteum p Rv p n 307 4 7 6 Adding NOT Property to SAS and SATA Primitives 1eeeeeeeeeeeseeseeen nennen nennen nnn nnn nnn nnn 307 4 0 Scenario ACUONHNS arcano aia 308 4 6 1 AVailabl RESOUICES aa 310 4 8 2 Using Counters in Events and Actions 1 11 eeceeeieeeeeeesieesi eene nennen nnn nnn nh nna n nans u sauna annt 311 4 9 3 Gapturing a Data DWORD ui ica a 312 4 9 4 Using Captured Data DWORD S 4 5 vertat ci eoia su va uaa quU ne bR REO T abuE o LaGR Ve Su RUP gu EU doses iactinc advan edna 312 4 9 Summary of Scenario Ci eatloh iod rore sei it 314 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 11 Teledyne LeCroy Contents 4 9 1 Generating an Internal Trigger curan racionales did VETE Eae ebore eu aia 314 Example of Using Internal Triggers to Stop All Scenarios ese 315 4 9 2 Generating a J
203. alog in which you can browse for files 2 Click the checkbox to the left of a device with BAD status then click Update Selected to begin the process that will make the Analyzer version correct Device Setup f Dev Mame Type Cur Reg Status File Mame Update Selected Siera Firmware 1 06 106 GE C Program Files LeCroy s Siera Anal zerz2 1310 1310 PUE C Program FilessLeCroy 5 Update All Sierra Emulators 2310 23 10 PES C Program FilessLeCroy 5 Sierra Analyzer 3310 33 170 BENE C Program Files LeCroy s Sierra Self Test 4312 43 12 MBE C Program Files LeCroy s Sierra Infusion 5320 53 20 BERN C Program FilessLeCrov 5 Sierra Trainer C Program FilessLeCroy s Eloze A Figure 3 171 Device Setup Dialog Beginning to Update Status of a Device After the update the device must restart Sierra M6 1 SAS SATA Protocol Analyzer User Manual 257 Teledyne LeCroy Update Device 258 AA Please wait until device SN 61475 restarts a Sierra device SM 61475 updated successfully 1 Figure 3 172 Info Dialog Then the update is complete Device Setup Dew Mame Slerra Slerra Sierra Slerra Slerra Siera r m r r e Sierra Type Firmware Analyzer x Emulator xz Analyzer Self Test Infusion Trainer Cur 1 06 13 10 23 10 33 10 4312 53 20 1 06 1310 23 10 33 10 43 12 Reg Status File Name Update Selected OBE
204. alog 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 3 21 5 Display License Information Open a license information dialog to display a list of named features supported by the current software version see Figure 3 177 on page 262 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 261 Teledyne LeCroy Help Menu Hamilton SIM 61658 OxFODA 1 License information for the product Serial Number 61658 OxFODA Software matnter Available Features Feature Title Purchased Feature Description System Memory Size 1GB No Enable operation with 1GByte of internal memory System Memory Size 2GB Ho Enable operation with 2GByte of internal memory System Memory Size 4GB Yes Enable operation with 4GByte of internal memory System Memory Size 66D Ho Enable operation with 0GByte of internal memory System Memory Size 16GB No Enable operation with 16GByte of internal memory Rate Support 156 Yes Support for 1 5GBps data rate Rate Support
205. alogs for the triggering patterns enable the setting to count the number of occurrences see Figure 2 65 on page 95 This allows you to specify the number of times that the pattern must occur before triggering or proceeding in the trigger sequence 94 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup Teledyne LeCroy Count Expected number of occurrences fi Figure 2 65 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 you define and add triggering patterns they display under the Trigger category in the Project Tree sequentially in the order in which you entered them When the project runs the analyzer detects the occurrence of each pattern in order and triggers on the last one You can re order the sequence of triggering patterns To change the sequence order highlight a trigger pattern and use the Up or Down arrow to move it to a new position Y Include RADY amp Trigger On Sequential B P Other Trigaers E xtemal Trig Positive Edge amp P Symbol K28 3 B P Timer 1 Milli Seconds P Primitive BROADCAST RESERVED 1 amp P Symbol K28 3 V Settings Trigger Position in Memory 50 Capture Memory Space 200 KB Primitive Response Timeout 20 DWORD Run Pattern Generator Off Enable 10 8 Decoding Enable de scrambling
206. alue Milli Seconds Cancel Time Unit milliseconds C microseconds Figure 2 41 Timer Dialog Check a Time Unit enter the Timer Value and click OK Timeout Selecting Timeout for the pattern displays the Timeout Pattern dialog see Figure 2 42 on page 77 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup Teledyne LeCroy Timeout Pattern E x Patten dw External Trigger Add gt gt Bus Condition ae Symbol Remove lt lt Primitive STP Frame Re ATAPI Add gt gt Address Frame Remove lt lt SMP Frame SSP Frame CCCI Parar un el x Mate Logical OR operator applied on added events Timeout value fi f milizeconds microseconds Trigger mode Trigger if the End Eventis accur s before the timer expires Trigger if the timer expires before the End Event s occur s Mate Start Events start the timer and repetitions of the Start Events are ignored until the End Events are encountered or the timer expires Cancel Figure 2 42 Timeout Dialog Start Events starts the timer in Timeout Trigger and End Events triggers the analyzer if first trigger mode is selected or resets the trigger if second trigger mode is selected Repetitions of the Start Events are ignored until the End Event is encountered or the timer expires Select a pattern for Start Events or End Events enter a Timeout value then select Trigger M
207. ammer Marker 1 1 Llleeele eile iieeiienei emus ee nane an a han hu sam aua asa same same sus asus 316 4 9 9 2ummary or Scenario Creation aiii aa ts 318 49 4 Creaung Global RULES iii 318 49 5 EXA OS R04 319 Example 1 Creating a Single Event and Action that Removes a Primitive 319 Example 2 Wait for a Primitive and Replace It with an Error 322 Example 3 Creating OR Conditions iios cinia vito delete 323 Example 4 Multiple Triggers and Actions eeeseeeeeeeeeeeeneee nennen nnn nnn nnn nnn nnns 325 Example 5 Multiple Actions on a Single Event leeeeeeeeseeeeee nere n nennen nn nnns 327 Example 6 USING TIMES iman DELLI 328 4 10 Creating a Sequence ai aci 330 Example 7 Creating Two Sequences and Global Rules eee sees 331 Example 8 Creating a Sequence With Many States 1 eeeeeeeeee eere nene 336 Example 9 Creating a Sequence With Many States 7 2 leeeceeeeeeeee eee nee nennen 339 4 11 Downloading SCeharlOS uiae rion oec tddi 342 4 12 Running 9SCenarlOS suicide 343 AS SAVING a LOO diim lisina 344 Option to Save Output Window Log File ooocooccooccoccconccnnconccocncnnccnnnnnnnnnrcnnrnnnnnarnnnrennrnannnnrs 344 Option to Save Devi
208. amples folder Examples are available for AdvanceCaptr EasyCaptr Exerciser PatternGenerator Samples and User Define Decoding Script 3 Inthe EasyCaptr folder choose an example sac file and click Open to display the Open dialog ax Look in Co E asy Captr y 4a t E ES File name BusConditionT rig sac Open Files of type Protocol Analyzer sac 7 Cancel Figure 2 14 File Open Dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 55 Teledyne LeCroy Projects 56 Capture Trigger Settings Notes Project Tree C Don t care Snapshot C Manual Trig Timer Timeout External Trigger Bus Condition Symbol Primitive STP Frame ATA Command ATAPI Address Frame Define Sequential Trigger Mode E Easy switch to Advanced mode 4 Capture BusConditionT rig Y Include Xxx Y Include SATA SYNC Include SATA CONT 4 Include OOB Signals Y Include Payload of Data Frame E SMP Frame Any SMP Frame Type 4 SMP Frame Type Any SMP Frame Type Y Function Any Function Y Direction I1 T1 8 SSP Frame Any Type 4 SSP Frame Type Any Type Y Destination SAS Address gt 9990909900900000 Y Reserved XX Y Source SAS Address OOOOH Y Reserved XX Changing Data Pointer Y ReTransmit Y Retry Data Frames Y Reserved 7X Number of Fill Bytes Y Reserved 7X Y Reserved 2 XX Y Reserved XXX Ta
209. an OR condition The procedure for selecting trigger parameters is identical to that for selecting capture parameters All items selected for triggering appear in the Project Tree To define patterns for triggering check the Pattern button in the Trigger dialog see Figure 2 39 on page 74 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 73 Teledyne LeCroy Trigger Setup 74 a File Edit Setup Session Analysis View Window Help ES Lok Trp App CQ 5 108 8B SC PV S El Q Trainer Y Jammer le O Recod B n S aS aS a P PY K P wio tolzz st B B E n Fi Om le Dont care Snapshot Manual Trig Pattem Infusion Tre Parameters Pattem Timer Timeout Extemal Manual Trigger Device Sleep Bus Condition Symbol Primitive STP Frame ATA Command Figure 2 39 SAS Select Patterns for Trigger Project Tree c SASProtocolAnalyzeri 5 Capture GP Include t00 g Include OOB Signals MEL Include Payload of Data Frame By Trigger Non Sequential m P Device Sleep Rising Edge amp B Primitive AIP NORMAL S F Settings ve Trigger Position in Memory 50 Capture Memory Size 10000 KB Primitive Response Timeout 65000 Dword s The SAS Parameters window displays the following trigger pattern categories Timer Timeout External Manual Trigger Device Sleep Bus Condition Symbol Primitive STP Fra
210. an change the maximum size of the log file by typing in the Max Size window If you select the folder you can change the path to the location of the log file See Figure 4 59 on page 346 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 345 Teledyne LeCroy Saving a Log File Y open ES G e Dy users P Users gt Public Public Documents gt ente EP Eien gt SAS SATA Protocol Suite gt Test Essie Output Window t Output Window ES EZ Search Test_ Output Wi P Wi Organize WE Desktop J Downloads Recent Places Name LOG output txt 3 Libraries 5 Documents A Music Pictures E Product Manuals A Videos iA Computer amp Windows7 OS C MARKETING Wcatc svr1 M a Il annun Qarmon 0 File name LOG_output txt 3 LOG_output txt Notepad file Edit Format View Help 16 28 55 795 000 000 SN Session started Ports 1 IO Meter Traffic 2 IO Meter Traffic 3 IO Meter Traffic 4 IO Meter Traffic 16 31 04 024 000 000 SN Session stopped Ports 1 IO Meter Traffic 2 IO Meter Traffic 3 IO Meter Traffic 4 IO Meter Traffic l Date modified Type 5 20 2015 5 51 PM Text Document Path to Log File Location v Teledyne LeCroy Infusion Log File txt Figure 4 59 User Defined Location of Jammer Output Window Log File Figure 4 60 Sample Jammer Output Log File 346 Sierra M6 1 SAS SATA Protocol Analyzer Us
211. and reproduced without additional permission but all copies should contain this copyright notice WEEE Program This electronic product is subject to disposal and recycling regulations that vary by country and region Many countries prohibit the disposal of waste electronic equipment in standard waste receptacles For more information about proper disposal and recycling of your Teledyne LeCroy product please visit teledynelecroy com recycle Teledyne LeCroy 3385 Scott Blvd Santa Clara CA 95054 TEL 800 909 7112 USA and Canada TEL 408 653 1260 worldwide Sierra M6 1 SAS SATA Protocol Analyzer User Manual ii Chapter 1 IBtFOQU CHO Nasser vastus ER ES M BUS 15 T1 1 Analyzer OVerVIBW escroto Da deu EU E ese Esc EP ceu O S E IPLE OE PUE UEE 15 K2 FEITOS eme ir a 16 1 9 RECEIVING Your ATnalyZer sese cui a ws Eau avpi b VoU UA C IS cueve utu UD E o TETUER ER UE cabe 17 1 4 UNPACKING tlie Analyzer 17 Analyzer Features adn iia 17 A NO 17 oz REI all dida 18 1 5 9 Temperature and Humidity aran ds 18 1 6 Installing Your AnalyZeL iiinsei dis di epa eo x EAS ERAS aera Eon ci 19 16 1 SOMWANE INS Call AliO I eer 19 System Testarl sacair A 19 EMNOrMeSS Adi dal 19 L62 Hardware A E 19 Separate SY SlOMS irradia 19 Connecting General cin easbeetvtsuensoneeedbaduncteatcs 19 17 Cascading Sierra Analyzers 3 e neto ooi gone pee muon a 20 1 9 Connecting via Elentir ac 22 1 8 1 Connecting to a NetWork iieri
212. anually click Save If you do not check Quick View the trace loads more slowly but is automatically saved to the host machine s hard drive 248 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Preferences Teledyne LeCroy 3 16 3 Other Switch to CATC Navigation Packet view will open in CATC mode Reverse Link Data The software shows DWORDs of link data as reversed Pack Repeated Primitives The software packs repeated primitives just after opening a sample file Scroll Horizontally to Show matched Column in Search When unchecked makes columns stationary even during search Use new PHY capabilities decoding Checking this box sends the first bit as bit 7 Leaving the box unchecked sends the first bit as bit 0 Cancel button kills upload immediately The software kills 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 Show Quick View Warning The Quick View Warning pops up when attempting to close a trace that has not yet been saved and is only shown in Quick View mode This checkbox allows to turn off this popup LBA mode Checking this box enables LBA mode for ATA decoding CHS mode Che
213. any other order of these primitives it causes the device to beep and the scenario to restart This example is designed to give you an idea of the powerful logic that you can implement with sequences 336 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Creating a Sequence Teledyne LeCroy Note The states in this sequence have been renamed do not have their default names The following table summarizes the sequence logic TABLE 4 10 Example 8 Logic of Sequence 0 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 go to Indicate Error Wait for Align 2 If an Align 2 is received next go to Wait for Align 3 otherwise go to Indicate Error Wait for Align 3 If an Align 3 is received next restart test otherwise go to Indicate Error Indicate Error Indicate error and restart test 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 Asin previous examples create the five states for this sequence In the File menu select Save Scenario to save the scenario see Figure 4 52 on page 338 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 337 Teledyne LeCroy Creating a Sequence 338 d Align Test Scenario Mame
214. aptured trace in the analyzer data stream See Figure 4 30 on page 318 The added marker Bookmark Jammer Marker 7 will be shown as a bookmark in the trace and you can see the list of markers in the bookmark dialog Note As a function of recorded speed and port configuration the InFusion marker might be off by a tolerance of up to 200 nsec Note The limitation for adding markers to a trace is 10 000 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 317 Teledyne LeCroy Summary of Scenario Creation Y Teledyne LeCroy ian Eo Injector and Trae Madi New Scenario O File Setup View Configuration Tools Help DD gt E e E TEX P O Analyzer 4 Trainer BL bg Record Mon 4 New Scenario 0 AA Scenario Name New Scenario 0 Direction for traffic changes From Initiator Smart Hold Yes OOB Setting Normal Spec Value Global Rules lt Click here to add an event gt Sequence 0 State 0 Wait fo or lt Click here to add combined event gt th n Hammer Marker 9 c ick here to add another action Click here to add another event Click here to add another state Click here to add another sequence Figure 4 30 Sequence 0 Event Wait for CRC Error Action Add Jammer Marker 7 4 9 3 Summary of Scenario Creation The suggested process of creating and executing a scenario is as follows 1 Create a scenario in the main library 2 Copy the scenario from main library t
215. ation 238 Configuration menu InFusion 286 Configure Device 286 contact 363 Convert port configuration without prompt for confirm 247 Count Randomly 311 counter as data 115 Counter button 115 Counter Value 311 counters 311 Create statistical report read write page 52 249 Current License Configuration field 255 cursor position status bar 236 cursors locating 201 positioning 237 timing 148 D data pattern 61 show 233 Data FIS 71 data block counter data 115 custom pattern 114 366 defining 112 editing 114 editing as text 117 naming 113 random pattern 116 walking bit 116 Data Block dialog box 112 Data Block Edit menu 113 Data Block Name list 117 data format 232 Data Pattern dialog 61 83 Data Pattern edit box 114 Data Payload View 188 data report 187 Data Report button 187 201 Data View 33 DataPatternCapture 121 Decode CDB of Commands 252 Decode Toolbar 228 Decode toolbar 36 Default Workspace 247 248 default workspace 247 default infdb file 295 Define different patterns for pre trigger and post trigger data captures 42 Define Pattern dialog 114 defining patterns 94 device library 296 Device Library window 296 342 Device Setup dialog 256 DHCP server 22 Disconnect 24 disparity indication 228 display fonts 242 display Configuration 238 display configuration 238 Display License Information 261 display manipulation 121 DMA activate FIS 69 DMA setup
216. ation trace without delay ssg So amp File Setup Generate Search View Tools Window Help AX LJ I BCE MA EE amp ie T p i T Ww Yammer O Analyzer Record M u SAN SERES ration Script Editor x l 1815 19 zi 20 SendIdentifyAddressFrame a 21 8 22 DeviceType 0x1 23 PhyIdentifier 0x0 24 SSPInitiatorPort 1 25 STPInitiatorPort 0 26 SMPInitiatorPort 1 21 SSPTargetPort 0 28 STPTargetPort 0 29 SMPTargetPort 0 No Delay Added 30 AE ds 32 SendOpenAddressFrameSSP 33g al 4 mul A gt lia 4 SAS simulation trace without delay ssg lt anta EPA B l nica 99 Figure 2 12 Trainer Script with No Added Delay Q Use Auto Alignment see The Global Setting AutoAlign on page 362 Q Select the Port see Setup Menu on page 351 QO Indicate Trainer Generation File Name and click Export to export the trainer Sierra M6 1 SAS SATA Protocol Analyzer User Manual 51 Teledyne LeCroy Saving a Trace Capture 52 generation file Note The resulting Trainer Generation file cannot exceed 2 MB or 1 000 000 packets 2 9 2 2 9 3 SATA has different options including Device Sleep Export Read Write Command Report You can create an Export Read Write Command Report as an Excel file csv using the Export dialog from the File menu In Setup gt Preferences gt Trace Viewer you must first select Create statistical report read write page in order to create t
217. attern only C Data payload length only Data pattern payload length Data Pattern E Hex C Binay ASCII And C Dr Data Payload Length te Search Bu m C Hashed 545 Address SAS Address Search Direction Fonward C Backward Search From Start C Trig Pointer C Pointer A Search Logic C AND Selected Items C Pointer C Last Found Rezet All Save Load Figure 3 126 SAS Search Data Pattern OR Selected Items Cancel Domain lt lt Search Domain Se orks wi wi wi Fj Iv T1 e T2 Check AI UnCheck All Protocol Error vw Packet with Error Packet without Error Sierra M6 1 SAS SATA Protocol Analyzer User Manual Navigation View Toolbar Teledyne LeCroy Search For Search Items Search Sub Items Data Pattern P LES Range Bus Condition Poo Primitive En n Miz Incamplete Frames JAddress Frames 85P Frames S8MP Frames M T1 Iw T2 To LBA jo Hex STP Frames Tag Check All UnCheck All SCS Commands Tag Range CEN 8MP Commands Task Management Function 5E5 Command Status Source 545 Address Destination 545 Address Protocol Error Tag SCS1 Task Attribute ATAPI SCS Command Miscellaneous Search By C Hashed SAS Address SAS Address Search Direction Fonward
218. ause the pattern can be inside or outside of frames there is no offset Q You can make user defined primitives This is the reason this feature was cre ated Q You can use any K D pattern 4 7 2 Address Frame With Infusion you must enter all values in reverse MSB LSB order For example a SAS Address in the viewer 5000C50056B8C829 should be entered like this in Infusion 29C8B85600C50050 4 7 3 SAS Data Pattern 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 cable and is the MSB as given in the SAS Stan dard D O DDD For example for an SMP Request Pattern 0x40000000 Mask OxFF000000 Offserr 10 SOF Type SOF 4 7 4 SATA Data Pattern When you create a SATA data pattern keep the following in mind The pattern must be defined inside a frame that starts with a SATA_SOF 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 SATA Standard OOoOD For example for Register H gt D FIS Pattern 0x00000027 Mas
219. box 334 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Creating a Sequence Teledyne LeCroy 17 You are finished creating the first sequence Click the add another sequence prompt to create an area in the scenario for the second sequence Sequence 1 New Scenario O Scenario is valid Status Nok saved Scenario Name New Scenario O Direction for traffic changes From Initiator I Global Rules Click here to add an event Sequence State O Wait for Address Frame Ox00 IDENTIFY FO AddressFrameType Value 4 Bites 0x00 IDENTIFY Mask OxF From Initiator then Branch to State 1 State 1 Wait for Address Frame Ox00 IDENTIFY FO AddressFrameType Value 4 Bites 0x00 IDENTIFY Mask OxF From Target Figure 4 50 Example 7 Adding a Second Sequence 18 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 335 Teledyne LeCroy Creating a Sequence 19 In the File menu select Save Scenario to save the scenario New Scenario O Sequence State O Wait for Address Frame Ox00 IDENTIFY FO AddressFrameType Value 4 Bites From Initiator Click here to add combin
220. ce Output Window Log File cooccocccoccocncoccconconnconcconnonaronnnnnnonaronononnenars 345 Automatically Save Log Elle A A A 345 Copy Or COPY Al e AR 348 4 14 Scenario Batch Files adas 348 4 14 T ScripE VV OLKS DAG OT 349 4 142 Error GHEGCKING AA AA AA 351 ANTAS OG sa 351 4144 5tatements aoia A lanes arcc atspaamekecenesenenanaice 351 HISSlO PDO G mus 351 ATA GOO LD 352 4 DEO RU i citm edema NE CMT LEMMA ILI M EM sa EIDEM INED 353 AA PRETI aaa 354 emnes RR 354 ATAS Bee Mee T 356 Appendix A Creating a Pattern Generator File 357 MN oic 357 92 erolvelii Inimloldig iteee te ted 358 5 9 Primitive definition TO Matar daran a 358 JA LOO GETIMITON TO Matias 358 12 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Contents Teledyne LeCroy 5 5 Scramble definition to Matar 358 5 6 Role definition Tormat eie dida 358 5 7 END OF FILE definitorio 358 5 8 Example Pattern Generator File ianiia 358 Appendix B China Restriction of Hazardous Substances Table 361 01 WAN MOIS Nissan 362 Appendix C How to Contact Teledyne LeCroy 363 Index A 365 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 13 Teledyne LeCroy Contents 14 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Introduction This ma
221. ce T 63 500 450 13 ms 894 10 53 Figure 3 52 Statistical Report General Port a Duration All Custom or time unit Q Count All Custom or a number of occurrences Q 96 Percentage of total count Sierra M6 1 SAS SATA Protocol Analyzer User Manual 155 Teledyne LeCroy Analysis 156 Primitive Report To display the Primitive Report click the Primitive tab The Primitive Report displays information in the following columns Q Primitive See Figure 3 53 below Q Port See Figure 3 52 on page 155 All Custom I1 T1 12 T2 13 T3 14 T4 Q Count All Custom or a number of occurrences a Percentage of total count 5 muyenetslo Primitive All Custom SATA_CONT SATA_EOF SATA_HOLD SATA_HOLDA SATA R IP SATA R OK SATA R RDY SATA SOF SATA SYNC SATA WTRM SATA X RDY ACK EOAF SOAF DONE NORMAL RRDY NORMAL AIP NORMAL AIP WATING ON DEVICE ALIGNO ALIGNI ALIGN2 ALIGN3 BROADCAST CHANGE CLOSE NORMAL OPEN REJECT RETRY OPEN ACCEPT Port All y D T2 B T3 Dp T2 T3 p T2 T3 Dp T2 B p T2 B Dp T2 B 2 T2 B 2 T2 T3 2 T2 B Figure 3 53 Statistical Report Primitive sl File Setup Session Analysis Navigation View Window Help Count All M 3730 0 46 2962 0 37 2159 0 27 1295 0 16 394 0 05 301 0 04 299 0 04 210 0 03 1705 0 21 1196 0 15 1874 0 23 32 3 96e 3 1200 0 15 2481 0 31 1366 0 17 2388 0 30
222. 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 3 13 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 see Figure 3 158 on page 243 To assign port names in an open sample view select Setup Set Port Alias 242 Sierra M6 1 SAS SATA Protocol Analyzer User Manual SAS Address Alias SAS only Teledyne LeCroy x New port name Figure 3 158 SAS Assign Port Alias Assign a meaningful name to each port in use and click OK The assigned names replace the port numbers in the sample view 22 4523 322 33 453 333 us If you elect to save the capture sample file the assigned port names are saved together with the result so that when you open the sample file later the assigned names are retained Restore Factory Presets Click the Restore Factory Presets button to restore the settings to the factory settings 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 3 14 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 the sample view see Figure 3 159 on page 244 To
223. cking this box enables CHS mode for ATA decoding According to LBA mode in ATA command Checking this box enables decoding according to LBA mode in ATA command for ATA decoding Configuration Clicking Configuration displays the Trace Viewer Configuration dialog see Figure 3 164 on page 250 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 249 Teledyne LeCroy Preferences 250 Trace Viewer Configuration El ATA Com Fields Value Protocol Normal Output e BERN Features Logical sectors per logi SectorCount SectorOffeet Error LBA Low LBA Mid LBA High LBA Native Max Address Sector Number Cylinder Low Cylinder High Head Number Command RegMum Reserved PortMum Humber of sectors to E na obs j Field Setting Format Hexadecimal v Visible Byte Order Fight Align Field Header Setting C Name Abbreviation Foreground Data Payload Columns in Aow 16 Column Bytes in Columr 1 Byte Error Output Viewer Setting e Wrap Packet e Enable Tooltip Time Stamp Origin Absolute C Trigger User Define C Based On System Time vw Same color for start time and port Headers Enable Packet View Condenze Made Time Stamp Format Lecroy Format Save Load Factory Setting Fort ox Cancel Figure 3 164 Preferences trace Viewer Configuration Dia
224. clude SATA_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 Note The validity of time stamps during Idles is traded off against good buffer memory utilization when using Exclude XXXX Exclude Dev Slp Packets SATA Check this to exclude Dev Slp Packets 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 refer to Data Report on page 187 does not reflect excluded Payload of Data Frames 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 Exclude ALIGN Check this to exclude ALIGN primitives from the data capture Sierra M6 1 SAS SATA Protocol Analyzer User Manual 41 Teledyne LeCroy SAS SATA Software Menus and Toolbars Exclude RRDY SAS only Check this to exclude RRDY primitives from the data capture Exclude NOTIFY SAS only Check this to exclude NOTIFY primitives from the data capture Exclude Idle Check this to exclude Idles from the data capture Define different patterns for pre trigger and post trigger data captures Replaces the Capture tab wit
225. cnncnnrnnnonnranenanenanonos 273 3 25 Trusted Command Group Decodes in Spreadsheet View 276 3 26 Exporting LBA XFER Length and Tag from Spreadsheet View 279 Chapter 4 INFUSION Overview iii 283 4 1 Key FOatul6S sra 284 10 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Contents Teledyne LeCroy ANENG E iii 285 2 2 5 ULLONS A O 285 A22 Y r 286 A M 286 VIW 286 Contguralo n nara iii 286 A A OEE 286 mi metet 286 4 23 Main LIDIA cian 286 AZ A PNG IDA ai LTEM 287 42 9 DEVICE PONS arce READ ce air eee Mp M UM M aM MM MM MM C DR 288 4 2 6 Using tne Device Ports Dialog rm ooo eoe EE pap tuu des eoa ote cc 288 4 3 Port Configuration for INFUSION cooccccnccncccocccocononanenanonnnnonanonnnonancnnnnnnnrnnarenanenarennnrnnanenans 289 44 INFUSION SCCIIANIOS da 290 44 Scenarios OVINA sty uns cOc uud ended et wee te te E wea ME UM LEA M MER L M MEE EL s EE 290 INFUSION Scenario Parameters redeo aeuo vv eng aa eERE EYE XEe Ye igup UU cn Va pex EE eta ae Gua 292 eller e E N A 294 Sequence o MEN 294 2 5 5cenario LID ANES ui ida 295 MAIN LID Varas 295 A ene suduudewulnWastectnwanmuicatesiuancanubcce EE E E E 295 Device LIDFafIGS
226. col Analyzer User Manual 213 Teledyne LeCroy Navigation View Toolbar Filter by Tag Number 214 Filter Options Bus Condition IL Primitive I Incomplete Frames amp ddress Frames SSP Frames SMP Frames JSTP Frames SCSI Commands SMP Commands J Task Management Functions JATA Commands JSCSI Command Status Source SAS Address Destination 545 Address Protocol Error QAT AFI SCSI Command I Miscellaneous Filter Type IIR Isle Filter Idle Ports Mn ie i3 mi I T1 Iv T2 Iv T3 T4 Reset All Check All Checking the Tag check box displays tags available for filtering Check the corresponding check boxes for tags to filter Save Load Eid Cancel Figure 3 123 Filter by Tag Number Sierra M6 1 SAS SATA Protocol Analyzer User Manual Navigation View Toolbar Teledyne LeCroy Filter Miscellaneous When you choose Miscellaneous an additional dialog displays allowing you to specify the filtering of State Range and or External Signal In m Filter Options Tm Bus Condition oos Incomplete Frames V State Range vIHS From State To State Do JATA Command Protacol Error Port JA TAFI SCSI Command M iscellan eo us Filter Type f Hide C Show v External Signal In Ext Signal In Filter Idle Ports Iv H1 IV H2 Iv H3 Iv H4 Iv Di Iv p2 v D3 v DA
227. ct command Once traffic is passing through the initiator and target resume OOB signaling The main purpose of this feature is enabling the user to mark specific parts of the captured traffic for better tracking See Generating a Jammer Marker on page 316 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 Removes the targeted event from the traffic Restart all sequences in the scenario Restart the sequence that contains this action definition Set RCDT SNTT ALT TLT TX speed TRAIN TRAIN_DONE pattern and or PHY Capability Set Violation Type 309 Teledyne LeCroy Scenario Actions 310 4 8 1 Action Description Stop Scenario Stops all scenario activity Substitute Data DWORD Substitutes a data DWORD in the traffic with SAS Primitive Substitutes a SAS primitive in the traffic with SATA Primitive Substitutes a SATA primitive in the traffic Trigger Output Sends a signal out the trigger port to the device downstream 1 Only shown in Action Properties dialog box when creating a sequence Available Resources You can specify Events Combined Events and Actions and additional Events The application automatically checks for the maximum number of terms Events Actions When you exceed the limit an error is flagged prompting you to jump to the place that caused the error The list of available resources is given below
228. d I1 11 12 T2 13 T3 14 T4 Descrambling Enabled Align Transmission Period 2049 for SSP 258 for STP B9 Connection Details Simulation Mode E Easy switch to Advanced mode amp Collapse All Expand All Figure 2 73 Project Notes Tab Sierra M6 1 SAS SATA Protocol Analyzer User Manual 103 Teledyne LeCroy Advanced Mode User Defined 2 16 Advanced Mode User Defined Advanced Mode expands Analysis capability by allowing you to program complex triggering and data capture projects Note The Advanced Mode option has to be purchased separately The Advanced Mode is a state machine with up to 23 different states You can program each state individually to a Trigger on a different event or trigger unconditionally Q Capture Everything Nothing or a user defined pattern a Include up to three ELSE IF statements allowing a jump to any other state based on a user definition a 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 Q 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 2 16 1 Working in Advanced Mode To start working in the Advanced Mode click the Easy Switch to Advanced Mode button in an open Analyzer window B Easy s
229. d Level of Multilevel Filtering Filter descending packets from trace highlight bar 3 6 4 If you check the Filter descend packets if ascend packet is filtered checkbox the application will only filter onward from the highlighted trace selection bar If you uncheck this option the software 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 O Bus Condition Primitive Address Frames SSP Frames SMP Frames STP Frames SCSI Commands LDLLIODLDLULDLUL Sierra M6 1 SAS SATA Protocol Analyzer User Manual Command Data Pattern Incomplete Frames 211 Teledyne LeCroy Navigation View Toolbar Task Management Functions ATA Commands SCSI Command Status see Filter Check Condition on page 213 Source SAS Address Destination SAS Address Pair SAS Address Protocol Error STP Port Tag see Filter by Tag Number on page 214 ATAPI SCSI Command Miscellaneous see Filter Miscellaneous on page 215 Training Sequence O DODODDODODODO DO oC Command Data Pattern When selected depending on the Filter Type the Hide Show selection shows or hides captured Command Data Patterns in the Sample Viewer Bus Condition When selected depending on the Fi
230. d in Port Status Restore Factory Settings restores default values Save saves the new values as a sng file Load loads back the saved sng file Sierra M6 1 SAS SATA Protocol Analyzer User Manual 245 Teledyne LeCroy Preferences 246 3 16 Preferences Preferences allow you to define template files for new Analyzer projects to specify how sample files appear when opened and to set ATAPI and SCSI Spec Assignments To perform settings in an open sample view select Setup gt Preferences 3 16 1 General Tab Paths User path c users public documents Necroy sas protocol suite User Te nplate Files Protocol Analyzer 7 New Protocol Analyzer Project in Advanced Mode Default Workspace c users publicdocuments Jecroy sas protocol suite System Pre Defined Workspace Defaut VW S NCQ Commands Time out Threshold 1000 us ATAPI Spec Assignment MMCB SPCA Maximum Number of Uploader Threads E SCS Spec Assignment SBC3 SPC4 I Convert port configuration without prompt for confirm 4 Ask user to close the previous captured trace before running the new project Found device list mode Browse default path 0 Reset clear the list of found devices amp Software default 5 Refresh append to the list of found devices E Windows default C eme TN Figure 3 162 Preferences Dialog General Tab The SATA Preferences dialog has the same options except that it does not have SCSI spec assignment
231. d information about the particular Field See Figure 3 197 on page 278 gt gt emm CN AL A E APA E A DI EN NN AN p E NE E gt SAD ET 416 Bytes 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Figure 3 197 Detailed Look at Data for Each Packet Payload or Data With the cursor inn each field if you perform a right click a menu pops up showing that you can Copy Text Show First Field if selected and change the format of the data shown Hex Binary or ASCII See Figure 3 198 on page 279 278 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Exporting LBA XFER Length and Tag from Spreadsheet View Teledyne LeCroy TRUSTED parameters qq ell Field Name Size Value TRUSTED parameter data 512 Bytes 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 AN NAN MAMA NN nn NN NN MA nn nn no nn 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Do 00 00 00 00 00 00 00 00 00 00 00 00 IETUTAM 0000000000000000000000000000000
232. display right click a Port ID field and choose the hidden field to restore Add Bookmark show Field Hide Field View Fields Figure 3 141 Show Field External Signals State Date Device Sleep Note Only the fields previously hidden appear in the restore list 230 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Packet View Toolbar Teledyne LeCroy 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 Bookmark Show Field Hide Field Format Byte Order k Copy Data Copy Frame Goto Response Set Time Stamp Origin P Color Goto k Figure 3 142 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 choose Goto Command to jump to the corresponding Command frame in the viewer Bookmark Show Field Hide Field Format Copy Data 7 Goto Command Set Time Stamp Origin gt Color Figure 3 143 Goto Command In Column View you can right click a DWORD inside a frame to display the Goto Within Packet command You can jump to an SOF EOF HOLD or R IP Bookmark I Goto within Packet Goto SOF Goto EOF Software Setting ShiFt S Goto b Goto Wext HOLD Fe Ae pus RIA XXXX R IF Goto Previous HOLD ShiFt F
233. e SSP Read Data SSP write Data SMP Frame Address Frame v w w w w w w d Figure 3 80 SAS Histogram Frames w FIS w Read Data FIS wf Write Data FIS ww Frame 4 Figure 3 81 SAS Histogram Frames Hide Error Frames Frames with errors are displayed in red To hide error frames from the histogram click the Note To display the error code of a protocol error click the error icon with the red x 178 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Pending lO 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 items for inclusion in the Histogram by clicking User Defined the I User Defined ton to open the User Defined dialog See the following screen capture x Primitive alr NORMAL f Hot Specific To Type OF Eonnections C Used Only Inside SSP 4nd SMP Connections O Used Inside STP Connections Frame Outside Connections Cancel Figure 3 82 SAS Histogram User Defined Dialog You can include Primitive and or Outside Connections frames Primitives To include Primitives check the Primitive check box click the down arrow on the Primitive list box and choose a Primitive User Defined e Primitive AIF NORMAL AIP NOR
234. e Global Rules area click the prompt to add the next event keep in mind this is not a combined event RDDY Normal amp RDDY Reserved 0 Test 1 Scenario Name BODY Normal amp ILLY Reserved 0 Test 1 Description Replace BODY Normal wy ERRBOR If BDDY Reserved 0 Inject PD Error Direction for traffic changes From Initiator Glohal Fules Wait for BRBDY NORMAL from Initiator zClick here to add combined event then Substitute with ERROR lt Clicke here to add another action Click here to add another event Click here to add a sequence For Help press Fl CAP NUM SCEL Us Figure 4 38 Example 4 Entering Second Event Sierra M6 1 SAS SATA Protocol Analyzer User Manual 325 Teledyne LeCroy Summary of Scenario Creation 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 is a parallel set of events sharing the same action 4 Using the drop down menu choose RRDY Reserved 0 as the second event to monitor 5 Click OK to close the Event Properties dialog box 6 In the Global Rules area click the prompt to add an action to be triggered by the RRDY Reserved 0 4 RDDY Normal RDDY Reserved 0 Test 1 b x Mo action specified For the event RRD Y RESERVED 0 From Initiator in Global Rules Click here to jump to E Scenario Name BODY Normal amp BDDY
235. e Search button opens the search dialog see Search on page 218 The Filtering Setup button opens the Filter dialog see Filtering on page 206 and allows you to specify the criteria for filtering the result The Enable Disable Filtering button toggles the result between a filtered and unfiltered view see Filtering on page 206 The Filter Idle button toggles the display to show hide idle packets see Filtering on page 206 The Hide RRDY Primitives button toggles the display to show hide RRDY primitives see Filtering on page 206 E xe ul Pa 3 200 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Navigation View Toolbar Teledyne LeCroy The Hide Unassociated Traffic button toggles the display to show hide unassociated traffic see Filtering on page 206 The Hide All Primitives button toggles the display to show hide all primitives see Filtering on page 206 Note When capturing PM traces you need the ability to filter the PM primitives so you can find commands quicker The Zoom In button on the Viewer Setting Toolbar magnifies the data display jo area on the screen Clicking this button in Column or Text View increases column width only The Zoom Out button on the Viewer Setting Toolbar scales the data display area to display more data lines on the screen Clicking this button in Column or Text View decreases column width only The Normal Zoom button on the Viewer Settin
236. e in other views and vice versa 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 menu and changing the information in the Bookmark dialog see above Sierra M6 1 SAS SATA Protocol Analyzer User Manual 203 Teledyne LeCroy Navigation View Toolbar Finding a Bookmark To find a bookmark in the data viewer display right click the mouse in the sample viewer and select Bookmark see Figure 3 114 on page 204 xi Bookmark Name ATA Command ss s S Bookmark Description v Sort bookmarks by start time TIA DER e dy gt E 736 265 226 ms H Add Delete GoTo Time Difference 0 Save as text Print Close Figure 3 114 Go To Bookmark Dialog Box Highlight the bookmark to which to go then click the Go To button or double click the selection Command 0x60 Read FPDMA Queued Figure 3 115 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 Set Time Stamp Origin Right click in the sample viewer to open the fly out menu see Figure 3 116 on page 205 204 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Navigation View Toolbar Teledyne LeCroy A b Sector Count exo H
237. eCroy Align Test Fat Wait for Aliqnz Wait for then Wait for or or then ALIGN iz Branch to ALIGN 0 ALIGN 1 ALIGN i3 Branch to Click here to add Wait for Aligqns Wait for then Wait for OF OF then ALIGN i3 Branch to ALIGN 0 ALIGN 1 ALIGN iz Branch toa Click here to add Error Detected Wait for Any Dword then Beep 500 and Branch toa Click here to add from Initiator Wait for Align gt from Initiator from Initiator from Initiator Error Detected another event from Initiator Wait for Alicon from Initiator from Initiator from Initiator Error Detected another event from Initiator m Wait for Alicon another erent gt Click here to add combined lt Click here to add another action to add combined event gt to add another action Click here to add combined event Click here to add another action Click here to add combined event gt Click here to add another action Click here to add combined event gt Click here to add another action D x File Library c 2 X Sequencer exa Click here to add another state File Libr File Libr For Help press F1 CAP NUM SCRL Figure 4 53 Example 8 Bottom Half of Scenario Example 9 Creating a Sequence With Many States 2 In this example a five state sequence not only detects if a group of primitives is receiv
238. eCroy Report Display SOTINOS ssicececcssnaeisteccracseserscurevecunscusicecusacus E E aa 174 Mir siint 175 3 3 14 Formatting the Statistical Report View leeeeeleeeeieeeiieneeee nennen nnn nnn hne sh nnn nnn annona nnns 175 ritermg oolummn Contes arta es V Gea Eu a a a vu uS Rdru recie aaen 175 sorting Column CoN teta kun ri odi da e e vati eee v e Y du qU Caos E dag cuu E eR VER INE vv SR DEa NE 177 Hiding COMUNA AS ela 177 2 9519 Histodgrdm VIS Wai a Vea Roo RE x ode ru Ed p RCM Gunn wu stoi E Cu eva ORINE 178 Hide FLAME Snell 178 Hide EFTOr Frames aii iS AAA A 178 PENGING IO a p wr p Dc o RR EET 179 USED eese roe T MN 179 3 9 VO BUS Fiume aa a 180 Performance Reference Definitions Girona 186 8 90 BUS Utilizzato ilie R MUS I II IE 187 3 39 18 Data RePO Mte 187 3 319 COMpare TWO Data Payload Sia A a aa aaa ARA 189 34 Trace EXPO ERE 191 34 1 Perrormance ANALYSIS 00 A tues 193 JAZ ETON Us SOU Pm TTD TTE UN 194 244 3 Trace Analysis SIalis 6S inicia Dew OR QUE its 195 3 44 Trace File Informal 196 3 5 Running Verification Script Engine VSE 1 ceeeeeeeeeeeeee eee nenne nnn nnns 197 3 5 Navigation VIEW TOOID AN itai tenaces u cur ooa e do gae ua sel onu E Epi senio asc suba IER ease e ose ep crsaawssindsicts 200 O51 ONO MENU cita 201 Set TIME ir udsmelgrell eee 204 Example Trigger Mod cte 205 A o A
239. eCroy analyzers For more information see the CrossSync User Manual and or see CrossSync Control Panel on page 45 1 8 1 8 1 1 8 2 Connecting via Ethernet The Ethernet connection can have any of these configurations 1 Analyzer connected to a network using a hub or switch Gigabit Ethernet interface or similar device 2 Analyzer connected to the host computer machine running the application software using a hub or switch Gigabit Ethernet interface or similar device Connecting to a Network When connected to a network the analyzer can communicate with the DHCP server to obtain IP address configuration information in order to establish a connection Select Device After starting the software click on Setup and select All Connected Devices see the following screen capture Sierra M6 1 SAS SATA Protocol Analyzer User Manual Connecting via Ethernet Teledyne LeCroy Session Analysis Navigation View Window Help TxVout amp Preemphasis O o MN ES User Defined Decoding External Trig Setting Link Event Update Device All Connected Devices Manage setup Licenses Preferences Self Test Data Block Find DUT Power Source Control H OO US 20 US Set Port Alias 20 us Set 545 Address Alias Figure 1 8 Connecting to All SAS SATA Devices The Select Device dialog allows connecting and disconnecting analyzers on the fly without re
240. ed out of order but it fixes any incorrect order The logic is similar to that of example 8 with a few small changes The following table summarizes each state Sierra M6 1 SAS SATA Protocol Analyzer User Manual 339 Teledyne LeCroy Creating a Sequence TABLE 4 11 Example 9 Logic of Sequence 0 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 Indicate Error Wait for Align 2 If an Align 2 is received next go to Wait for Align 3 otherwise replace primitive with Align 2 and go to Indicate Error Wait for Align 3 If an Align 3 is received next restart test otherwise replace primitive with Align 3 and go to Indicate Error Indicate Error Indicate error and restart test 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 340 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Creating a Sequence Teledyne LeCroy 3 Inthe File menu select Save Scenario to save the scenario d Fix Aligns Test box File Library c A X ein di 5Sequencers ex di Align T est Bi Fix Aligns Test Scenario Mame Fix Alis Test Descr
241. ed event then Branch to State l Click here to add another action Click here to add another event State 1 Wait for Address Frame Ox00 IDENTIFY FO AddressFrameType Value 4 Bits From Target Click here to add combined event then Beep il sj Click here to add another actions Click here to add another event Click here to add another state Sequence 1 State O Wait for Address Frame Ox00 IDENTIFY FO AddressFrameType Value 4 Bits From Initiator Click here to add combined event here to add another action then Branch to State l lt Click Click here to add another event gt State 1 Wait for Address Frame Ox00 IDENTIFY FO AddressFrameType Value 4 Bits From Initiator Click here to add combined event then Beep 2 sj Click here to add another action Click here to add another event Click here to add another state gt Click here to add another sequence gt Ox00 IDENTIFY Mask Ox00 IDENTIFY Mask OQx00 IDENTIFY Mask Ox00 IDENTIFY Mask J Po Status Mot saved ali E D OxF OxF OxF OxF Figure 4 51 Example 7 Sequence Area of Scenario Example 8 Creating a Sequence With Many States 1 In this example a five state sequence detects if a group of primitives is received out of order from the initiator The expected order is Align 0 Align 1 Align 2 Align 3 If this scenario detects
242. ed from the bus After the traffic fills the memory buffer the traffic is uploaded to the viewer and the Packet View display opens Packet View is the default display However more views are available by selecting View on the menu bar and choosing the desired View Sierra M6 1 SAS SATA Protocol Analyzer User Manual 43 Teledyne LeCroy Start Recording Data direction arrows gt ZI ncm Relative time display between two sequential packets on the same layer and port X Y T pan S ala PP Boj ss ssumj Bg ese ss emn ra Cursors Link Layer Show Hide Layers buttons ShowlHide Port Data iin A Address Frame Type Deko Tm Restricted M Restricted M Restricted M SMP Initiator Port M STP indiator Port M SSP nistor Pet OH Restricted M SMP Target Port M ye 1 j STP Target Port M SSP Target Port M Restricted M SAS Address H Phy Identifier H CRC H Link Data H 3 Relative Time 0000000000 5000685 PELLI 41551331 0 ns Address Frame Type Device Type Restricted M Restricted M Restricted M SMP iniistor Port H STP initistor Port M SSP initiator Port M Restricted H SMP Target Port H deer it t hae 4 1 STP Target Port M SSP Target Port M Restricted H Link Dato H 3j EPT 0000000 T 07 EF 8 BERI Address Frame Type Protocol intiator Port H Connection Rate Features H Intistor Connection Tag H Destination SAS Address H Source SAS Address H
243. ed items in turn If you choose And Selected Items you can set a logical AND combination of items to find Both options allow setting Advanced search features Search looks for entities in a trace When you choose SCSI command AND SSP frame for instance search will return all entities in the trace that are SCSI commands AND are SSP frames Any SCSI commands that are NOT SSP frames will not in this case be returned If you choose OR search will return all entities that are SCSI commands as well as all SSP frames The AND operator is only applicable for some cases such as Q ASCSI command AND a Tag Q ASCSI command AND a source destination address For example when you choose a SCSI command AND a tag Ox1 you will get all entities on a trace that are SCSI commands that have tags equal to 0x1 in that SCSI command As a general rule it is not possible to apply AND on two packet types frames commands primitives training sequences or bus conditions It only works when you apply AND on one packet type with other items such as source Destination Addresses TAG Task attribute Search For Choose a category to search in the Search For window Each of the search categories offers additional choices in the Search Items window to refine the search Check items for the selected category Data Pattern Search for Data Pattern allows you to search for a specific Data Type Pattern and Length see Figure 3 126 on page 218 Q Dat
244. een seen n e nnne n nnn nn nnn 150 Report Between CUISOLS ieu ouis ER CHEENNERR EUN EO GuO exc A E ria aaa 151 Report Between Events see Figure 3 48 1 eeeeeeeeeeeeeeeeseee eene enne n nnn n nnn nn nnne nhan 152 Statistical Report CONE a 153 Performance Reference Definitions iss uisa uice nensi ada ax tend ae Aaa De OE Y enSR Dag E REO Pra uo reed NpA URN NER EEULE 153 Report eloj iii 154 G n ral REDOM dee OPD IR cC wus vunae A 154 Primitive INC DONC amina ie dal 156 Bus Condition ReDO diia dt 157 DIA TEASER O o 158 SMP Transport REPON necem Ed 159 FIS Command REDON iii a a Ara 160 ATA COMMON 160 Queue Command Report s sesessnnunsnnnnnnnnnnnnrnnnnnnnnnnnnnnnunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nennen nnen 162 ATAPI Command RepDOTt iii A YR Feb dM REEUE 163 SCO command REPOL or ik 164 SMP Command REDOT iana aii 165 Task Command Reportin iind i a 166 Read Write Command ReDeS 167 SAS Address Command Report nia 168 Protocol Error Repo Cuisine ai 169 PErroO MANCO ReDOt orra E aa cts ra seis aw EL M MEET A 170 Lanes REDON O A 171 PENGING HO REDO iria N E a NE 171 Others REPON aurea E E 172 3 39 13 Statistical Report Toolbar E 172 Export as Microsoft Excel leiste nta 173 Save aS EXU AR 173 Print Statistical REDO norana O E dci un a aeree Dd 173 Print PreVIEW e X 173 6 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Contents Teledyne L
245. eft 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 324 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Summary of Scenario Creation Teledyne LeCroy 10 In the File menu select Save Scenario to save the scenario 3 Replace RRDY Normal or RRDY Reserved 0 Pb x Scenario Name Replace BPDY Normal or RADY Reserved 07 Description Wait for PER Normal or BEDY Beserved 0 and replace with ERROR Direction for traffic changes From Initiator Global Fules Wait for BPDY NORMAL from Initiator OR REDY RESERVED 0 from Initiator Click here to add combined event then Substitute with ERROR lt Click here to add another action Click here to add another event gt 1 Te T ae i 2 nl mom m For Help press F1 CAP NUM SCRL a Figure 4 37 Example 3 Complete Scenario Example 4 Multiple Triggers and Actions In this example the Global Rules area of the scenario waits for two events each of which triggers a different action 1 Click the New Scenario button in the main library or one of the device libraries In the Scenario Properties dialog enter the scenario name description and direction of traffic change 2 As you did in example 2 choose RRDY Normal as the first event to monitor and substitute with the SAS primitive ERROR as action 3 In th
246. elds O Random data pattern Q Custom data pattern specifically for your application Q Counter data pattern a Walking bit pattern To create a data block select Setup gt Data Block to open the Data Block dialog box as shown in Figure 2 84 Number of Data Cells 16 Column w Cell Length 9 LSB CMSB O Binary 9 Hex Ascii Data Block Data Random 1024 o 1 2 3 4 s e 7 8 9 von vara 14 18 Pattern 1024 CB A8 D2 8A DC CA E0 DC EE B3 FF 9A A3 82 F9 9E RAMORUM A9 C9 89 C5 8C CO 87 8B 8C C5 3E D9 A9 F8 AB CC A1 D4 E6 C5 DE 3C D2 F2 AA A3 8D 90 3D FB C4 3C TEBINZEIE TU C1 D3 87 FF B5 A6 82 86 D9 A9 CE 9B ZE AC 8B 96 Delete All Pattern LFPT EC BE 8E 91 D0 D1 84 A7 B5 3C 97 88 82 9C DO F8 Pattern HFTP CE D5 80 BF A1 8F B9 F2 FD 9A E7 C7 80 9C D2 9A A Pattem MFTP 90 C6 C6 96 3D A3 AC FF EB D3 BF 86 B4 8F 89 AC 3 Pattern LBP 9E Al B2 B7 95 C5 EC EF D8 2B 8C C1 F4 CA BO E7 F5 F5 E2 8E 00 3E DC B9 D8 E8 F6 EF 9E F4 8F AE D1 E CA EF 84 A 83 B9 B6 FA FC 8D F3 C5 84 C7 9B D3 E9 B3 AF FE DA A CE DO 8C AB C2 FA 97 BA F6 AC E7 9F DE E9 E8 A0 EC D B3 C7 C3 EA CF 2E walking Bit CC C5 EA B8 3C A5 C8 CF E7 D7 F1 C2 CF 2E F9 A9 FE 81 C2 D3C1 8A ZC 3E F7 A9 A4 SF AE C6 D 9C 98 B1 FD 9D D1 9D 97 EF 81 B2 3B A7 93 8A A1 E6 ES 83 DO F3 C CE D A5 D6 C CE 8bE C4 DE C3 C3 N2 FR 8 F1 RF RA CR AC NANA RC F2 AN GA FF 83 Camas teed 4 e Figure 2 84 Default Data Block Dialog Box Sierra M6
247. em retains all captured data but the display has fewer data layers for simpler viewing You can configure the viewer display for test and viewing preferences see Viewer Display on page 119 for details about configuring the viewer display Sierra M6 1 SAS SATA Protocol Analyzer User Manual CrossSync Control Panel Teledyne LeCroy 2 6 1 2 7 2 T 1 The Analysis 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 Q Capture specific patterns see Patterns and Data Capture Setup on page 57 Capture different patterns pre and post trigger Exclude parameters from capture Trigger on a pattern or sequence of patterns see Trigger Setup on page 72 Configure trace capture memory Settings tab Select file to save trace capture in memory Settings tab Include a project note Notes tab DOOUOCDLD Launch Jammer The Launch Jammer option invokes InFusion For more information refer to InFusion Overview on page 283 CrossSync Control Panel The CrossSync Control Panel allows you to select analyzers for synchronization and manage the recording process It supports a wide combination of Teledyne LeCroy s flagship analyzers including PCI Express USB DDR Serial ATA SATA Serial Attached SCSI SAS Fibre Channel FC and Ethernet CrossSync is Teledyne LeCroy s analyzer synchronization solution that
248. ents External Trigger Primitive Bus Condition Symbol Primitive STP Frame ATA Command End Events ATAPI Bus Condition Address Frame SMP Frame SSP Frame Note Logical OR operator appllied on added events Timeout value 346 C milliseconds 2 microseconds Trigger mode 2 Trigger if the End Events accur s before the timer expires Trigger if the timer expires before the End Event s occur s Note Start Event s reset s the timer unconditionally Figure 2 80 Timeout Dialog WARNING In Advanced Mode Short State Jump Intervals Can Cause Hardware Queue Overflow and Corrupt Frames When using Advanced Mode if too many state jumps occur in a short time the hardware queue can overflow which may corrupt frames For example an infinite loop can cause many state jumps in a short time Hardware overflow can occur if interval between state jumps is less than 60 DWORDs Sierra M6 1 SAS SATA Protocol Analyzer User Manual 109 Teledyne LeCroy Advanced Mode User Defined 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 Advance Mode Settings Notes State 1 o State 0 SO Start Capture Everything Pattern Cont Trig Timer Ext Out Go To Exclude Items Idle Notify If Primitive HARD RESET 1 e No change No Jump El Bus Condit
249. ents Here the combined 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 chapter choose RRDY Normal as the first primitive that you want to monitor 4 Click the add combined event prompt to add a second event Replace RRD Normal or RRDY Reserved 0 b x Mo action specified For the event RRD Y NORMAL From Initiator in Global Rules Click here to jump to the p Scenario Name Replace BEDY Normal or REDY Reserved 0 wo Description Wait for BRDY Normal or RBRBDT Reserved 0 and replace with ERROR Direction for traffic changes From Initiator Global Fules gi Wait for RADY NORMAL from Initiator Click here to add an action 1 Click here to add a Sequence gt 4 For Help press F1 Figure 4 36 Example 3 Entering the Second Event The Event Properties dialog box appears 5 Choose RRDY Reserved 0 as the second primitive that you want to monitor 6 Click OK to close the Event Properties dialog box 7 Inthe Global Rules area click the prompt to add an action to display the Action Properties dialog box 8 In the Type list on the l
250. enu bar and choose Self Test to open the Self Test dialog El File Session Analysis Nav E TxVout Preemphasis xi User Defined Decoding oj External Trig Setting r5 All Connected Devices CE Find DUT Power Source Control Preferences Self jest Data Block Set Port Alias Set SAS Address Alias Figure 3 179 SAS Self Test Command on Tools Menu Sierra M6 1 SAS SATA Protocol Analyzer User Manual 263 Teledyne LeCroy Setup Menu 264 3 22 2 Clock Check Saving To perform a Clock check choose the clock to test and click the Start Clock Check button After a short time the Test Result appears to the right of the selected line x Clock Memory Serdes crosspoint Main FPGS Expansion LED Buzzer Clock Type Test Result 4 rra 1 System Clock 150 MHz rPcA 1 Memory clock 166MHz rPGA 1 PCI Clock 66MHz fhrpGA 1 serdes 0 TX clock K rPGA1 serdes_0 RX clack fhrrGA 1 serdes_1 TX clock frpGA 1 serdes_1 RX clock BrPca 1 serdes_2 TX clock K rPGA1 Serdes 2 RX clock W rPGA1 serdes_3 TX clock W rPca1 serdes_3 RX clock Mireca 2 System Clock 150MHz frrGA 2 Memory clock 166MHz l Save eror details Save in JC NProgram FilessSLeCroy LeCroy SATA Protocol SuitesUseryErrors detail slf v Append error details pe Number OF Run Each Test f Run All Tests Sequentially Start Clock Check Close Figure 3 180 SATA Self Test Dialog Clock Tab Test Result OK
251. er Manual Saving a Log File Teledyne LeCroy 4 e G eh Users gt Public Public Documents gt LeCroy SAS SATA Protocol Suite gt Test Device Window o er Organize J Downloads z 5 20 2015 4 31 PM Recent Places 5 20 2015 4 29 PM 5 20 2015 4 30 PM 5 20 2015 4 31 PM _ Test 20 05 2015 16 29 37 txt Test 20 05 2015 16 30 20 t t 3 Libraries Test 20 05 2015 16 31 Ol t t 5 Documents HE Desktop Date modified Type Bez di Text Document Text Document Text Document Text Document A Music Pictures A Product Manuals A Videos iM Computer amp Windows7 OS C MARKETING catc svr1 M CH Il ane Rarmant Ort File name Test 20 05 2015 16 29 37 txt v Path to Log File Location Teledyne LeCroy Infusion Log File txt Figure 4 61 User Defined Location of Device Output Window Log File 3 Test_20_05_2015__16 31 01 txt Notepad File Edit Format View Help 2 3 4 1 2 4 15 zz Se 4 j S Za lt 4 E 2 3 4 16 29 53 283 16 29 53 329 16 29 53 367 16 29 53 368 16 29 53 423 16 29 53 469 16 29 53 507 16 29 53 508 16 29 53 543 16 29 53 589 16 29 53 647 16 29 53 648 16 29 53 683 16 29 53 729 16 29 53 787 16 29 53 788 16 29 53 823 16 29 53 869 16 29 53 907 Inject Inject Inject Inject Inject Inject Inject Inject Inject Inject Inject Inject Inject Inject In
252. er of occurrences Percentage of total count DOOOUOUOUD File Setup Session Analysis Navigation View Window Help a gt x aj El lt Tene Y Jammer e neo B M i os aS 8 AIP PpPuyosgkg S0 4 uwin ES la Y ir gt 1 f 383 Te nt Ready ATAF Move X Cursor General Primitive FIS ATA Command ATAPI Command Protocol Enor Performance Lanes Pending IO Others Command Port Number Of Transport Payload Size Status Duration Count m en All y Al All ew A v All H3 1 0 Good 1890133383 ms 383 9097 Custom H3 2 4096 Good 606 613 342 29 us 6 1 43 Test Uint Ready H3 3 8 Good 608 213 378 91 us 23 5 46 Read10 H3 3 12288 Good 480 079 986 57 us 2 0 48 Get Event Status Notification H3 2 2048 Good 215 440 002 44 us 3 0 71 Read10 H3 3 16384 Good 2 211 11989 ms gt 0 95 6 011 600 02 ms 421 100 00 Figure 3 60 Statistical Reports ATAPI Report Sierra M6 1 SAS SATA Protocol Analyzer User Manual 163 Teledyne LeCroy Analysis SCSI Command Report To display the SCSI Command Report see Figure 3 61 on page 164 click the SCSI Command tab The SCSI Command Report displays information in the following columns O Command All Custom Write 10 Inquiry Read 10 Mode Sense 10 Persistent Reserve Out Report Target Port Groups Read Capacity 164 Test Unit Ready Port All H1 11 H2 12 H3 13 H4 14 or Custom Number of Transport All Custo
253. erification scripts button fa on the main tool bar The Run Verification Scripts dialog opens from which you choose and then run one or several verification scripts 5 ProtocolError ial sample_ata_commands Y sample_ssp_protocol SempleMetricsExpart2HtmlExcel Inquiry Read 10 Write 10 ModeSelect 10 and ModeSense 10 8 SMP_DiscoverAndReporTracking Ha Run verification script s C Users Public Documents LeC NCQ Max Pending IO 27 scs la n Werification script Result Example SATA ATAPI Verification Script Provides an example of Sd processing A esit LC ea of SATA ATAPI traffic at the ATA command level his script counts some specific SCSI commands that is issued by ATAPI commands hese SCSI commands are counted ma os Rinse ATAPI SCSI commands count EJ Expand Log E Save Output Figure 3 105 Run Verification Scripts Dialog To expand the Log window click the Expand Log button The Log window fills the whole window To see the Verification Scripts window again click the Collapse Log button To save output click the Save Output button Sierra M6 1 SAS SATA Protocol Analyzer User Manual 197 Teledyne LeCroy Running Verification Script Engine VSE 198 2 After choosing Settings from the drop down list or the button the Settings dialog appears Choose Editor application and editing settings Notepad by default C Other Path
254. erties have a Smart Hold option which is on by default Figure 4 16 on page 300 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 299 Teledyne LeCroy Scenario Properties y Scenario Properties Cae Xx Properties Type Scenario Name New Scenario 0 Description Direction From Initiator Smart Hold Yes v Set OOB Yes OOB Definition Smart Hold o jJ coma Figure 4 16 Scenario Properties Smart Hold Each port monitors incoming data which originated with the other device s receiver as close as possible to where it enters the bus engine If a port detects a HOLD primitive during a SATA frame the port stops reading data from the FIFO and generates HOLDA The HOLD propagates through the bus engine and eventually goes to the other device where the HOLD causes the other device to 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 through the bus engine and then causes the other device to restart transmission which puts data into the FIFO Note If both sides send HOLD primitives that overlap the receivers drop the HOLD conditions to avoid overflowing the FIFOs If
255. es Teledyne LeCroy 4 5 Scenario Libraries You can create any number of scenarios which you then can archive on your host machine s hard drive You also can download up to ten scenarios to each InFusion device for test execution You can think of the libraries as windows that hold scenarios Recall that each library is a separate infdb file Main Library When you launch the InFusion application it opens a window called the Main Library The main library is the default workspace for creating and storing new scenarios The main library corresponds with the following file in the InFusion folder on the host machine s 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 by default in the Main Library window You can navigate to other file libraries using the File Manager of the InFusion application In this manual the main library and other infdb file libraries are collectively called general libraries If you select Open Library you see a window similar to the following Look in 3 InFusion ET E TestCasesForSATA inFdb ty El TargetTranspartLaver infdb My Recent E TargetLinkLaver inFdb Documents EJRealWorld infdb El ManualExamples inFdb E El InitiatorTransportLayer infdb
256. ession Analysis Navigation View Window Help is fel lt gt Trainer Y Jammer O Record Bu i isis s 1 BSREetL General SSP Transport SMP Transport ATA Command SCSI Command SMI Port Duration Count All All 2 2 413 466 45 ms 394 5 33 Ca T2 3 552 093 51 ms 301 4 07 FIS T3 3 474 373 34 ms 299 4 04 Open Address Frame i 933 333 37402 ns 7 0 09 SSP Frame T1 1 200 000 05 us 9 0 12 Identify Address Frame 2 179 666 656 49 us 1347 18 22 Incomplete Frame T2 116 959 999 08 us 877 11 86 SMP Frame T3 116 800 00305 us 876 11 85 Figure 3 51 Statistical Report General gt Type Descriptions Q Port All Custom I1 T1 12 T2 13 T3 14 T4 see Figure 3 52 File Setup Session Analysis Navigation View Window Help is kl lt gt Trainer W Jammer Ife O Pecod B ou aS aS se E Ej En amp eo T 1L c EU of 12 Bus Condition General v General SSP Transport SMP Transport SCSI Command SMP Command Type Port Duration Count All PA All 5 Al v Bus Condition All 20 449 998 86 us 12 0 14 Bus Condition Custom 279 024 993 90 us 95 1 12 Bus Condition IL 20 462 499 62 us 12 0 14 Bus Condition Ti 279 293 731 69 us 95 1 12 Bus Condition Dp 20 449 998 86 us 12 0 14 Bus Condition T2 278 837 524 41 us 95 112 Bus Condition B 20 462 499 62 us 12 0 14 Bus Condition T3 279187 500 00 us 95 112 Training Sequence 14 63 498 214 72 ms 912 10 74 Training Sequen
257. ey were lit in the past Pressing the Reset button erases this history and the illuminated LEDs are removed from the dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 235 Teledyne LeCroy Toolbars 236 3 9 3 9 1 3 9 2 Toolbars Enabling Tool Bars To customize the Viewer Display workspace you can enable and reposition the available toolbars To display or hide toolbars select View gt Toolbar then check or uncheck toolbars see following screen capture File Setup Session Analysis Navigation View Window Help E Trainer Jammer c PP oom In fz Zoom QuE e Actual Size Full Screen Eh Tile Views Ez Enable Filtering ER Filtering ID Filter Idles Phy Physical Layer Iris FIS Layer fcmo Command Layer E Wrap Packets ota A m Status Bar m Record Capture mE Analysis m Navigation yview m Packet View Column view m Cursor Position m D evice Emulator Toolbars are a Main Record Capture Analysis Navigation View Packet View Column View Cursor Position O Device Target Emulator ODO0ODO OO Once enabled the toolbars can dock at the Viewer Display window or float on the windows desktop Cursor Position Status Bar To display the cursor position status bar select Toolbar gt Cursor Position A to Y Ons Ato T Ons Y to T Ons Figure 3 152 Cursor Position Toolbar Sierra M6 1 SAS SATA Protocol Analyzer User Manual Status Bar Teledyne LeCroy See Usin
258. f amp Y T s c 1 of 147 Write DMA Ext ATA Command Move Cursor v General Primitive FS _ ATA Command Pending 10 Command PM Port Port Number of FIS Payload Size Status Time out Duration Count 26 A rro nn All ur Al v All Fo AM All 5 AM All l 0 H1 4 4096 Normal Output N A 32 333 866 12 ms 147 34 43 Custom 0 H2 5 4096 Normal Output Yes 471 253 326 42 us 8 1 87 Write DMA Ext 0 H2 5 4096 Normal Output No 2 691 44011 ms 68 15 93 Read FPDMA Queued 0 H2 6 4096 Normal Output Yes 18 074 480 06 ms 81 18 97 Write FPDMA Queued 0 Hl 3 4096 Normal Output N A 5 600 320 34 ms 122 28 57 Read DMA Ext 0 H2 5 4096 Incomplete No 218 960 006 71 us 1 0 23 59 390 31982 ms 427 100 00 Figure 3 58 Statistical Reports ATA Command Report from Three Different Traces Time out of ATA Command Report The Time out shows the NCQ time out It is applicable for only NCQ commands A threshold can be set in the NCQ commands Timeout Threshold the default value is 1000 usec the user can change it to any value The statistical report provides a Time out report based 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 161 Teledyne LeCroy Analysis Queue Command Report To display the Queue Command Report click the Queue Command tab see Figure 3 59 on page 162 The SMP Transport Repor
259. from the device to your host machine 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 buttons on the Device Library toolbar to download the revised scenario to the device The None scenario is an empty and undefined scenario to allow you to assign port s to None The Multiport feature allows you to run a scenario by more than one port in a Device Library and to assign different ports to different scenarios and run them together Each scenario in a library can run by more than one port Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Properties Teledyne LeCroy 4 6 Scenario Properties To begin the scenario creation process you click the New Scenario button in a library window the InFusion application toolbar or from the SAS SATA Protocol Suite Main Menu see Figure 4 11 select Jammer to get the InFusion dialog to popup see Figure 4 12 BD Teledyne LeCroy SAS SATA Protocol Suite BETA unum E Wea A gt FT nemen TxVout Disabled Initiator Emu Figure 4 11 SAS SATA Protocol Suite Main Menu From the InFusion Dialog select the Create New Scenario icon see Figure 4 12 Y Teledyne LeCroy InFusion Error Injector and Trafic Modifier File Setup View Configuration Tools Help Das 23 Mos amp Qn Main Library DAda ED DX Be M New Scenario 0 L New Scenario 1
260. g 00X zi Collapse All Expand All Figure 2 15 SAS Sample Protocol Analysis Project SAS vs SATA For Pattern Parameters SATA Dialog adds FIS FIS Pattern and ATA Command Pattern and does not have STP Frame SSP Frame SMP Frame and Address Frame 4 Click the Record button to execute the pre defined example Sierra M6 1 SAS SATA Protocol Analyzer User Manual Patterns and Data Capture Setup Teledyne LeCroy 5 After the project runs you see an analyzer trace capture display similar to the one shown in Link Address Frame Type TE Restricted H e Restricted H SMP initiator Port H GERS SSP Intiator Port H Restricted H SMPTerga Port OD EE Rea dni M Ere NLNNN CRC M Link Data 4 aj IET o i Restricted H Restricted H SMP inisstce Port M STP initiator Port H 0x2 Edge Expander Device OF 3 i i i Restricted H SAS Address H Phy Kkdentifier H CRC H Eai SSP Frame Type Mashed Sre SAS Addr H Changing Data Pointer H ReTransm H Retry Data Frames H Num of Fil Bytes H Tag Target Port Transfer Tag H Handshake 10000001 00 Of 00 00 00 00D 00 gt gt IS A D Figure 2 16 SAS Analyzer Trace Capture Display For details about the results display see Disp latic n page 119 and see 2 11 Patterns and Data Capture Setup You can refine data capture by choosing Pattern and then select
261. g Toolbar resets the zoom to default normal on the screen Clicking this button in Column or Text View resets column width only You can use Tile Horizontally All Views icon or select View gt Tile Views to revert any unintended window docking or sizing or maximize screen utilization This function only tiles views inside a trace window Note that there is no command to tile views vertically The Data Report button displays the data report mr You can use this tool to incrementally Show or Hide Ports either one at a time or multiple ports at the TE m same time For multiple ports select the desired ports Single Port 9 Multiple Ports to Show or Hide and click Apply see Show Hide Ports on page 225 3 6 1 Go To Menu Locate Cursors To quickly locate any cursor within the data viewer display click the Go To button and choose the cursor to locate You can also locate a cursor by selecting Go To from the Edit menu and choosing the cursor to locate see Figure 3 109 on page 202 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 201 Teledyne LeCroy Navigation View Toolbar apal BP M Trigger Position A Position Position Packet Ma Time Stamp Bookmark Begin End Figure 3 109 Locate Cursor Go to Time Stamp To locate a timestamp click the Go To button and choose Timestamp alpe m Trigger Position Position Y Position Packet Ma Time Stamp Bookmark Begin End Fig
262. g the Cursors and Bookmarks on page 237 3 10 Status Bar The Status bar is located at the bottom of the main display window 3 10 1 Search Status The right most 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 3 11 Using the Cursors and Bookmarks 3 11 1 Cursors The data viewer display incorporates three cursors labeled X Y and T All cursors are initially overlaid and positioned at location O which is the trigger position of the display The Trigger or T cursor is the measurement reference and is always at location O in the display Positioning the X Cursor To position the X Cursor within the viewer data display click the left mouse 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 cursor in the Frame and Column View by clicking in the narrow strip on the very left side of a cell Similarly you can set the cursors in the Waveform View by left and right clicking at the beginning of a waveform Time Time differences between the cursors are displayed i
263. h a Pre Trigger Capture tab and a Post Trigger Capture tab 2 5 SAS SATA Software Menus and Toolbars The SAS and SATA software has the following menus and toolbars 2 5 1 SAS SATA Main Toolbar The following figure displays the SAS main toolbar Note The sections SAS SATA Main Toolbar on page 42 and SATA Main Toolbar on page 42 are shown separately to indicate the different context sensitive toolbar options depending on whether SAS or SATA trace or project is open Open Project File Start Target Emulator Launch Trainer Find DUT Stop Recording Manual Trigger Launch Jammer Start Recording uo Trainer Y Jammer 41 Abort Capturing Without Saving Sample File Upload Manager Stop Target Emulator Save Figure 2 3 SAS Software Menus and Toolbar 2 5 2 SATA Main Toolbar The following figure displays the SATA main toolbar 42 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Start Recording Teledyne LeCroy Open Project File Launch Trainer Start Target Emulator Find DUT Stop Recording Manual Trigger Launch Jammer Start Recording a Abort Capturing Without Saving Sample File Upload Manager Save Stop Target Emulator Figure 2 4 SATA Software Menus and Toolbar 2 6 Start Recording To get an immediate overview of the bus traffic to and from your Analyzer 1 Click the MEE Record button 2 Theanalyzer begins filling the defined memory buffer with traffic captur
264. he initiator When it occurs the device beeps injects an RD error and increments a counter monitoring for that event ACK from initiator 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 Asin 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 d ACK Test box Scenario is valid Scenario Name ACK Test Description If ACK beep inject PD error count Direction for traffic changes From Initiator Global Fules AT Wait for ACK from Initiator then Beep 500 ms i5 Click here to add a sequence 4 For Help press F1 Figure 4 41 Example 5 Entering the Second Action The Action Properties dialog box appears Choose Inject RD Error as the second action Click the add another action prompt to add a third action The Action Properties dialog box appears gt oS Sm uem Choose Monitor Count as the third action Sierra M6 1 SAS SATA Protocol Analyzer User Manual 327 Teledyne LeCroy Summary of Scenario Creation 8 Click OK to close the Action Properties dialog box 4 ACK Test Scenario is valid gt Sce
265. his report If this choice was not made when the trace was taken then use Save As to save the trace file with this preference This will append the Read Write Command Report to the trace file so this action need only be done once When you re open the trace file you should be able to export the report as described above Export Paired SAS Address Report If Text View is activated from the File menu you can save a Paired SAS Address Report as an Excel file using the Export Paired SAS Address Report dialog see following figure Sierra M6 1 SAS SATA Protocol Analyzer User Manual Saving a Trace Capture Teledyne LeCroy EX Export Paired SAS Address Report Save in Je Samples o i E y Name n Date modified Type ce o Mo items match your search Recent Places Desktop Libraries File name New csv Sawe Save as type Excel File csw Cancel Export whole payload more than 32KB Save s Range All Packets From T Cursor M To T Cursor Figure 2 13 Export Paired SAS Address Report Dialog Q Check the box Export the whole payload more than 32KB to export the whole payload more than 32KB a You can limit the data range of the saved file You can save m All Packets m Range between selected cursors You can view expanded traffic particularly during discovery in a spreadsheet format You can use column headers with SAS Address Pairs For example instead of I1 T1 I2
266. id State Transition Primitive Timeout O Frame Type Error O Frame Length Error Frame Direction Error CRC Error L ACK NAK Timeout Delimiter Error Check All Uncheck All n Pre Fi iM Ti rri PT Check All Uncheck All Count Expected number of occurences on each link 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 85 Teledyne LeCroy Trigger Setup STP Frame SAS only Double click STP Frame in the Pattern window to open the STP Frame dialog 5TP Frame Type E x Format C Binary Hexadecimal Cancel FIS Type Oe Register Host to Device PM Port C Command FIS Type Show Reserved and Obsolete Parameter Features LBA Low LBA Mid LBA High Device LBA Low exp LBA Mid exp Ze EEE E E E FMi Pe ris Pi Mi Pre Pri Fr T4 Check All Uncheck All Count Expected number of occurences on each link Figure 2 54 SAS FIS Pattern Dialog SAS vs SATA Not available in SATA Choose a FIS type from the drop down list and click OK 86 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup Teledyne LeCroy Address Frame SAS only Double click Address Frame in the Pattern window to open the Address Frame Type Pattern dialog Address Frame Type i E
267. ield View Display Selected for a Specific Packet If you want to manipulate the Field View display you have the following options Q Expand All All fields will be displayed a Collapse All Only the Packet type will be displayed a Show Field Fields which have been hidden will show in the menu Q Hide Field You can select Fields to be hidden You can select several Fields to Hide This will remove them from the Field View but will also remove them from the Packet View See Figure 3 40 on page 147 E File Setup Session Analysis Navigation View Window Help 101x ist O Trainer Vlamme gt Zecorc an 8 9 15 5 R Py ox Ara 0 es an u B o e Be GREE OS ee e 115 M Transport Starting p phy i identifier fier H number eee ees e TE fitter H E q qE_ A 7 2 m 00000000 e CEE Pai 0x0 Discover 0 55000000 l 000000000000000000000000 l S705EE0D 37 ns gt Link 20 E Address H Destination SAS Address H SMP Frame Type Fune A 756507 50060580 605 SB006S A670 70 500E004 AAJAJAAJAASF 0x40 Request 0x20 Reserved For SMP input Func E e SMP Frame Type Function Allocated TINDHES Length and Request Length are Hidden Field Value Field Value 2 o SAS JW c aes o smaram Expand All TAA Source SAS Address 0x500605B0069AA670 Reserved Collapse All 0x00000000 Destination SAS Address Ox500E004AAAAAAA3F EN Starting ph Show Field EI SMP Frame
268. iew 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 Fields option To obtain the Spec View from the Catalyst View right click to display a popup menu then select the View Fields option Yiew Fields for Link 1 Hexadecimal Binary Address Frame Type Device Type Reserved 000 M 1 o Reason Reserved O40 O0 Lo Restrict S MP Ini 5 TP cel iP de a 002 Restrict SMPT 5TPTa 55P Ta Reserved 003 0 0 t 0 O0 Device Name 1 000000000 0x04 005 00E Ds Device Name 2 000000000 0x08 0 09 0x0 545 Address 1 Save As gg Previous Next gt gt ox Figure 3 135 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 3 7 3 Decode Icons The Decode Toolbar controls encoding and scrambling features To view corresponding Unscrambled and Scrambled payload data values instantaneously position the mouse pointer over a data field see Figure 3 136 on page 229 228 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Packet View Toolbar Teledyne LeCroy Running Disparity indication Sequence Start Time 773 000 ns SAA E re om E Figure 3 136 Payload Data Display 3 7 4 Customize Display Rename Port You can rename each port for easy identification To rename a port right click the
269. igure 3 7 on page 125 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Hash Destination SAS Address SCSI Specs MMCE SPCA SSC2 SPC4 El Add to Assigned List Assigned SCSI Specs Hash Destination SAS Address SCSI Spec Remove Remove All Figure 3 7 Decoding Assignments SATA To make changes to the default decoding use the Preferences window to assign the specific SCSI specification for all future traces By changing the default decoding in the Preferences window the Search and Hide options will also reflect the correct decoded fields See Figure 3 8 on page 126 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 125 Teledyne LeCroy Analysis 126 3 3 3 c users public documents ecroy sas sata protocol suite User Template Files F Protocol Analyzer New Protocol Analyzer Project in Advanced Mode Default Workspace C Users Mike Micheletti Documents temp workspacemm wss NCQ Commands Time out Threshold 1000 us ATAPI Spec Assignment MMCE SPCA Maximum Number of Uploader Threads 8 SCSI Spec Assignment MMC6 SPC4 E SBC3 SPC4 Convert port configuration without prompt for confirm SMC3 SPC4 Y Ask user to close the previous captured trace before running the new project SSC2 SPC4 OSD2 SPC4 Found device list mode Browse default path Port config ADC3 SPC4 9 Reset clear the list of found devices Software default Disconnect unused ports
270. ile Setup Session Analysis Navigation View Window Help E El O Tene Y Jammer O 0 m n B x o EJ En amp qo T J gt 1 of 3 Data SSP Transport General Primitive SSP Transport ATA Command SCSI Type Port Duration Count ln AJI M All All M All T1 933 333 374 02 ns 3 0 10 Custom Dp 772 079 956 05 us 456 15 08 Data T2 754 413 330 08 us 454 15 02 XFER RDY T3 759 706 665 04 us 464 15 35 Command T2 7 199 999 81 us 112 3 70 Response T3 10 239 999 77 us 117 3 87 Task n 1 279 999 97 us 6 0 20 Command Dp 78 000 000 00 us 700 23 16 Command B 239 999 984 74 ns 1 0 03 Response T1 1 346 666 69 us 6 0 20 Response T2 37 266 666 41 us 357 11 81 Response T3 31 880 001 07 us 344 11 38 Task nu 213 333 343 51 ns 1 0 03 Data B 7 079 999 92 us 2 0 07 2 461 87997 ms 3023 100 00 Figure 3 55 Statistical Reports SSP Transport 158 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy SMP Transport Report To display the SMP Transport Report click the SMP Transport tab The SMP Transport Report displays information in the following columns O Types See Figure 3 56 All Custom Request Response Port See Figure 3 52 on page 155 All Custom I1 T1 12 T2 13 T3 14 T4 Duration All Custom or time unit Count All Custom or a number of occurrences Percentage of total count OOO O e File Setup Session Analysis Navigation View Window Help a mi Q9
271. iles LeCronLeCrop SATA Protocol Sulte User Error detail elf IRE Iv Append eror details Idle Number OF Run Each Test Aun All Tests Sequentially Start LED Buzzer Check Close Figure 3 186 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 270 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Find DUT Teledyne LeCroy 3 23 Find DUT The Find DUT utility obtains all vendor specific information and detailed device parameters Find device finds any devices that are attached to any port Select Setup on the main menu bar and choose Find DUT El File session Analysis Navn ze E TxVout amp Preemphasis El User Defined Decoding oj External Trig Setting r All Connected Devices 41 Find DUT aburce Control Preferences Self Test Data Block Set Port Alias Set SAS Address Alias Figure 3 187 SATA Find Device Command on Tools Menu The Find DUT dialog displays see Figure 3 188 on page 272 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 271 Teledyne LeCroy Find DUT Find Device Under Test DU Find Allinfo SAS Address Device List Find Device in Parameters Supported Pages amp SubPages Field
272. in Expander Chg Count D Vendor Id 4 3 1 1 Scrolling On Packet View Spreadsheet View Column View Text View with frame A selected a If you scroll with the mouse wheel or go up down with keyboard arrow button the software will scroll the view but the frame A remains selected a If you scroll with mouse wheel or go up down with keyboard arrow button while pressing the Shift button software will scroll to the next frame like B C or D Sierra M6 1 SAS SATA Protocol Analyzer User Manual 119 Teledyne LeCroy Viewer Display Command Input H Normal Output H PM Port H Protocol 0x90 Execute Device Diagnostic 0x05 Device Diagnos 2 160 us FIS Type PM Port H C H Command H Features H Sector Number H Cyl Low H Cyl High H 8 566 0x27 Register Host to Device Duration 1 026 us Link FIS Type ATA Command Sec Count H Link Data Relative Time Duration 1 0x27 Register Host to Device 0x90 Execute Device Diagnostic D ns 1 026 us JAS FIS Type PM Port H CH Status H Error H Sector Number H Cyl Low H Cyl High H Dev Head H so 0x34 Register Device to Host i iT io 1 ER len B E B i fi 3 5 586 us 4 a ee 5 586 us 511 600 093 5 mL 11 511 600 093 5 6 Figure 3 2 SATA Packet View of sts Sample File 3 1 2 Quick View By default the Preferences settings enable Quick View Quick View allows f
273. in the packing list 1 USB A B 2 0 cable 1 8 meter 1 Ethernet cable 10 feet 2 SATA cables 0 5 meter 2 SATA cables 0 15 meter 1 Sync cable 10 pin 6 inch 1 DC power pack and cord 1 Installation DVD ROM with software and documentation 1 Sierra M6 1 Quick Start manual 1 4 Unpacking the Analyzer Inspect the shipping container for any damage Unpack the container and account for each of the system components listed on the accompanying packing list Visually inspect each component for any damage In the event of damage notify the shipper and Teledyne LeCroy Corporation Retain all shipping materials for shipper s inspection 1 9 Analyzer Features 1 5 1 Front Panel The Analyzer has the following features on the front OOOO Power Indicator LED green Status LED blue Host SATA Connector Device SATA Connector LED Indicators for Host and Device m Trig trigger blue m Error error red m Link link orange m Spd speed level yellow Speed Host Device 1 5G Off Off 3 0G On Off 6 0G On On Sierra M6 1 SAS SATA Protocol Analyzer User Manual 17 Teledyne LeCroy Analyzer Features m Fr OOB OOB Out of Bound or Frames traffic green Before the link illuminates during the OOB sequence After the link indicates traffic on the bus SAS SATA 6Gbps m Device Power Status Figure 1 2 Front Panel 1 5 2 Rear Panel From left to right the Analyzer has the following on the back Q US
274. ined event then Inject Cac Error every 10th occurrence Click here to add another action Click here to add another event n Ht gt e Options O Options Set options for this output wndow v 3 X Device Set options for this output window A ex nn RR ax Port i 16 30 22 208 187 000 Inject CRC Error Value 16 Port 2 16 30 22 263 931 000 Inject CRC Error Valuer 0 Port 3 16 30 22 309 455 000 Inject CRC Error Value 0 Port 4 26 30 22 347 685 000 Inject CRO Error Velue 0 22 VOR 16 1 27 042 000 000 SN 10 42 Device Joined 16 25 27 057 000 000 SN 10542 Device connected 16 19 39 887 000 000 SN 10542 Session started Port 1 IO Meter Traffic 16 20 03 977 000 000 SN 10542 Session stopped Port 1 I0 Meter Traffic 16 28 55 795 000 000 SN 10542 Session started Ports 1 IO Meter Traffic 2 IO Meter Traf 16 31 04 024 000 000 SN 10542 Session stopped Ports 1 IO Meter Traffic 2 IO Meter Traf 4 In p Set options for this output window CAP NUM SCRL Figure 4 57 Device Output Window Options Automatically Save Log File Selecting either Wrench will pop up a window which automatically stores the log file for the Window selected See Figure 4 58 Options Automatically Save Log File Path C Users Public Documents LeCroy SAS SATA Protocol Sui Max Size 1000 KB Figure 4 58 Auto Save Log File Location and Size You c
275. ing specific patterns for capture Additionally you can define a different set of patterns to capture after trigger To define specific patterns for captura click the Pattern button to display the Capture tab for Pattern see Figure 2 17 age 58 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 57 Teledyne LeCroy Patterns and Data Capture Setup ia Teledyne LeCroy SAS SATA Protocol Suite SASProtocolAnalyzer File Edit Setup Session Analysis View Window Help GP kl lt Trainer Y Jammer Record BI e dEl ch gt 65 CO Capture Trigger Settings Notes Project Tree l F Exclude SATA CONT B e SASProtocolAnalyzer1 Everything Capture Exclude SATA_SYNC I CES Include prem E Exclude OOB Signals E Exclude XOX Eoi ib El Exclude Payload except 0 Include CONT Parameters 4M Include OOB Signals M Include Payload of Data Frame Pattem fA Trigger Non Sequential STP Frame zi A Settings Trigger Position in Memory 50 Capture Memory Size 10000 KB Primitive Response Timeout 65000 Dword s Speed AutoSpeed 11 T1 12 T2 13 T3 14 T SMP Frame 5 Descrambling Enabled SSP Frame TORTS Align Transmission Period 2049 for SSP 258 for STP Data Pattem 89 Connection Details All Ports Protocol Errors Figure 2 17 SAS Choosing Capture Patterns SAS vs SATA SATA Dialog replaces
276. inite GoTo Stop Sleep i WaitForStop F Label0 Run S N 12871 Port 1 DISCOVER lt Chck here to add another script command gt Labell Wait For S N 12871 Port 1 Until Stop lt Click here to add another script command gt Label2 Run S N 12871 Port 3 4 REPORT PHY LOG ERROR Chck here to add another scnpt command gt Label Run S N 12871 Port 1 DISCOVER lt Chck here to add another script command gt Labell Wait For S N 12871 Port 1 to Stop Just 10 ms Click here to add another scnpt command Label2 Run S N 12871 Port 3 4 REPORT PHY LOG ERROR Click here to add another scnpt command gt Sleep Used to sleep for a few seconds x TES 4 Q Duration Integer or random duration in milliseconds Format Sleep Duration Parameters Example Sleep 100 Batch Script is valid pul ELEM ZA lt Click here to add another action gt Sleep 10 ms lt Click here to add another action gt i Lable 0 Run S N 12871 Port 1 DISCOVER Sierra M6 1 SAS SATA Protocol Analyzer User Manual 355 Teledyne LeCroy Scenario Batch Files 4 14 9 Beep If specified condition is satisfied the system beep for specified duration Format Beep Duration Frequency Parameters Q Duration Integer or random duration in milliseconds a Frequency Frequency in hertz Example IflsStopped 0x83456 4 then Beep 2 20 Bun 0x8S4507 Identity D
277. io Properties Name 298 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Properties Teledyne LeCroy Direction of Traffic Selecting Direction allows you to change the Direction of Traffic You identify direction of traffic change or modification in terms of traffic origin The application uses the following conventions O From Initiator Change is made to traffic coming from test host for example CRC error is injected into traffic stream sent from initiator to target Q 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 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 ability to specify the intended direction for monitoring traffic for that event See Figure 4 15 WV Scenario Properties e me a Properties Type Scenario Name New Scenario 0 Description Direction From Initiator v Smart Hold From Initiator mum 3 Set OOB ETA OOB Definition Normal Spec Value Direction ox Coma Figure 4 15 Scenario Properties Direction of Traffic Smart Hold SATA Scenario Prop
278. ion 5 60 or later Change Format of Logical Block 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 Right click on a column heading to go to Preferences click the Trace Viewer and then the Configuration icon to display the Trace Viewer Configuration dialog Expand the Frame List Spread Sheet View select LBA Sector and change the Format If you cannot change the format there select the Link Fields Transport Fields ATA Cmd Fields or SCSI Cmd Fields node select the field such as LBA High and then change the Format Spreadsheet View Context Menu In Spreadsheet View a Context Menu is available by performing a right click on an Frame packet See Figure 3 32 Delta Time 90 ns P Frame Add Bookmark 140 043 us 934 ns 2 596 us Goto Response 42 421 us am t Set Time Stamp Origin 1 656 us 93 ns Go Next 124 562 us 5 Go Previous 934 ns r 2 212 us amp 42 475 us EM 4159005 A 587 us 5 Hide SMP Request Show SMP Request Hide 0x20 Discover list Show 0x20 Discover list Filter by Range Change Background Color EX Change Foreground Color 400 931 us EN ICONE 2 512 us 1256 45
279. ion then Go To State 2 Else If Bus Condition 1 x Nochange NoJump Else lf Timer 1 Elapsed 1 O No change State 0 State 1 S1 Else It Eu O No change NoJump Capture Everything Exclude Idle C Exclude xx Nothing C Exclude OOB Signal C Exclude RADY O Pattern C Exclude ALIGN Exclude NOTIFY C Exclude SATA CONT C Exclude SATA SYNC Exclude Payload except lo Dword e Advanced switch to Easy mode Multi Sequencer Port i 7 Make Same as Current Add State e Delete State Figure 2 81 State Machine with Multiple Patterns and Timer Elapse In Figure 2 81 the port detects HARD RESET which starts the Timer When the timer expires it jumps to another state If a trigger occurs between timer start and end the captured trace will have corrupt frames because of hardware queue overflow Advance Mode Settings Notes Project Tree State 0 SO Start ae 9 Capture Everything Pattern Cont Trig Timer Ext Out Go To Exclude Items Idle Notify lf Timeout 346 Micro Second ws X Nochange Stat CXV RETURN RTT EN a seas S e GERE Else If m Nochange NoJump State 1 51 Else If do 1 O Mochange No Jump T Capture Everything Exclude Idle C Exclude lt x State 2 52 Nothing C Exclude OOB Signal Exclude RADY C Pattem Exclude ALIGN Exclude NOTIFY C Exclude S amp TA CONT C Exclude SAT
280. ioni a Ga Fe ean n cul bu van vus d ou PE caos rero rea AAA A 22 18 2 DOCICCE IDO VICE E M 22 1 8 3 Connecting over Different SuDnelts Lui 27 1 8 4 Virtual Private Network VPN isc zarate iia dai 27 1 8 5 TCP and UDP Ports Must Be Open to Connect over Ethernet occoncocccoccocconconconconccanonccnnronronronnnanonns 28 1 9 LAUNCHING OUF ANAlY ZON nica 28 1 10 Operating m Simulation MOCGO 3 aiuto opc id 28 1 10 1 Using the SO EWAFO cupio reor Rasart ete rain lA Ai ERR To Reus Tac Pe Roe cue 28 1 10 2 Getting Started with the Protocol Analyzer eeeleeeeeeeeeeeieeer nennen nennen nnn nnn nnmnnn nenna 30 1 11 Menu Options and Toolbar Sii 30 LE Bc EE RH 31 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Teledyne LeCroy Contents Me e SO RUD POC O e EN R 31 ETES SESSION MP 32 PEE Turre EN IS 32 Viewmg Captured Dalarnas s 33 ARONA VIGA ON ni 34 RN Ame w w M 34 Uu AM Ire A A A 36 LESEN I oer Pd 36 Ta TOCA Suc une rua ede cies Sco vuvRS a cce vb Sew rav 36 A A ERE TO LC ELLE IU 37 WWD US lel A RR 37 1 11 12 PRAY ZO and INFUSION iaa dd ads 37 Chapter 2 Protocol Analy SUS cuasi 39 2 1 Easy Mode Pre Defined Setups 2 1 0 a dic ioiinidciGosS 39 2 2 MAIN VVING Wise 39 E uie CT IEEE 41 24 Captuine
281. ipt New script Show Grid Show Description window Show Output Settings Figure 3 108 Run Verification Scripts Menu Sierra M6 1 SAS SATA Protocol Analyzer User Manual 199 Teledyne LeCroy Navigation View Toolbar Run verification script s Start running selected script s Edit script Edit selected scripts in the editor application specified in Editor settings Rename script Allows you to rename the selected script Remove script Displays prompt for confirming removal of script 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 settings for VSE 3 6 Navigation View Toolbar The Navigation View toolbar allows you to navigate search filter hide RRDY all primitives and unassociated traffic zoom tile views and select ports NM NM Toolbar ES 3 4 P PY Ox RS EET ch m Trigger Position A Position Position Packet Mo Time Stamp Bookmark Begin End Single Port Multiple Ports The down arrow on the Go To button allows location of cursors or specific packets Trigger Position X Position Y Position Packet Number Timestamp Bookmark Begin and End 4 Th
282. iption Detect incorrect order of Alicgnz FIX IT and beep when it happens Direction for traffic changes From Initiator I Global Rules lt Click here to add an event Sequence Wait for Aliqgnd Wait for ALIGN 0 from Initiator Click here to add combined event then Branch to Wait for Alignl Click here to add another action Wait for Timer 100 us lt Click here to add combined event then Branch to Error Detected lt Click here to add another action Click here to add another event gt Wait for Aliqnl Wait for ALIGN l from Initiator Click here to add combined event then Branch to Wait for Alignz2 Click here to add another action Wait for ALIGN 0 from Initiatori OR ALIGN iz from Initiator OR ALIGN 3 from Initiator Click here to add combined Branch to Error Detected and Substitute with ALIGN il Click here to add another action Click here to add another event gt E Wait for Aliqnz File Libr File Libr For Help press F1 COP WOM SCRL Figure 4 54 Example 9 Top Half of Scenario Sierra M6 1 SAS SATA Protocol Analyzer User Manual 341 Teledyne LeCroy Downloading Scenarios d Fix Aligns Test Scenario is valid E Wait for Aliqnz Wait for ALIGN iz from Initiatori then Branch to Wait for Align gt 3 Wait for ALIGN 0 from Initiatori OR ALIGN il from Initiator OR ALIGN 3 from Initiator then Branch to Error Detected
283. irst frame in the command to the end of the last frame in the command Pld Bytes Payload Bytes The number of payload bytes this operation transferred Latency Time The time measured from the transmission of the command to the first data transmitted for this IO operation Data Stat Time Data to Status Time The time between the end of data transmission for this command and the Status frame Thrpt MB s Data Throughput The payload divided by response time expressed in MB per second Duration The time taken from the first DWord to the last DWord in a line Source Address HJ Destination Address HJ Operation Code EWP H CMDDT H Page or Gpcode H Allocation Length CH Contr 5 DDEOCA2FBSDUD4 500065000051F775 Task Attribute Tag Hi Status LUM Hi Trp Ma Resp Time Pid Bytes Duration Metrics ae ARMADA DOaooo00000000000 3 527 093 uz 36 S66 n Relative Time E Duration Figure 3 10 Packet View Metrics Expanded Copying Packets from a Trace to a Host Emulator Script This check mark in the illustration below shows packet s selected to copy You can copy packet s from a trace and paste it into a host emulator script That is why you can only mark packets that we support in emulator and host side packets You can also mark multiple packets by left clicking and moving the mouse over multiple packets and then right click to select them and paste them in an emulator script 128 Sierra M6 1
284. is no triggering you stop recording manually MUX When MUX is enabled each segment has four memory banks limiting Memory Assignment somewhat Here are examples of different Port Configurations and Trigger Positions n n One port configuration A Sample size is user specified sample size Two port configuration AA Ports 1 and 2 are on the same FPGA so Memory Assignment has an effect If you use snapshot triggering the sample size is near specified size Two port configuration AA If you use manual stop Memory Assignment has no effect Sample size depends on port traffic loads Two port configuration AA If trigger is set at 5096 and there is enough data to fill pre trigger Memory Assignment has an effect Sample size is typically near specified size Two port configuration AA If trigger is set at 5096 but there is not enough data to fill pre trigger Memory Assignment has an effect Sample size is typically more than half specified size with size determined by the amount of data cap tured before trigger Two port configuration A A Ports 1 and 3 are not on the same FPGA so Memory Assignment has no effect If one port has heavy traffic it may fill its memory bank and stop recording resulting in smaller sample size than speci fied Note Checking this option does not affect the sample It only allows larger sample sizes Note If traffic is balanced on ports sample s
285. isparity error 9 j 356 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Creating a Pattern Generator File You may use any text editor or word processor to create a pattern generator file spg using the following conventions 5 1 Key words ALIGN CONT DMAT EOF HOLD HOLDA PMACK PMNAK PMREQ_P PMREQ_S R_ERR R_IP R_OK R_RDY SOF SYNC WTRM X_RDY XXXX LOOP Enable Disable Host Device Scramble Role END OF FILE Sierra M6 1 SAS SATA Protocol Analyzer User Manual 357 Teledyne LeCroy Comment format 358 9 2 9 3 9 4 9 9 5 6 9 7 9 9 Comment format Comment text Primitive 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 To enable scramble use Scramble Enable Role definition format To specify SATA hardware role Role Host or Role Device END_OF FILE definition A pattern generator file must include END_OF_FILE as the last statement in the file Example Pattern Generator File Figure A 1 illustrates a typical Pattern Generator file Sierra M6 1 SAS SATA Protocol Analyzer User Manual Example Pattern Genera
286. ist allows users to manually change the decoding assignment post capture This may be necessary if the trace contains SAS traffic that is not SCSI Block Command 3 SBC3 based such as SAS tape or multimedia devices rare If for any reason the Assigned SCSI Specs list is displaying an incorrect spec for an individual device select the Hash Address within this list and click the Remove button To assign a different specification to the same device reselect the device hashed address in the upper Hash Destination SAS Address window Then select the correct specification in the SCSI Spec s window Click the Add to Assigned List button to assign the individual decode It s only possible to assign one SCSI Spec to a given hash address Decoding changes should appear immediately but It s necessary to save the trace to keep any decoding changes In general SATA devices do not require manual decode assignment Most SATA based HDD SSD devices use the ATA ATAPI command set and are automatically decoded using the MMC6 SPC4 specification Some removable SATA multimedia devices utilize the PACKET feature set also known as ATAPI devices These ATAPI based devices use a subset of the SCSI command set by default will be decoded using the Multi Media Commands 6 MMC6 SPC4 Some SATA multimedia devices may alternately use the SCSI Streaming Command set SSC2 SPCA For these devices it may be necessary to manually assign the decoding to the SSC2 SPC4 spec See F
287. ist of commands to run in sequence when you execute the file A batch script can manage scenarios and their assigned ports and hardware in sequence using conditions The system checks for accuracy of inputs and commands Note Before you run a Scenario Batch file that requests scenarios you must download the scenarios to the Scenarios box gs Mew Batch To start a batch script click the New Batch Script Script button or select File New Batch Script 348 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Batch Files Teledyne LeCroy 4 14 1 Script Workspace In the Script Workspace shown below add a command and make a batch file Hm LeCroy InFusion Error Injector and Traffic Modifier File View Configuration Tools Help D 5 2 a 5 E E tE 8 New Scenario Open Library 3 Print Show File Show Library Show Output Show Analyzer Show Trainer Manager e Hu ES ic Rec Analyzer Sipp Abou Bam Maishs 4 New Script 0 EP SIE File Library amp elecomp builds stora y A X Main Library Yax l clc NN D Hg E Dp EDX Scenarios Scenarios a 40 READ GPIO REGISTER fj New Scenario 0 40 REPORT SELF CONFIGURATION STAT 40 REPORT ZONE PERMISSION TABLE 40 REPORT ZONE MANAGER PASSWORD 40 REPORT BROADCAST 40 DISCOVER 40 REPORT PHY ERROR LOG REPORT PHY SATA 40 REPORT ROUTE INFORMATION 40 REPORT PHY EVENT 40 DISCOVER LIST 40 REPORT PHY EVENT LIST
288. ist to refresh the device list To connect to a device select a device which is Ready to Connect and click the Connect button on the right The Connection Properties dialog is displayed see Figure 1 14 on page 26 Select Device a m xx Device Dev Name Location Status Order E Set Alias Name sierra Mb 2 SM xi ed A fe a Content Sierra Mb 1 SH ed Please specify the action to take when next time SM 62084 is detected No Chained 22 Add Device SP Remove Devi de F Settings C Automatically connect to the device ask if I want to connect to the device Take no action Selected Device Id t A af Networks xj Refresh Device list Close Figure 1 14 Connection Properties Dialog Specify one of the actions from the following Q Automatically connect to the device Q Ask if want to connect to the device Q 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 icon The sequence of the units is displayed in the Order column See the following figure Sierra M6 1 SAS SATA Protocol Analyzer User Manual Connecting via Ethernet Teledyne LeCroy Select Device _ xj Device Dev Name Location Status Order or Set Alias Name r Sierra M
289. ives 2 You use two sequences to detect the order in which a type of frame is received from initiator and target 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 it happens You implement this scenario with a single five state sequence Creating a sequence with many states 2 This scenario is an enhancement of example 8 In this scenario the objective is to detect an incorrect order of primitives fix it and cause the device to beep when this happens As with example 8 you implement this scenario with a single five state sequence Example 7 Creating Two Sequences and Global Rules In this example Global Rules substitute an Align 0 primitive for each of the following received from the initiator Align 1 Align 2 and Align 3 As a separate test operation two sequences determine the order in which each Identify Address frame is received from initiator and target The following tables summarize the logic implemented by each of the sequences TABLE 4 7 Example 7 Logic of Sequence 0 State State O State 1 Description If Address Frame is detected from initiator go to State 1 otherwise continue to check incoming frames do not change state If next Address Frame detected is from target beep 1 second TABLE 4 8 Example 7 Logic of Sequence 1 State State O State 1 Description If Address Frame is detec
290. ize is the same whether you check or uncheck the Sampling Memory Usage Optimization option Note Memory Assignment depends on traffic load distribution at the time when the system tries to re assign physical links to memory banks Therefore if you repeat a capture with the same Sampling Memory 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Floating License Teledyne LeCroy If the Sampling Memory Usage Optimization Option is Not Checked 3 17 Each physical link or logical link if MUX is enabled is assigned to a specific memory space memory bank depending on the Sampling Memory Size and Segment Number parameters Important If any physical link fills its memory bank the recording process stops Other memory banks will typically be less than full and can be empty The sample file might be smaller than the user defined Sampling Memory Size You might even think that the Analyzer malfunctioned Floating License Note License Manager is only available when in Cascading mode To manage the license select Setup gt License Manager The Floating License dialog displays the available functionality by Function Total Ports Assigned To ports and Not Used It also disp
291. ject Inject Inject Inject Inject Figure 4 62 Sample Device Output Log File Sierra M6 1 SAS SATA Protocol Analyzer User Manual Value 0 Value 0 Value 0 Value 16 Value 0 Value 0 Value 0 Value 16 Value 0 Value 0 Value 0 Value 16 Value 0 Value 0 Value 0 Value 16 Value 0 Value 0 Value 0 347 Teledyne LeCroy Scenario Batch Files Copy or Copy All Another method to capture and save the log file is to simply perform a right click in the log Output Window or Device Window Then select a portion of the log file to Copy or Copy All See Figure 4 63 File Setup View Configuration Tools Help DOS BS CIDE Orme Qr y enu 4 10 Meter Traffic bx Status Not sa D HOG EQ X fr R A Scenario Name IO Meter Traffic amc is E Scenarios EN 10 Meter Traffic E New Scenario 0 Direction for traffic changes From Target Saart Mold Yes 008 Setting Normal Spec Value Pot func Library Scenano Global Rules O Y WainLirar 10 Meter Traffic Click here to dd an event Main Library IO Meter Traffic Main Library 10 Meter Traffic MainLibrary 10 Meter Traffic Sequence 9 ooo 444 State Wait for ATA Command h60 READ FROMA QUEUZD From Initiator Click here to bdd combined event then Branch to State 1 Click here to dd another action gt Click here to add another event State i Wait for ATA Command h l WRIT
292. k 0Ox000000FF Offset 0 SOF Type DAIA SOF 306 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Events Teledyne LeCroy 4 7 5 Analyzer Trigger Trigger the Analyzer when the Scenario event matches You can see the trigger on the Analyzer Status Bar The Analyzer Trigger feature functions when an Analyzer trigger pattern is set to Pattern Infusion and is running a scenario which activates the Trigger analyzer action A message Triggered Post Trig Capturing displays on the Software Status bar Note This is different from the external trigger mechanism You do not need an external trigger cable Note When the analyzer triggers it triggers on a packet before the actual trigger event occurs The trace triggers more than 1 us before the event actually occurs The trigger is on the Initiator side instead of the Target side as set in the scenario 4 7 6 Adding NOT Property to SAS and SATA Primitives Y cv pert A i Type Properties Address Frame Type Event Analyzer Trigger Description Any Dword Count Randomly No ATA Command Counter Value 1 ATA Command Frame Direction From Initiator ATAPI Primitive Both Links Up Not No E CRC Error FIS Frame an FIS Type Frame Type Internal Trigger Invalid 10bit code Error Links Speed 12G Links Speed 3G Links Speed 6G OOB Primitives Primitive Group SAS Primitive SATA Primitive E I I
293. k Address Frame to open the Address Frame Type Pattern dialog see Figure 2 24 on page 65 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Protocol Errors Teledyne LeCroy Address Frame Type E x Format CB inary Hexadecimal Address Frame Type Any Address Frame Type X m Any Address Frame Type Cancel Show Reserved and Parameter Value Address Frame Type A Any Address Frame Type i fue fed fe fa ERA fa po bs Up RS Eat Check All Uncheck Al Figure 2 24 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 SMP Frame SAS only Double click SMP Frame to open the SMP Frame Pattern dialog SMP Frame Type xj Format SMP Frame Types Any SMP Frame Type A Yj Binary Function Any SMP Frame T ype Hexadecimal Cancel Show Reserved art Parameter Value SMP Frame Type x Any SMP Frame Type Function Any Function ha Iv is ps Tz E YA non 9 e murs mir Check All Uncheck A Figure 2 25 SAS SMP Frame Pattern Dialog SAS vs SATA Not available in SATA Choose a SMP Frame Type and Function from the drop down 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 Sierra M6 1 SAS SATA Protocol Analy
294. ket 1 Fayvload Figure 3 175 Select a Script Type This will take you to the location of the stored script type See Figure 3 176 open x user J ES ETT AGA E Computer Windows OS C Users Public Public Documents LeCroy SAS SATA Protocol Suite Organize New folder Name Date modified 4 Libraries Documents No items match your search af Music Pictures E Product Manuals videos Computer Es Windows7_0S C F MARKETING cate svrl Mz Lenovo Recovery Q ET File mame Decoding Script Files for SCS Commands asl Figure 3 176 Path to Stored User Defined Scripts Choose an appropriate script file and click Open 260 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Help Menu Teledyne LeCroy 3 21 Help Menu 3 21 1 Tell Teledyne LeCroy Report a problem to Teledyne LeCroy Support via e mail This requires that an e mail client be installed and configured on the host machine 3 21 2 Help Topics Displays online help You can also select F1 3 21 3 VSE Help Topics Displays VSE online help You can also select F1 3 21 4 Update License A current license agreement with Teledyne LeCroy entitles the Analyzer owner to continued technical support and access to software updates as they are published on the Teledyne LeCroy website When you obtain a license key from the Help menu select Update License to display the Select License Key File di
295. l Analyzer User Manual InFusion Scenarios Teledyne LeCroy You can not change a state based on back to back events At 6G speed there should be at least one dword between the triggering event of two consecutive states At other speeds back to back dword state transitions might rarely be missed so best practice is to never assume back to back dword events As described later in this chapter you can create any number of scenarios and store them in libraries on the host machine s hard drive Scenario library files names are in the following format lt filename gt infdb Creating InFusion scenarios is easy but it requires an understanding of the following terms defined in Table 1 TABLE 4 1 Term Action Event Combined Event Global Rules Sequence State Key Scenario Terms Definition InFusion response to an event Condition that is detectable by InFusion Logical OR association of events for example event A OR event B Portion of a scenario that can define a single InFusion test state You can think of the Global Rules and each sequence as a separate test routine or program operating within the scenario Each operates independently and in parallel with the others The purpose of each is to detect events and then respond with the appropriate action or set of actions In essence you can operate up to three test states simultaneously within InFusion Portion of a scenario that can define multiple InFusion
296. l Analyzer User Manual Scenario Actions Teledyne LeCroy TABLE 4 3 Test State Actions Action Beep Branch to Existing State New State Capture Data DWORD CRC Error Invalid 10bit code Error Inject Running Disparity Error Insert Address Frame FIS Frame SAS Primitive SMP Frame SSP Frame Insert DWORD Internal Trigger Link Disconnect Reconnect Marker Monitor Count Remove Frame Partially Primitive Whole Frame Restart All Sequences Current Sequence SNW Speed Negotiation Retime Speed Negotiation Violation Sierra M6 1 SAS SATA Protocol Analyzer User Manual Description Emits audible sound of duration Select via drop down list Go to a state in this sequence that is already defined Go to a state in this sequence that is not yet defined you need to define it Captures a data DWORD into one of four registers Injects a CRC error into the line Injects invalid 10b code into the line Injects a Running Disparity RD error into traffic Inserts a frame or primitive Inserts DWORD Allows user to send a trigger notification to other ports See Generating an Internal Trigger on page 314 Puts both InFusion SAS ports at electrical idle immediately This action is only in effect while the scenario is running and the Jammer will reconnect the line when the scenario is stopped Starts traffic pass through immediately This action restarts traffic after a previous disconne
297. l data fields right click the mouse in a data field and choose Expand All see Figure 3 148 Bookmark Show Field b Hide Field Format k Byte Order k Open as data view Set as Refrence Data Payload Set as Second Data Payload Copy Data Copy Command Set Time Stamp Origin Color Goto Figure 3 148 Expand All To collapse all fields right click the mouse in a data field and choose Collapse All You can expand or collapse all FIS s and commands To expand right click the mouse in a data field and choose Expand All FIS s or Expand All ATA Cmd s See Figure 3 149 on page 234 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 233 Teledyne LeCroy Port Status Add Bookmark Show Field Hide Field View Fields Add to Trigger Expand All H s E Goto Next Tag FS Goto Previous Tag Shift F5 Set Time Stamp Origin d Color Time Stamp Format Goto Figure 3 149 Expand All FIS s To collapse right click the mouse in a data field and choose Collapse All FIS s or Collapse All ATA Cmd s You can expand or collapse specific packets and commands by clicking on the or buttons m Hc 36 20 0x41 DMA m T 36 zl 0x45 Data y Link 3G 11 870 306 ms 31 E Figure 3 150 Expand Collapse Specific Layers 3 8 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 S
298. lation CRC Error Disparity Error Align Notify Error Q Port All H1 11 H2 12 H3 I3 H4 14 or Custom a Count All Custom or a number of occurrences Q 96 Percentage of total count B File Setup Session Analysis Navigation View Window Hep a d Q Tene Y imer 8 O re cord M M AR a ee 2 3 E amp m T L gt gt 1 of 2 Code Violation Protocol Error A ae Protocol Error 2 3 Code Violation 2 Disparity Error 3 Code Violation B 2 6 25 Code Violation T3 2 6 25 Code Violation 14 2 6 25 Code Violation T4 3 9 38 Disparity Error t 3 9 38 Disparity Error 12 1 3 13 Disparity Error T2 2 6 25 Disparity Error B 2 6 25 Disparity Error T3 2 6 25 Disparity Error T4 3 9 38 32 100 00 Figure 3 66 Statistical Reports Protocol Error Report Sierra M6 1 SAS SATA Protocol Analyzer User Manual 169 Teledyne LeCroy Analysis Performance Report To display the Performance Report click the Performance tab see Figure 3 67 on page 170 The Performance Report displays the report data in columns with the following information O Performance Items All Custom Total Read Size Total Read Duration Total Read Commands Min Max Ave Read Throughput Min Max Ave Read Latency Time Min Max Ave Read Response Time Read lO Per Second Total Write Size Duration Commands Min Max Ave Write Throughput Min Max Ave Write Latency Time Min Max Ave Write Response Time Write IO
299. lays the Current License Configuration by License Type Serial Number Analyzer and InFusion Floating License Available Functionality by Setup and Licensed Features Function Total Ports Assigned To Ports A Analyzer 0 B T Device Emulator o B B E3 Host Emulator 0 0 0 EM Infusion o B o Current License Configuration Type Serial Num Analyzer Device Emulator Host Emulator Infusion Simulation SM 00 Al gt gt 5 HE 2 En gt Default Licenses En Figure 3 168 Floating License Dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 255 Teledyne LeCroy External Trig Setting 3 18 External Trig Setting The External Trig Setting dialog displays the External Trig Out Setting and External Trig In Setting as High Active Low Active or Toggle External Trig Setting h i X External Trig In Type High Active External Trig Cut Setting Type High Active C Low Active C Toggle External Trig uk pulse width 1 x 66 ns Low Active C Toggle c Figure 3 169 External Trigger Setting Dialog To display the External Trig Setting dialog select Setup External Trig Setting 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 Note The External
300. ledyne LeCroy Analysis Bd Teledyne LeCroy SAS SATA Protocol Suite BETA L5 30 amp 0scs E ae E e dec AS ns 81 Qx1 t SSP 1 0x9 3 0 Gbps Features H intietor Connecton Tag H Desbnabon SAS Address H 2223 5000 85000000001 Source SAS Address H Source Zone Group H Jpen Dx 0 000104785 0 Pathway Blocked Count H Arbiraticn Wai Time H More Compatible Features H CRC H Link Data H if 7 00 I 0368 0000000 Y to T 498 360 lus Figure 3 22 Workspace with Four Views Packet Spreadsheet Column Bus Utilization j8 A PERDRA ta A LAN ACERA IEC e se pv o se c sSpreadsheet View TxVout Disat Initiator Emulator Stop 3 Now you can save this set of Views to be called up later or as the Default Workspace per Changing the Default View on page 132 4 If you Save the Workspace with four views as the Default the next Trace you open will have all the views you want to see See Figure 3 23 134 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy amp 59 yU n i te BOPA OLB Bex ro oe lt gt na CN 39 Menaty 1 1 a 1 ml pO ee o gt WS aa STP Target Port H SSP Target Port H Device Name A Phy Kenbtier H I 0 1 BEEN so00 Dreak Reply Capable H Requestedinside ZPSOS H Inside ZPSOS Persistent H PARTIAL CAPABLE 000000001 0 0 SLUMBER CAPABLE H CRC H Li
301. level and replace with user defined values You can replace values on every occurrence after a specified number of occurrences or after a speci fied time interval Q Packet Drop Removes individual primitives address frames or data frames from the stream to verify retry behavior a Primitive Manipulation Replaces handshaking and flow control primitives to help validate robustness of a design a Traffic Monitoring Operates as a traffic monitor collecting statistical data on user specified parameters In this mode data passes unchanged in both direc tions QO Menu Driven Interface Allows easy set up of test scenarios QO API based on C Allows development of custom test applications Q Scenario Batch Files Allows scenario scripts With respect to traffic modification in the Link Layer you can modify primitives CRC scrambled traffic and SSP SMP and STP connection events You cannot modify clock skew management OOB and power management and signal integrity InFusion consists of a hardware device that connects to the line under test and a Windows based software application used to create and download test scripts to the device You also can use the software application to configure and control the device across an Ethernet link Sierra M6 1 SAS SATA Protocol Analyzer User Manual Interface Teledyne LeCroy 4 2 4 2 1 InFusion test scripts are called scenarios Scenarios determine how the hardware device monitor
302. lick here to add combined event Click here to add an action Click here to add anoth event gt i For Help press F1 COP MOM SCRL Figure 4 44 Example 6 Entering Second Action The Action Properties dialog box appears 7 In the Type list on the left choose Stop Scenario as the action that you want after the timer has expired 8 Click OK to close the Action Properties dialog box Sierra M6 1 SAS SATA Protocol Analyzer User Manual 329 Teledyne LeCroy Creating a Sequence 330 4 10 3 nT ACK Inject Error b x Scenario is valid Scenario Name If ACE Inject Error 3 Description Wait for ACK inject error Direction for traffic changes From Initiator Global Fules Wait for ACE from Initiator then Inject Bunning Disparity Error E Wait for Pandom Timer Max Time 1 730 then Stop Infusion E For Help press F1 Figure 4 45 Example 6 Complete Scenario 9 In the File menu select Save Scenario to save the scenario Creating a Sequence This section gives several examples for creating sequences Recall that a sequence can have multiple states but only one state is active at any time In other words at any point in time a sequence waits for one event or combined event and responds with the corresponding action or set of actions when the event occurs A sequence is more powerful than Global Rules because you can create branching or looping test logic with a seque
303. lick the name of the sequence or state A dialog box appears that allows you to enter that information Note The description does not appear on screen but you can bring it up by clicking the name of the sequence or state 4 In the State O area click the prompt to add an event New Scenario 0 bx Status Mot saved Scenario Name New Scenario O Direction for traffic changes From Initiator T Global Rules Click here to add an event State oO Click here to ii an event gt Click here to add another state gt Click here to add another sequence gt Figure 4 47 Example 7 Adding an Event for the First State The Event Properties dialog box appears 5 Inthe Event Properties dialog box select Address Frame as the event 6 Click OK to close the Event Properties dialog box 332 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Creating a Sequence Teledyne LeCroy 7 Inthe State O area click the prompt to add an action New Scenario O bx Mo action specified For the event Address Frame 0x00 IDENTIFY in Sequence O State O Click here to jump to Ehe pro Status Mat saved Scenario Name New Scenario O Direction for traffic changes From Initiator I Global Rules Click here to add an event Sequence State O P Wait for Click here to add Figure 4 48 Example 7 Adding an Action for the First State The Action Properties dialog box appears 8 For the action
304. load of Data Frame Y Exclude Idle Parameters Primitive amp P Primitive AIP NORMAL STP Frame amp P Address Frame Any Address Frame Type hinin amp P SMP Frame Any SMP Frame Type have Tuto m Trigger Non Sequential SMP Frame ty Settings i 1 SSP Frame Trigger Position in Memory 50 Data Pattern O Capture Memory Size 10000 KB renee Primitive Response Timeout 16384 Dword s Protocol Errors Speed 30 Gbps 11 T1 12 T2 13 73 14 T4 Descrambling Enabled Align Transmission Period 2049 for SSP 258 for STP 89 Connection Details Simulation Mode v Exclude pattems Define different patterns for pre trigger and post trigger data captures E Easy switch to Advanced mode Collapse All Expand All Figure 2 18 SAS Exclude Patterns Checked SAS vs SATA SATA Dialog replaces Exclude SATA CONT with Exclude CONT and Exclude SATA SYNC with Exclude SYNC SATA Dialog has Exclude Dev Slp Packets SATA Dialog has different Pattern Parameters see Patterns and Data Capture Setup on page 57 To remove an item from capture highlight it in the Project tree and click the Remove button 2 11 3 Pre and Post Trigger Data Capture You can define one set of patterns for capture prior to the occurrence of a trigger and another set of patterns for capture after the occurrence of a trigger The selection and setup procedure is the same for both Pre Trigger captu
305. log Select a view in the left pane and set the trace viewer display options in the right pane Sierra M6 1 SAS SATA Protocol Analyzer User Manual Preferences Teledyne LeCroy 3 16 4 Spread Sheet View Tab Tormesa Spread Sheet View Packet View Color Setting Repeat decoded command in frame column 9 Based on Cell Type Decode CDB of Commands 3 Based on Port No em c P Based on Red Cosma Type E Shaw Sector Count instead of XFER Length C Based on Specific Command Type A Anchor the Selection bar Set the Anchor row as sync point Figure 3 165 Preferences Dialog Spread Sheet View Tab The SAS Preferences dialog has the same options except that it does not have Show Sector Count instead of Xfer Length Color Setting Based on Cell Type Fach column has its own color Based on Port No Data of each row are shown based on the specified color for its port You can set the color of ports in the Viewer settings Based on Read Write Command Type You can specify a color for Read commands another color for Write commands and other color for other commands The software shows each row based on the command type Read Write or others Based 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 vie
306. log box click Primitive to display a drop down menu that lets you choose the type of primitive for which to substitute for RRDY Normal see Figure 4 32 on page 321 Choose ERROR Click OK to close the Action Properties dialog box In the File menu select Save Scenario to save the scenario In this example you set the substitution action to happen at every occurrence of an RRDY Normal as shown in the figure the action is set for every occurrence However you can set an action to happen at other multiples of event occurrence for example 5 25 1000 and so on You also can set the action to happen at random within a specified number of event occurrences 3 _ Replace RRDY Normal bx Scenario is valid Scenario Name Replace BEDY Normal gt Description Wait for BEDY Normal and replace it with ERROR Direction for traffic changes From Initiator Global Fules E Wait for BREDY NORMAL from Initiator then Substitute with ERROR Click here to add a Sequence gt E For Help press F1 Figure 4 35 Example 2 Complete Scenario Example 3 Creating OR Conditions In this example the Global Rules area of the scenario waits for either of two types of RRDY primitive and replaces them with an ERROR primitive Sierra M6 1 SAS SATA Protocol Analyzer User Manual 323 Teledyne LeCroy Summary of Scenario Creation This example includes a combined event a logical OR association of two or more single ev
307. lter Type the Hide Show selection shows or hides captured Bus Conditions in the Sample Viewer Incomplete Frames When selected depending on the Filter Type the Hide Show selection shows or hides Incomplete Frames in the Sample Viewer 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 packets with the specified Protocol Errors in the Sample Viewer ATAPI SCSI Command 212 When selected depending on the Filter Type the Show Hide selection shows or hides ATAPI SCSI commands Sierra M6 1 SAS SATA Protocol Analyzer User Manual Navigation View Toolbar Teledyne LeCroy Filter Check Condition Checking the SCSI Command Status check box enables Check Condition for filtering Filter Options 1 Bus Condition Primitive Incomplete Frames amp ddress Frames I8SP Frames ISMP Frames ISTP Frames 8C 5I Commands J 8MP Commands Task Management Functions JATA Commands MSCS Command Status Source SAS Address Destination 545 Address E Froto Errar ISTP Tag amp TAPI SCSI Command Miscellaneous Filter Type Ports n e MMB mia IY T1 Ie T2 lv T3 IV 714 ResetAl Check All Save Load Cancel Figure 3 122 Filter Check Condition Sierra M6 1 SAS SATA Proto
308. ly in the context of creating sequences those events appear on the drop down list only if you are creating a sequence Sequences can have multiple states and they allow branching between states Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Events Teledyne LeCroy 4 7 1 Sierra M6 1 SAS SATA Protocol Analyzer User Manual TABLE 4 2 Events Event Address Frame Analyzer Trigger Any DWORD ATA Command ATA Command Frame ATAPI Both Links Up CRC Error DWORD Matcher FIS Frame FIS Type Frame Type Internal Trigger Invalid 10bit code Error Links Speed 3G Links Speed 6G OOB Signal Primitives Running Disparity Error SAS Data Pattern SATA Data Pattern SCSI SMP Frame SNW SSP Frame Timer Trigger Input Description Occurrence of a specified address frame The Analyzer Trigger feature functions when an Analyzer trigger pattern is set to Pattern Infusion and is running a scenario which activates the Trigger Analyzer action Occurrence of any DWORD Occurrence of a particular ATA command Occurrence of a particular ATA command frame Occurrence of a particular ATAPI command from the list MMC4 RBC SBC2 SMC2 SPC2 SPC3 or SSC2 Occurrence of both line ports active not idling Occurrence of a CRC error Occurrence of a particular DWORD Occurrence of a particular FIS frame Occurrence of a particular SATA FIS type Occurrence of a particular frame type Allow
309. m or a number Payload Size All Custom or a number of DWORDs Status All Custom Check Condition Good Task Attribute Simple Duration All Custom or time unit accumulative Count All Custom or a number of occurrences Percentage of total count OUOUDODDOLDO O File Setup Session Analysis Navigation View Window Help S E Q Trainer Y ame Q9 e m uf 5 gemetoo 3 fi IP sies s lal PPR 2 K P S ch fo a General Primitive SSP Transport SMP Transport FIS ATA Command SCSI Command SMP Command Task Command SAS Address Protocol Error Performance Lanes Pe Status Payload Size Figure 3 61 Statistical Reports SCSI Command Command 2 5 2048 Custom i 3 128 Good 959 999 938 96 ns Y Writel0 Dp lt 2048 Good Simple 3 343 893 53 ms 446 65 18 Inquiry ii 2 0 Check Condition Simple 479 999 969 48 ns 1 9 36e 3 Read10 ai 3 20 Good Simple 600 000 000 00 ns 1 0 01 Mode Sensel0 n 1 0 Incomplete Simple 213 333 343 51 ns 1 416e 3 Presistent Reserve Out n 2 0 Check Condition Simple 479 999 969 48 ns 1 9 36e 3 Report Target Port Groups n 3 24 Good Simple 613 333 312 99 ns 1 0 01 Read Capacity 2 3 36 Good Simple 10 666 666 98 us 16 0 21 Report Target Port Groups 2 3 16 Good Simple 1 200 000 05 us 2 0 02 Read Capacity D 2 0 Check Condition Simple 986 666 687 01 ns 2 0 02 Read Capacity 2 3 8 Good Simple 1 146 666 65 us 2 0 02 Read10 D 3 51
310. me ATA Command ATAPI Address Frame SMP Frame SSP Frame SCSI Command Data Pattern Training Sequence Protocol Errors O LLLDLDLDLDLDDDLDDUDDDILDULUL Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup Teledyne LeCroy Define Sequential Trigger Mode This is enabled when more than one pattern is used It allows for the use of a simple state machine of pattern A then pattern B When checked the Count field in each pattern s dialog is enabled see figure below STP Frame Type i x STP Frame Type x Format Format FIS Type Register Hostto Device 0x27 E C Binary FIS Type Register Hostto Device 0x27 id C Binary e Hexadecimal Peer Hexadecimal nay ShowReserved and Obsolete Show Reserved and Obsolete Parameter Value Parameter Value FIS Type 0x27 Register Hostto Device FIS Type Ox2 Register Hostto Device PM Port X PM Port X C C Command XX Command XX Features XX Features XX LBA Low XX LBA Low AX LBA Mid XX LBA Mid XX LBA High XX LBA High XX Device XX Device AX LBA Low exp XX LBA Low exp XX LBA Mid exp XX LBA Mid exp XX LBA High exp XX LBA High exp XX Features exp XX Features exp XX Sector Count xx amp Snertnr nunt xx Jv n v i2 v 13 Jv 14 v i Jv l2 lv 13 v 14 v Ti Jv T2 Jv T3 Jv T4 v TI Jv T2 Jv T3 v T4 Check All Uncheck All Check All Uncheck All Count Count Expected number of occurrences on
311. me Type dialog 55P Frame Type SoP Frame Type Any Type A Any Type FT Show Reserved a FER RD Command Para Response SSP Frame Type Destination 545 Address Gi Oe oi Source 545 Address DR Changing D ata Pointer E ReTransmit Hetry D ata Frames 2 TLA CONTROL Number of Fill Bytes E Tag ONIS Target Port Transfer T aq OUR D ata Offset ORO Format EL SM OR My Hexadecimal Cancel ua gre Er Check All Uncheck All Count Expected number af occurences on each link fi Figure 2 57 SAS SMP Frame Type Dialog SAS vs SATA Not available in SATA Choose a SSP Frame Type from the drop down list and click OK Sierra M6 1 SAS SATA Protocol Analyzer User Manual 89 Teledyne LeCroy Trigger Setup SCSI Command SAS only Double click SCSI Command in the Pattern window to open the SCSI Command Pattern dialog SCSI Command Pattern a x Type Format Any SCSI Command MMC 6 C SBC 3 C SMC 3 C SPC 4 C SSC2 C Binary C 05D 2 C ADC 3 Cancel Hexadecimal Command Type Any Command A CDB Type Any CDB Type y Tag 5 Destination Address SOOO OOO Source Address POON LUN MOOR Iv TS TS TZ Ea Efi v o Ee e ren i Check All Uncheck All Count Expected number of occurrences on each link fi Figure 2 58 SAS SCSI Command Pattern Dialog SAS vs SATA Not available in SATA Choose a CDB from the drop dow
312. member dialog layout and ignore errors and warnings Saving Settings can save log files to relative file folder indicate output log file path and save logs automatically 3 Click the Run scripts button after you select scripts to run VSE starts running the selected verification scripts shows script report information in the output windows and presents the results of verifications in the script list Sierra M6 1 SAS SATA Protocol Analyzer User Manual Running Verification Script Engine VSE Teledyne LeCroy Verification script Result Example SATA ATAPI Verification Script Provides an example of ANA processing a ATAR SCSI commands count DONE of SATA ATAPI traffic atthe ATA command level ProtocolError a sample_ata_commands his script counts some specific SCSI commands that is issued by ATAPI sample_ssp_protocol commands leMetr Html hese SCSI commands are counted aus Di parani jai Inquiry Read 10 Write 10 ModeSelect 10 and ModeSense 10 VS _DiscoverAndReporTracking E Sn ATAPI SCSI commands count These SCSI commands are counted Inquiry Read 10 Write 10 ModeSelect 10 and ModeSense 10 11 Mode Select 10 Mode Sense 10 E penales E mme Figure 3 107 Run Verification Scripts Dialog 4 Right clicking in the script list displays some additional operations over selected scripts Q Run verification script s E Edit script Rename script Remove scr
313. mmands Figure 3 101 Trace Expert Performance Analysis You can use the scroll bar to see more data Sierra M6 1 SAS SATA Protocol Analyzer User Manual 193 Teledyne LeCroy Trace Expert 3 4 2 Error Reports To view the Error Report click on the that button See Figure 3 102 B Ties esi 5 Teledyne LeCroy Tr x V 1 l s z Q 5 file C Users James Allen Desktop SAS Protocol Suite 5 92 B1061 ALPHA SAS Protocol Suite 5 92 B1061 ALPHA Deliverables SASSATASuite PublicDocs User SAS962012G h t 5 Apps El iGoogle 3 Lenovo Recom J Fin_Sites Teledyne LeCro E FIT BugTrack Tutorial Video L Yahoo Finance Yahoo News L PSG Intranet amp Google News 2g TELEDYNE LECROY Everywhereyoulook 5a SAS SATA Protocol Suite Version 5 92 Trace Expert Analysis Report for the SAS 12G scs trace This report contains a comprehensive analysis of performance errors and event statistics of the trace It is a stand alone HTML file that you may save print and share with no dependency on SAS SATA Protocol Suite Version 5 92 Performance Analysis Error Reports Protocol Error Protocol Error Port Count Code Violation 11 2 16 67 Code Violation T1 2 16 67 Code Violation 12 2 16 67 Code Violation T2 2 16 67 Disparity Error 11 1 8 33 Disparity Error T1 2 16 67 Disparity Error T2 1 8 33 Total 12 100 00 Figure 3 102 Trace Expert Error Reports
314. mp El No change No Jump E No change No Jump 1 Else If 1 Else If 1 Advanced switch to Easy mode Multi Sequencer Port 11 71 Make Same as Current For Help press F1 Figure 2 75 SATA State Programming Dialog Capture C Everything C Nothing Pattem Bus Condition Primitive FIS FIS Pattern Data Pattern Protocol Errors Set capture setting of all state as state 0 IV Exclude Idle Exclude ODB Signal Exclude CONT Exclude Payload except Exclude Xxx Exclude SYNC o wor d s o Lia the following Patterns Exclude fz Add State TxWout Disabled Initiator Emulator Stop Device Emulator Inactive Simulation Mode Stop Num A SAS vs SATA SATA Dialog removes Exclude ALIGN Exclude RRDY and Exclude NOTIFY SATA Dialog replaces Exclude SATA CONT with Exclude CONT and Exclude SATA SYNC with Exclude SYNC SATA Dialog has patterns Bus Condition Primitive FIS FIS Pattern Data Pattern and Protocol Errors and does not have STP Frame SMP Frame STP Frame or Address Frame Sierra M6 1 SAS SATA Protocol Analyzer User Manual 105 eJ Delete State Teledyne LeCroy Advanced Mode User Defined Advance Mode Settings Notes State 0 S0 Start PAS Capture Everything h Pattern Cont Trig Timer Ext Out GoTo Exclude Items dle Notify Primitive ACK 1 DI Active gt NoJump A Address Frame Open then Go To State
315. n list and click OK 90 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup Teledyne LeCroy FIS Frame Information Structure SATA only Double click FIS to open the FIS Type selection dialog Format C Binay Hexadecimal Cancel Register Device to Host x34 Show R Set Device Bits Ds D MA Activate 33 41 x58 OxBF Ow4b H4 Tina Iv Hi le pi TH o p2 L H3 p3 Check All Uncheck All Count Expected number of occurences on each link f Figure 2 59 SATA FIS Type Dialog SAS vs SATA Not available in SAS Choose a FIS type on which to trigger and click OK Repeat for additional types Available FIS Types O Register Host to Device Register Device to Host Set Device Bit DMA Activate Any Type DMA Setup BIST PIO Setup Data Any Type DOOOUODODUOCUOD Note You cannot trigger on a Vendor FIS Sierra M6 1 SAS SATA Protocol Analyzer User Manual 91 Teledyne LeCroy Trigger Setup 92 2 13 7 STP Frame Pattern Double click STP Pattern to open the STP Pattern selection dialog STP Frame Type 3 xj Format FIS Type Register Host to Device O27 C Binary f Hexadecimal Cancel Show Reserved and Obsolete Parameter FIS Type Owe Register Host to Device PM Port C Command Features LBA Law LBA Mid LBA High Device LBA Low exp LBA Mid exp JE EEE ETE E ES Ht MH Fus Fr Ha ob Mb fF os TF D4
316. n the Cursor Position toolbar To display the cursor position toolbar select Toolbar from the view menu and choose Cursor Position A to Y Ons xto T Ons Y to T Ons Figure 3 153 Cursor Position Toolbar Sierra M6 1 SAS SATA Protocol Analyzer User Manual 237 Teledyne LeCroy Display Configuration 3 12 3 12 1 238 Display Configuration The Analyzer ships with a default display configuration of field and viewer settings You can define your own field and viewer settings for a particular testing scenario Right click in the Packet View and select Preferences or select Setup gt Preferences gt Trace Viewer gt Configuration Select the Trace Viewer tab and click Configuration to display the Trace Viewer Configuration dialog see Figure 3 154 on page 239 Trace Viewer Configuration The Trace Viewer Configuration dialog allows you to change the following display settings see Figure 3 154 on page 239 E LDLIDLDLDLDLDLDLU Field Setting m Format Decimal Hexadecimal Binary m Visible m Byte Order Right Align Left Align Field Header Setting m Text color m Name m Abbreviation m Foreground color Viewer Setting m Wrap Packet m Enable Tooltips Data Payload m Columns in Row 1 2 4 8 16 m 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
317. nalyzer User Manual Menu Options and Toolbars Teledyne LeCroy 1 11 1 1 11 2 File The File menu options allows you to perform common tasks such as open close save export print send files and exit the application see Figure 1 18 on page 31 i3 Teledyne LeCroy SAS SATA Protocol Suite File Setup Session Analysis View Help ew gt Y Launch Jammer Q9 Launch Trainer Launch CrossSync Control Panel Print Setup Recent Trace Files gt Recent Project Files gt Figure 1 18 File Menu Option Setup For special work you can use the Setup menu see Figure 1 19 on page 32 to perform the following actions Q Configure TxRxVout Pre emphasis see TxRx Vout Preemphasis on page 244 User Defined Decoding see User Defined Decoding on page 259 External Trig Setting see External Trig Setting on page 256 Update Device see Update Device on page 256 All Connected Devices see Select Device on page 22 Find DUT see Find DUT on page 271 Manage Setup Licenses see Floating License on page 255 Set Preferences see Preferences on page 246 Perform a Self Test see Self Test on page 263 Create a Data Block see Creating a Data Block on page 112 Set Port Alias see Set Port Alias on page 242 Set SAS Address Alias see SAS Address Alias SAS only on page 243 OUCODODODODODO oO Sierra M6 1 SAS SATA Pr
318. nario Mame ACK Test Description If ACK beep inject PD error count Direction for traffic changes From Initiator Global Fules Wait for ACE from Initiator then Beep 500 ms and Inject Bunning Disparity Error and Monitor Count x For Help press F1 Figure 4 42 Example 5 Complete Scenario 9 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 Example 6 Using Timers In this example the Global Rules portion of the scenario waits for an ACK primitive from the initiator Each time the device detects an ACK it injects an RD Error into the traffic stream This state continues for a random period of time not to exceed 1 790 seconds After the time period has elapsed timer times out the scenario stops Although this example sets the timer for a random period you also can set the timer for known values 2 ms 5 mins 1 hr 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 Asin 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 keep in mind this is not a combined event see Figure 4 43 on page 329 328 Sierra M6 1 SAS SA
319. nce You can include up to two sequences in a scenario but each is completely independent of the other There is no branching or other interaction between 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 application that says Too Many Actions You can use only one restart sequence action per state When you specify actions for a state you can only use one instance of Restart Current Sequence or Restart All Sequences If you try to use more than one a red error message appears in the status area of the application that says Too Many Actions You can use a maximum of 255 states per sequence If you try to use more than 255 states a red error message appears in the status area of the application Sierra M6 1 SAS SATA Protocol Analyzer User Manual Creating a Sequence Teledyne LeCroy The following table summarizes the examples that follow TABLE 4 6 Sequence Examples Example Description 7 Creating two sequences and Global Rules This scenario has two objectives that you implement with Global Rules and two sequences 1 You use Global Rules to replace any of three types of primit
320. nd dll Figure 2 19 SAS Post trigger Capture Dialog Enabled SAS vs SATA SATA Dialog replaces Exclude SATA CONT with Exclude CONT and Exclude SATA SYNC with Exclude SYNC SATA Dialog has different Pattern Parameters see Patterns and Data Capture Setup on page 57 2 11 4 Defining Patterns To select an item for capture either highlight the category and click the Add button or double click the category to open a corresponding definition dialog You can define patterns for specific ports by checking or unchecking the Port ID Primitive Double click Primitive available only if you check Exclude Patterns to open the Primitive selection dialog Primitive EH Primitive Type AIP NORMAL NOT II 2 Not Specific To Type Of Connections 5 Used Only Inside SSP And SMP Connections 5 Used Inside STP Connections Traffic Speed 1 5 gbp 3 0 gbps 6 0 gbps 12 0 gbp Port ID 11 T1 Figure 2 20 SAS Primitive Dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual Protocol Errors Teledyne LeCroy SAS vs SATA SATA Dialog has no radio buttons and has different drop down options Choose a Primitive from the drop down list box to exclude and click OK Repeat for additional Primitives 2 11 5 Data Pattern Double click Data Pattern to open the Data Pattern definition dialog Data Pattern Format fe SSP Hashed Source SAS Address PARAR C Binary STP Hashed Destinati
321. ng SCSI IO Pending ATA IO SCSI IO Throughput ATA IO Throughput SCSI IO Latency Time ATA IO Latency Time SCSI IO Response Time ATA IO Response Time Figure 3 87 Graph Selected Functions SCSI Functions Selected This will bring up graphs for the Selected functions see Figure 3 89 on page 184 182 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy ei EH File TES Session Analysis Navigation View Window Help E l x cdd O Trainei Y lamme ES O 3ecorc B I 385 88 as se R PBR O 5 R 2 P 4 wl cn OE amp mngco AT Pending IOs IOs 4 Y j mn ny Throughput MB s 200 400 600 800 1 000 1 200 1 400 1 600 1 800 2 000 2 200 2 400 2 600 2 800 3 000 3 200 3 400 3 600 3 800 4 000 4 200 4 400 4 600 4 800 ime ms Hh mm Operation Time 9 pd dle to alld Wi EE a 800 1 000 1 200 1 400 1 600 1 800 2 000 2 200 2 400 2 600 2 800 3 000 3 200 3 400 3 600 3 800 4 000 4 200 4 400 4 600 4 800 H Operation Time eus hi m jl luc al IN ebd Hid iu dl Li Ul 1 di cal FIT 4 HW A to Y O ns x to T 2 869 213 ms Y to T 2 869 213 ms For Help press F1 TxVout Disat Initiator Emulator Stop Target Emulator Inacti Si Figure 3 88 Waveform View for Full Trace Select Packet View to see both the Packet and the Waveforms See Figure 3 89 on page 184 Sierra M6 1 SAS
322. nk Data H el TT OTR RES 64 026 us 80 n9 e 36 RERO NORMAL 0 41551331 ERE lus gt D 7 1 0 ns Address Frame Type x0 Mentir Edge Expander Device ai M O wr 7 Y yen Vv WOW cas Restricted H SUP intiatoe Port H STP indiator Port H SSP intiator Port H Restricted H SMP Target Port H y 0 0 0 0 l 0 TITEL Td dul d d delet 11 lal Elo x 200 400 600 800 1 000 1 200 1 400 1 600 1 800 2 000 2 200 2 400 2 600 2 800 3 000 3 200 3 400 3 600 3 800 4 000 4 200 4 400 4 600 4 800 an en PA en Xto Y Ofna Xto T 2 863 213 ma Y to T 2869213 ma lp press F1 A TxVout Disat Initiator Emulator Stop Target Emulator inact Simulation Stop Figure 3 23 Default Workspace Contains Four Views Trace NewSample scs 5 f you want to know which Views make up the Workspace select File gt Open gt then select the Workspace file workspace_w_4 views default wss See Figure 3 24 on page 135 Open in k User vr OP Gy Name Date modified igi NewSample3 scs 4 27 2015 8 49 AM Recent Places im NewSample4 scs 4 27 2015 8 47 AM gl NewSampleA scs 4 27 2015 8 53 AM Y SpreadSheet View gq NewSampleB scs 4 30 2015 8 38 AM Histogram View Desktop p Sample scs 6 3 2015 8 28 AM obte Workspace 4 squares wss 6 15 2015 3 31 PM Power Tracker View workspace 8 views wss 6 15 2015 2 10 PM Libraries workspace packet only wss y workspace_packet_spread
323. ntered value 65000 DWORDs is default For example it can occur between WTRM and R_OK or X_RDY and R_RDY It expects device or host to send a response but response is not received after 65000 DWORDs You can configure Primitive Response Timeout and HOLD HOLDA Response Timeout in the Settings tab Analyzer Settings section Frame Type Error Wrong frame type Frame Length Error Reported frame length is different than actual frame length Frame Direction Error Wrong frame direction For example Register 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 Delimiter Error Detects two SOF primitives without an EOF between them Also detects two EOF primitives without an SOF between them Radio Buttons All SSP SMP and STP By selecting one of these radio boxes you can specify that you want to trigger or filter on a specific protocol e
324. nts and so on in the Trace Viewer Configuration see Set Port Alias on page 242 The Wrap Packets button on the Viewer Toolbar wraps the packet data in the Sierra M6 1 SAS SATA Protocol Analyzer User Manual 225 Teledyne LeCroy Packet View Toolbar 226 wv SCSI Cmd and Task Mng Lnk The Show Hide Link Packet button displays hides the Link layer SAS only The Show Hide Transport Packet button on the Layers Toolbar displays hides Trp the Transport layer and below SAS only The Show Hide All Commands Packet button shows hides the App E Command layer and all layers below SCSI Cmd and Task Mng SMP Cmd and ATA Cmd SAS only gt Click the down arrow on the Show Hide All Commands Packet button to choose command types to show hide v ATA Cmd T xx ac El e The Show Hide Physical Packet button toggles the display of physical layer packets SATA only The Show Hide FIS packet button toggles the display of FIS layer packets FIS When OFF the FIS layer and its links are hidden SATA only The Show Hide CMD packet button toggles the display of the CMD packets cmp When ON only the command layer displays SATA only The Show Hide Command Queue CQ button displays queued commands SATA only The CQ button s hierarchy only applies to ReadDMAQueued and WriteDMAQueued The hierarchy for other queued commands is displayed as part of the regular application layer decoding
325. nual 151 Teledyne LeCroy Analysis Select Statistical Report Range m a All Traces X Cursor From ho 1 To Link i Figure 3 47 Report between Cursors Report Between Events see Figure 3 48 1 Click the option button next to the From the event selection dropdown list 2 Click the From down arrow to choose the first event Choose from the following event types Link Transport ATA Cmd SCSI Cmd SMP Cmd Task Mng 3 Enter the number of its occurrence LDLLLDLDLDLU Click the To down arrow to choose the second event 5 Enter the number of its occurrence Select Statistical Report Range e All Traces From T Cursor To T Cursor Link Transport SMP Cmd ST Task Mno Figure 3 48 Report between Events 6 Click OK The resulting reports are limited to the capture between the defined events 152 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Statistical Report Content A complete statistical report consists of the following reports accessed by clicking the corresponding tab in the dialog see Figure 3 49 on page 153 File Setup Session Analysis Navigation View Window Help 8 x GE E Trainer Y sammer QU SSS 8 08 P L 2 XRP p a c pz HBB Wu E 30 88 s diit Ge xj R y AIBR Tt Move X Cursor v e General Primitive SSP Transport SMP Transport FIS ATA Command SCSI Command SMP Command
326. nual describes installation and operation of the Teledyne LeCroy Sierra M6 1 Protocol Analyzer and includes examples of typical applications LA dE TELEDYNE M6 1 A LECROY A Host Device Figure 1 1 Teledyne LeCroy Sierra M6 1 Protocol Analyzer 1 1 Analyzer Overview The Sierra M6 1 SAS SATA Protocol Analyzer is a portable single port system that can function as a protocol analyzer or as an error injector The SAS analyzer software performs serial bus analysis for Serial Attached SCSI SAS data transfers as well as Serial ATA SATA data transfers through STP data transfers The SATA analyzer software performs serial bus analysis for Serial ATA SATA data transfers The Analyzer can operate at 1 5 3 or 6 Gb s data rates and has 2 GB or 4 GB of recording memory The Analyzer supports capture triggering and filtering of Serial Attached SCSI packets or Serial ATA packets The Analyzer provides for bi directional trigger and capture of commands primitives patterns and all bus conditions The analyzer allows you to select frames to include and exclude for capture Capturing can be triggered based on a specific event or manually The Analyzer has a USB port and a GbE Gigabit Ethernet port to connect to a host machine which serves as the host for analysis or error injection software The versatile GbE port can be used for either local or remote network connectivity Sierra M6 1 SAS SATA Protocol Analyzer
327. o ns n RI Relative Time ration CLOSE NORMAL x3 73 ns Address Frame Type Protocol hitiator Port H Connection Rate Features H initiator Connection Tag H Destination SAS Address H Source SAS Address H Source Zone Group H 0x9 3 0 Gbps 0x1 Oper x1 SSP 0 FFFF 5000C500001047B5 5000685000000001 00 Pathway Blocked Count M Arbitration Wait Time M More Compatible Features H CRC H Link Data H 35 fl Relativa Time 00 O3 6 0001 1910BE12 40 ns Relative Time RD inn E Target RC Relative Time RERDY NORMAL x2 BEL Figure 3 117 Time Stamp Set to Trigger In the Packet View upper pane the Red T for Trigger shows that the trigger occurs within Packet 79 and setting the Time Stamp to Trigger shows O ns Sierra M6 1 SAS SATA Protocol Analyzer User Manual 205 Teledyne LeCroy Navigation View Toolbar In the Column View lower pane the Red T for Trigger shows that the trigger occurs 566ns within Packet 79 The reason the two trigger times are different is because the Column View is more accurate The Packet View tells you that the trigger occurs within Packet 79 but the Column View tells you that the trigger occurs 566ns after the start of the packet 3 6 2 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 di
328. o 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 Select the scenario in the device library that you want to run on the device 5 Torun the scenario click the Start Scenario button from the Device Library toolbar The device starts to monitor modify traffic Note Step 1 is described in detail for each example in following sections Steps 2 to 5 are described in detail at the end of this chapter 4 9 4 Creating Global Rules This section gives examples for creating the Global Rules area of a scenario Recall that the Global Rules area defines a single test state The Global Rules do not have the capacity for multiple states so that area of a scenario cannot change state 318 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Summary of Scenario Creation Teledyne LeCroy In terms of InFusion testing a state defines test behavior In this context behavior is waiting for an event and responding with an action or set of actions that happen simultaneously Keep in mind that 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
329. ocuments Music i Pictures a Product Manuals El Videos Computer amp Windows7 OS C G9 MARKETING catc svrl M 27 lenovo Recovery 0 Currently loaded Trace Figure 3 99 Trace Expert Pop Up Dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 191 Teledyne LeCroy Trace Expert Click on the Save button to add the currently loaded Trace to the list of Saved Trace Expert HTML files These HTML files can then be re used For example the SAS 12G html file 150 KB containing all the Trace Expert reports and analysis for that Trace could be emailed to a colleague or to Teledyne Customer Service without sending the whole Trace 39 MB The Save process will also generate the SAS 12G Trace Expert HTML file with the following topics displayed for the loaded Trace see Figure 3 100 B Teledyne LeCroy Tra x Q 5 file C Users James Allen Desktop SAS_Protocol_Suite_5 92_B1061 ALPHA SAS_Protocol_Suite_5 92_B1061 ALPHA _Deliverables S 32 35 Apps iGoogle Lenovo Recom Fin_Sites 4r Teledyne LeCro FIT BugTrack Tutorial Video L Yahoo Finance MINA TELEDYNE LECROY Everywhereyoulook Bo Save All SAS SATA Protocol Suite Version 5 92 Expand J Collapse All Print All Trace Expert Analysis Report for the SAS 12G scs trace This report contains a comprehensive analysis of performance errors and event statistics of the trace It is a stand alone HTML file that you may save
330. ode Q If End Events occur before timer expires QO If timer expires before End Events Note Timeouts can only be configured from the Timeout Pattern dialog The Timeout Pattern dialog allows configuring other patterns as triggers in combination with timeouts Other pattern dialogs do not allow configuration of timeouts Sierra M6 1 SAS SATA Protocol Analyzer User Manual 77 Teledyne LeCroy Trigger Setup External Manual Trigger To set up an external or manual trigger To set up the trigger click the External Manual Trigger category External Manual Trigger Wl Manual Trig External Trig I L ia High clive Low Active Toggle For changing the external trig setting go to Configuration menu and select External Trig Setting Figure 2 43 External Manual Trigger Dialog Bus Condition Double click Bus Condition in the Pattern window to open the Bus Conditions dialog Bus Conditions E E x Conditions ae Electrical Idle x Electrical Burst Cancel COMINIT COMRESET M COMWAKE M comsas Uncheck All nun riz psa ra Gi fr ae nd T4 Check All Uncheck All Court Expected number of occurences on each link li Figure 2 44 SAS Bus Conditions Dialog SAS vs SATA SATA Dialog separates the COMINIT and COMRESET check boxes and replaces COMWAKE with Host COMWAKE and COMSAS with Device COMWAKE Check Conditions on which to trigger then click OK Note
331. og 174 settings advanced mode 112 Settings command 198 Settings dialog 198 Settings tab 97 112 Setup command 19 show all data in data field 233 Show Analyzer command 285 Show Description window 200 Show Device Library button 342 Show Device Library command 285 Show Grid 200 Show Library command 285 Show Output 200 Show Output command 285 Show Sector Count instead of Xfer Length 252 Show Trainer command 285 Show Warning in Search Primitive In Column View 252 Show XXXX value 100 Show Hide CMD packet in results display 226 Show Hide Compare 2 Data Payloads button 190 Show Hide DLLP packet in results display 226 Show Hide Field 230 Show Hide Link Packet button 226 Show Hide Physical Packet in results display 226 Show Hide TLP packet 370 in results display 226 Show Hide Transport Packet button 226 Simulation Mode 28 Sleep statement 355 SMP Command Report 165 SMP frame 65 SMP Frame Pattern dialog 65 88 Snapshot mode 73 Soft Reset dialog 93 Software default 247 software installation 19 sorting column content 177 Spec View 146 228 Spread Sheet Color Setting 251 Spreadsheet View 33 spreadsheet view 136 SSP Frame 66 SSP Frame Pattern dialog 66 SSP Frame Type dialog 89 SSP Transport Report 158 159 162 State 293 statements 351 statistical report column setting 174 content SATA 153 options 154 save as text 173 Statistical Report toolbar 172 Statistical Report View 175 statistical reports 33 Statistics
332. on SAS Address OOOO x e Hexadecimal FF NOT Data Data Offset D Dwords 0 255 SOOO Dwl 260000009 Dw 206000009 Dw3 20000009 Dw2 230600000 Dw5 20600000 Dwg 50000000 Dw 50000000 Dw 20000009 Dw8 2000000 Dw8 360000004 Dwi 360000004 Dw10 20000009 Dwi3 206000009 Dw12 20600000 Dwi5 20600000 Dwi4 x OK Cancel EA me a E Iv opo a opes 3 ps ne Check All Uncheck All Figure 2 21 SAS Data Pattern Dialog SAS vs SATA SATA Dialog shows Port at the top and does not show SSP or STP Define the data pattern for capture or exclusion from capture 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 capture or exclude OO 01 02 03 as displayed in the trace you must enter this pattern as O3 02 01 00 2 12 Protocol Errors Double click Protocol Errors to open the Protocol Errors selection dialog see Figure 2 22 on page 62 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 61 Teledyne LeCroy Protocol Errors 62 Protocol Errors Protocol Errors L Code Violation C Disparity Error C ALIGN Error C FIS Signaling Latency Error O FIS Invalid State Transition Unexpected Primitive L FIS Invalid State Transition Primitive Timeout L Frame T
333. ook for points where speed changes occurred in the trace Search Sub Items Search Logic AND Selected Items a OR Selected Items Figure 3 131 Search by Speed Changes Sierra M6 1 SAS SATA Protocol Analyzer User Manual Packet View Toolbar Teledyne LeCroy 3 6 9 Show Hide Ports You can Show Hide a Single Port or you can Show Hide Multiple Ports To do so click on the Ch Down Arrow Single Port If Single Port 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 Multiple Ports If 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 Ch NC cee ee Figure 3 132 SAS Show Hide Ports Toolbar Lh Hihid H2 p2 Ha pa Ha D4 Single Port Multi Port Figure 3 133 SATA Show Hide Ports Toolbar You can also show or hide a port by right clicking a Port ID in Text View or Column View and choosing Show or Hide see Figure 3 137 on page 229 3 7 Packet View Toolbar The Packet View toolbar allows wrapping zooming and configuration Packet View Toolbar L E x 0 fiee e 0 60 IEEE display to eliminate the need for horizontal scrolling Go to CATC Navigation View Click this button to change the trace display to a CATC Trace You can change the colors fo
334. 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 You can save any check result by checking the Save error details check box and specifying a destination file name Sierra M6 1 SAS SATA Protocol Analyzer User Manual Setup Menu Teledyne LeCroy Number of Runs Each Test You can specify to run a test more than once Run All Tests Sequentially This option runs all items in the Clock Memory Serdes Crosspoint Main FPGA Expansion and LED Buzzer tests in order After you check this check box the command button becomes Start All Tests You must click the Stop Test button on the LED Buzzer tab to stop the check 3 22 3 Memory Check To perform a SDRAM or Exerciser RAM memory check select the Memory tab x Clock Memory Serdes Crosspoint Main FPGA Expansion LED Buzzer Test Result Be Memory W SDRAM v Exerciser RAM Save error details Cave T C Program Files LeCroysleCroy SATA Protocol SuitesUserErrors detail sl El Iv Append error details ale Number Of Run Each Test f Run All Tests Sequentially start Memory Check Close Figure 3 181 SAS Self Test Dialog Memory Tab Choose the SDRAM Exerciser Data or Exerciser Instruction to test and click the Start Memory Check button After a short time the Test Result appears to the right of the selected line Sierr
335. or the number of bytes in the format Item3 is the format of the data HEX BIN ASCII Item4 is the group of bytes 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 select the data block to edit from the Data Block Name list then click Save As to open the Save As dialog Assign a name to the new data block text file and click Save You can now edit the newly created text file using Notepad or any other text editor then import it into the data block definition as described above Sierra M6 1 SAS SATA Protocol Analyzer User Manual 117 Teledyne LeCroy Counter 118 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Display Manipulation 3 1 Viewer Display After data is captured Recorded the Viewer displays a sample file scs for SAS and sts for SATA in Packet View Link Address Frame Type Protocol Initiator Port H Connection Rate Features H Initiator Connection Tag H Destination SAS Address H 764 0x1 Open 0x9 3 0 Gbps S000E0C 471665000 Source SAS Address H Source Zone Group H Pathway Blocked Count H Arbitration Wait Time H More Compatible Fea
336. ort To display Text View select Analysis gt Text View or click the button on the View Type toolbar 144 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy 60 min 33 min BB min 126 rin 1 24 8391 299 615 min al Figure 3 35 Text View Note The LBA and Tag Number value are shown in the All Lanes column Note Export to Text Excel is available from the Spreadsheet View Packet View or Text View as of S W version 5 60 or later Export to Text Excel is not available from Column View as of S W version 5 60 or later Text View Context Menu In Text View mode the Context Menu is available by performing a right click on a packet See Figure 3 36 m File Setup Session Analysis Navigation View Window Help 2181 x ea Q Traine Y lamme V e eco m I ei sias A PUE 2 REKE JS29 d uic zs H E e f iu RR 8 we vi LEA 2 E EN zi 2 Beer amm A ARETES ESTA e 50060580069AA670 SO0E004AAAAAA Add Bookmark TRL S00 004A AAA nace Goto Next 14 F2 CLOSE NOP AAL x3 Goto Previous 14 Shift F2 m y AAN Goto Next Source Address FO Em T n Vi Goto Previous Source Address Shift F9 IeX lew eae lesponse j Goto Next Destination Address F11 Goto Previous Destination Address Shift F11 MESSIES Goto Next non SMP Request Goto Previous non SMP Request Goto Re
337. ory usage optimization V Quick View A More Info Switch to CATC Navigation Cancel button kills upload immediately Y Reverse Link Data Close previous trace file when new trace file opens V Pack Repeated Primitives Create statistical report read write page m Scroll Horizontally to Show matched Y Show Quick View Warning Column In Search Y Use new PHY capabilities decoding ATA decoding mode LBA mode D CHS mode Q According to LBA mode in ATA command Figure 3 46 Enabling Read Write Statistical Report Note This setting should be enabled before you capture the trace file If you have already captured a trace file and want to create a read write statistical report for the sample perform the following steps 1 Ero eh P9 Enable the read write settings as mentioned above Open the trace file Set the X pointer on the first packet in the viewer Set the Y pointer on last packet in the viewer Save as the trace file using the X to Y option Now the saved trace file will contain the read write statistical report 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 see Figure 3 47 on page 152 Sierra M6 1 SAS SATA Protocol Analyzer User Ma
338. ot the only parameters that describe an ATA command For parameters such as LBA and sector count use the ATA Command Pattern dialog ATAPI Double click ATAPI in the Pattern window to open the ATAPI Pattern dialog ATAPI Pattern E x Type Format J OK Any ATAPI Command C MMC 6 C SPC 4 SSC2 Binary SA Hexadecimal Cancel Command Type Any Command x v gg CDB Type ny CDB Type Operation Code PM Part A Iv idu A Ra A Iv apps pe eis A qoe oat Check All Uncheck All Count Expected number of occurrences on each link Figure 2 51 SAS ATAPI Pattern Dialog SAS vs SATA SATA Dialog has different dropdown options Choose a CDB from the drop down list and click OK 82 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup Teledyne LeCroy Data Pattern Double click Data Pattern in the Pattern window to open the Data Pattern dialog Data Pattern Format SSP Hashed Source 5 45 Address dtd Binary Hexadecimal Cancel STP Hashed Destination 545 Address x NOT Data Data Offset 0 Dwords 0 255 E 0 LT o Lc a ew oo e o o e w XX TT XAWOGM o a Deb XWW XX jw RK Jwa X TE X MWW e X DAA Mi pri ris ra Ti pris FT Fr m Check All Uncheck All Count Especie number of occurences on each link f Figure 2 52 SAS Data Pattern Dialog SAS vs SATA SATA Dialog
339. otocol Analyzer User Manual 31 Teledyne LeCroy Menu Options and Toolbars 1 11 3 1 11 4 32 File Setup Session Analysis View Help Gm TxRxVout amp Preemphasis User Defined Decoding External Trig Setting All Connected Devices CH Find DUT Power Source Control Preferences Self Test Data Block Figure 1 19 Setup Menu Option Session The Session menu has the following options Q Start Capture Record Start capture or record a trace Q Pause Capture Record Aborts the capture without saving Q Stop Capture Record Stops the hardware Analysis The Analysis menu allows you to view captured data see Figure 1 20 on page 33 and see Figure 1 20 on page 33 Menu items and toolbar options are enabled or disabled and displayed or hidden based on the type of window open The following types of windows can be displayed Q No active window a Project file open a Trace file open Sierra M6 1 SAS SATA Protocol Analyzer User Manual Menu Options and Toolbars Teledyne LeCroy Analysis Navigation View Window Help ip S Eme S Decoding Assignments EI Packet View Spread Sheet View Address Frame Column View Text View et Port H Frame Inspector View stent H PA Statistical Report Address Frame Histogram Bus Utilization st Port H Data Report NN GN stent H p SAS Verification cm Compliance Test fs E ss Figu
340. ource Address H 04755 0x28 Read 26290D Payload Data 2048 Bytes Tag H ME Source Address H Destination Address H Operation Code FUA NV H FUA H DPO H WRPROTECT H Logical Block Address H 50000104785 0x2A Write 10 T 0 0 0 025766AF Payload Data 2048 Bytes Task Attribute LUN H TE Source Address H Destination Address H Operation Code FUA_NV H FUA H DPO H RDPROTECT H Logical Block Address H ET 0107 74 5000C500001047B5 0x28 Read 10 0 EE EEUU EX X Number H Transfer Length D Control m CDB Padding H Payload Data 2048 Bytes Task Attribute Tag H ec LUN H Source SAS Address qe Destination SAS Address H Add Bookmark Show Field Hide Field Logical Block Address H 500062800000 1074 sooocsoo00104785 0x28 Read 10 a View Fields H 02129EDD Add to Trigger LUN H 000000000000 000000000000 000000000000 gt 0000000000000000 Format gt Expand All ATA Cmd Packets Copy Data Logical Block Address H 500062B000001074 5000C500 047B5 0x28 Read 10 0 Copy Command Ei 009DAD42 Group Number H Transfer Length D Control 9n COB Padding H Payload Data 2048 Bytes Set Time Stamp Origin n LUN H aa 1 Right click on any command field in the trace Select Color of option to set the color for the selected operation code field File Setup Session Analysis Navigation View Wind
341. ow Help x dad Q Tene Y Jammer NE O Record E i Fi 8 1 ssiss e a P e RR Le P talo 3s B B E n lio EX BP o3 d HR 16 EARR e a B S 2 IMEI Source Address H Destination Address H Operation Code FUA_NV H FUA H DPO H RDPROTECT H LogicalBlockAddress H AAA AAA ES qe SSS 2 62B 1001074 9000C5 47B5 0x26 Read 10 U 0 U 0 0142623900 3 185 684 093 s 440 5000628000001074 5000C500001047B5 Group Number H Transfer Length D Control H CDB Padding H gt Payload Data 2048 Bytes Task Attribute Tag H Status LUN H Source Address H Destination Address H Code FUA NV H FUA H DPO H WRPROTECT H Logical Block Address H TaskAttribute Tag H Status LUN H 000000000000 00 00 00 00 00 00 00 00 00 00 00 gt gt 0x0 Simple 0155 0x00 Good 0000000000000000 FUA NV H FUA H DPO H RDPROTECT H Logical Block Address e Command Color Setting Based on Command Layer Based on Specific Command Type 3 Send Key 0000000000000000 Send OPC Information Set CD Speed Set Read head Set Streaming Start Stop Unit Stop Play Scan 3d DMAExt 25000004000B09F803000040 0000000E09F80300004050 Synchronize Cache Test Unit Ready erifv 10 FUA_NV H FUA H DPO H RDPROTECT H Logical Block Address H 0 0
342. oy Advanced Mode User Defined 5 If you choose Pattern you can select patterns for inclusion or exclusion Clicking the Pattern option enables a pattern definition dialog Data Pattern Protocol Errors Figure 2 78 SAS Choosing a Pattern 6 Choose pattern s and click the gt gt button to add them for capture or exclusion You define each pattern the same way as in Easy mode see Defining Patterns on page 60 7 For an output trigger click the down arrow in the Ext Out field and choose an output trigger level Note Do not use the LOW setting in Advanced Mode 8 To go to another state click the down arrow in the Go To field and select a state If no other state has been defined choose New State to add a state Set Timers You can set and use up to three timers for triggering You can set each timer for each state or continue from a timer set in the previous state The timer defined for a particular state starts when entering that state To set timers click the ellipses in the Timer field in each state and define each of the timers in the Set Timers dialog Set Timers x Timer 1 j er Timer unit C Continue Set Timer o Mili Seconds m C micro Timer 2 ba Timer unit C Continue C Se Timer 0 Mili Seconds 7 mii C micro boa Timer unit C Continue Set Times o Mili Seconds mds C micro li Set Timer is selected at a state the timer is reset each time entering hal s
343. pecific sequence or reaches a designated time interval yet it requires no complicated scripts programming or simulation tools Sierra M6 1 SAS SATA Protocol Analyzer User Manual 283 Teledyne LeCroy Key Features 4 1 284 InFusion can monitor traffic in both directions and act on events occurring in either direction of the communications link InFusion can modify traffic in only one direction within a given test scenario but that direction can be either from the Initiator or from the Target InFusion is specifically designed to verify recovery characteristics within a subsystem An easy pop up menu interface allows you to create specific test scenarios in just minutes Once a InFusion session starts the system automatically handles protocol handshaking between devices InFusion transmits a faithful copy of the original data stream down to the CRC value which if needed it recalculates InFusion allows test engineers to 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 Q Error Injection Injects CRC disparity 8b 10b encoding framing and coding errors a Break Link Recovery Programmatically breaks the connection to test link recov ery a Value Replacement Monitors the link for specific values patterns or primitives as low as bit
344. play Save segments as sample files and Delete segments The Preview radio button allows a preview of an integer number of megabytes around the trigger position You can set the trigger position as a percentage and select the segment number Click the radio button to Show Traffic Summary with the preview To show the preview click the Preview button Analyzer Settings Primitive Response Timeout The Primitive Response Timeout parameter specifies the number of DWORDs between two pair primitives after which the analyzer detects a protocol error Default value is 65000 When host or device sends a primitive such as X RDY HOLD or WTRM it expects device or host to reply with a primitive such as R RDY HOLDA or R OK This parameter detects FIS Signaling Latency error between HOLD and HOLDA and FIS State Transition error between X RDY and R RDY between SOF and EOF or between WTRM and R OK or R_ERR You can set a trigger on these protocol errors Disable Descrambling 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 has scrambling enabled Sierra M6 1 SAS SATA Protocol Analyzer User Manual 99 Teledyne LeCroy Analyzer Settings 100 2 15 3 Show XXXX value Check this option to display XXXX values Pack training sequence Checking this box allows hiding the details of the Training Sequence which can take up large portion
345. port ID in Text View or Column View Rename title of port Show Hide Apply width to all calumns Software Setting Shift 5 Goto b Figure 3 137 Rename Port Choose Rename title of port to open the Rename Title of Port dialog Rename title of port New Title iti 0 ETE Figure 3 138 Rename Title of Port Select and Apply Show Hide Port Mode You can simplify the viewer display by hiding the captures of ports All active ports are highlighted on the Show Hide Ports toolbar You can Show Hide a Single Port or you can Show Hide Multiple Ports Click on the drop down arrow and select from the two options as shown in the following figure Sierra M6 1 SAS SATA Protocol Analyzer User Manual 229 Teledyne LeCroy Packet View Toolbar a Show Hide Single Port a Show Hide Multiple Ports Click on the Apply show hide port button to apply the specific mode el 8 Apply show hide port button m Showj Hide Single Port Show Hide Multiple Ports Figure 3 139 Show Hide Single or Multiple Ports Show Hide Field You can simplify the Viewer display by hiding some fields You can hide the Duration Relative Time External Signals and Packet number fields by right clicking the corresponding field title and choosing Hide Field Bookmark Show Field Hide Field Copy Frame Expand All Goto Response Set Time Stamp Origin F Color Goto k Figure 3 140 Hide Field To restore a field to the
346. port color F Enable Time Format Figure 3 29 Frame Information Structure FIS Selected Remove The new Spreadsheet View with the new Column is shown in Figure 3 30 on page 140 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 139 Teledyne LeCroy Analysis als Error 00 Status FI5 50 Mq _ Connection Rate 0x8 1 5 Gbps i AIP NORMAL A 1 Open A Figure 3 30 Spreadsheet View with New Column Added FIS You can change any of the options shown in the Add Column to Spreadsheet View dialog see Figure 3 29 on page 139 Edit the Column or Delete the Column Primitives Displayed in Both Spreadsheet and Packet Views The following primitives are shown if they are inside a frame RRDY_NORMAL ACK NAK CRC ERROR CREDIT BLOCKED BREAK DONE ACK NAK TIMEOUT DONE CREDIT TIMEOUT DONE NORMAL AIP NORMAL SAS ERROR OUDO0ODODDODO O O See Figure 3 31 140 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy ED Ele setup Session Analysis Navigation View Window Hep SD e rc m n losa g Pe Ree Hml IEA CA MENA Frame Command T 7 40 980 496 455 amp A 26 AIP WAITING ON DEVICE x3 ETICO MIO ELIT IUDONEM lm AROMA oa MEE coins ee un TT 0 980 496 7211 3 B18 ins M 12G6Gf S5PCommand R ROW NORMAL Y MESES 3 I 32m EN gt T7 Xs sel ENERO O
347. ported port configuration without asking for confirmation If this setting is unchecked the software asks for confirmation Ask user to close the previous captured sample before running the new project When you start to run a new project the software prompts you to close the current sample Found Device List Mode Reset clear the list of found devices Lists only the currently found devices Refresh append to the list of found devices Adds new devices to the list of devices found previously Browse Default Path Software default After you select File gt Open the Open dialog shows the default user folder Windows default After you select File gt Open the Open dialog shows the path selected when the Open dialog was last used Port Configuration Setting These options pertain to Port Configurations that have unused ports as marked by a dash in the Port Configuration table e g AA This allows the user to control these ports if unused by the analyzer platform are to be disconnected or are to be used as pass through meaning the traffic will simply pass through them default setting It is sometimes useful to force disconnect on unused ports to cause all traffic to pass through the used ports Select the desired option Disconnect don t care ports Pass through don t care ports Sierra M6 1 SAS SATA Protocol Analyzer User Manual 247 Teledyne LeCroy Preferences 3 16 2 Trace Viewer Tab Preferences pm
348. race Expert Analysis Report for the SAS 12G scs trace Thljeport contains a comprehensive analysis of performance errors and event statistics of the trace It is a stand alone HTML file that you may save print and share with no dependency on SAS SATA Protocol Suite Version 5 92 fe Performance Analysis Performance Performance Item Port Value Description Total Read Size NA 1056 Bytes Total Read Size Total Read Duration NA 0 004071 ms Total Read Duration Total Read Commands NA 13 Total Read Commands Min Read Throughput MB S NA 0 000000 MB S Minimum Throughput of the Read commands Throughput Read Payload Size Read Response Time Max Read Throughput MB S NA 0 000000 MB S Maximum Throughput of the Read commands Throughput Read Payload Size Read Response Time Avg Read Throughput MB S NA 0 134725 MB S Average Throughput of the Read commands Avg Throughput Sum of the Read Payloads Sum of the Read Response Times Min Read Latency Time NA 0 112721 ms Minimum Read Latency Time Latency Time measured from the transmission of the Command to the first data transmitted for this IO operation Max Read Latency Time NA 1 128540 ms Maximum Read Latency Time Latency Time measured from the transmission of the Command to the first data transmitted for this IO operation Avg Read Latency Time NA 0 208346 ms Average Read Latency Time Avg Read Latency Time Sum of all Read Latency times Total Read Co
349. re 1 20 SAS SATA Analysis Menu Viewing Captured Data Captured data can be displayed in several views Select Analysis from the drop down menu to access the different views see Analysis on page 122 You can display the same data in a OCDOO O O LLDLDLDLDLDULD O O Packet View Displays packets Spreadsheet View Displays Packet View fields by time Column View Shows DWORDs in columns by port Text View Shows transaction frames grouped in columns by port Frame Inspector View Has lots of information that is available in Packet View but not Spreadsheet View so it is most useful in conjunction with the Spread sheet View Waveform View Shows waveform display for all active ports on which you can perform timing measurements Statistical Report Generate statistics for all transports commands primitives bus conditions addresses lanes and errors Histogram View Shows frame type transfers Bus Utilization Displays the utilization of the bus Data Reports Displays data payloads Compare 2 Data Payloads Compares 2 data payloads SAS Verification Verifies compliance with the SAS specification Compliance Test Verifies compliance with the SATA specification VSE Perform custom post process analysis of the open trace by running a verifi cation script over the trace Power Tracker View Displays power statistics Sierra M6 1 SAS SATA Protocol Analyzer User Manual 33 Teledyne LeCroy Menu Options and Toolbars
350. re 2 6 Launching CrossSync from the SAS SATA Protocol Suite Application Please refer to the CrossSync Control Panel User Manual for more information 2 8 Save Workspace Viewing parameters can be saved in a workspace as a wss file 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 To set a default workspace viewing parameters select Setup Preferences Software Settings to open the Trace Viewer dialog In the Default Workspace field enter the path and name of a saved workspace wss file The workspace can be switched after opening a trace file Select File Open to open another workspace and select a wss file 2 9 Saving a Trace Capture You can save a Trace Capture for review at a later time using the Save As dialog see Figure 2 7 on page 47 46 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Saving a Trace Capture Teledyne LeCroy Savein 3 User My A me Documents ERAM p My Documents p Qe My Computer Mo Network File name Save as type Sample File c Cancel Range All Samples C From T Cursor To T Cursor C From Mo 1 To nof C Bookmark From Tia y Save Filtered Sample Apply Show Hide Link Setting Figure 2 7 Save As Dialog You can limit the range of the saved file You can save
351. re 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 see Figure 2 19 on page 60 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 59 Teledyne LeCroy Patterns and Data Capture Setup 60 C Everything Exclude SATA CONT 2 Pre Trigger Capture G Pattem Exclude SATA SYNC Include XX Exclude OOB Signals Exclude Xx Y Include SATA_SYNC Exclude Payload except zen D wordis 9 Include SATA CONT Parameters n E z Include OOB Signals Y Include Payload of Data Frame Address Frame Any Address Frame Type STP Frame p SMP Frame Any SMP Frame Type A Trigger Non Sequential Address Frame Post Trigger Capture SMP Frame Everythingl Exclude NOTIFY SSP Frame id Include 00 Data Pattern Include SATA SYNC Include SATA CONT Protocol Errors Include OOB Signals Include Payload of Data Frame Exclude Idle Include RRDY Settings Trigger Position in Memory 50 Exclude patterns Capture Memory Size 10000 KB IV Define different pattems for pre trigger and post trigger data captures Primitive Response Timeout 16384 Dword s Speed 3 0 Gbps 11 T1 12 T2 13 T3 14 T4 Desctambling Enabled Align Transmission Period 2049 for SSP 258 for STP Easy switch to Advanced mode amp Collapse All Expa
352. rkspace as a wss file 4 Select Setup Preferences to open the Trace Viewer dialog 5 In the Default Workspace field enter the path and name of the workspace wss file that you saved in step 3 132 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Because the default workspace contains only Packet View the software opens trace files in Packet View 3 3 6 Updating the Workspace If you d rather have a set of views open when you open a Trace you can select a set you like and store that particular set of views as a workspace_your_description wss file The next time you open any Trace it will initially come up showing the Default Workspace as shown in Changing the Default View on page 132 but then you can open a Workspace you have defined and the Trace will be displayed in your unique Workspace set Perform the following steps to define a set of views that you are interested in 1 Open a trace file In this case the 1 5 3 0 6 0 Trace has been opened See Figure 3 21 on page 133 FIS Type PM Port H C H Command H Features H LBALow H LBA Mid H LBA High H Device H A p itn da ta i y al m m 0x27 Register Host to Device 0 Ei 25 00 93 UE zk LBA Low exp H LBA Mid exp H LBA High exp H Features exp H Sector Count H Sector Count exp H ICC H Control H Auxiiary 7 0 H Auxiliary 15 8 H 08 00 l 00 00 04
353. rra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup Teledyne LeCroy Figure 2 48 Primitive Dialog ATA Command Double click ATA Command in the Pattern window to open the ATA Command Pattern dialog ATA Command Pattern i 4 E x Format OK HN Hexadecimal Cancel Command F3 Show Reserved and Obsolete Parameter Command Any Command Features Sector Number Cylinder Low Cylinder High DEV Head Sector Num esp Cylinder Low exp Cylinder High exp EEE EE EEE Features exp Mi ri ris Fl Gi Or gr mr Check All Uncheck All Count Expected number of occurences on each link Figure 2 49 SAS FIS Pattern Dialog SAS vs SATA SATA Dialog has different dropdown options Choose a Command from the drop down list and click OK A powerful triggering choice is Any Command which causes the analyzer to trigger on any ATA command ATA Command xj Format oneal C Binary o Hexadecimal Cancel Command n y C ommeare Show Reserved and Obsolete Parameter Command X Any Command PM Port X MHI MH MH MH MDI Ww D2 MD M D4 Check All Uncheck All Count Expected number of occurences on each link fi Sierra M6 1 SAS SATA Protocol Analyzer User Manual 81 Teledyne LeCroy Trigger Setup Figure 2 50 SATA ATA Command Dialog Choose a Command from the drop down list and click OK Note The command code and feature set are n
354. rra M6 1 analyzer to a Sierra M6 2 or M6 4 analyzer with a CATC SYNC Expansion Card connect the Micro D end of a Micro D to DB 9 Sync cable ACO30XXA X to the Sync port of the Sierra M6 1 analyzer Connect the female DB 9 end of the Micro D to DB 9 cable to the CATC SYNC OUT port of the Sierra M6 2 or M6 4 analyzer Figure 1 7 Cascading M6 1 and M6 2 or M6 4 Analyzers with a Micro D to DB 9 Cable Note You cannot connect a Sierra M6 1 analyzer to a Sierra M6 2 or M6 4 analyzer with a STX SYNC Expansion Card Note The Self Test SAS Verification Test SATA Compliance Test and Update License functions only work on unit 1 when the analyzers are set up in cascading mode Sierra M6 1 SAS SATA Protocol Analyzer User Manual 21 Teledyne LeCroy Connecting via Ethernet 22 For Sierra M6 1 M6 2 and M6 4 analyzers connected by Sync cables the SAS SATA Protocol Suite application automatically synchronizes their recording timestamps starts and stops For how to daisy chain two or more Sierra M6 2 analyzers see the Sierra M6 2 User Manual For how to daisy chain two or more Sierra M6 4 analyzers see the Sierra M6 4 User Manual Note You can use the Sync port to synchronize a Sierra M6 1 analyzer to analyzers with different protocols You use a Micro D Sync cable ACO31XXA X to connect to a Teledyne LeCroy Advisor T3 analyzer You use a Micro D to DB 9 Sync cable ACO30XXA X to connect to other Teledyne L
355. rror on a specified frame type If you check CRC error and select the SSP radio button if a CRC error occurs on a SMP frame the analyzer does not trigger on it Hashed Destination SAS Address SSP trigger only Specify the destination address for the analyzer to locate specific protocol errors Hashed Source SAS Address SSP trigger only Specify the source address for the analyzer to locate specific protocol errors STP Frame SATA only Double click STP Frame to open the FIS Patterns dialog see Figure 2 23 on page 64 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 63 Teledyne LeCroy Protocol Errors STP Frame Type Format FIS Type Register Host to Device Ox27 Binary Hexadecimal Register Host to Device 0527 Cancel Register Device to Host 0x34 J Set Device Bits 851 Dh Activate 0x39 1241 FIS Type ORES t to Device Is 5F PH Part DxaE C Command Features LEA Low LBA Mid LEA High Device LBA Low exp LBA Mid exp EEE n rie ris Fi nro rss Fr m Check All Uncheck All Figure 2 23 SATA FIS Patterns Dialog SAS vs SATA Not available in SATA Available FIS Types O Register Host to Device Register Device to Host Set Device Bits DMA Activate DMA Setup BIST PIO Setup Data a Vendor LLILDLDLDLDLU Address Frame SAS only 64 Choose a FIS Type from the drop down list and click OK Repeat for additional types Double clic
356. rs EI NI Mar HI mr mmm BEHI m mEmI mu ED NE NN NNI E EH ONN NND NNI DILILDIDDIIES Hm nnm in Prey rr Custom colors E i BUS NS LB i SOS g p Define Custom Colors gt gt Cancel Figure 3 156 Color Choose an appropriate color and click 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 use the same color for the start time and port Packet View Condense Mode You can enable Packet View Condense Mode to minimize Packet View rows Sierra M6 1 SAS SATA Protocol Analyzer User Manual 241 Teledyne LeCroy Set Port Alias Time Stamp Format Select Teledyne LeCroy Milliseconds or Microseconds Font To change display fonts click the Font button to open the Font dialog box Fonte Font Font style Size Arial Black 4 Italic 3 Cancel O Aral Narrow 10 O Arial Unicode MS Tp Artistik 16 7 Sample 4 Tr AvantGarde Md BT y AaBbYyZz Script Westem Y Figure 3 157 Font Choose the font font style and size and click OK Save Load Settings You can save the customized configuration settings in a
357. s Trace Analysis Statistics Trace Information File Information File Name SAS 12G scs Software version 5 92 Build 1061 Sample file version Version 67 Addig ZAC to ATA commands Grouping Type Wide Hardware bin file version 1 33 30 Analyzer armed at 10 50 00 AM Tue Mar 19 2013 Analyzer triggered at 10 51 00 AM Tue Mar 19 2013 Sample saved at 10 51 00 AM Tue Mar 19 2013 Trig time stamp 0 ns Number of Bookmarks 0 Number of Packets 391227 Figure 3 104 Trace Expert Trace File Information 196 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Running Verification Script Engine VSE Teledyne LeCroy 3 9 Running Verification Script Engine VSE You can perform custom post process analysis of the open trace by running a verification script over the trace A verification script instructs the application to send trace and analysis information to the script A verification script also contains script code written using CATC Script Language CSL see the CSL_RefManual pdf document in the docs directory of the installation used to process trace data and output 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 Analysis gt VSE or click the Running v
358. s and modifies line traffic You must use the application to create and download scenarios For the InFusion connections the device is connected between the SAS SATA host and the PHY of the test target DUT While jamming the signals between ports I1 and T1 for example are routed through the FPGA as opposed to being routed through the front end in the case of Analyzer mode Both Out of Band OOB and data signals propagate through the FPGA Interface Buttons The InFusion interface has the following command buttons Des HS EMI ee gt myo New Scenario Begins the scenario creation process by listing Scenario Name Direction for traffic changes and Global Rules in the scenario window New Batch Script Starts a scenario batch file 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 a copy of the library display the selected scenario insert a copy of the selected item or delete the selected scenario Show Output Displays hides the Output window at the bottom which displays InFusion output Use the buttons to save output print output display options
359. s of the trace unless packed ALIGN Transmission Period differs for SAS and SATA 2 15 4 Choose the ALIGN Transmission Period for SSP and STP by clicking the corresponding option button then open the Protocol Error Mask dialog Protocol Error Mask Click the Protocol Error Mask button to open the Protocol Error Mask dialog Protocol Errors k Pratacal Errors x 7 Code violation C Disparity Error DD ALIGN Error C STP Signaling Latency Error C STF Invalid State Transition Unexpected Primitive C STP Invalid State Transition Primitive Timeout DO Frame Type Error L Frame Length Error L Frame Direction Error C CRC Error DJ ACK NAK Timeout C Disable Disparity Error and Symbol Violation during the Speed negotiation Cancel Check Disable Protocol error detection Sao MEA Un Check Enable Protocol error detection Figure 2 70 Protocol Errors Dialog Check the Protocol Errors that you want the Analyzer to ignore When RD Error and Code violation Error are set as trigger events RD Error or Code violation Error can occur right after the OOB sequence RD Error or Code violation Error can occur right after the recovery from the PM state These errors are mainly caused by the long synchronization time of the analyzer If these errors caused by the Analyzer become triggers you cannot detect some other errors that you really need to detect To NOT detect
360. s user to send a trigger notification to other ports See Generating an Internal Trigger on page 314 Occurrence of an invalid 10b code Both lines operating at 3 Gbps Both lines operating at 6 Gbps Occurrence of OOB signal Occurrence of Primitive Group SAS Primitive or SATA Primitive Includes NOT property see Figure 4 21 on page 307 Occurrence of Running Disparity RD error Occurrence of a particular data pattern in a SAS frame Occurrence of a particular data pattern in a SATA frame Occurrence of a particular SCSI command from the list MMC4 RBC SBC2 SMC2 SPC2 SPC3 or SSC2 Occurrence of a particular SMP frame Occurrence of Final SNW SNW1 SNW2 SNW3 Train SNW Occurrence of a particular SSP frame Occurrence of a particular elapsed time time period Occurrence of input trigger The following sections provide some additional details about three of the above events DWORD Matcher DWORD Matcher is a DWORD pattern matcher that presents match and mask fields and a K Code Mask field K Codes are control characters that are always used in the first byte of a four byte primitive Of the K Code masks listed in the menu D D D D is used for data bytes and K D D D is used for all primitives 305 Teledyne LeCroy Scenario Events When you create a DWORD match keep the following in mind Q The pattern can be inside or outside of frames it does not matter if the pattern is inside a frame or not Q Bec
361. sheet_column_busutil wss A workspace_packet_spreadsheet_column_waveform wss 15 2015 2 03 PM Computer workspace_trace_wave_spread_column wss 6 15 2015 2 18 PM G workspace_w_4_views_defaultwss 6 15 2015 4 13 PM lt File name workspace_w_4_views_defaultwss Files of type All Supported Files v Figure 3 24 New Default Workspace with Four Views Sierra M6 1 SAS SATA Protocol Analyzer User Manual 135 Teledyne LeCroy Analysis 6 To the right side of the window you can see the Packet Column Spreadsheet and Bus Utilization Views are selected 3 3 7 Spreadsheet View Spreadsheet View displays all of the Packet View fields in a time sequential spreadsheet format To display the Spreadsheet View of the current capture click Analysis gt Spreadsheet View or click the H button on the View Type toolbar E Time Stamp Relative Time n Src SAS Address Dest 545 Address 1 24 5697 690 040 mir O ins T2 o m COMINIT D ns d T COMMIT pm Ph EM COMINIT Dima f O COMINIT 5 70 723 453 me COMINIT 124 780591 293 min B2 01 253 ms gg COMIPIT Figure 3 25 SAS Spreadsheet View Ime Stamp late Time Po A dl a AGE D ins 0x0 Execute Device Diagnostic Ox90 Execute Device Diagnostic UmeEl Identity Uewice T la pe FIS SF PIO Setup FIS 48 Data FIS 512 bytes UxEL Identity Uewice UxEL Identity Uewice Ix a ek Powar wide n Aro SGU x F
362. sition only works when the triggering option is Pattern In certain cases when one port is recording traffic and filling up the memory much faster than another port you might see traffic appearing only on one port for a while and the other port s traffic will only appear later This occurs as a function of the trigger position and is normal expected behavior of the analyzer Sample File Name Click the ellipses next to the Sample File Name text box and choose a file name and location for the results of your current project Auto Run To repeat the current capture and trigger setup automatically check the Auto Run checkbox and enter the number of times in the Number of Run text box The capture and trigger repeat automatically for the specified number of times and the results are saved in consecutively numbered Sample scs files Memory Size In the Protocol Analyzer Settings tab you can allot memory for the trace recording Check Entire Memory to allow recording to use the whole memory to capture 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 greater than the packet size
363. splay open The Filtering menu has the options O Enable Filtering see Enable Filter on page 217 Filtering see Filter Setup on page 207 Link Layer SAS Transport Layer SAS Application Layer SAS Physical Layer SATA FIS Layer SATA Command Layer SATA Filter Idles see Filter Idle on page 217 LDLLIDLDULDLDL 206 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Navigation View Toolbar Teledyne LeCroy 3 6 3 Filter Setup To display the Filter setup dialog click the Filter button on the Viewer toolbar or select View gt Filtering see Figure 3 118 on page 207 Command Data Pattern Bus Condition Primitive Incomplete Frames SCSI Commands SMP Commands O Task Management Functions 01474 Commands SCSI Command Status Source 545 Address Destination 545 Address Pair 545 Address L Protocol Error OI STF Port OTag ATAPFI SCSI Command O Miscellaneous Filter Type Hide Show Filter Idle Parts Hn Miz Filter Logic C AMD Related Items OF T Multilevel Filtering Use Pair SAS Addresses he T1 Iw T2 J Filter descending packets from trace highlight bar Reset All Check All Save Load Cancel Figure 3 118 SAS SATA Filter Setup Dialog You can select or deselect each of the items shown in the Filter Options window for filtering by checking or unchecking a corresponding check box Items
364. sponse Goto Next SMP Request F3 Goto Previous SMP Request F4 Hide SMP Request Show SMP Request Filter by Range Change Background Color Change Foreground Color on Preferences Shift S Time Stamp Format Goto TUE Enable Field List View l Xto Y 817 686 209 ms Xto T 65 Vode of Frame Fields Li Transport For Help press F1 TxVout Disat Initiator EMO Application or Inactez Simulation Stop o amp EL SA ee e Both Figure 3 36 Text View Context Menu From this window you can select the Enable Field List View and the Field List View will popup see Figure 3 37 on page 146 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 145 Teledyne LeCroy Analysis File Setup Session Analysis Navigation View Window Help 18 x o c muc s eu Traine Y lamme aS aS se A PEY amp R P ajo p s aman f ll Oe vt dn 8 jest SAS Address Speed e gt Field List View i4 AS dress Address Frame Type Open 0x1 Protocol SMP 0x0 zi Initiator Port 0x1 Connection Rate 12 0 Gbps re eee CLOSE NORMAL x3 AAA Features 0x0 32124 3729 S 4 CLOSE NORMAL x3 o SMF IIA 2 AIP NORMAL x3 SMP Respo F SMP Response AARAA 32 124 389 796 s 32 124 414 037 s ETT SMP Response CET a na X to Y 817 696 209 ms X to T 656 678 us Y to T 818 342 887 ms Figure 3 37 Field List
365. st Descriptor Lists Decode Ina Trace that has Discover List Descriptor Lists Click on the Discover List descriptor list File Setup Session Analysis Navigation View Window Help G E O Traine Viamme an als ss a PB ox RAP am Era Mea a o A dpi 12 and SCSI via Expander scs rollo me xj ol s ooo 1 Tid Starting phy identifier H Maximum number of discover ist descriptors D Expander Chg Count D Number of discover ist descriptors H Transport A _ sur Frame Type Func Aloc Resp Len H ReqLength H Starting phy identifier H AE ee 0x20 Discoverkst FF 06 00 LLL Maximum number of discover list descriptors H T fiter H Ignore zone group H Descriptor Type Vendor Spec H CRC H 08 0x0 Discover 000000000000000000000000 5705EE0D 31 ns Transport SMP Frame 7 Func Result Len nder Chg Count FE ype Resp Length D Expander Chg Count D Starting ph LA 0x41 Response _ Response 0x20 Discover list 0x0 Smp function accepted 0x00 Smp function accepted 251 aa Be TESTE Descriptor Type IT Dm EIA EIA E pro 0x0 Discover EET Last phy event list descriptor index H Vendor Spec H cn peIpr DU oo 0000 00000000000000000000000000000000 7 411000100038000000000000000000005006 gt ENT _ Source SAS Address dress H Destination SAS Address Address H MP Frame Type Func Func Result Link Data H e Relative Time 0x00 Smp function accepte 103 368 us
366. starting the application The new Device List introduced in version 4 10 mandates using updated firmware in order to detect the analyzer over Ethernet Thus the analyzer must be updated over USB before it can be used remotely over Ethernet This is applicable for any update from version 4 00 or earlier to any version from 4 10 or later The following Select Device dialog displays see Figure 1 9 on page 24 The colors in the Location column mean the following a O 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 locked Green The software is connected and ready to run Sierra M6 1 SAS SATA Protocol Analyzer User Manual 23 Teledyne LeCroy Connecting via Ethernet Device Sierra M6 2 SN 61658 PSG_O4 M62 Local Machine Locked No Chained E Connect rm MB 1 SN 52342 Masis ME 1 17216133134 Locked Ma Cheng deese l E SSO Sas 2m Add Device SP Remove Devi ete F Settings Selected Device Id 00017 04C00F 004 gh Networks z Refresh Device list Cloze Figure 1 9 Select Device Dialog Note Click Refresh Device List to display all the devices on the network 24 The Select Device dialog displays the following buttons Set Alias Name Click Set Alias Name to display the Set device alias name dialog as shown below Set device alias name x
367. t s Settings Trigger Position in Memory 1 Capture Memory Size 10000 KB Primitive Response Timeout 65000 Dword s Y Speed AutoSpeed I1 71 12 T2 I3 T3 14 T4 Descrambling Enabled Align Transmission Period 2049 for SSP 258 for STP 8 Connection Details Simulation Mode Exclude Payload except fo Diword s Parameters Exclude ALIGN Exclude RADY IV Exclude NOTIFY v Exclude Idle What analyzer triggers on Capture memory settings Define different patterns for pre trigger and post trigger data captures e Easy switch to Advanced mode amp Collapse All m Expand All Collapse All button hides details in Project Tree A Expand All button expands collapsed Project Tree Figure 2 1 SAS New Analysis Project Dialog The New Project dialog opens with default settings to capture Everything on the bus and to Trigger On on Snapshot The analyzer captures everything immediately without triggering on anything in particular SATA On the Analyzer Menu Bar click File gt New gt SATA Protocol Analyzer to open a SATA Protocol Analyzer dialog Project Tree display Capture Trigger Settings Notes Project Tree AA SATAProtocolAnalyzer2 Everything Exclude SYNC Capture ss Exclude CONT Q Everything Exclude OOB Signals Exclude xox Include 990 Exclude Payload except Dword s Y Include SYNC Parameters Include CONT m Include Payload of Data Frame I Exclude
368. t Extemal Manual Trigger Device Sleep Bus Condition Symbol Primitive STP Frame ATA Command EE SASProtocolAnalyzer1 3 A Capture Exclude 49 Include xX 4 Include SYNC 4 Include CONT Include OOB Signals g Include Payload of Data Frame 49 Exclude Idle 3 HM Trigger Sequential P Device Sleep Rising Edge P Primitive AIP NORMAL 2 Settings Trigger Position in Memory 50 Capture Memory Size 10000 KB Primitive Response Timeout 65000 Dword s Speed AutoSpeed 11 11 12 T2 I3 73 14 T Descrambling Enabled soe Align Transmission Period 2049 for SSP 258 for STP 80 Connection Details All Ports Figure 2 63 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 sequence to delay detection of the next pattern in the sequence To insert a timer in the trigger list double click Timer to open the Timer dialog x Timer Value fi Milli Seconds Time Unit Cancel milliseconds C microseconds Figure 2 64 Timer Dialog Enter a Timer Value choose the Time Unit and click OK Defining Patterns The definition of patterns for the sequential trigger mode is identical to the Any Trigger mode with the following exception In sequential triggering mode the definition di
369. t displays information in the following columns O Command Read DMA Queued PM Port Status Normal Output Payload Size Number Port All H1 11 H2 12 H3 13 H4 14 or Custom Duration All Custom or time unit Count All Custom or a number of occurrences Percentage of total count LLIDLDLDLDLU Elle Setup Session Analysis Navigation View Window Help a TRE I fp pard ea gt Trainer Y sommer 9 reco EB i BE E 19105 A LE P 2 E ERIS x cj SO Sl Y f of 4 Read DMA Queued Queue Command Move x Cursor General Primitive Payload Size ATA Command Queue Command Lanes Pending 10 Others Status Read DMA Queued Normal Output 4 357 699 39 s 4 100 00 Figure 3 59 Statistical Reports Queue Commands 162 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy ATAPI Command Report To display the ATAPI Report see Figure 3 60 click the ATAPI tab The ATAPI Report displays information in the following columns Q Command All Custom Inquiry Mode Sense 10 Read10 Request Sense Test Unit Ready Get Event Status Notification Port All H1 11 H2 12 H3 13 H4 14 or Custom Number of Transport All Custom or a number Payload Size All Custom or a number of DWORDs Status All Custom Check Condition Good Duration All Custom or time unit accumulative Count All Custom or a numb
370. t 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 Trace Viewer Configuration E ATA Com Fields Protocol t Normal Output Error Output Features Logical sectors per logi SectorCount SectorOffset Eror LBA Low LBA Mid LBA High LEA Native Max Address Sector Number Cylinder Low Cylinder High Head Number Command ReoNum Reserved PortMum Number of sectors to bi na obs F Field Setting Format Hexadecimal v Visible Byte Order Fight Align Field Header Setting C Name Abbreviation Foreground Data Payload Columns in How 16 Column Bytes in Column 1 Byte Input Viewer Setting e wrap Packet e Enable Tooltip Time Stamp Origin Absolute Trigger User Define Based On System Time jw Same color for start time and port Headers Enable Packet View Condense Made Time Stamp Format Lecray Format Save Load Factory Setting Font ox Cancel Figure 3 155 ATA Command Fields Sierra M6 1 SAS SATA Protocol Analyzer User Manual Display Configuration Teledyne LeCroy Field Header Setting You can use the Name or Abbreviation To change the color of the text in a packet field header select a field from the packet field tree and click the Foreground button color Basic colo
371. table Filter Options for SATA The SATA filter options are Bus Condition Incomplete Frames FIS ATA Command Protocol Error Port ATAPI SCSI Command Miscellaneous Filter Idle see Figure 3 124 on page 215 O LDLLIDLDLDLULDLDLD 216 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Navigation View Toolbar Teledyne LeCroy Bus Condition When selected depending on the Filter Type the Hide Show selection shows or hides captured Bus Conditions in the Trace Viewer Incomplete Frames When selected depending on the Filter Type the Hide Show selection shows or hides Incomplete Frames in the Trace Viewer FIS When selected depending on the Filter Type the Hide Show selection shows or hides captured FIS items in the Trace Viewer ATA Command When selected depending on the Filter Type the Hide Show selection shows or hides captured ATA commands in the Trace Viewer Protocol Error Port When selected depending on the Filter Type the Hide Show selection shows or hides captured packets with the specified Protocol Errors in the Trace Viewer 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 Miscellaneous 3 6 6 3 6 7 When you choose Miscellaneous an additional dialog displays allowing you to specif
372. tate By selecting Continue the limer will continue the count from previous states unii timer elapses Timer may be set at any state as part of either If or Ele If statements e meses Figure 2 79 Set Timers Dialog Note Three timers are available You have to set and start each timer in order to continue the next timer For example you have to start Timer 1 continue it then set Timer 2 in order to continue it It will not allow you to continue Timer 2 until you first set it 108 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Advanced Mode User Defined Teledyne LeCroy Timeout The timeout trigger allows triggering based on the occurrence or non occurrence of two events within a pre defined period of time Patterns can be added to the Start Events and End Events list An occurrence of a pattern of the Start Events list starts the timer or resets the timer if the timer is already running Depending on the configurable Trigger mode the trigger is activated when the End Event s occur before the timer expires or the timer expires before the End Event s occurs O 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 m lf End Event occurs before timer expires m lf timer expires before End Event occurs OOO O Timeout Pattern Pattern Start E v
373. tatus Date modified No items match your search Recent Places Desktop Libraries pu Computer 4 File name Save as type With comma delimiter Export Duration Save As Range O All Packets Figure 3 202 Save Data as Hex Decimal or Binary 282 Sierra M6 1 SAS SATA Protocol Analyzer User Manual InFusion Overview The Teledyne LeCroy InFusion Error Injector and Traffic Modifier is an error injector and traffic modification tool that allows you to verify real world fault handling for Serial Attached SCSI SAS and Serial ATA SATA systems InFusion can sit unobtrusively in the data path on a live system to programmatically alter or corrupt traffic InFusion is the ideal tool for stress testing systems using actual workloads HE LeCroy InFusion Error Injector and Traffic Modifier File View Configuration Tools Help Main Library Device Library SN 12880008 l tf tak 09 40 38 628 000 000 SN 12880008 Device Joined 09 40 48 972 000 000 SN 12880008 Device connected For Help press F1 Version 3 00 Build 12 Jicarliwumllscri 7 Figure 4 1 InFusion Windows InFusion supports SAS SSP SMP STP and SATA based protocols operating across a single SAS or SATA link up to 6 G InFusion monitors traffic from both directions in real time and relies on predefined rules to replace any bit primitive or parameter with one you specify InFusion can change traffic when it detects a s
374. tatus displays the Port Speed and Analyzer see Figure 3 151 on page 235 234 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Port Status Teledyne LeCroy In addition to displaying OOB Link Frame and Error a display showing the buffer full opens when a trigger occurs Port status N Port Speed Function OOB Link Frame Error Trigger Buffer indicator i IA AGI zo RUE i 1 n 30G Exerciser e 317 gl e a PE Port status a Pad Speed Function 00e Ue Eos Ena Tucasa d c Gc e cl 156 Exercizer 36 jj eo uc uc g a Part status Port Speed Function 00B Link Frame Error Trigger Buffer indicator i 005 a 30G Exerciser pa e e Y Figure 3 151 Port Status Window and Capturing Time 1 Pre trig capturing trig is 50 2 Trig point shown by red bar 36 pre trig was captured 3 Post trig capturing 50 post trig was captured and capturing has stopped Note If sample capture occurs with more than one unit active additional Port Status windows display The OOB Link Frame and Error LEDs in the Port Status dialog mimic follow the LEDs on the Front panel of the unit Reset button LEDs illuminated Unit 1 SN 61658 E x Port Speed Function OOB L MF me Error Trigger Buffer indicator P E 156 5 TUM e m Y 1 5 T1 Tees El 12 T 156 i PRR RP When the LEDs are dim it indicates th
375. ted from target go to State 1 otherwise continue to check incoming frames do not change state If next Address Frame detected is from initiator beep 2 seconds There is no interaction between the two sequences Each of them operates independently and is independent of the Global Rules However the two sequences complement each other with their logic In this sense they both combine to implement a test objective 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 Asin previous examples create the Global Rules area Sierra M6 1 SAS SATA Protocol Analyzer User Manual 331 Teledyne LeCroy Creating a Sequence 3 Click the prompt to add a sequence Prompts for the sequence appear beneath the Global Rules area You create a sequence one state at a time The application numbers states consecutively from O up 1 2 3 and so on New Scenario O Scenario is valid Status Nat saved Scenario Name New Scenario O Direction for traffic changes From Initiator I Global Rules Click here to add an event Click here to add a Sequence gt Figure 4 46 Example 7 Adding a Sequence By default the name of the first sequence in a scenario is Sequence O 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 c
376. ter Traffic 2 10 Meter Traf n SR di iia _ CAP NUM SCRL Figure 4 56 Output Window Options 344 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Saving a Log File Teledyne LeCroy Option to Save Device Output Window Log File File Setup View Configuration Tools Help DAS E Hoe e Qe Q Trainer ub 5g nc B Hu 4 10 Meter Traffic bx DEJO EDXRE Scenario Name 10 Meter Traffic Direction for traffic changes From Target Scenarios Scenarios Smart Mold Yes AI a o Meter tats O08 Setting Normal Spec Value Pot func Library Scenario a RE Global Rules O Y MainLibrary 10 Meter Traffic Click here to ad an event 3 a v Main Library IO Meter Traffic j Sequence a v Main Library IO Meter Traffic State o v Main Library IO Meter Traffic Wait for ATA Command h60 READ FPOMA QUEUEZD From Initiator Click here to bdd combined event then Branch to State 1 Click here to ad another action Click here to add another event State 1 Wait for ATA Command h l WRITE FPOMA QUIVED From Initiator Click here to add combined event then Branch to State 2 after 20th occurrence Click here to add another actica gt Click here to add another event State J Wait for FIS Frame OxAl Set Device Bits FO FIS Type Value 8 Bits OMAL Set Device Bits Mask OxIT From Target Click here to add comb
377. test states More flexible than the Global Rules a sequence allows more powerful scenarios that include branching and looping between test states Global Rules can define only a single test state so there is no branching Behavior of the Global Rules or a sequence at any point in time In terms of InFusion testing behavior is waiting for a set of events and responding with a set of actions Sierra M6 1 SAS SATA Protocol Analyzer User Manual 293 Teledyne LeCroy InFusion Scenarios Global Rules Global Rules are a portion of the scenario that can define only one test state To create the Global Rules you use the menu driven interface to enter an event or combined event and the corresponding action or set of actions the response 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 After you enter the event or combined event the interface prompts you for actions An action might be for example injecting a particular primitive or error into the traffic stream You can enter multiple actions which take place simultaneously After defining the event and actions within the Global Rule area you can save the scenario and download it to a InFusion device Sequences The Global Rules are all you need for simple test scenarios However a
378. the scenario from main library 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 Note Step 1 is described in detail for each example in following sections Steps 2 to 5 are described in detail at the end of this chapter 4 9 1 Generating an Internal Trigger This feature has the following capabilities 1 Internal Trigger action to notify all other paths has been added there are 4 internal trigger signals 0 to 3 a Internal Trigger Action O b Internal Trigger Action 1 C Internal Trigger Action 2 d Internal Trigger Action 3 2 Internal Trigger event to wait for others notifications has been added a Internal Trigger Event 0 which corresponds to Internal Trigger Action O b Internal Trigger Event 1 which corresponds to Internal Trigger Action 1 C Internal Trigger Event 2 which corresponds to Internal Trigger Action 2 d Internal Trigger Event 3 which corresponds to Internal Trigger Action 3 The above feature can cover a few requirements like Stop All ports bi directional jamming and emulate wide port jammer See Figure 4 26 on page 315 314 Sierra M6 1 SA
379. the setting on the Command column 3 16 7 Sampling Memory Usage Optimization The Preferences dialog has a Sampling Memory Usage Optimization option This Memory Assignment MA feature optimizes sampling memory utilization If the Sampling Memory Usage Optimization Option is Checked The system tries to use empty space in all memory banks to prevent any memory bank from filling completely Each physical link is not necessarily assigned to a specific memory bank The system can capture more sample data than if the MA option is unchecked and sample file size is closer to the user defined Sampling Memory Size Memory Assignment efficiency varies with Port Configuration and Trigger Position O FPGA The Memory Assignment feature works for a pair of ports connected to one FPGA for example ports 1 and 2 or ports 3 and 4 Memory Assignment Sierra M6 1 SAS SATA Protocol Analyzer User Manual 253 Teledyne LeCroy Preferences 254 a does not work for two ports connected to different FPGAs for example ports 1 and 3 Triggering Memory Assignment only starts after the trigger point During pre trigger each physical link is always assigned to a specific memory bank Post trigger 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
380. time taken from the first DWord to the last DWord in a line Sierra M6 1 SAS SATA Protocol Analyzer User Manual 149 Teledyne LeCroy Analysis 3 3 12 Statistical Report Whenever a captured sample is in the Sample Viewer a Statistical Report selection in the Report menu and a Statistical Report Button on the viewer toolbar are enabled You can create a Statistical Report for the entire capture or select a portion of it To display a Statistical Report click the ES Statistical Report button on the viewer toolbar or select Report Statistical Report to display the Select Statistical Report Range dialog see Figure 3 45 on page 150 Select Statistical Report Range o All Traces From T Cursor To T Cursor From Link No 1 To Link No 1 Came Figure 3 45 Statistical Report Range Dialog The default statistical report has All Samples You can set a specific Statistical report range between defined cursor positions or events Generating Statistical Read Write Report To create a statistical read write page perform the following steps Click on Setup Preferences Click on the Trace Viewer tab Check the box Create statistical report read write page see Figure 3 46 on page 151 150 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Preferences e General Trace Viewer Spread Sheet View Column View Packet View Open Trace File In Optimization Y Sampling mem
381. tions MATA Commands CISCSI Command Status Source 55 Address Destination 545 Address Par 545 Address Protocol Error amp TA FI SCSI Command Miscellaneous Fiter Type v Hide C Show Filter dle Ports wit 12 W T1 T2 Reset All Check All Save Load Em Mode Sense b Read Capacity 10 Al Write 10 Filter Logic AND Related Items i OR iM Multi Level Filtering Use Par SAS ddresses le Filter descend packets if ascend packet is filtered Next gt Finish Cancel Figure 3 120 Second Level of Multilevel Filtering Sierra M6 1 SAS SATA Protocol Analyzer User Manual Navigation View Toolbar Teledyne LeCroy Filter m Filter Options I Bus Condition WE Prirnitive IL lncamplete Frames address Frames SSP Frames I_ISMP Frames IL STP Frames SCSI Commands SMP Commands I Task Management Functions IL ATA Commands 129505 Command Status lOs5ource SAS Address IL Destination 545 Address E Pair 545 Address L Protacal Error ISTF Fort ETag ATAPI SCSI Command IL TMiscellaneous Filter o 5 Forts ien Je 12 W T1 M T2 Good I Check Condition Incomplete E Filter Logic AND Related Items f OR Festal Check All Iv Filter descend packets if ascend packet is filtered Save Load Cancel Figure 3 121 Thir
382. tistics button statistics at the end of a row to display data report Data Report Statistics k X Command Humber Duration From LBA H To LBA H Read DMA Ext 2 73 440 us DeZotb Deora 4530ce9 4530ced Figure 3 95 SAS Data Report Statistics Data Payload View To display the Data Payload View double click a data payload field in a Packet or Spreadsheet view or right click a data payload field and select Open as Data View 188 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis Teledyne LeCroy Data Payload Layer FIS Packet Wo 258 00 ooog na 0010 00 O020 no 0030 na 0040 oo 0050 na 0060 oo 0070 na 0020 no 0020 oo 0040 oo 0080 oo anco na OoDg oo OOF 00 OOFQ oo 0100 00 0110 na 0120 00 01 30 oo 0140 Hexadecimal hn 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 oo ag 00 00 00 ao 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa 00 aa 00 00 00 au oo 00 00 00 00 00 00 00 00 00 00 aa aa 00 00 oo ag 00 00 00 00 00 00 00 00 00 00 OO 00 00 00 oo 00 00 00 00 00 00 00 00 00 00 aa 00 00 00 00 00 ag 00 00 00 00 00 00 00 00 00 00 00 00 00 00 oo 00 00 00 00 00 00 00 00 00 00 aa aa 00 00 oo ag 00 00 00 00 00 00 00 00 00 00 OO 00 00 00 oo 00 00 00 00 00 00 ao 00 aa 00 aa aa 00 00 oo ag 00 00 00 00 00 00 00 00 00 00 OO 00 00 00 oo 00 00 00 00 00 00 00 00 00 00 aa aa 00 00 oo ag 00 00 00 ao 00 00 00 00 00 00 00 00 00 00 00 00 aa 00 00 00 00 00 00
383. tor File Teledyne LeCroy Poca SOT Device Bits Device 508 3 41 gt KEUS 2568 dit 9 KZ8 3 25 4 25 4 10 5 K28 3 XXX AX OSO XXX POP XXX Pes ESL ds Ekra Kloss 00 50 40 Al EO 00 OO OO L 0 21 0 Z1 3 K2Z6 3 24 2 24 2 21 5 K28 3 24 2 24 2 21 3 K28 5 25 4 25 4 10 5 K28 3 ONO ION POSO XXX lod dle L 4 KS 3 21 5 21 5 21 4 K28 3 25 4 25 4 10 59 K28 3 XXX XXX POSO POON Role Device Loop Enable scramblespisable Pa de Figure A 1 Sample Pattern Generator File spg Sierra M6 1 SAS SATA Protocol Analyzer User Manual ENDL LOF FILE f X_RDY X RDY CONT SOF EOF WTRM WTRM CONT SYNC SYNC CONT 359 Teledyne LeCroy Example Pattern Generator File 360 Sierra M6 1 SAS SATA Protocol Analyzer User Manual China Restriction of Hazardous Substances Table The following tables are supplied in compliance with China s Restriction of Hazardous Substances China RoHS requirements ASA SHAILA 8 E 5 BERE E Cd AAA sc A DA ERA er ee 3 OIE A eed ee O X EZ Ei e Bp o o Pe A D zl Pecera o to 4 M7 BAAI LA n ov MAMA Toe Se LA AA FEA FLIA pe AE SIBHEGE Ci PBB SS 0 0t X X 28M PBDE O RRASA EUED o TE VE a AHAHA P A EE ETE SIT 11363 2006 PERLE AIRE Bek 2 F X RRASA EUER o sre AAA AS E 51111 363 2006 PEELE TIR m EK o EFU
384. tput N A 2 36300015 ms 94 bxMES Custom 0 Dp 3 2048 Normal Output N A 6 990 720 27 ms 201 67 00 Write DMA Ext 0 DL B 3 512 Normal Output N A 10 493 332 86 us 1 0 33 Read DMA Ext 0 Dp 3 512 Normal Output N A 22 613 33275 us 2 0 67 Identify Device 0 B 4 2048 Normal Output N A 26 520 000 46 us 1 0 33 Write DMA Ext 0 2 1 0 Incomplete N A 2 480 000 02 us 1 0 33 9 415 826 80 ms 300 100 00 B File Setup Session Analysis Navigation View Window Help III EL Pan E Q Tene Y Jammer e Recod MM x B x E Ss E S wy T do 1 of 1 Read DMA ATA Command Move X Cursor ATA Command Performance Lanes PM Statistic PM Performance Pending IO Others Command PM Port Port Number of FIS Payload Size Status Time out Duration Count a Al sj Al 5 All All All Hl 3 512 Normal Output N A 5 666 666 98 us 1 16 67 Custom 0 H1 3 512 Normal Output N A 262 386 657 71 us 1 16 67 Read DMA 0 Hl 3 0 Normal Output N A 3 000 000 00 us 1 16 67 Identify Device 0 Hl 2 0 Normal Output N A 2 026 666 64 us 1 16 67 Soft Reset 0 Hl 2 0 Normal Output N A 2 000 000 00 us 1 16 67 Recalibrate 0 HI 2 0 Incomplete N A 1 693 333 39 us 1 16 67 Initialize Device Parameters 276 773 315 43 us 6 100 00 Read Sector s File Setup Session Analysis Navigation View Window Help E Q Tee Y ome B 0s mon i 9 18 m PBR e RC P ol EE xj ETE nj G
385. transmission to the first data transmitted for this IO operation Write Latency Time Avg NA 2 713533 ms Avg Write Latency Time z Sum of all Write Latency times Total Write Commands Write Response Time Min NA 0 069293 ms Response Time Time to transmit a Command from beginning of the first Frame to end of the last Frame Write Response Time Max NA 25 327173 ms Response Time Time to transmit a Command from beginning of the first Frame to end of the last Frame Write Response Time Avg NA 2 738586 ms Avg Write Response Time Total Write Response Time Total Write Commands IO Per Second Write NA 61 906197 cmd s Write IO Total Write Commands Whole Trace Time IO Per Second Total NA 187 242432 cmd s Total IO Total Write Commands Total Read Commands Whole Trace Time Avg Byte Per SSP Frame NA 1445 Total Read Size Total Write Size Number of SSP Data Frame Avg Byte Per FIS Frame NA 6644 Total Read Size Total Write Size Number of Data FIS Init Bus Util NA 4 655706 ms Total Bus Active Time in Initiator Target Bus Util NA 10 937826 ms Total Bus Active Time in Target Efficiency NA 43 607051 Efficiency Total Read Size Total Write Size Total Read Duration Total Write Duration 100 Speed FIS Diff Max NA 66 173986 ms Maximum FIS Difference Time for Two Subsequent FIS in the same Link ms FIS Diff Min NA 0 001333 ms Minimum FIS Difference Time for Two Subsequent FIS in the same Link ms FIS Diff
386. tures H CRC H Link Data H 5000E0C42FB5D004 0000 00000000 F87BA6ES Relative Time Duration 1 748 505 586 s 133 ns T1 Link Relative Time Duration lt 3G 134 800 992 786 min 765 AIP NORMAL 320 ns 13 ns T1 Link Target RD Relative Time Duration lt 3G 1 34 800 992 813 min 766 AIP WAITING ON DEVICE Po 26 ns 13 ns T1 Link Target RD Relative Time Duration lt 36 1 34 800 993 080 min 767 OPEN ACCEPT NT 266 ns 13 ns 11 SMP Cmd Source SAS Address H Destination S amp S Address H gt 134 800 993 280 min SO00E0C42FB5D004 471865000 0x01 Report manufacturer information Product ld 4 Prat Rev Lvl H Func Result Duration SCA HSBP M42 0x00 Smp function accepted 293 ns T1 Link Relative Time Duration lt lt 3G 134 801 048 613 min 770 CLOSE NORMAL x3 293 ns 40 ns 11 Limk Initiator Relative Time Duration 36 1 34 801 048 706 min 771 CLOSE NORMAL x3 93 ns 40 ns n Link Address Frame Type Protocol Initiator Port H Connection Rate Features H Initiator Connection Tag H Destination SAS Address H 1 34 801 121 213 min 772 0x1 Open 0x9 3 0 Gbps S000E0C 471865000 Source SAS Address H Source Zone Group H Pathway Blocked Count H Arbitration Wait Time H More Compatible Features H CRC H Link Data H 5000E0C42FB5D004 0000 00000000 F 7BA6E3 Relative Time Duration 72 506 us 133 ns Figure 3 1 SAS Packet View of scs Sample File ef 134 800 992 466 m
387. ty in designing test cases For example consider the case where Event_1 OR Event_2 leads to Action If Event_1 has a counter of 5 then the Action triggers either Sierra M6 1 SAS SATA Protocol Analyzer User Manual 311 Teledyne LeCroy Scenario Actions 312 4 8 3 4 8 4 when Event_1 has repeated five times or when Event_2 happens the first time whichever occurs first But if the event counters are set to 1 and the Action counter is set to 5 then the Action happens after five occurrences of EITHER Event_1 or Event_2 Capturing a Data DWORD InFusion provides the ability to capture individual data DWORDs and provides four different registers to store captured DWORDs DWORD 0 1 2 and 3 To capture a data DWORD select Capture Data DWORD from the Action Properties screen Select the register to be used to store the DWORD from the drop down menu under the Capture Register property 4 Action Properties nml x Type Properties Action Type Description Capture Data Dword E Inject Handam Ma E Link Ever Mth occurence 1 z Monitor Count MonitorCourt Mot monitored m Remove Direction From Initiator Z Stop Scenario H substitute Trigger Output Capture Register D word 0 Offset Disord 0 Capture Register x era E Figure 4 23 Capture Data DWORD Action Using Captured Data DWORDs Captured data DWORDS can be used in creating events for data that match the captured DWORD
388. ual Private Network VPN Q VPN solutions establish special network connections to primary networks and in some cases use special virtual network adapters as part of their solution Q For such VPN solutions sometimes it is necessary to select in the Select Adapter dialog a virtual adapter specially created for a VPN connection in order to suc cessfully discover and connect to devices over VPN connection Q Itis quite often that this special virtual adapter might have a special IP address different from the primary network address range and have a Point to Point Pro tocol PPP type Q There are also VPN solutions that may require selecting an Ethernet Wireless adapter that will be used for transferring VPN data Sierra M6 1 SAS SATA Protocol Analyzer User Manual 27 Teledyne LeCroy Launching Your Analyzer 1 8 5 a So after a VPN connection to the primary network is established please make sure that a correct network adapter suitable for your VPN solution is selected in the Select Adapter dialog 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 Teledyne LeCroy applications from detecting analyzers on the network though Ping works correctly Consult your Firewall documentation to allow Teledyne LeCroy applications access to the network 28 1 9 1 10 1 10 1 The following TCP and UDP ports must
389. ull access to the whole trace more quickly especially when using a Gigabit Ethernet connection However the trace is NOT written to the host machine s hard drive To save the trace you must manually click Save If you uncheck Quick View in the Preferences to disable Quick View the trace loads more slowly but is automatically saved to the host machine s hard drive When Quick View is disabled the Viewer displays successive parts of trace data as they 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 uploaded data scroll to the end of the trace using scroll bars page down arrow down or CTRL End Newly uploaded data then appears there Note High level decoding and statistics are available only after the whole trace has uploaded The software automatically switches to full trace view after trace uploading finishes Note Users must press CTRL Home to go to the beginning of an uploaded trace and CTRL End to go to the end of an uploaded trace 120 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trace Properties Teledyne LeCroy 3 1 3 Using the Viewer Display
390. ure 3 110 Time Stamp Enter a time stamp value in the Go To Timestamp dialog and click OK Go To Time Stamp Goto 000 o0 rn 00 3 000 me 000 p 000 rs med _ Figure 3 111 Go to Time Stamp Bookmarks 202 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 create a bookmark right click the mouse in the data viewer area on a packet in which to place the bookmark see Figure 3 113 on page 203 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Navigation View Toolbar Teledyne LeCroy Trigger Position amp Position Position Packet Ma Time Stamp Bookmark Begin End Figure 3 112 Bookmark Click Bookmark from the fly out menu to open the Bookmark Comment Dialog see Figure 3 113 on page 203 SEN x Bookmark Name Bookmark Description v Sort bookmarks by start time Start Time Pot Layer Packet No Bookmark Description Delete GoTo Time Difference 0 T Save As EE Text Excel Save As Close Figure 3 113 Bookmark Dialog Enter a description for the bookmark and click the Add button Repeat for additional bookmarks You can save the bookmark as a text file or Excel CSV file Note Column View has a different bookmark mechanism than other views and you can set a bookmark on each DWORD in the view This makes Column View bookmarks unavailabl
391. w arrangement Tile Vertical Displays all open windows in a side by side arrangement Arrange Icons Arranges minimized windows at the bottom of the display Close All Closes all windows For more information see Help Menu on page 261 Toolbars The toolbars enable you to perform several actions some of which are listed below n n n Show or hide fields and ports change port names and change data format Show the layers and channels using their toolbars Decode using the Decode toolbar Search and Filter There are five sets of toolbars see Figure 1 23 on page 37 a a Main Toolbar For details on the Main Toolbar refer to SAS SATA Main Toolbar on page 42 and SATA Main Toolbar on page 42 Record Capture Toolbar For additional information see SAS SATA Main Tool bar on page 42 and SATA Main Toolbar on page 42 Navigation View Toolbar For additional information see Navigation View Toolbar on page 200 Show Analysis Toolbar For additional information see Analysis Toolbar on page 122 Packets View Toolbar For additional information see Packet View Toolbar on page 225 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Menu Options and Toolbars Teledyne LeCroy 1 11 10 1 11 11 1 11 12 Record Capture Toolbar su Devic E Navigation View Toolbar z S A PLAY E eR e 2 ma ch Show Analysis Toolbar 83 O E3 amp En u
392. witch to Advanced mode You can O Display the state definition Set Output Trigger level Select up to three timers Define the If condition and up to three Else If conditions Set number of occurrences before trigger Set captured data Set excluded data Go to next state Add state Choose link for Sequencer setup LDLLIDLDLDLDLDLDLUUDALU 104 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Advanced Mode User Defined Teledyne LeCroy Advance Mode Settings Notes State 0 State 0 SO Start Pattern Cont Trig Timer No Jump No Jump State 1 S1 No Jump 2 hd Capture Everything No Jump Exclude Items Idle Notify Capture Set capture settings of all states as state O C Everything v Exclude Idle Exclude Xx Nothing Exclude OOB Signal DY Pattem Exclude ALIGN v Exclude NOTIFY Exclude SATA CONT Exclude SAT SYNC Exclude Payload except 0 D word s C Include the following Patterns Exclude s Protocol Errors Advanced switch to Easy mode Multi Sequencer Port MEN Make Same as Current 2 AddState J Delete State TxVout Disabled Initiator Emulator Stop Target Emulator Inactive Simulation Mode Stop For Help press F1 Figure 2 74 SAS State Programming Dialog Advance Mode Settings Notes State 0 SO Start State 0 o Pewee Pattern Cont Trig Timer Ext Out GoTo 1 x Nochange NoJump No change No Ju
393. ws synchronize based on the contents of the anchor row Sierra M6 1 SAS SATA Protocol Analyzer User Manual 251 Teledyne LeCroy Preferences Other Repeat decoded command in frame column The spreadsheet shows the name of the command in front of all frames in the Command column Otherwise it will show the name of the command only in front of the SSP command frame Decode CDB of Commands The spreadsheet shows name of command in command column otherwise shows CDB of command in command column Show Sector Count instead of Xfer Length SATA only Display sector count 3 16 5 Column View Tab Spread Sheet View I Show Waming In Search Primitives In Column View Figure 3 166 SAS Preferences Dialog Column View Tab Other 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 252 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Preferences Teledyne LeCroy 3 16 6Packet View Tab Packet View Command Color Setting Based on Command Laye Based on Specific Command Type Figure 3 167 Preferences Dialog Packet View Tab Based on Command Layer You can specify a color for the Command Layer The software shows each row based on the command layer Based on Specific Command Type You can specify a color for each command The software applies
394. y the filtering of State Range and or External Signal In see Filter Miscellaneous on page 215 Enable Filter Select Filtering gt Enable Filtering or click the P Filter Enable button on the display menu bar to toggle between Filtered and Unfiltered display Filter Idle Depending on the Filter Type Hide Show Idle packets in the Sample Viewer are shown or hidden Sierra M6 1 SAS SATA Protocol Analyzer User Manual 217 Teledyne LeCroy Navigation View Toolbar 218 3 6 8 IDL You can quickly filter idles by clicking the x Filter Idle button This button toggles between Show and Hide items 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 gt Search or click the open the Search setup dialog see Figure 3 126 Search button to Note Only items captured in the sample file are enabled for search k Search Items Search Sub Items Data Pattern Bus Condition Primitive Ineomplete Frames JAddress Frames 88P Frames SMP Frames S8TP Frames 8C5I Commands SMP Commands Task Management Function QATA Commands 5E5 Command Status Source 545 Address Destination 545 Address Protocol Error Tag 8C51I Task Attribute J amp TAPI SCSI Command Miscellanenus Data Type Data p
395. y Scenario Events Custom User Defined Or you can generate your own set of Conditions for an Out of Bounds conditions Custom User Defined See Figure 4 19 WV Scenario Properties im OWN CH me X Properties Type Scenario Name New Scenario 0 Description Direction From Initiator Smart Hold Yes c Set OOB CE custom UserDe ned m COMINIT Burst Time OOBI 160 Idle Time OOBI 480 Negation Time OOBI 800 Count 6 COMSAS Burst Time OOBI 160 Idle Time OOBI 1440 Negation Time OOBI 2400 Count 6 COMWAKE Burst Time OOBI 160 Idle Time OOBI 160 I Negation Time OOBI 280 Count 6 OOB Definition Lo j ene Figure 4 19 Scenario Properties OOB Custom Conditions This allows you to set the values for each parameter type COMINT COMSAS and COMWAKE The next step is to define the Scenario Events and Actions 4 7 Scenario Events A scenario is a script you create using simple mouse clicks and text entries As you work the script takes shape in the scenario area of the application display You can think of the 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 see Figure 4 20 on page 303
396. y errors This enables unprecedented corner case testing for SAS and SATA traffic which is especially useful during final test and integration cycles The Sierra M6 1 Analyzer software has an intuitive GUI combining easy setup with flexible data analysis displays The application layer view logically assembles frames and primitives that are part of a specific SAS or SATA command You can quickly view the completion status of any command which is especially useful in addressing system level debug challenges 1 2 Features 6 Gb s SAS SATA protocol analysis or error injection Native PHY for fast lock time Easy mode triggering Cascade up to 8 ports Sync with Teledyne LeCroy Sierra and STX family products CrossSync Control Panel Hardware filtering Automatic error detection Comprehensive decoding of SAS and SATA data traffic Logical and chronological traffic displays Statistical reporting Trace memory of 2 GB or 4 GB GbE amp USB 2 0 host interfaces Capture triggering and filtering of Serial Attached SCSI packets or Serial ATA packets TX Vout on transmitters for test and characterization Automation API Error Injection Functionality Jammer DO DL D D D D D D D D D D D LO ODO O 16 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Receiving Your Analyzer Teledyne LeCroy 1 3 Receiving Your Analyzer The analyzer package includes the following components O LDLIDLDULDLDLU 1 Sierra M6 1 Analyzer identified
397. ype Error L Frame Length Error L Frame Direction Error C CAC Error C Delimiter Error Cancel SS X OR Cancel Uncheck All Port x Hu pius pus FH ib Foz Pins F ba Check All Uncheck All Figure 2 22 SAS Protocol Errors Dialog SAS vs SATA SATA dialog does not show ACK NAK Timeout and has FIS signal latency and state transition errors not STP ones SATA dialog does not show ALL SSP and SMP radio buttons Check protocol error s to omit or not capture then click OK Protocol Errors Descriptions SMP Response Time Limit is outside the specification requirements 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 difference between HOLD and HOLDA is greater than entered value in the HOLD HOLDA Response Timeout field Sierra M6 1 SAS SATA Protocol Analyzer User Manual Protocol Errors Teledyne LeCroy STP Invalid State Transition Unexpected Primitive SAS only or FIS Invalid State Transition Unexpected Primitive SATA only Second SATA_SOF is encountered before SATA_EOF and other unexpected primitives STP Invalid State Transition Primitive Timeout SAS only or FIS Invalid State Transition Primitive Timeout SATA only Timeout between two paired primitives is above e
398. yzer includes a built in Sync port on the back panel between the USB and Ethernet ports See Figure 1 3 To connect two Sierra M6 1 analyzers plug the ends of a Micro D Sync cable ACO31XXA X into the Sync ports Figure 1 5 Cascading Two M6 1 Analyzers with a Micro D Sync Cable You must connect each of the analyzers to the host machine using the USB port or Ethernet port Note Before connecting stop all recording However you do not have to turn power off For Sierra M6 1 analyzers connected by Sync cables the SAS SATA Protocol Suite application automatically synchronizes their recording timestamps starts and stops To connect three Sierra M6 1 analyzers connect the Micro D end of a Micro D to DB 9 Sync cable ACO30XXA X to the Sync port of the first analyzer Connect the male DB 20 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Cascading Sierra Analyzers Teledyne LeCroy 9 end of the Micro D to DB 9 cable to the female DB 9 end of a second Micro D to DB 9 cable Connect the Micro D end of the second Micro D to DB 9 Sync cable to the Sync port of the second analyzer Connect the male DB 9 end of the second Micro D to DB 9 cable to the female DB 9 end of a third Micro D to DB 9 Sync cable Connect the Micro D end of the third Micro D to DB 9 Sync cable to the Sync port of the third analyzer Figure 1 6 Example Cascading Three Analyzers with Micro D to DB 9 Cables To connect a Sie
399. zer User Manual 65 Teledyne LeCroy Protocol Errors SSP Frame SAS only Double click SSP Frame to open the SSP Frame Pattern dialog AA i x Format OK SSP Frame Type Any Type X v C Binary ur x Hexadecimal Cancel Destination 545 Address Source SAS Address PRR Changing Data Pointer ReTransmit TLR CONTROL Number of Fill Bytes Tag MOOR Target Port Transfer Tag MOOR Data Offset AA Retry Data Frames n re ras Fi Aa ee Spes rx Check All Uncheck All Figure 2 26 SAS SSP Frame Type Dialog Choose a SSP Frame Type from the drop down list and click OK FIS Frame Information Structure SATA only Double click FIS to open the FIS Type selection dialog Format FIS Type Any Type ES Binary Register Host to Device 0K27 Hexadecimal Cancel Register Device to Host 0x34 Set Device Bits sA DMA Activate 039 DMA Setup 0x41 FIS Type BIST 1458 PIO Setup O 5F PM Pott as 0x46 Any Type A Jee dus Lee Fo Fo Eb Iw Hi e pi Check All Uncheck All Count Expected number of occurences on each link Figure 2 27 SATA FIS Types Dialog SAS vs SATA Not available in SAS Choose a FIS Type from the drop down list box and click OK Repeat for additional types Available FIS Types O Register Host to Device 66 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Protocol Errors Teledyne LeCroy
Download Pdf Manuals
Related Search
Related Contents
TEFAL FV3030G8 Instruction Manual Allied Telesis AT-AR410 Modular Branch Office Router ・長期にわたる,又は反復ばく露による臓器の障害 ・水生生物 Noisy Magazine n°159 Uso del Fantoma Easypix DVC5227 仕上りチェック後、当社までFAX願います。 Barco W12 User's Manual Copyright © All rights reserved.
Failed to retrieve file