Home
Sierra M6-1 SAS/SATA Protocol Analyzer User Manual
Contents
1. O Run scripts AAA ATAPI SCSI commands count ATAPI SCSI command Result Mode Select 10 Mode Sense l10 2 Expand Log fey Save Output yA Settings Done xto Ons toT Ons YtoT Ons For Help press F1 Tx out Disabled Initiator Emulator Stop Target Emulator Inactive Simulation Mode Stop Figure 3 74 Run Verification Scripts Dialog 4 Right clicking in the script list displays some additional operations over selected scripts Run verification scriptis y Edit script E Mew script Show Grid Show Description windicwy Show Output Settings Figure 3 75 Run Verification Scripts Menu Sierra M6 1 SAS SATA Protocol Analyzer User Manual 161 LeCroy Corporation Running Verification Script Engine VSE 162 Run verification script s Start running selected script s Edit script Edit selected scripts in the editor application specified in Editor settings New script Create a new script file using the template specified in Editor settings Show Grid Show hide a grid in the verification script list 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 Navigation View Toolbar The Navigation View toolbar allows you to navigate search filter hide RRDY all
2. Scenario Name Replace BEDY Normal or BEDY Reserved O 19 Description Wait for PRD Normal or BEDY Beserved 0 and replace with ERROR Direction for traffic changes From Initiator Global Rules Wait for BRBDY NORMAL from Initiator OR REDY RESERVED O from Initiator Click here to add combined event gt then Substitute with ERROR lt Click here to add another actions Click here to add another event gt A x le Tla e i l 1 o For Help press F1 COP NUM SCRL Figure 4 24 Example 3 Complete Scenario 266 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Example 4 Multiple Triggers and Actions LeCroy Corporation 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 Inthe Global Rules area click the prompt to add the next event keep in mind this is not a combined event 4 RDDY Normal amp RDDY Reserved 0 Test 1 box Scenario is valid Scenario Name PODY Normal 4 BODY Reserved U0 Test 1 3 Description Replace BODY Normal vsERPEO
3. 5E5 Command Status Source 545 Address Destination 545 Address Protocol Error Tag 5ES Task Attribute ATAPI SCSI Command Miscellaneous 4 Packet with Error e Packet without Error From Tag jo Hex To Tag fe Hex F Forts W Don t Care M STP Port 0 Search By C Hashed SAS Address SAS Address Search Direction Fowad Backward Search From i Advanced Start l Trig Pointer Szene Lozie i Pointer AND Selected Items E Y Pointer f OR Selected Items Last Found Reset All Save Load Cancel Domain lt lt Figure 3 94 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 179 LeCroy Corporation Search Search From
4. 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 scenario Save library Save a copy of the library as View edit a selected item Insert a copy Delete a selected scenario Copy Paste O DOOOCCOOO O 238 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Interface LeCroy Corporation Device Ports If a device is connected the software displays the Device Ports Device Ports SN 12880008 p ih 2 Scenarios al Set Scenario by Drag Drop or Click on Grid Columns Library Scenario 1 YO 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 240 Using the Device Ports Dialog After you have finished Port Configuration see Port Configuration for InFusion on page 240 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
5. 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 Event Properties aloj x Type e Address Frame a Any word 2 ATA Command a ATA Command Frame E ATAPI Both Links Up z CRE Error z Dword Makcher z FIS Frame FIS Type z Frame Type z Invalid 10bit code Error Links Speed 3G Links Speed 66 OOB Signal E Primitives 2 Primitive Group SAS Primitive SATA Primitive 2 Running Disparity Error 545 Data Pattern SATA Data Pattern H SCSI 2 SMP Frame z SSP Frame Evert Ho 1 From Initiator NOTIFY ENABLE SPINUP NOTIFY POWER LOST EXPECTED NOTIFY RESERVED 1 NOTIFY RESERVED 2 ACK HAK CAC ERROR FAD RESERVED 0 RADY RESERVED 1 AIP NORMAL AIP RESERVED 0 AIP RESERVED 1 AIP RESERVED 2 AIP RESERVED WAITING ON PARTIAL AIP MAITING ON CONNECTION E AE Pros x ira r Figure 4 19 Example 1 Event Drop Down List 8 Click OK to close the Event Properties dialog box 262 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Example 1 Creating a Single Event and Action that Removes a Primitive LeCroy Corporation 9 Inthe Global Rules area click the prompt to add an action Remove RRDY Normal Mo action specified for the event RADY NORMAL From Initiator in Global
6. e Show Field List as embedded in frame spreadsheet views Show Field List in column view Setas Factory CE Cancel Figure 3 130 SAS Software Settings Dialog Field List View Tab The SATA Software Settings dialog has the same options For additonal information on Field List View refer to Histogram View on page 151 208 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Sampling Memory Usage Optimization LeCroy Corporation Update Filed List based on Text view The software updates the contents of the Field List based on the current Text View Spreadsheet view The software updates the contents of the Field List based on the current Spreadsheet View Mode of frame field list Other Transport Shows decoding of transport layer Application Shows decoding of Application layer Both Shows decoding of both transport and application layers Payload field length Specifies the number of bytes that are shown in the field list for payload fields Show Field List as embedded In frame spreadsheet views The Field List is embedded in frame spreadsheet views Otherwise it will open as a separated view Show Field List in Column View The software embeds the Field List in the column Otherwise the Field List is not in Column View Sampling Memory Usage Optimization The Software Settings dialog has a Sampling Memory Usage Optimization option This Memory Assignment MA feature optimizes sampling memory
7. 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 l Oj x Number of Data Cels 16 Column gt CAME e He Asci Address Data Block C Append Insert C Overwtite Random Dat di Address 4 Repeat 2 times Pattern Counter Data New an nm Custom 1 Delete All CD 11001101 Random Pattern Counter Walking Bit Load i Figure 2 88 Define Your Own Data Pattern 108 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Counter LeCroy Corporation 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 Number of Data Cells 16 Column Cell Length 1 Byte y LSB C MSB Binary
8. 24 New Batch Script command 235 New Protocol Analyzer Project in Advanced Mode 203 New Scenario button 247 New script 162 normal zoom reset 163 Notes tab 98 Number of Run text box 91 Number of Runs Each Test 220 O Open as Data Vie 157 Open Library command 235 Open Sample file In 205 operating system 17 order reorder in results display 184 Others Report view 136 output trigger 102 p Pack Repeated Primitives 206 Packet Drop 234 Packet View 31 113 118 packing list 15 Partial Memory 91 Paths settings 203 pattern definition 88 Pattern command 53 pattern definition in sequential trigger mode 88 Pattern field 101 Pattern triggers 69 Payload field length 209 Pending ATA lO 154 Pending SCSI IO 154 Performance Report 141 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Index performance report 140 PIO Setup FIS 67 PM Performance Report 143 PM Statistic Report 143 port renaming 187 status 191 port alias 200 Port Configuration 235 236 Port Configuration button 95 port ID 187 Port Speed 94 Port Status 34 Post Trigger Capture tab 55 pre trigger 89 data 91 Pre Trigger Capture tab 55 Primitive dialog 56 74 Primitive Manipulation 234 primitive report 132 primitive response timeout 93 Print Preview button 146 project examples 50 file type definition 49 notes 98 settings 90 106 project note 98 Project Tree 39 projects 49 protocol error mask 93 Protocol Analysis 37 Protocol
9. Click here to add combined event gt a Click here to add an action Click here to add anoth event gt a For Help press Fl l CAP NUM SCRL a Figure 4 26 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 d RDDY Normal amp RDDY Reserved 0 Test 1 l box Scenario Mame BDDY Normal amp BODY Reserved 0 Test 1 A Description Replace BODY Normal vsERROR If BODY Reserved 0j Inject BD Error Direction for traffic changes From Initiator Global Bules 3 Wait for BEDY NORMAL from Initiator Click here to add combined event gt then Substitute with ERROR lt Click here to add another action Wait for REEDY RESERVED 0 from Initiator Click here to add combined event E then Inject Bunning Disparity Error Click here to add another action gt Click here to add another event 4 For Help press Fl COP NUM SCRL Figure 4 27 Example 4 Complete Scenario 9 Inthe File menu select Save Scenario to save the scenario 268 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Example 5 Multiple Actions on a Single Event LeCroy Corporation Example 5 Multiple Actions on a Single Event In this example an event triggers a set of actions The actions occur at the same time The device waits for an ACK from the initiator When it occurs the devi
10. Cmd and ATA Cmd SAS only APP v 5 to gt Click the down arrow on the Show Hide All Commands Packet Y SCSI Cmd and Task Mng v SMP Cmd button to choose command types to show hide v ATA Cmd The Show Hide Physical Packet button toggles the display of physical layer PLY packets SATA only The Show Hide FIS packet button toggles the display of FIS layer packets When OFF the FIS layer and its links are hidden SATA only FIS The Show Hide CMD packet button toggles the display of the CMD packets CMD When ON only the command layer displays SATA only Sierra M6 1 SAS SATA Protocol Analyzer User Manual 183 LeCroy Corporation Search cu The Pack Unpack Repeated Primitives toggles packing repeated primitives in FE one port The 10B button displays the payload data as 10 bit encoded data 10B The 8B button displays the payload as 8 bit scrambled or unscrambled data B depending on the Scrambled setting The Show Hide Command Queue button displays queued commands The Order Reorder toggles the time order of packets The SC button selects scramble unscramble for the 8 bit payload data so CATC Navigation View To change the trace display to a CATC Trace click the CATC Navigation a button see Figure 3 100 on page 185 You can change the colors fonts and so on in the Trace Viewer Configuration see Trace Viewer Configuration on page 195 184 Sierra M6 1 SAS S
11. Cn Bee Mi FEAT eee MI eel ma MM A BEE E EEE amp EEE ES oT Custom colors i i i ip i i E i it i g pp Define Custom Colors gt gt Cancel Figure 3 120 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 Display Configuration LeCroy Corporation Time Stamp Format Select LeCroy Milliseconds or Microseconds Font To change display fonts click the Font button to open the Font dialog box UX Font Font style Size Arial Regular Arial Black O Arial Narrow O Arial Unicode MS Bold Italic Tr Artistik Tr AvantGarde Bk BT Tr AvantGarde MdBT 7 Sample AaBbY yZz Script Westem y Figure 3 121 Font Choose the font font style and size and click OK Save Load Settings You can save the customized configuration settings in a cfg file by clicking the Save button and completing the Save A
12. 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 242 Sierra M6 1 SAS SATA Protocol Analyzer User Manual InFusion Scenarios LeCroy Corporation 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 PC 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 Key Scenario Terms Term Action Event Combined Event Global Rules Sequence State 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
13. Port Speed Function R i 2 E T 15G A pea Y 2 5 2 PPP E 2 T 156 EY 1 TESE When the LEDs are dim it indicates they were lit in the past Pressing the Reset button erases this history and the illuminated LEDs are removed from the dialog 192 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Toolbars Toolbars LeCroy Corporation 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 Fie Setup Session Analysis Navigation View Window Help gt El Trainer Jammer a PP bom In pD oom QuE e Actual Size Full Screen E Tile Views PB Enable Filtering p2 Filtering IDL Filter Idles Phy Physical Layer Iris FIS Layer femo Command Layer F wrap Packets ey Main we Status Bar m Record Capture le Analysis e Navigation yview ve Packet view Column view ve Cursor Position ve Device Emulator Toolbars are ODO0ODO OO a Main Record Capture Analysis Navigation View Packet View Column View Cursor Position Device Target Emulator 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 x to Y Ons xto T Ons Y to T Ons
14. Port Status You can get an overview of the active ports by clicking the Port Status button at the bottom right of the application window The Port Status displays the Port Speed and Analyzer Sierra M6 1 SAS SATA Protocol Analyzer User Manual 191 LeCroy Corporation Port Status In addition to displaying OOB Link Frame and Error a display showing the buffer full opens when a trigger occurs Port status Port Speed Function OOB Link Frame Error Trigger Buffer indicator 111 E ES i 306 Exerciser E E T ET EA Port status Port Speed Function OOB Link Frame Error Trigger Buffer indicator i de 15G Exerciser a TEE S vi abe Part status Port Speed Function 00B Link Frame Error Trigger F 30G Exerciser T o 0 Y Figure 3 115 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 OOB L yk F me Error Trigger Buffer indicator s ee
15. Task Management Function QATA Commands 5E5 Command Status Source 545 Address Destination 545 Address Protocol Error Tag S5ESI Task Attribute JATAPI SCS Command Miscellaneous Search By Hashed 545 Address SAS Address Search Direction Fowad C Backward Search From Start Trig Pointer C Pointer Pointer C Last Found Rezet All Save Load Figure 3 93 SAS Search Data Pattern 178 f Data pattern only Data payload length only Data patternpayload length A Data Payload Length te Search Domain Data Type ors Vl wi wi Fl M T1 e Ta Data Pattern Check All UnCheck All Protocol Error W Packet with Error e Packet without Error C Binan ASCII f And Gr w I on a Search Logic C AND Selected Items OR Selected Items Cancel Domain lt lt Sierra M6 1 SAS SATA Protocol Analyzer User Manual Search LeCroy Corporation Search Sub lems LB amp Range Search terns identity Device Search For Data Pattern Bus Condition Read OMA Ext po Primitive write DMA Ext ee vi I 12 Incomplete Frames v1 72 JAddress Frames To LBA f JSSP Frames Hex 5MP Frames STP Frames Tag Check All UnCheck All SCS Commands Tag Pange Protocol Error 5MP Commands Task Management Function
16. Choose a starting point to begin or continue a search Start of the sample file Trigger Pointer X Pointer Y Pointer or Last Found Search Logic The default setting is Or Selected Items With this setting clicking Find Next locates all selected items in turn If you choose And Selected Items you can set a logical AND combination of items to find Both options allow setting Advanced search features 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 93 on page 178 a Data Pattern Only O 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 ST x Field Length Value h C PM Por O ON C Status Lo C Status Hi C Eror clive 31 C SActive 31 0 32 0O Ww U A bh coca Figure 3 95 Advanced Options Dialog Example Set Device Bits Set the options and click OK 180 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Search Search Domain LeCroy Corporation Click the Domain button and choose a search
17. Crosspoint Main FPGA Expansion LED Buzzer Test Result E Memory W SDRAM MW Exerciser RAM Save error details Save in E Program FilesSLeCroysleCroy 5474 Protocol Sulte User Error detail elf i Append error details ale Humber OF Run Each Test f Run All Tests Sequentially Start Memory Check Close Figure 3 143 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Help Menu LeCroy Corporation Serdes Check To perform an FPGA 1 or 2 Serdes Chip check select the Serdes tab Clock Memory Serdes crosspoint Main FPGA Expansion LED Buzzer Test Result Marvel Failure Type fresa 1_Serdes Chip 0 fresa 1_Serdes Chip 1 FPGA 1_Serdes Chip 2 fresa 1_Serdes Chip 3 reas 2_5erdes Chip 0 fresa 2 Serdes Chip 1 fresa 2 Serdes Chip 2 fresa 2 Serdes Chip 3 Save error details Cave IH C Program Files LeCroysleCroy 5474 Protocol SuitesUserErrors detail elf El i Append error details es Number Of Run Each Test f Run All Tests Sequentially Start Serdes Check Close Figure 3 144 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 F
18. Figure 4 36 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 box Sierra M6 1 SAS SATA Protocol Analyzer User Manual 277 LeCroy Corporation Example 7 Creating Two Sequences and Global Rules 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 Mok saved Scenario Name New Scenario O Direction for traffic changes From Initiator T Global Bules Click here to add an event Sequence El State O E Wait for Address Frame OxO00 IDENTIFY FO AddressFremeType Value 4 Bites 0x00 IDENTIFY Mask OxF From Initiator then Branch to State 1 State 1 Wait for Address Frame Ox00 IDENTIFY FO AddressFremeType Value 4 Bites 0x00 IDENTIFY Mask OxF From Target Figure 4 37 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 278 Sierra M6 1 SAS SATA Protocol Analyzer User Man
19. Primitive SSP Transport SMP Transport STP Transport ATA Command SCSI Command SMP Command Task Command SAS Address Protocol Error Performance Lanes Others b Srreteeternrtetent Port Open Accept Open Reject AIP Waiting on Con Break SCSI Command ATA Command SMP Command Out Standing Cmd Transfer Bytes Link Utilization Link Utilizal ars al ej all El al 5 al iv Al e Al E Al 11 9 0 0 0 6 0 0 1 0 4 293 334 us 0 03 Ti 7 0 0 0 0 0 0 0 172 5 360000 us 0 03 I2 776 102 0 0 700 300 25 2 661504 4 552 893 ms 29 1 Figure 3 42 SAS Lanes Report Sierra M6 1 SAS SATA Protocol Analyzer User Manual 139 LeCroy Corporation Statistical Report Content 140 Read Write Command Report SAS To display the Read Write Command Report click the Read Write Command tab You can enable or disable creation of this page under Software Settings see Software Settings on page 203 The Read Write Command report displays the report data in columns with the following information Source SAS Address Destination SAS Address Protocol Type OpCode Command Tag LBA Sector Count Xfer Length Payload Size All Custom or a number of DWORDs Status All Custom Good Completion Time Performance Standard Deviation Count All Custom or a number O OUOCODODODDO oO OC pp eg epa quarter serranas Source SAS Address Destination SAS Address Protocol Type OpCode Command Ta
20. Protocol Error J aTAPI SCSI Command Miscellaneous Filter Type gt Hide C Show Filter Idle Forta wit il l2 M T1 M T2 Reset All Check All Save Load Read Capacity 10 fl Write 10 Mode Select 6 Mode Sense E Filter Logic C AND Related Items OR M Multi Level Filtenng pS are COA Oe e Use Par SAS ddresses le Filter descend packets if ascend packet is filtered Next gt Finish Cancel Figure 3 87 Second Level of Multilevel Filtering Sierra M6 1 SAS SATA Protocol Analyzer User Manual LeCroy Corporation 171 LeCroy Corporation Filtering Filter Options Bus Condition iw Good I Prirnitive Il Check Condition Dihcomplete Frames Incomplete D ddress Frames lOSSP Frames SMP Frames STP Frames IC1SCSI Commands SMP Commands OT ask Management Functions ATA Command 129505 Command Status Source 545 Address IL Destination 545 Address _ Pair 545 Address OProtocal Errar iw TP Fort Tag ATAF SCSI Command I Miscellaneous Filter Type m Forts gt Filter Logic 7 Muli Level Citerina wi iw 12 C AND Related Items M T1 R T2 oR Reset All Check All e Filter descend packets if ascend packet is filtered Save Load Cancel i lze F ala Add espes Figure 3 88 Third Level of Multilevel Filtering Filter descending packets from trace highlig
21. Sierra M6 1 SAS SATA Protocol Analyzer User Manual Sierra M6 7 SAS SATA 6Gbps For Software Version 4 30 Document Version 3 0 March 2012 LeCroy Protocol Solutions Group Copyright 2012 LeCroy Protocol Solutions Group All rights reserved Trademarks and Servicemarks LeCroy LeCroy Protocol Solutions Group CATC SASSuite SATASuite SASTracer SATracer SASTrainer SATrainer SASTracker and Avalanche are trademarks of 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 LeCroy FOR A COPY Copyright 2012 LeCroy Corporation All rights reserved This document may be printed and reproduced without additional p
22. allowing you to enter the scenario name a short description and direction of traffic change Sierra M6 1 SAS SATA Protocol Analyzer User Manual 247 LeCroy Corporation InFusion Scenarios Scenario Properties JO x 5 x Properties Type Scenario Hame Hew Scenario Description Direction From Initiator x E te Figure 4 11 Scenario Properties Dialog Box In the Scenario Properties screen the direction for traffic modification is defined ona 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 SATA Smart Hold Option HE Scenario Properties Properties Mame New Scenario 0 Direction From Initiator Smart Hold es Set OOB QUE Definition Normal Spec Value Smart Hold Figure 4 12 SATA Scenario Properties Dialog Box 248 Sierra M6 1 SAS SATA Protocol Analyzer User Manual InFusion Scenarios LeCroy Corporation SATA Scenario Properties have a Smart Hold option which is on by default Each port monitors incoming data which originated with the other device s receiver as close as possible to where it enters the bus engine If a port detect
23. Align Transmission Period 2049 for SSP 258 for STP Protocol Errors tico 59 Connection Details Simulation Mode Exclude patterns Define different patterns for pre trigger and post trigger data captures E Easy switch to Advanced mode Collapse All Expand All Figure 2 16 SAS Choosing Capture Patterns SAS vs SATA SATA Dialog replaces Exclude SATA_CONT with Exclude CONT and Exclude SATA_SYNC with Exclude SYNC SAS The SAS Parameters window displays the following pattern capture categories a OCDOO O a STP Frame Address Frame SMP Frame SSP Frame Data Pattern Protocol Errors SATA The SATA Parameters window displays the following pattern capture categories a ODO O FIS FIS Pattern Data Pattern Protocol Errors Sierra M6 1 SAS SATA Protocol Analyzer User Manual 53 LeCroy Corporation Patterns and Data Capture Setup 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 Exclude Patterns Check this box to allow for the capture of everything except the patterns that have been added to the Project Tree When you check this box the Primitive category appears in the Parameter window and the window enable
24. Contents LeCroy Corporation PENGINGHO Ora Masias id riada Deba 152 User DOT in o eos 152 BUS Utilization VIEW iia A da 154 Bus UtmiZation BUO O ls ic cae RESER 155 Dala Repo tasar a iiaa 155 Data PaylOaG Vi Wii o oalccaicaSiEs 157 PING Dala Pallet idas 157 Compare Two Data PayloaGS dai 158 Running Verification Script Engine VSE cccccsseecesseecenseceensesenseecensesenseesoaseseoasessoneees 159 Navigation View TOOID aM isaac indi 162 GO TO MON voi aaa een a ES a 163 A Oca a abet ateeatneasaan coveeusnvenaiiennaie Cseeeaateiee tani toad tedetsceetacetenenete 167 Fiker Seti E aa 167 FINSE DY DC sir a 169 PILOTING IC CUON A a a a N 169 PUGS a A A A A A A Oc 169 Save Fer SO CUD riada 169 PILOT toda 169 MUEVO Filtering IN SAS ica 169 Filter descending packets from trace highlight bar occcoonnncccconanccconcnconcnonnnnnnnnnnnnnenanconenoannnennananos 172 selectable Filter OpulOns TOF SAS id 172 RA tcp ce siee secene aeceveasessee a a ace aeccassevecece 173 INCOMPICIS Frames ii A dan 173 PT PG OTM ANG iaa 173 PP FOUOCOU VION cseehsswccssactceaccica cece vei stattuevancozcesasiece sed sesnetceizevsncecesanasine cd vossusensnadasieeuasaecasccecesustestawsiesoncae 173 ATAPU SCS COMmmanG siii a 173 Filter Check COMGIMOM na A a A 174 Filter Dy Tag NUMDEE suvisi a add 174 Fiter MISCCIANCOUS iia oido lacio 175 Use PalrSAS AQdeSSesS suis oia 176 Selectable Filter Options for SATA ui id dies 176 A O teeta ta 177 FIOT AA O
25. InFusion provides the ability to capture individual data DWORDs and provides four different registers to store captured DWORDs DWORD O 1 2 and 3 To capture a data DWORD select Capture Data DWORD from the Action Properties screen as shown below Select the register to be used to store the DWORD from the drop down menu under the Capture Register property ol Type Properties Type Description Random No Acton a Capture Data Dword E Inject Link Every Nth occurence 1 z Monitor fount Monitor Count Mot monitored Remove Direction From Initiator Stop Scenario Capture Register Diword 0 H Substitute Offset TEEN Trigger Output Oword Diword 2 Diword 3 Capture Register x E Z Figure 4 15 Capture Data DWORD Action Sierra M6 1 SAS SATA Protocol Analyzer User Manual 257 LeCroy Corporation Scenario Actions Using Captured Data DWORDs Captured data DWORDs can be used in creating events for data that match the captured DWORD s or in creating actions to substitute the captured DWORD s into the data stream To create an event using the captured DWORD in the Event Properties menu select SAS Data Pattern or SATA Data Pattern and then select any of the 12 DWORDs DWORD 0 Type through DWORD 11 Type The drop 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
26. Power OFF EOT Manage Setup Licenses Preferences Self Test Data Block Set port alias Figure 3 149 SATA Find Device Command on Tools Menu The Find DUT dialog opens See following screen capture 226 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Help Menu LeCroy Corporation Figure 3 150 SAS Device Identifier Dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 227 LeCroy Corporation Help Menu 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 k Allinta C SAS Address F mme i ee EEE T1 50060560000003c5 Property gt PHY 0 PH Y ld PH 1 5006056000001 Invalid D w ord Count qn PHY 2 en PHY 3 i PHY 4 Los OF DWord Sync Count men PHY 5 PH Reset Problem Count men PHYE en PHY F ee PHY 5 aged PHY 9 RA PHY 10 LJ PHY 11 500605600001 Running Disparity Count General Protocol Supported SSP 4 SMP STP Mumber OF PH Y 12 Vendor Id LSILOGIC Expander Change Count 163 Product Id 545 124 0 Expander Route Indexes 144 Product Rev Ley ld 32 Config 0 Esport Save Load Close Figure 3 151 SAS Identified Devices Click a device in the Device List to display information about that device 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
27. Register Host to Device D27 O Binary f Hexadecimal Cancel Register Device to Host 0x34 Register Host to Device Ox2 J Set Device Bits DMA Activate 0x39 DMA Setup O41 FIS Type BIST 056 tto Device PIO Setup OxbF o a 0x46 C Vendor A Command Features LBA Low LBA Mid LBA High Device LBA Low exp LBA Mid exp EEE E EEE ma Fer Fi Fi u re Era Elri Check All Uncheck All Figure 2 22 SAS FIS Patterns Dialog SAS vs SATA Not available in SATA LeCroy Corporation Click the down arrow next to the Type drop down list box choose an FIS type to capture or exclude and click OK Repeat for additional types Available FIS Types a O COCOOCOOO O Register Host to Device Register Device to Host Set Device Bits DMA Activate DMA Setup BIST PIO Setup Data Vendor Sierra M6 1 SAS SATA Protocol Analyzer User Manual 59 60 LeCroy Corporation Protocol Errors Address Frame SAS only Double click Address Frame to open the Address Frame Type Pattern dialog Address Frame Type O x Format Address Frame Type Any Address Frame Type x C Binary Any Address Frame Type Hexadecimal aca Show Reserved and Parameter Value Address Frame Type x Any Address Frame Type Vn re Pr Pi MITA A A A Check All Uncheck All Figure 2 23 SAS Address Frame Type Pattern Dialog SAS vs SATA Not available in SATA Cli
28. Sector Count instead of Xfer Length Color Setting 206 Based on Cell Type Each column has its own color Based on Port No Data of each row are shown based on the specified color for its port You can set the color of ports in the Viewer settings Based on Read Write Command Type You can specify a color for Read commands another color for Write commands and other color for other commands The software shows each row based on the command type Read Write or others Sierra M6 1 SAS SATA Protocol Analyzer User Manual Spread Sheet View Tab LeCroy Corporation 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 views synchronize based on the contents of the anchor row Other Repeat decoded command in frame column The spreadsheet shows the name of the command in front 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 Column View Tab Software Settings i x General Sample viewer Spread Sheet view Ok View Field List
29. Stop Target Emulator Inactive Simulation Mode Stop B 3 mum Figure 3 67 SAS Data Report Click the Down Arrow in a data field to display Data Report details see Figure 3 68 on page 156 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 155 LeCroy Corporation Data Report EE Port a Command Direction Data 2048 Bytes n 36 054 973 ms Es 0x00 Out 00000000 00 00 00 00 00 00 00 00 gt 82 951 693 ms R 0x01 In 00 00 00 00 00 00 00 00 00 00 00 00 207 920 ms ooo 00 00 00 00 00 co 00 00 00 00 00 00 a0 00 eo co 3 E 5000C500001047B5 0x00 Out 00 00 00 00 00 00 00 00 00 00 00 00 Duration 7 666 us x to Y 136 880 293 ms x to T 136 880 293 ms Y toT 0 ns For Help press F1 TxVout Disabled Initiator Emulator Stop Target Emulator Inactive Simulation Mode Stp Figure 3 68 SAS Data Report Details Click the Statistics button at the end of a row to display data report statistics Mi 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 69 SAS Data Report Statistics 156 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Data Report Data Payload View LeCroy Corporation 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 Data Payload Layer
30. Task Management Functions 474 Commands PISCES Command Status Source 545 Address Destination 545 Address Far S45 Address Protocol Error JaTA4PI SCSI Command Miscellaneous Filter Type f Hide Show Filter Idle Porte wit 12 M T1 M T2 Reset All Check All Save Load Figure 3 86 First Level of Multilevel Filtering ju OxSU0BUS60000003C5 0 S50060560000003C4 Ta O 5000C500001 04 725 0 5000E 50000000011 0 5000E 85000000001 05000500001030 31 05000500001030 31 0 5000626 000001 074 0 5000626 000001 074 0500062000001 07 4 05000626 000001 0174 r Filter Logic C AND Related Items i OR 4 Filter descend packets gt O 5000626 000001 074 gt O 5000626 000001 0074 628000001074 gt DE SAE BE gt Ox5000C500001 03091 gt Ox5000E 85000000001 gt Ox5000626 000001074 gt Os50060560000003C5 0500050000104 65 0850005000071 030 91 gt OR BO06 056000000304 W Multi Level Filtering W Use Pair SAS Addresses If ascend packet ts filtered Next gt Cancel Sierra M6 1 SAS SATA Protocol Analyzer User Manual Filtering Filter m Filter Options Bus Condition JPrimitie Qlincomplete Frames Address Frames RAIssP Frames SMP Frames STP Frames SCSI Commands SMP Commands Task Management Functions MATA Commands SCS Command Status Source 545 Address Destination 545 Address Par 545 Address
31. 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 228 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Help Menu LeCroy Corporation Compliance Test SATA The Compliance Test consists of a set of selectable tests to verify compliance with the SATA specification SATA compliance is at UTD Rev 1 4 Note The tests follow the LeCroy MOI which is described in the SATA _Digital Device_MOI_LeCroy_1 00_UTD1 4 pdf file in the installed Documents directory Note You can start tests using the command line The SAS SATA Protocol Suite API Reference Manual Section 2 12 starting on page 153 explains how to write VB scripts to automate compliance tests and generate results as RTF files To run a Compliance Test 1 Select Tools on the main toolbar and choose Compliance Test to open the Compliance Test dialog Compliance Test Digital test group UTD Version General Device Requirements UTD13 Load Native Command Queuing C UTD1 4 Q Asynchronous Signal Recovery ae ea Save J Software Settings Preservation yP y Interface Power Management e Device Close C Phy test group Host Device type e ATA C ATAPI Options Capture TimeOut 12 Second SSD Drive Add gt gt lt lt Remove Add All gt gt lt lt Remove All Device name Device r Compliance Report
32. To change the view type when opening a sample change the default workspace or save options in the Software Settings dialog To toggle among open windows use CTRL TAB To reverse toggle order use CTRL SHIFT TAB To make a frame a trigger pattern in Packet View right click any frame select Add to Trigger and add the pattern to DataPatternCapture Viewer Display enables you to also perform the following a a a Decode Assignments Refer to Decoding Assignments on page 118 for more details Compare Two Data Payloads Refer to Compare Two Data Payloads on page 158 for more details Run Verification Scripts Refer to Running Verification Script Engine VSE on page 159 for more details Trace Properties The Trace Properties dialog displays a DOOOUOUOUD O 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 115 LeCroy Corporation Analysis 116 Trace Properties Software Version 4 30 Build 500 Sample tle version Version 54 Adding optical DOB Grouping Type Narrow Hardware bin file version 0016 with Ha version 3 YP FO 1 GE Memory Analyzer armed at Unknown Analyzer triggered at Unknown Sample saved at Unknow O
33. 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 114 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trace Properties LeCroy Corporation Using the Viewer Display To configure the data viewer display use the toolbars You can display the same data in DOOOUOUUUUOD O Packet view Spreadsheet view Column view with transactions grouped for each active port Text view with transactions grouped for each active port Waveform view Field List view Histogram view Bus Utilization view Data Report Statistical Report view
34. beep inject PL error count Direction for traffic changes From Initiator Global Fules lll Wait for ACK from Initiator lt Click here to add combined event gt then Beep 500 ms and Inject Bunning Disparity Error and Monitor Count lt Click here to add another action Click here to add another event For Help press Fl COP MUM SCRL Figure 4 29 Example 5 Complete Scenario 9 Inthe 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Example 6 Using Timers LeCroy Corporation 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 primiti
35. create any sequences Whether you are creating Global Rules or a Sequence the menu driven interface prompts you to specify the event s for which you want to trigger actions Fi event Properties Type p Address Frame 2 Snalyzer Trigger Any Dword 474 Command gt ATA Command Frame ATAPI Both Links Up 2 CRC Error gt Dword Matcher 2 FIS Frame FIS Type a Frame Type Invalid 10bit code Error Links Speed 3G Links Speed 66 E 006 b COMINIT Complete COMINIT Detected i COMSAS Complete COMSAS Detected COMWAKE Complete COMWAKE Detected i OOB Signal E Primitives gt Primitive Group SAS Primitive SATA Primitive 2 Running Disparity Error 545 Data Pattern gt SMP Frame EF SMW Final Shy Properties Type Description Count Randomly Counter value Direction FO AddressFrameT ype Value 4 Bits FQ AddressFrameT ype Mask Fl DeviceT ype Value 3 Bits F1 DeviceType Mask F2 Reserved Value 1 Bit Fe Reserved Mask F3 REASON Value 4 Bits Fa REASON Mask F4 Reserved Value 4 Bits F4 Reserved Mask FO Restricted Value 1 Bit F5 Restricted Mask FB SMPinitiatorPort Value 1 Bit Fe SMPinitiatorPort Mask FY STPinitiatorPort Value 1 Bit FF STPinitiatorPort Mask FA 55PinitiatorPort Value 1 Bit Fe 55PinitiatorPort Mask FY Reserved Value 4 Bits FY Reserved Mask F10 Restricted Value 1 Bit FIO Restricted Mask F11 SM PtargetPort Val
36. 0x00 Smp function accepted aS CC Link Address Frame Type Protocol Initiator Port H Connection Rate Features H Initiator Connection Tag H Destination SAS Address H 772 0x1 Open 0x9 3 0 Gbps S000EOCA71865000 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 S5000E0C42FB5D004 0000 00000000 F8 BAB6ES Figure 3 1 SAS Packet View of scs Sample File Sierra M6 1 SAS SATA Protocol Analyzer User Manual 113 LeCroy Corporation Viewer Display Command Input H 22 Normal Output H Phd Port H Protocol 0x90 Execute Device Diagnostic 0x05 Device Diagnos 2 160 us FIS Type Phi Port H C H Command H Features H Sector Number H Cyl Low H Cyl High H 0x27 Register Host to Device 3 5 586 us 5 E 4 a ee 5 586 us 511 600 093 5 ae 11 511 600 093 5 6 Figure 3 2 SATA Packet View of sts Sample File Quick View By default the Software Settings enable Quick View Quick View allows full access to the whole trace more quickly especially when using a Gigabit Ethernet connection However the trace is NOT written to the Host PC hard drive To save the trace you must manually click Save If you uncheck Quick View in the Software Settings to disable Quick View the trace loads more slowly but is automatically saved to the Host PC hard drive
37. Aj Trigger Non Sequential 5 4 Post Trigger Capture Everything Exclude NOTIFY Include HX Include SATA_SYNC Include SATA_CONT Include OOB Signals Include Payload of Data Frame Include RADY Exclude Idle S Settings Trigger Position in Memory 50 Capture Memory Size 10000 KB Primitive Response Timeout 65000 Dword s Speed AutoSpeed 11 11 12 T2 13 T3 14 T4 Descrambling Enabled Align Transmission Period 2049 for SSP 258 for STP Last Run Not run yet 2 Connection Details Simulation Mode x Easy switch to Advanced mode amp Collapse All Expand All Figure 2 73 Project Notes Tab 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 QO Capture Everything Nothing or a user defined pattern QO Include up to three ELSE IF statements allowing a jump to any other state based on a user definition O 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 QO Output an external trigger High or Low Note In Advanced Mode ev
38. Capture Memory Size 10000 KB Primitive Response Timeout 65000 Dword Speed AutoSpeed I1 71 12 T2 13 T3 14 T4 Descrambling Enabled Align Transmission Period 258 E9 Connection Details Simulation Mode I Exclude Payload except fa Diword s Parameters J Exclude ALIGN IV Exclude Idle What analyzer triggers on Capture memory settings I Define different patterns for pre trigger and posttrigger data captures Easy switch to Advanced mode 2 Collapse All Expand All Collapse All button hides details in Project Tree Expand All button expands collapsed Project Tree Figure 2 2 SATA New Analysis Project Dialog 38 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Project Tree LeCroy Corporation 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 what to capture on what the analyzer triggers 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 exclude SATA_
39. 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 such as All Custom N A Yes and No see Time out of ATA Command Report on page 134 Duration All Custom or time unit Count All Custom or a number of occurrences a of total count ODODOCDO O O O Si Sa w tt gt Move Cursor General Primitive Bus Condition FIS ATA Command Read Write Command Performance Others Command PM Port Direction Number of FIS Payload Size Status Duration Count Yy All All Al w All Al All Read DMA Ext 0 H gt D 3 2048 Normal Output 37 733 333 59 us 415 31 13 Write DMA Ext 0 H gt D 4 2048 Normal Output 17 133 333 21 us 179 13 43 Write FPOMA Queued 0 H gt D 6 2045 Normal Output 26 133 333 21 us 236 17 70 Read FPDMA Queued 0 H gt D 5 2048 Normal Output 32 106 666 56 us 470 35 26 Identify Device 0 H gt D 3 512 Normal Output 30 746 667 86 us 3 0 23 Check Power Mode 0 H gt D 2 0 Normal Output 6 826 666 83 us 3 0 23 Execute Device Diagnostic 0 H gt D 2 0 Normal Output 6 693 333 63 us 3 0 23 Flush Cache 0 H gt D 2 0 Normal Output 6 746 666 91 us 10 0 75 Figure 3 31 SATA ATA Command Report Time out of ATA Command Report The Time out shows the NCQ time out It is applicable for only NCQ commands A threshold can be set in the NCQ commands Timeout Threshold the default value is 1000 usec th
40. Custom Command Data Response XFER_RDY Direction All I gt T T gt l or Custom Duration All Custom or time unit Count All Custom or a number of total count OOoOD Direction Duration o All All I gt T 458 Data 765 000 000 00 us Data T gt I 1 515 053 39 ms 921 30 47 XFER_RDY T gt 1 17 260 000 69 us 229 7 58 Figure 3 35 SAS SSP Transport Report 136 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Statistical Report Content LeCroy Corporation SMP Transport Report SAS To display the SMP Transport Report click the SMP Transport tab The SMP Transport Report displays the report data in columns with the following information A Type All Custom Request Response Direction All l gt T T gt l or Custom Duration All Custom or time unit Count All Custom or a number of total count OOoOUD Duration Count Lo All b 1 973 333 36 us 2 00 Response T gt I 4 293 333 53 us 25 50 00 0 00000627 50 100 00 Figure 3 36 SAS SMP Transport Report STP Transport Report SAS To display the STP Transport Report click the STP Transport tab The STP Transport Report displays the report data in columns with the following information a FIS Type All Custom Data PIO Setup Register Host To Device Register Device To Host PM Port Direction All l gt T T gt l or Custom Duration All Custom or time unit Count All Custom or a number of total count OO
41. D gt H Reg FIS 34 3G D gt H Reg FIS 34 pi D gt H Reg FIS 34 ME D H Reg FIS 34 D H Reg FIS 34 X D H Reg FIS 34 X D H Reg FIS 34 36 PIO Setup FIS SF Data FIS FIS 46 D gt H Reg FIS 34 D gt H Reg FIS 34 D gt H Reg FIS 34 D gt H Reg FIS 34 aa D gt H Reg FIS 34 i 0i 01 Figure 3 19 Field List View In the Column View check the Show Field View in Column View checkbox in the Software Settings dialog under the Setup gt Preferences gt file menu then display Field View while the Column View is open Waveform Display You can enable a waveform display for all active ports and perform timing measurements by positioning timing cursors within the waveform display Select View gt 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 E Y Compact Wi al A Figure 3 20 SAS Waveform View COMSAS COMINIT Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis LeCroy Corporation E MV Compact s COMRESET COMWAKE H i COMWAKE COMINIT COMINIT COMINIT al ma Figure 3 21 SATA Waveform View Making a timing Measurement Timing measurements are made with two timing cursors T1 and T2 Click the left mouse button i
42. DUT on page 226 Manage Setup Licences see Floating License on page 211 Set Preferences see Software Settings on page 203 Perform a Self Test see Self Test on page 218 Create a Data Block see Creating a Data Block on page 106 Set Port Alias see Set Port Alias on page 200 Set SAS Address Alias see SAS Address Alias SAS only on page 201 15 File Setup Session Analysis Navic TxVout amp Preemphasis User Defined Decoding External Trig Setting Update Device All Connected Devices Find GUT Power On GUT Power Orr DOT Manage Setup Licenses Preferences Self Test Data Block Set Port Alias Set 545 Address Alias Figure 1 18 Setup Menu Option Setup a a a a a a a a a a a a gt E Session The Session menu has the following options a DOOOUOCD Start Capture Record Start capture or record a trace Pause Capture Record Aborts the capture without saving Stop Capture Record Stops the hardware Start Target Emulator Starts the target emulator SAS Stop Target Emulator Stops the target emulator SAS Start Device Emulator Starts the device emulator SATA Stop Device Emulator Stops the device emulator SATA Sierra M6 1 SAS SATA Protocol Analyzer User Manual 29 LeCroy Corporation LeCroy SAS and SATA Protocol Suite Menu Options and Toolbars Analysis The Analysis menu allows you to view captured data s
43. Data Frame 39 RRDY 40 SATA_CONT 39 SATA_SYNC 39 XXXX 39 Exclude Idle checkbox 54 Expand All 191 Expand Log button 159 Expanded Waveform View 127 Expansion Card Data Status or Clock Status check 224 Export Paired SAS Address Report 48 Export Read Write Command Report 48 Export to Excel button 145 Export to Initiator Emulator 46 47 External Trig In Setting 94 212 External Trig Out Setting 94 212 External Trig Setting 236 External Trig Setting dialog 212 external trigger 94 External Trigger dialog 73 Extract Sample File dialog 47 F fax number 303 field show hide 188 Field List Settings 208 field list view 124 Field Settings 197 file library 245 File Manager 245 File menu InFusion 236 Sierra M6 1 SAS SATA Protocol Analyzer User Manual LeCroy Corporation file type definition 49 filter 167 by tag number 174 check condition 174 options 172 save setup 169 type 169 filter enable 177 filter idle 162 178 filtering 167 direction 169 filtering column content 149 Filtering menu 167 Find Device 226 Find Device button 228 FIS Pattern dialog 63 79 85 FIS Patterns dialog 59 FIS Report 142 FIS Type dialog 62 84 FIS types 64 Fit to Graph Area 154 Floating License dialog 211 Found Device List Mode 204 FPGA 1 or 2 Serdes Chip 221 frames hide 152 From Initiator 247 From Target 247 G general report 131 Gigabit Ethernet interface 21 Global Rules 244 examples 260 Go to ATA SCSI Cmd 154
44. Figure 3 116 Cursor Position Toolbar See Using the Cursors and Bookmarks on page 194 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 193 LeCroy Corporation Status Bar Status Bar The Status bar is located at the bottom of the main display window 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 Using the Cursors and Bookmarks Cursors The data viewer display incorporates three cursors labeled X Y and T All cursors are initially overlaid and positioned at location 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
45. 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 Save As Text Excel Select File gt Save As Text Excel to open the Save As Text dialog For Save As Type select Text Files or Excel Files For Save As Range select All Packets or enter a cursor range Enter a File Name and click Save Note The Save As Excel option is available only for Column View and Spreadsheet View 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 Soreadsheet View you can also click the Trace Viewer 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 121 LeCroy Corporation Analysis 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
46. Hex Ascii Data Block Data Pattern Counter Data Walking Bit Data Custom 1 C Incremental Decremental Initial Number fis Figure 2 89 Set Counter as Data Sierra M6 1 SAS SATA Protocol Analyzer User Manual 109 LeCroy Corporation Counter 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 Walking Bit Data Custom 1 SCN Figure 2 90 Choose a Random Pattern Walking Bit Pattern To use a walking bit pattern click the Walking Bit button then choose either a walking bit of 0 or 1 the walk direction the start position and the number of times to repeat the pattern Figure 2 91 Define a Walking Bit Pattern 110 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Counter LeCroy Corporation Creating and Editing Data Blocks as Text You can create and edit data blocks using a text editor such as Windows Notepad To create a data block in Notepad launch Notepad Enter a header consisting of Item1 Item2 Item3 Item4 Item5 where ltem1 is the name of the Data Block Item2 is the size of the Data Block or the number of bytes in the format ltem3 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 Da
47. InFusion Error Injector and Traffic Modifier New Scenario 0 i File View Configuration Tools Help Dae ASEIDE RSF Dims o 4 New Scenario 0 Status Not saved Scenario Name New Scenario O Direction for traffic changes Smart Hold Yes OOB Setting Normal Spec Value T Global Rules Click here to add an event gt Click here to add a sequence gt 4 From Init For Help press F1 0 x ll a Device Ports SN 12880008 v A X f Device Library SN 12880008 wax i gt 2 gt mes Scenario SAS 6G_TL3 9 Ba SAS 6G_TL3 9 Ba Library SN 12880008 SN 12880008 a y a y Main Library 2689 2x 0 2 Be es None SAS 6G_LL3 14 SAS frame after DONE no cr SAS errors test 17_DEVICE_write Failed Device 16_DEVICE_Buffer Underrun Device 20_DEVICE_Verify Soft Reset Recovery Inject Disparity Error Inject Disparity Error lt empty gt gt a 4 J J J T Device Library SN 12880008 version 3 00 Build 12 Figure 4 6 New Scenario in InFusion Window Sierra M6 1 SAS SATA Protocol Analyzer User Manual 241 LeCroy Corporation InFusion Scenarios InFusion Scenario Parameters Timers Timers allowed per state sequence scenario 2 timers per state and 6 timers per scenario are allowed Events Events allowed to be used per state sequence scenario For combined events there is virtually no limit pe
48. License Key File dialog box Enter the path and filename for the license key or browse to the directory that contains the license key and select the lic file Click Open Display License Information Open a license information dialog to display a list of named features supported by the current software version see Figure 3 139 on page 217 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 216 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Help Menu LeCroy Corporation License information for the product Serial Number 61638 OxFODA A E ar eee Available Features Feature Title y lt lt K K E lt lt lt lt lt lt lt lt lt lt lt lt lt lt Zz PRR ETT rchased es Enable Pattern Generator Enable SATA Host Emulator es Enable SAS Initiator Emulator Tool SAS Traget Emulator Enable SAS Target Emulator es e Yes nfusion Feature Murine able Wuxina in Infusion il CN m un fo o fo fo o Figure 3 139 Licensing Dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 217 LeCroy Corporation Help Menu Check for Updates Check whether a n
49. M6 1 SAS SATA Protocol Analyzer User Manual 285 LeCroy Corporation Downloading Scenarios Downloading Scenarios After you have created a scenario you need to download it to the InFusion device for execution If you use a general library as a scenario archive then the process of creating and downloading a scenario is as follows 1 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 Open the 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 5 Download all scenarios in the device library to the InFusion device To do so click the Download all Scenarios button on the Device Library toolbar second button from left Running Scenarios If you use a general library as a scenario archive then the process of executing a scenario is as follows 1 Select the scenario to run by clicking it 2 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 286 Sierra M6 1 SAS SATA Protocol Analyz
50. O O A vetuuueestaecing Usiencaueeuies 178 Seale A 178 DAVE Dear OO UD ri ad 179 Search Dic dalla 179 Searcn Directos tod teo 179 DE aI GIN FO Miri ini ista 180 SEION LOGIC an ado adeteeosnantetil ad Na 180 A II A SCION ST ere AeA ait Mae ON ER ME CREME TUT Cn severe A Monee n NRA arene ae 180 Dalia A acsiiess cies sided a ace caeeusaabecc en N a a 180 Advanced ODIOS aiii Aids 180 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 7 LeCroy Corporation Contents SDS ANG mMDOM alinia da Mae outa eet oil cotas llei obles 181 Search SUD GINS ii e a 181 Search by Tag INUMDEe Fusion tii id tada 182 SHOW MIGS SINGS Po E crrr aa ads 182 SnowW Hide MultiBle POIS aura id 182 Packet View Toolbar oia lla 183 GATC Navigallon Vie Wisin os 184 SPEC VIW sirr teeth Secreta sc a i ewaar eat sanenaeeeeeneaaercmeaueuraneniuewes 186 DeCode ICONS usandolo intactos res rte ee erent 187 CUSTOMIZE DISDIAY usina dalt icon 187 Rename POr eco iainas 187 Select and Apply Show Hide Port Mode iiini a 188 Show Nide Field cnica dicci n 188 Related Frames ac 189 BY TOON GN AA eds usta a EE E KA EAEE a 190 CHOOSE Data Formal iia dda 190 Snow AMData aa cda 191 POR Stat Susan a 191 TOODA PS usada 193 Enabling LOBA Si ias 193 Gursor POSITION Status Batan dass 193 See Using the Cursors and Bookmarks on page WWA ooncccccconnnccoccnoconononccnnnannnonnnnanannonnnnnannrrnrrnnananennenas 193 Status Baras 194 A eteacenane ewes a ie demueeaee ie datu
51. Range i All Trace e From Cursor To Y Cursor t Fram SCSI Cmd Nofi Tofscs Cmd Nof Import Items W SCSI Commands P ATA Commands W SMP Commands l SSP Frames SMP Frames STP Frames F Task Mangement Fort W 11 71 M 272 M 1373 M 14 74 Project Mame El Stop Cancel Figure 2 10 Export to Initiator Emulator SAS Dialog Export to Host Emulator e o x Range All Trace C From Cursor To v Cursor Y From ATA Cmd y No f TolATACmd Naf Import Items MW Command FIS Fort i H1 01 FT H202 T H303 M 4404 Project Mame en Stop rea Figure 2 11 Export to Host Emulator SATA Dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 47 LeCroy Corporation Export to Initiator Emulator SAS or Host Emulator SATA You can limit the range of the saved file You can save a All Trace O Range between selected cursors O Range between SCSI Commands or Transport You can import SCSI Commands Task Management ATA Commands SSP Frames SMP Frames SMP Commands or STP Frames You can select the Port In the Project Name enter a valid file Export Read Write Command Report From the File menu you can Export Read Write Command Report as an Excel file using the Save As dialog 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 Paire
52. Show od HOLD HOLDA Response Timeout 95 Disable descrambling ALIGN Transmission Period C 2048 for SSP 256 for STP Sa era f 2049 for SSP 258 for STP _ Protocol Enor Mask Speed Iw 11 71 AutoSpeed E ars AutoSpeed ar AutoSpeed T 14 TA AutoSpeed Figure 2 65 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 11 T1 to 12 T2 SATA Dialog does not show MUX Setting button 90 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Project Settings LeCroy Corporation Memory Settings The Trace Memory Status section has the following fields Trigger Position Pre Trigger defaults to 50 which defines the percentage of data to capture before and after the triggering event You can change this percentage by dragging the slider Capture of the specified percentage of the data prior to the triggering event cannot be guaranteed and may be 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 89 Note Trigger Position only works when the triggering option is Pattern Sample File Name Click the ellipses next to the
53. Sierra M6 1 SAS SATA Protocol Analyzer User Manual 289 LeCroy Corporation Scenario Batch Files 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 1 New Script 0 b x FE Label 0 Run N 12871 Port 1 DISCOVER mand Label i Run N 12871 Port 2 REPORT PHY LOG ERROR 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 290 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Batch Files LeCroy Corporation Statements Statements can be conditional statements or non conditional statements IfisStopped Shows whether a scenario is already stopped or not Format IfIsStopped Serial Number Target Port Parameters a Serial Number Serial number of hardware au Target Port Port number in port map Example TfisStopped 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
54. Simulation MOJO ssuiicaa aaa aa a a aaa aa aeai 27 Usmo Ne SOPW ANG iS 27 Getting Started with the Protocol Anal yZet ccccccceeseeescessseeeceeseeeseensseesenenseeeeoenseeesooesseseoenseeseseonneeeses 27 LeCroy SAS and SATA Protocol Suite Menu Options and ToolbalS scscsesseeeeeseeeeees 28 Al o Recerca o es o A Ah asia coon 28 0 A O A O 29 Sierra M6 1 SAS SATA Protocol Analyzer User Manual LeCroy Corporation Contents A A Neg a are te aE a a ae tai a taut 29 PINAY SNS eesti seth a a a a a xe lovec R 30 Viewing Captured Data airada idas 31 NAVIA MO doc 31 MW tada 32 A occisi aan E a E 33 li A A A A 33 MOOID Sui orcos 33 POH Salle a esate becca uitd cian lnc ce diesen emcee etude oot RAN 34 INFUSION cia a aise rales a 35 ANalVZer and INFUSI N nsession a a a a a a aA aE 35 Chapter 2 Protocol Analysis cc sseccesssceseescennsesennnenenenescennesccenescenneees 37 Easy Mode Pre Defined Setups ccccssssecceeseeccesseeeeenseeeennseeceesneesoeseeeonseeeeeansesoonseeseoeneees 37 Malh WINdOWi aida 37 PROICC WCC riora aa aa a aa 39 Capture Tab APA O 39 Exclude SATA_CONT SAS or Exclude CONT SATA ccccccseeseeeccessseeseeeseeeeeensseeseeaseesseonseeeees 39 Exclude SATA_SYNC SAS or Exclude SYNC SATA ssccccesseesenseeecenseecenseesenseeseensesoensessonaes 39 Exclude QQB Signals savia 39 E EO O O EE E E E S E iacds 39 Exclude Payload excepliiacin
55. To display the error code of a protocol error click the error icon with the red x Pending IO Graph The Tool menu has a Pending IO Graph command with horizontal zoom vertical zoom click and drag zoom graph area zoom synchronize with trace view fit to graph area and graph view User Defined You can define additional items for inclusion in the Histogram by clicking User Defined the User Defined button to open the User Defined dialog 152 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Formatting the Statistical Report View LeCroy Corporation x Primitive alr NORMAL z f Hot Specific To Type OF Connections O Used Only Inside SSP amp nd SMP Connections O Used Inside STP Connections Frame T Outside Connections Cancel Figure 3 62 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 NORMAL AIP RESERVED 0 AIP RESERVED 1 AIP RESERVED 2 AIP RESERVED WAITING ON PARTIAL AIP WAITING ON PARTIAL ALIGN O Figure 3 63 SAS Choosing a Primitive User Defined x W Primitive Figure 3 64 SATA Choosing a Primitive Check a Connection Type option radio button if available and click OK Zoom You can Zoom from x1 to x256 Sierr
56. Type Symbol Y Settings Timer Timeout Primitive Pree Trigger Position in Memory 1 STP Frame Capture Memory Size 10000 KB ATA Command Primitive Response Timeout 16384 Dword s Speed 3 0 Gbps I1 T1 12 12 13 T3 14 T4 ATAPI Descrambling Enabled Align Transmission Period 2049 for SSP 258 for STP Address Frame 82 Connection Details Simulation Mode E Easy switch to Advanced mode GS Collapse All Expand All Figure 2 60 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 i x Timer Value fi Milli Seconds T Time Unit Cancel milliseconds C microseconds Figure 2 61 Timer Dialog Enter a Timer Value choose the Time Unit and click OK Sierra M6 1 SAS SATA Protocol Analyzer User Manual 87 LeCroy Corporation Trigger Setup Defining Patterns The definition of patterns for the sequential trigger mode is identical to the Any Trigger mode with the following exception In sequential triggering mode the definition dialogs for the triggering patterns enable the setting to count the number of occurrences This allows you to specify the number of times that the pa
57. User Manual LeCroy SAS and SATA Protocol Suite Menu Options and Toolbars LeCroy Corporation OOO O OOOO O Window Link Layer SAS only refer to Packet View Toolbar on page 183 Transport Layer SAS only refer to Packet View Toolbar on page 183 Application Layer SAS only refer to Packet View Toolbar on page 183 Pack Unpack Repeated Primitives SAS only refer to Packet View Toolbar on page 183 Physical Layer SATA only refer to Packet View Toolbar on page 183 FIS Layer SATA only refer to Packet View Toolbar on page 183 Command Layer SATA only refer to Packet View Toolbar on page 183 Wrap Packets refer to refer to Packet View Toolbar on page 183 Toolbar allows you to customize the toolbar with the options given below Main Record Capture Analysis Navigation View Column View Cursor position Target Emulator Status Bar refer to Cursor Position Status Bar on page 193 The Window menu has the following options a 0D DODO Help Cascade Displays all open windows in an overlapping arrangement Tile Horizontal Displays all open windows in a above below 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 216 Toolbars The toolbars enable you to perform several actions s
58. User Manual 27 LeCroy Corporation LeCroy SAS and SATA Protocol Suite Menu Options and Toolbars 28 LeCroy SAS and SATA Protocol Suite Menu Options and Toolbars This section lists all the SAS and SATA Protocol Suite application menu options and the File toolbars 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 17 El File Setup Session Analysis Wavigation wit ew b m Open Close Be all F Launch Jammer p Launch Trainer Launch Cross5wnc Control Panel Save WorkSpace mj gave Chrl 5 Save 55 Export d Trace Properties Edit Comment Print Ctrl F Print Preview Print Setup Send To Recent Trace Files d Recent Project Files d Exit Figure 1 17 File Menu Option Sierra M6 1 SAS SATA Protocol Analyzer User Manual LeCroy SAS and SATA Protocol Suite Menu Options and Toolbars LeCroy Corporation For special work you can use the Setup menu see the following figure to perform the following actions Configure TxVout amp Pre emphasis see Tx Vout amp Preemphasis on page 202 User Defined Decoding see User Defined Decoding on page 215 External Trig Setting see External Trig Setting on page 212 Update Device see Update Device on page 213 All Connected Devices see Select Device on page 21 Find and Power On Off DUT see Find
59. V output 212 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Update Device LeCroy Corporation 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 gt Update Sierra Device to display the Device Setup dialog Dev Name Type Cur Req Status File Name Update Selected Sierra Firmware 1 06 1 06 GE C Program Files LeCroy s Sierra Analzers 13 10 13 10 PUES C Program Files LeCroy s Update All Sierra Emulators 23 10 23 10 PES C Program Files LeCroy s Sierra Analyzer 33 10 3310 PES C Program Files LeCroy s Sierra Self Test 4312 43 12 MBE C Program FilestLeCroysS Sierra Infusion 53 20 53 20 MBE C Program FilessLeCroy s hf Sierra Trainer 63 01 63 00 BR C Program FilessLeCroy s Figure 3 133 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 dialog 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 k 3 Dew Name Type Cur Reg Status File Name Sierra Firmware 1 06 1 06 GE C Program Files LeCroy s Sie
60. 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 Event Properties y 2 Ol Type Properties ATA Command Frame Type Event a H ATAPI Description z Both Links Up Count Randomly Ho CRC Error Counter alue 1 a Dword Matcher Direction From Initiator a FIS Frame Start of Frame SOF po FI5 Type E Condition O A Frame Type Dword O Type Custom Dword Invalid 10bit code Error Diword 0 alue Custom Duvord Links Speed 3G Dword 0 Mask Captured Dword 0 Links Speed 6G Captured Dword 1 D word Offset C t d O d H2 Ey Primitives El Condition 1 Captured Dword 3 E A Dword 1 Type Custom Dword i SAS Primitive is Dword 1 Value 000000000 S SATA Primitive Dword 1 Mask OxOO000000 z Running Disparity Error Dword 1 Offset J SA5 Data Pattern E Condition 2 SATA Data Pattern Dword 2 Type Custom Dismord H SCSI D word 2 Value 000000000 SMP Frame D word 2 Mask OxOO000000 SSP Frame Ciword 2 Offset 0 Lae Trigger Input Dword 0 Type OK Cancel Figure 4 16 Using a Captured DWORD in a SAS Data Pattern 258 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Summary of Scenario Creation LeCroy Corporation 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 provid
61. View M Display pre filtered cells as blanks in column view M Show Warning In Search Primitives In Column view Column view Packet Size 600000 Rows Column view Memory Size 9375 KB Set as Factory DK Cancel Figure 3 129 SAS Software Settings Dialog Column View Tab The SATA Software Settings dialog has the same options Sierra M6 1 SAS SATA Protocol Analyzer User Manual 207 LeCroy Corporation Spread Sheet View Tab Other Display pre filtered cells as blank in column view The software shows pre filtered data already filtered in the capture project as blank cells Otherwise it will show them as ore filtered cells Show Warning in Search Primitive In Column View If searching in Column View takes a long time the software asks if you want to continue search Otherwise the software continues searching with no pause Column View Packet Size Specifies the allocated buffer for showing rows of a packet in Column View When you see Too Large in a Column View cell the current allocated buffer is not enough and you should increase it by changing this setting Column View Memory Size Displays the memory buffer Field List View Tab Software Settings x General Sample viewer Spread Sheet View Column view Field List View Update Field List based on Mode of Frame Fields list r K Text View e lo Spread Sheet view Application Both Payload Field length 20 Bytes
62. View 118 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis LeCroy Corporation 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 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 la pe AN E SCSI Cmd Source Address H Destination Address H Operation Code EWPD H CMDDT 36 142 311 543 720 min 2 5000E0C42FB5D004 500065000051F775 gt Standard Inquiry Data CA Task Attribute Tag tH Status LUM CH Relative Time E Duration 13 n 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 120 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 begining of the first frame in the command to the end of the last frame in the command Pid 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
63. a primitive 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 O From Target Modification is made to traffic coming from the target for exam ple CRC error is injected into traffic stream sent from target to initiator The figure shows the first prompt in the scenario creation process Figure 4 10 on page 247 q New Scenario 1552404 box Scenario is valid Status Wok saved Scenario Mame Mew Scenario 1552404 Direction for traffic E From Initiator T Global Bules Click here to add an erent Click here to add a sequence For Help press Fl Figure 4 10 Entering Basic Scenario Information 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 When you click the Scenario Name or the Direction For Traffic Changes the Scenario Properties dialog box displays see Figure 4 11 on page 248
64. aaa tail a dina rade edt it ibas 206 Anchor ING SClECUOM Dari coi 207 ONO nes aceasta cee dd 207 Go EATEN A EA Tabs adas 207 UNG cacti o a a N 208 Field EIST VICW TD anar ordena oca 208 Update Filed LiStbased OM unica 209 Mode Gt Thame tel IS tii inicia cil 209 Oia ii 209 Sampling Memory Usage Optimization cocnncccnnnncccnnnncnoncnnccnnancnnnnannncnnancnonnnnnnenannnrrnannannns 209 If the Sampling Memory Usage Optimization Option is Checked cssccceessseecsesseeseesseeeseeeneesseeens 209 If the Sampling Memory Usage Optimization Option is Not Checked oncccocccconcccconcccccnnncnonononononaconana 210 PIO AUING LICENSE cda 211 EXTermal THO SUING narnia eolica 212 External Trigi Out Seung ii tice a tac eteetiw neces wees a Ga d a E eelet idle 212 External Trio IN SetU us CO A UNA iio 212 Sc Ei 213 User Detined DECOGING sviss iaa aa Aa ASE aa SE EENES 215 HeD MeNi cadences ae a aE a a a N 216 Helin LOPES ai 216 VSE HEID TOMOS ia 216 Update cs clio 216 Display LICENSE INTO MAN d 216 CHECK Tor Update uc 218 ADO iii iia 218 DOLE TOS eE A O a E 218 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 9 LeCroy Corporation Contents CGIOCK Checa oia 219 TestiRESUIMOK OF EROS 219 A 219 NUMBER or RUNS ECM TEST ca laos 220 Run AlI ests SEUA aa aa a a aa aaa 220 Memory COCK aiii di 220 Seres Check nabo 221 CFOSSPOINE CIECK is 222 Main FPGA Gheck SATA ODIY standar da 223 EXPANSION Check
65. atan doi lei io 224 LED BUZZOF CHECK Ni 225 FDd DU Dar da 226 AMAS O a 228 EXPOTUNO ia 228 Compliance TestiSATA Dussrsi teleunau se 229 Chapter 4 INFUSION Overview cccsseecenseeenseeceneeeeneesenseseaseseansecenseseanessonees 233 Key Feature Sicilia 234 INOiaceinaniai damas 235 BUT Sui a e A A A A al 235 A e E A dens acseuened E a 236 O 236 Moi ls 236 Contigua ON ia ais 236 A seesieses5 a E a 236 GUND TEE E E E EE E EE ETE E TE E sa tetenesseatanenseessee 236 Maim EID A o E a a ve a a E 237 File LID aV oae a a E A eeecepeneereteodetbe eas 238 DEVICE PON Sp cinini an eia aa aa a a a 239 Using the Device Ports DialOg iii aaa aaa aa a aa a iN aaa 239 Port Configuration for INFUSION iii 240 INFUSION SCO ANOS iecicioncoi diri caia 241 ScenarHos OV CPV IC W nvidia 241 InFuSsion Scenario Parameters ciutat ia 242 GlOD all RUNES cusco acido 244 A A E A S 244 Scenario Libraries ui a a a ea ete es oe oer ne se are eer oes en o ico 245 Main TEND ARY firme eccrine ic Beene tdo 245 PIS DRAIN OS ai tae 245 DEVICE IDEAS ii ocenuadeiuitsacee yee niauie 246 10 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Contents LeCroy Corporation SCEno POD GMCS uriia i lid il ito eiii 247 SATA Smart Hold OPIO Nanni 248 Scenarno EVE Sisa 250 DWORD MatC pl y EPA O OA II O 253 SAS Data Patti iio cia 253 SATA Data Pati aaa 253 Scenaro PACU ONS n 254 Using Counters in Events and Actions cccccceseseeesse
66. debug challenges Features 14 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 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 DO UOCODODDODDODO ooo CU Sierra M6 1 SAS SATA Protocol Analyzer User Manual Receiving Your Analyzer a a a LeCroy Corporation TX Vout on transmitters for test and characterization Automation API Error Injection Functionality Jammer Receiving Your Analyzer The analyzer package includes the following components O OUOUDODOLDO O 1 Sierra M6 1 Analyzer identified 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 CD ROM with software and documentation 1 Sierra M6 1 Quick Start manual 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
67. deselected port will still display if you select the Save Filtered Sample checkbox and then check Apply Show Hide Link Setting in save as dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 45 LeCroy Corporation Saving a Trace Capture Exporting From the File menu you can Export to Text Excel Export to Initiator Emulator Export to Trainer Export Read Write Command Report or Export Paired SAS Address Report 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 Save As Text Savein C9 User My A Sent Documents Dezkto p E LogFilesync txt My Documents mr Qu My Computer Mo Network File name Hew Save as type Mex Files txt Cancel Save s Range C All Packets f From T Cursor To T Cursor 7 Bookmark From To Figure 2 9 Save As Text Dialog You can limit the range of the saved file You can save QO All Packets O Range between selected cursors O Range between bookmarks 46 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Export to Initiator Emulator SAS or Host Emulator SATA LeCroy Corporation Export to Initiator Emulator SAS or Host Emulator SATA From the File menu you can Export to Initiator Emulator SAS or Export to Host Emulator SATA using the Extract Sample File dialog see following figures Export to Initiator Emulator Y x
68. displays the Library and Scenario on the row for that Port Configuration Device Ports SN 61656 1 2 gt Scenarios pu Ports are Ready to Aun Library Scenario Y SH 61658 New Scenario 1 g Y SH 61658 Hew Scenario 3 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 239 LeCroy Corporation Port Configuration for InFusion Alternatively assign the scenario using the Library and Scenario drop down lists Library Scenario Y SN 61658 E Y SN 61658 New Scenario 1 Production estBeep y New Scenario 1 New Scenario 10 New Scenario 3 New Scenario 4 New Scenario 5 New Scenario 6 Substitute Status cor New Scenario E Hew Srenarin 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 Port Configuration for InFusion The InFusion Jammer port configurations must match the Analyzer port configurations for the infusion analyzer to work Select Configuration gt 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 N xl Available Functionality by Setup and licensed Features Analyzer Target Emulator In
69. 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 Search Search For Data Pattern _JBus Conditi CT Primitive Incomplete Frames Address Frames SSP Frames SMP Frames ISTP Frames SCSI Commands _ SMP Commands Task Management Function ATA Commands SCSI Command Status Source SAS Address l Destmation SAS Address Protocol Error _JTag SCS Task Attribute PIF LS nna Miscellaneous Search Direction Forward Backward 1 Search From Start Tria Pointer XPointer C Y Pointer C Last Found r Reset All Load m Search Items r Search Sub Items vi Good Check Condition Sense Key Don t Care lincomplete ASC Hex ASCO Hex Search Logic C AND Selected Items OR Selected Items Cancel Domain lt Search Domain Mn mai M T1 lv T2 Check All UnCheck All Protocol Error Y Packet with Error Y Packet without Error Fi
70. enter a cursor range Enter a File Name and click Save Note The Save As Excel option is available only for Column View and Spreadsheet View Text View Text View displays the captured data interpreted as transaction frames grouped in columns by port button on the To display Text View select Analysis gt Text View or click the View Type toolbar E Time Stamp a All Lanes T 2 T2 1 COMINIT IM TMNT T COMINIT E COMMIT COMMIT COMMIT COMIAIT COMIMIT COMMIT COMIMIT COMINIT COMINIT 93 min COMINIT COMINIT 66 gmin COMIMIT COMINIT 126 min COMMIT 124591 299015 min COMMIT al Figure 3 15 SAS Text View Sierra M6 1 SAS SATA Protocol Analyzer User Manual 123 LeCroy Corporation Analysis nes i 01 ees O f i la Tr rr PIO Setup FIS 5F WH Plo Setup FIS SF 36 Data FIS FIS 467 Data FIS FIS 46 ee D gt H Reg FIS 34 D gt H Reg FIS 34 j D gt H Reg FIS 34 _ j _ ot ne H Reg FIS 341 o Ol _D H Reg FIS 34 x D H g Ae 36 Figure 3 16 SATA Text View Note The LBA and Tag Number value are shown in the All Lanes column Field List View Whenever an additional view such as Text View displays you can displ
71. event of damage notify the shipper and LeCroy Corporation Retain all shipping materials for shipper s inspection Analyzer Features Front Panel The Analyzer has the following features on the front a OCDOO O Power Indicator LED green Status LED blue Host SATA Connector Device SATA Connector LED Indicators for Host and Device Trig trigger blue m Error error red m Link link orange 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 15 LeCroy Corporation Analyzer Features 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 S CITaA M6 1 SAS SATA 6Gbps O O Power Status Figure 1 2 Front Panel Rear Panel From left to right the Analyzer has the following on the back a OCDOOO USB Port for host connectivity External Trigger IN OUT and Sync Expansion Port Gigabit Ethernet Port for network connectivity DC Power Power Switch 0 1 0000000000 000000000000 Figure 1 3 Rear Panel WARNING Do not open the enclosure No operator serviceable parts are inside Temperature and Humidity The hardware should operate flawlessly in the following temperatures range a Operating 0 C to 55 C 32 F to 131 F a Non Operating 20 C to 80 C 4 F to 176 F The hardwa
72. file c program files lecroy sata protocol suite User Compliance_Devicel ttf Browse View Saved Traces E No Test Name Description Result Detail 1 GTA 01 Once the initial Register device to host FIS has been received and successfully 175 Error Can not issue some required commands Check sample acknowledged with no errors a device shall successfully respond to the setting of for further information the SRST bit in the Device Control register at any time and perform the software 275 Error Can not issue some required commands Check sample for further information 3 5 Error Can not issue some required commands Check sample for further information 4 5 Error Can not issue some required commands Check sample for further information 5 5 Error Can not issue some required commands Check sample for further information reset protocol 2 GTR 04 For all Serial ATA devices the entire contents of Word 93 in IDENTIFY DEVICE Passed or IDENTIFY PACKET DEVICE data shall be cleared to zero Figure 3 152 SATA Compliance Test Selection Sierra M6 1 SAS SATA Protocol Analyzer User Manual 229 LeCroy Corporation Help Menu The Digital Test Group has O General Device Requirements GTR 01 through GTR 05 Native Command Queuing NCQ 01 through NCQ 05 Asynchronous Signal Recovery ASR 01 and ASR 02 Software Settings Preservation SSP 01 through SSP 12 Interface Power Management IPM 01 through IPM 11 a Digital Optional Feat
73. left and right clicking at the beginning of a waveform Time Time differences between the cursors are displayed in the Cursor Position toolbar To display the cursor position toolbar select Toolbar from the view menu and choose Cursor Position x to Y Ons xto T Ons Y to T Ons Figure 3 117 Cursor Position Toolbar 194 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Display Configuration LeCroy Corporation 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 Display Option The Trace Viewer Configuration dialog displays Trace Viewer Configuration The Trace Viewer Configuration dialog allows you to change the following display settings see following screen capture a Field Setting m Format Decimal Hexadecimal Binary m Visible m Byte Order Right Align Left Align QO Field Header Setting m Text color Name m Abbreviation Foreground color a Viewer Setting m Wrap Packet m Enable Tooltips QO Data Payload 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 Milli Micro Save Trace Viewer Configuration in a file Load Trace Viewer Con
74. 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 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 Setting 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 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 3 PLE ve Trigger Position Position Y Position Packet Mo Time Stamp Bookmark Begin End Figure 3 76 Locate Cursor Sierra M6 1 SAS SATA Protocol Analyzer User Manual 163 LeCroy Corporation 164 Go to Time Stamp To locate a timestamp click the Go To button and choo
75. 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 If the Sampling Memory Usage Optimization Option is Not Checked Each physical link or logical link if MUX is enabled is assigned to a specific memory space memory bank depending 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Floating License LeCroy Corporation 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 displays the Current License Configuration by License Type Serial Number Analyzer Device Emulator Host Emulator and InFusion xj Floating License h Available Functionality by Setup and Licensed Features Funct
76. 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 the following screen capture Select Device xj Device Dev Name Location Status Set Alias Name siera MB 2 5N f Connection properties 3 x H Connect NoChained Sierra ME 1 SM Please specify the action to take when next time SM 62084 is detected lt 4 Add Device SP Remove Devi Automatically connect to the device wh IF Settings Ask if I want to connect to the device f Take no action Selected Device ld L apg Networks Ez Refresh Device list Close Figure 1 15 Connection Properties Dialog Specify one of the actions from the following O Automatically connect to the device O Ask if want to connect to the device a 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 screen capture Select Device E x o Device R Dev Name Location j Statuz Order or Set Alias Name Sierra M6 2 SN 61658 PSG_OA Mb 2 Local Machine Ready to connect Unit 1 y Di Add Device i IP Setting
77. 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 on all selected options Multilevel Filtering in SAS You can set up a filter in a sequential steps by Multi level filtering In each level you can select specific items to AND to the previous level The results of all levels show in views see following screen capture Sierra M6 1 SAS SATA Protocol Analyzer User Manual 169 LeCroy Corporation Filtering 170 Filter m Filter Options Bus Condition Prircutive Incomplete Frames Address Frames 55P Frames SMP Frames ISTF Frames SCS Commands SMP Commands
78. 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 a 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 does not work for two ports connected to different FPGAs for example ports 1 and 3 a 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 is no triggering you stop recording man ually a MUX When MUX is enabled each segment has four memory banks limiting Memory Assignment somewhat Sierra M6 1 SAS SATA Protocol Analyzer User Manual 209 LeCroy Corporation Sampling Memory Usage Optimization 210 Here are examples of different Port Co
79. walking bit 110 Data Block dialog box 106 Data Block Edit menu 107 Data Block Name list 111 data format 190 Data Pattern dialog 56 77 Data Pattern edit box 108 Data Payload View 157 data report 155 Data Report button 155 163 Data View 31 DataPatternCapture 115 Decode CDB of Commands 207 Decode Toolbar 187 Decode toolbar 33 Default Data Block button 106 Default Workspace 204 205 default workspace 204 default infdb file 245 Define different patterns for pre trigger and post trigger data captures 40 Define Pattern dialog 108 defining patterns 88 device library 246 Device Library window 246 286 Device Setup dialog 213 DHCP server 21 Disconnect 23 disparity indication 187 display fonts 199 display Configuration 195 display configuration 195 Display License Information 216 display manipulation 115 Display pre filtered cells as blank in column view 208 DMA activate FIS 66 DMA setup FIS 66 Don t care Snapshot 69 downloading a scenario 286 DWORD Matcher 253 E Easy Mode 27 37 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Index Edit script 162 e mail 303 Email CATC Support 303 Enable Tooltip box 198 Entire Memory 91 Error Injection 234 error message startup 17 errors 290 Ethernet connecting with 21 Event 243 event counter 256 scenario 250 example files 50 exclude from capture Align 39 Idles 40 Notify 40 OOB Signals 39 patterns 54 Payload of
80. with Global Rules and two sequences 1 You use Global Rules to replace any of three types of primitives 2 You use two sequences to detect the order in which a type of frame is received from initiator and target 8 Creating a sequence with many states 1 The objective of this scenario is to detect an incorrect order of primitives and to cause the device to beep when it happens You implement this scenario with a single five state sequence 9 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 273 LeCroy Corporation Example 7 Creating Two Sequences and Global Rules 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 Description State O If Address Frame is detected from initiator go to State 1 otherwise continue to chec
81. 0 GOB Byte Order i idle Copy Data Set Time Stamp Origin e Absolute Trigger Current Position Based on system time Color Goto Figure 3 83 Bookmark Found Example in Data Viewer Display 166 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Filtering LeCroy Corporation Highlight Set Time Stamp Origin and choose either Absolute Trigger Current Position or Based on system time Filtering The Filtering menu and options allow you to modify data in the sample viewer display to exclude packets with a set of user defined patterns and show the results in all views To set up filtering you must have a viewer display open The Filtering menu has the options O Enable Filtering see Enable Filter on page 177 Filtering see Filter Setup on page 167 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 178 OUOUDODODDOLDO O Filter Setup To display the Filter setup dialog click the Filter button on the Viewer toolbar or select Filtering see following screen capture Sierra M6 1 SAS SATA Protocol Analyzer User Manual 167 LeCroy Corporation Filtering C Command Data Pattern Bus Condition Prirnitiy e STP Frames SCSI Commands O SMP Commands OI Task Management Functions 0474 Commands SCSI Command Status Source 5
82. 2 Vertical zoom out Click and Drag zoom Click diagonally to select and graphs Hide graph zoom in on part of the graph Graph legend see previous page 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 Data Report button on the Viewer toolbar or select Report gt Data Report l X to Y 136 880 293 ms la pe EP 1 Port H Command Direction gt gt Data 2048 Bytes Duration 3G 36 054 973 ms 00 00 00 00 00 00 00 00 00 00 00 00 gt gt 23 226 us Port H Command Direction gt gt Data 4096 Bytes on 5 gt 82 951 693 ms 00 00 00 00 00 00 00 00 00 00 00 00 2 Source Address H Destination Address H Command Direction gt gt ae 103 596 5000626000001 074 5000C0500001047B5 Destination Address H Command Direction gt gt gt 50000500001047B5 12 Destination Address H Command Direction gt gt ae 135 714 120 ms 5000C500001047B5 x to T 136 880 293 ms Y toT 0 ns 104 962 426 ms For Help press F1 Tx out Disabled Initiator Emulator
83. 23 1 21 5 K28 3 J SOF 00 50 40 Al E0 00 00 00 eee ZLO PA NE MEOF Y 24 2 24 2 21 5 K28 3 J WTRM 24 2 24 2 21 3 K28 5S WTRM 25 4 25 4 10 5 K28 3 J CONT OSO py ys OSO OOX Ea ALS 2A KB 3 J SYNC 21 3 died 21 4 K263 JYSYNC 20 8 2320 10 5 K20 3 J CONT FOSO OSO OOK OSO Role Device Loop Enable Scramble Disable END_OF_FILE Y eae Figure A 1 Sample Pattern Generator File spg Sierra M6 1 SAS SATA Protocol Analyzer User Manual 299 LeCroy Corporation Example Pattern Generator File 300 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 EPRA IA da AS HARE i ee L EE PEDE cis ESE paj ed pa paj pi O RRAS A EPA ATEA ap ITA HAH X RRRA AS Re ths Es EFUP PIR RATA E HaT iy A me REE ORRE MEE 3 95 Re AA sci AR ee 20004 Part Nam PCBAS Mechanical Hardware Sheet Metal Plastic Parts Power Supply Power Cord Protective Case if present Cable Assemblies if present Fans LS resent Probes Gf m Toxic or Hazardous Substances and Elements Polybrominated Hexavalent Mercury Cadmium Chromium Hg Cd Cr Som m E ae a ee FO fee LITE S T 11363 2006 4 Em HRE ith gt 57 i Pet 517 11363 2006 EEIE WIR EEK o Polybrom
84. 31 LeCroy Corporation LeCroy SAS and SATA Protocol Suite Menu Options and Toolbars 32 View a Goto Trigger Position X Position Y Position Packet No Time Stamp Bookmark Begin End a Search Search Next au Search Previous O 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 El Fie Setup Session Analysis Mavigation View Window Help t A lt p Trainer WY Jammer 418 jE zoom In com Out E pone 5 ii e se aig Actual Size x Full Screen El 12 2 660 942 666 2 Tile views El Enable Filtering Source Zone Group HI p2 Filtering MeL Filter Idles nk Link Layer Tre Transport Layer Apr Application Layer FA Pack Unpack Repeated Primitives E Wrap Packets 2 660 943 560 51 Toolbar b a EE Figure 1 22 View Menu Option Zoom In refer to Navigation View Toolbar on page 162 Zoom Out refer to Navigation View Toolbar on page 162 Actual Size refer to Navigation View Toolbar on page 162 Full Screen refer to Navigation View Toolbar on page 162 Tile Views refer to Navigation View Toolbar on page 162 Enable Filtering refer to Filter Setup on page 167 Filtering refer to Filter Setup on page 167 Filter Idles refer to Filter Setup on page 167 DOOCOCODO O O Sierra M6 1 SAS SATA Protocol Analyzer
85. 45 Address C Destination 545 Address OI Pair 545 Address L Protocol Error ISTF Port Tag CJ ATAPI SES Command Miscellaneous Filter T ype i Hide Show Filter Idle Ports Mi Miz Filter Logic 7 AND Related Items i OF 0 Multi level Filtering Use Pair SAS Addresses Iv T1 Iw T2 I Filter descending packets from trace highlight bar Rezet All Check All Save Load Cancel Figure 3 84 SAS Filter Setup Dialog Filter Options O Eus Condition Register Host to Device O Incomplete Frames A Register Device to Host ATA Command Protocol Error C Fort OATAPI SCSI Command Miscellaneous Filter Type f Hide Show TF Filter Idle Ports Filter Logic i Hi Ie H AND Related Items Di Da f OR Reset All Check All Save Load Cancel Figure 3 85 SATA Filter Setup Dialog You can select or deselect each of the items shown in the Filter Options window for filtering by checking or unchecking a corresponding check box Items not in the current Sample are in shade Note If you select a group that also selects all child items 168 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Filtering LeCroy Corporation Note Only packets captured at run time are available for selection for filtering Filter Type You can choose to show or hide the Filter Type items by checking the Show or Hide option button Note When capturing PM
86. 60560000003C4 562525 Network tools 1 o SOODESSOO0000007 DB182F Catalyst SO060560000003C5 500252 Network tools 2 5000C500001047B5 CEARC Seagate SOOOCSO0001 0301 ES4E08 Seagate 2 Me Apply alias to all view setSsDefault i E Cancel Figure 3 123 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 ATA Command Data 2048 Bytes PM Port H Protocol 0x07 DMA 0x01 Normal Output 44 146 fus Search For Search Items Filter Options Data Pattern _jIntrasever Bus Condition JNetwork tools 2 gt Intrasever Bus Condition Network tools 1 Primitive Network tools 1 gt Intrasever JPrimnitive Catalyst Incomplete Frames Seagate 1 gt Intrasever Jincomplete Frames Network tools 2 Address Frames Catalyst gt Seagate 2 JAddress Frames Seagate 1 SSP Frames Catalyst gt 0xE SAE 8E CISSP Frames Seagate 2 _ SMP Frames Seagate 2 gt Catalyst SMP Frames ISTF Frames Seagate 2 gt Intrasever STP Frames SCSI Commands Intrasever gt Network tools 2 JSCSI Commands ISMP Commands I
87. 9 Capture tab for Pattern 53 captured data 31 cascading 18 CATC Script Language 159 CATC Technical Support 303 cell address 109 Check for Updates 218 305 LeCroy Corporation Index Choose Port Speed 94 Click here to add another script command 289 Click here to add script command 288 Clock check 219 Close previous sample file when new sample file opens 206 Collapse All 191 Collapse Log button 159 color 198 column hiding 151 rearrange 123 resize 122 column content filtering 149 sorting 151 Column View 31 column view 122 Column View Memory Size 208 Column View Packet Size 208 Columns in Row 198 Combined Event 243 Command Parameters dialog 288 Command Properties dialog 288 compensate for line loss 202 compliance test 229 Compliance Test dialog 229 components 15 conditional statements 291 configuration 195 Configuration menu InFusion 236 Configure Device 236 contact 303 Convert port configuration without prompt for confirm 204 Count Randomly 256 counter as data 109 Counter button 109 Counter Value 256 counters 256 Create statistical report read write page 206 Current License Configuration field 211 cursor position status bar 193 cursors locating 163 positioning 194 timing 127 D data 31 pattern 56 show 191 306 Data FIS 68 data block counter data 109 custom pattern 108 defining 106 editing 108 editing as text 111 naming 107 random pattern 110
88. 9 Creating a Sequence With Many States 2 4 Fix Aligns Test Wait for Aliqnz Wait for then ALIGN 2 Branch toa from Initiator Wait for Align gt Click here toa LeCroy Corporation box File Library c 7 4 X add combined event gt to add another action Wait for ALIGN 0 from Initiatori OR ALIGN il from Initiator OR ALIGN 3 from Initiator Click here to add combined event then Branch to Error Detected and lt Click here to Substitute with ALIGN 2 Wait for A4lign3 add another erent gt Click to add another action Wait for ALIGN 3 from Initiator Click here to add combined event then Branch to Wait for Aliqnd to add another action Wait for ALIGN 0 from Initiatori OR ALIGN il from Initiator OR ALIGN 2 from Initiator Click here to add combined event gt then Branch to Error Detected A Sequercers GH OW Align Test Fis Aligns Test and Substitute with ALIGN 3 Click here to add another action Click here to add another event gt Error Detected Wait for Any DPword from Initiator Click here to add combined event gt then Beep 500 ms and Branch to Wait for AligqnO Click here to add another action lt Click here to add another event gt File Libr File Libr CAP NUM SCRL can as ns a For Help press Fl Figure 4 42 Example 9 Bottom Half of Scenario Sierra
89. 91 CISMP Frames JOx5D060560000003C4 SMP Frames 050000500001 03D 91 gt 0x5000E 85000000001 CISTP Frames STP Frames 050000500001 03091 gt 0x5000626 000001 074 SCSI Commands SCSI Commands v 0x5000628 000001 074 gt 0x50060560000003C5 SMP Commands OSMP Commands 105000628 000001 07 4 gt 0x5000C500001047B5 DT ask Management Functions Task Management Functions 05000628 000001 074 gt 0x5000C50000103D91 JA4TA Commands DATA Commands 0x5000626 000001 074 gt 0x50060560000003C4 SCS Command Status SCSI Command Status O O O O DO K K MM Source SAS Address M Destination SAS Address Destination S45 Address JPair SAS Address Pair SAS Address Protocol Error Protocol Error CISTP Port ISTP Port Source SAS Address Tag Tag CIATAPI SCSI Command JATAPI SCSI Command Miscellaneous Miscellaneous Filter Type m Filter Type e Hide a Show a Filter Idle e Hide e Show E Filter Idle Ports Filter Logic T Port Filter Logic 5 Multi Level Filtering ihe iter Lagic wi iv 12 C AND Related Items IV li iv 12 C AND Related Items F Multi Level Filtering f Use Pair SAS Addresses IV Use Pair SAS Addresses VT RT OR V Ti M T2 e OR Reset All Check All V Filter descend packets if ascend packet is filtered Reset All Check All Iv Filter descend packets if ascend packet is filtered Save Load Cancel Save Load Cancel Figure 3
90. 92 SAS SAS Address Filtering before and after Using Pair SAS Addresses Note If you enable pair SAS addresses the source destination SAS addresses options are disabled and filtering on them is ignored at filtering time If you disable pair SAS addresses the pair SAS address option is disabled and filtering on it is ignored at filtering time Selectable Filter Options for SATA The SATA filter options are Bus Condition Incomplete Frames FIS ATA Command Protocol Error Port ATAPI SCSI Command Miscellaneous Filter Idle O DOOOCOO O O 176 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Filtering LeCroy Corporation Bus Condition When selected depending on the Filter Type the Hide Show selection shows or hides captured Bus Conditions in the Sample Viewer Incomplete Frames When selected depending on the Filter Type the Hide Show selection shows or hides Incomplete Frames in the Sample Viewer FIS When selected depending on the Filter Type the Hide Show selection shows or hides captured FIS items 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 Port When selected depending on the Filter Type the Show Hide
91. AS To display the SAS Address Report click the SAS Address tab The SAS Address Report displays the report data in columns with the following information O Source SAS Address All Custom or an address Destination SAS Address All Custom or an address Protocol Type SMP SSP STP Frame Type All Custom Command Data DMA Activate Register Host To Device Register Device To Host Response XFER_RDY Count All Custom or a number ODO O a General Primitive SSP Transport SMP Transport STP Transport ATA Command SCSI Command SMP Command Task Command SAS Address Protocol Error Performance Lanes Others Source SAS Destination 545 E Protocol HE Frame SE All All All 500062B000001074 500605600000034 5000628000001074 m Register Device to Host 300 5000628000001074 50060560000003C4 STP Reaister Host to Device 301 Figure 3 41 SAS SAS Address Report Lanes Report SAS To display the Lanes Report click the Lanes tab The Lanes Report displays the report data in columns with the following information Port Open Accept All Custom or a number Open Reject All Custom or a number AIP Waiting on Con Break SCSI Command All Custom or a number ATA Command All Custom or a number SMP Command All Custom or a number Out Standing Command All Custom or a number Transfer Bytes All Custom or a number Link Utilization time Link Utilization O O OO0ODODODODOCDODO oO General
92. ATA Protocol Analyzer User Manual Search LeCroy Corporation i File Setup Session Analysis te a i eS EEE xj E di Trainer Y Jammer 2h Record E H Le psy a5 ae 0x0 Identity O ne 133 n E Link Address Frame Type Initiator Port Sa Connection Rate Features H Initiator Connection Tag H1 01 Open 0x0 SMP 3 0 Gbps oo FFFF Destination 545 Address Hi Source S45 Address H Source Zone Group H Pathway Blocked Count H1 Arbitration Wait Time H FFFFFF7160002000 00 on 0000 More Compatible Features H1 CRE H Link Data Relative Time Duration Le E 403 459 546 me 133 ne Duration 13 nz Relative Time Duration 26 n 13 n Relative Time Duration eRe 266 ine ETC tor Ons a to T Ons toT Ons For Help press Fl Tavat Disabled Initiator Emulator Stop Target Emulator Inactive Simulation Stop Da Figure 3 100 CATC Navigation View Sierra M6 1 SAS SATA Protocol Analyzer User Manual 185 LeCroy Corporation Search Spec View Spec View shows packet header information To obtain the Spec View from the CATC View left click to display a popup menu then select the View Field option To obtain the Spec View from the Catalyst View right click to display a popup menu then select the View Field option Yiew Fields for Link 1 Ds Hexadecimal Binary Device Tppe 0x1 Reason Reserved Ox0 0x0 Restrict SMP Ini STF Ini S
93. Analyzer 27 Protocol Analyzer setting 203 protocol error report 135 protocol errors 57 Protocol Errors dialog 57 78 Q Queue Command Report 142 Quick Start manual 15 Quick View 114 205 R random data pattern 110 Read Write Command Report 144 read write command report 140 Rec Analyzer command 235 Refresh append to the list of found devices 204 Refresh Device List 25 register device to host FIS 64 65 relative time display 42 Sierra M6 1 SAS SATA Protocol Analyzer User Manual LeCroy Corporation Remove Device 24 Rename Title of Port dialog 187 renaming port 187 Repeat decoded command in frame column 207 Reset clear the list of found devices 204 Response frame 189 Reverse Link Data 205 Run All Tests Sequentially 220 Run Batch button 289 Run Batch Script command 235 run hardware 41 Run Scenario button 286 Run scripts button 161 Run statement 293 Run Verification Scripts dialog 159 running disparity 187 Running verification scripts button 159 Rx Tx Settings dialog 202 S Sample File Name 91 Sample View link 148 Sampling memory usage optimization 205 Sampling Memory Usage Optimization option 209 SAS Address Alias 201 SAS address report 139 SAS data pattern 253 SAS Parameters window 70 SAS Protocol Suite 27 SATA data pattern 253 SATA Parameters window 71 Save partial trace capture 45 46 47 48 trace capture 45 Save as Text button 145 Save As Text dialog 121 123 Save Filtered S
94. BA Mid exp E EEE EJE E i Hi PH F H3 Moi F be Pos Check All Uncheck All Figure 2 27 SATA FIS Pattern Dialog SAS vs SATA Not available in SAS The FIS Pattern dialog opens with the default FIS Type as Register Host to device To choose another available FIS Type click the down arrow next to the FIS Type list box FIS Pattern Format FIS Type Register Host to Device 0x2 s Binan Register Host to Device Dx2 e Hexa Register Device to Host 0x34 Dx4 1 DMA Activate 0x33 DMA Setup 0x41 Value TIC Tune BIST 0x58 PIO Setup Ox5F dell Data 0x46 C x Figure 2 28 SATA FIS Pattern Dialog Dropdown tto Device SAS vs SATA Not available in SAS Choose FIS Type and complete the corresponding dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 63 LeCroy Corporation Protocol Errors FIS Types SAS and SATA If you select STP Frame SAS or FIS Pattern SATA for the Pattern the FIS Pattern window opens You can select the FIS Type in this window from among the following types Register Host to Device STP Frame Type y xj Format FIS Type Register Host to Device Ox27 O Binary f Hexadecimal Cancel Show Reserved and Obsolete Parameter FIS Type Ox27 Register Host to Device PM Port C Command Features LBA Low LBA Mid LBA High Device LBA Low esp LBA Mid exp EEE E EJE EJES i Hi F H2 T Ha Moi M bz Pos Check All Unc
95. Bules Click here to add an event Sequence O State O P Wait for Click here to add f Figure 4 35 Example 7 Adding an Action for the First State The Action Properties dialog box appears 8 For the action 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 276 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Example 7 Creating Two Sequences and Global Rules LeCroy Corporation 14 Click the prompt to add an action for State 1 New Scenario O Jq X Mo action specified For the event Address Frame 0x00 IDENTIFY in Sequence O State 1 Click here to jump to the pro f Status Not sawed Scenario Name New Scenario O Direction for traffic changes From Initiator T Global Bules Click here to add an event Sequence State O E Wait for Address Frame 0x00 IDENTIFY FO iddressFremeType Value 4 Bits Ox00 IDENTIFY Mask Oxf From Initiator then Branch to State 1 State 1 ei Wait for Click here to add i action
96. CO NETOS uu Aids 57 Protocol ELI o pe Or OPC og E 58 STP Frame SAS ONIY uns dd ia 59 Address Frame SAS ONIY rusia A bene bid ea aa a ae acaba 60 SMP Frame SAS ONIN icc Oates alte e aa Mactan tected eter ueel aeaaeai aaa a edu 60 SOP Frame OAS ODIY ouvir ii ii ts 61 FIS Frame Information Structure SATA only coooncccnnnccnncncccnccnccnnncnononononnnnnnonannnnnnnnrnnannrennnnrenznnns 62 FIS Pattern SATA ONIY asii li tiiao 63 FIS Types SAS aNd SATA cananan a a aa E S O AAEREN 64 Register Device to HOSt iia 65 Sel Device Bis crits iaa a a a aaa i a a a E a a 65 DMA ACUVate sesion cin ii EA AES Aa 66 DMA Setups nai o 66 BIS AA a A A e ON 67 PIO SETUD srt 67 Dala carana a E a a aaa aa E a a aE a S 68 O 68 A A laws tdceiwccudscuanesameudiauendsaveuaserecacuis 69 Snapshot Mode iii sacacetatee testes ates Rats dosss ieee se enianctl le iiatusleydenwceasueusaganedcseieaweseaia cease aaeseupubies 69 Manual Trigger Mode ovina 69 ARTO de MO nidos 70 Choosing a Parameter iii 71 Alo tele le lalo ona TIMET sina Eea roaa aO Naaa ara Aaaa 71 AAA A 72 External Tigger ssie ados 73 BUS CONO Nui iia 73 1 A A o aiaeieane tiene occas 74 PrMIUVE cui Da 74 ATA COMMANA usaran 75 ATAPI o a a a a ce ee cia 76 Data Pater ii as 77 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 3 LeCroy Corporation Contents PEOtOCONEFTOS atraido 78 SIP Frame SAS ON Is ii 79 Address Frame SAS Only uta a dd 80 SMP Frame SAS
97. CONT Parameters Y Include DOB Signals Y Include Payload of Data Frame Y Exclude Idle P Address Frame Any Address Frame Type P SMP Frame Any SMP Frame Type A Trigger Non Sequential Snapshot Y Settings Trigger Position in Memory 1 Capture Memory Size 10000 KB Primitive Response Timeout 16384 Dword s Speed 3 0 Gbps 11 T1 12 12 13 73 14 T4 Descrambling Enabled Align Transmission Period 2049 for SSP 258 for STP 59 Connection Details Simulation Mode 3 Easy switch to Advanced mode Collapse All Expand All Figure 2 38 Default Trigger Selected Manual Trigger Mode In the Manual Trigger mode the analyzer captures bus traffic continually from when you use the Manual Trigger until you click the Stop Hardware button on the analyzer toolbar which triggers the analyzer To perform a manual trigger check the Manual Trig button Sierra M6 1 SAS SATA Protocol Analyzer User Manual 69 LeCroy Corporation Trigger Setup Any Trigger Mode In Any Trigger mode the Analyzer triggers whenever any of the patterns selected for triggering occurs an OR condition The procedure for selecting trigger parameters is identical to that for selecting capture parameters All items selected for triggering appear in the Project Tree To define patterns for triggering check the Pattern button in the Trigger dialog Capture Trigger Settings Notes Project Tree C D
98. CSI Command Pattern dialog SCSI Command Pattern Format C Binary Type Any SCSI Command MMC 6 SBC 3 SMC 3 SPC 4 SSC 2 C OSD 2 ADC 3 Command Type Any Command x CDB Type Any CDB Type y Hexadecimal J6 Byte 10 Byte Command 12 Byte Command Cancel 16 Byte Command Long LBA 16 Byte Command Variable Length Variable Lenath For lona Operation Code Tag Destination Address e Source Address O LUN ORIEN Vii M TI 712 72 gi EE T 14 L 14 Check All Uncheck ll n Count Expected number of occurrences on each link Figure 2 54 SAS SCSI Command Pattern Dialog SAS vs SATA Not available in SATA Click the down arrow next to the CDB dropdown list scroll the list to choose a CDB Type and click OK Sierra M6 1 SAS SATA Protocol Analyzer User Manual 83 LeCroy Corporation Trigger Setup 84 FIS Frame Information Structure SATA only Double click FIS to open the FIS Type selection dialog Register Device to Host Ox34 Show P set Device Bits 04 DMA Activate 039 0x4 0x58 OxbF 046 W Hi W Di TH Awe M H3 T Da H4 M Ds Check All Uncheck All Court Expected number of occurences an each link fi Figure 2 55 SATA FIS Type Dialog SAS vs SATA Not available in SAS Click the down arrow next to the Type drop down list box cho
99. 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 119 LeCroy Corporation Analysis Source Address H Destination Address H Operation Code EWP H CMCCT H Page or Gpcode H Allocation Length 0H Contr Task Attribut Tag H Status LUN H Trg Mo Resp Time Pid Bytes Duration Metrics F ene Baad nooooooooooo0000 3 527 093 ue 36 566 ns E RD Relative Time Duration Figure 3 10 Packet View Metrics Expanded Changing the Default View Perform the following steps to change the default view of all trace files to Packet View 1 Open atrace file 2 Select the Packet View Close all other views 3 Select File gt Save Workspace to open a Save As dialog Save the current workspace as a wss file 4 Select Setup gt Preferences gt Software Settings to open the Software Settings dialog 5 In the Default Workspace field enter the path and name of the workspace wss file that you saved in step 3 Because the default workspace contains only Packet View the software opens trace files in Packet View Spreadsheet View Spreadsheet View displays all of the Packet View fields in a time sequential spreadsheet format To
100. Decoding Script subfolder cfg Display Configuration file in the System folder Config subfolder dat DataBlock file in the System folder DataBlock subfolder sac SAS Protocol Analyzer Capture Project Viewer file in the Examples folder EasyCaptr AdvanceCaptr or Exerciser subfolders saf Device Identifier file SCS SAS Sample file in the SAS Examples folder Sample subfolder sde Device Emulator file in the System folder Compliance subfolder sfl Filter configuration file spg Single role Pattern Generator file in the Examples folder SAS PatternGenerator Single role spg files subfolder and SATA PatternGenerator Single Role subfolder Single role means the file is for a Device or Host ssh SAS Search configuration File stc SATA Protocol Analyzer Capture Project Viewer file in the Examples folder EasyCaptr AdvanceCaptr or Exerciser subfolders Sierra M6 1 SAS SATA Protocol Analyzer User Manual 49 LeCroy Corporation Projects std Target Emulator file in the Examples folder Target Emulator subfolder sts SATA Sample file in the SATA Examples folder Sample subfolder tsh SATA Search configuration file WSS SAS Workspace file in the SAS System folder Predefined Workspace subfolder wst SATA Workspace file in the SATA System folder PreDefined Workspace subfolder Example Projects The A
101. Defined isisconinivi ic iii 98 Working In AGVanCEG MOGE aria Ni idad 99 State Number for Complex Trigger SequenceS oooconcccccccccnnccoconnnannconennnnnnnnrrnnnnnnnrrrrrnnnnnnrrrrnnnnnnrrrrrnnannnnenns 101 Setting THOGEr COndilIONAS aer 101 OC NNN E IA A RA 102 4 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Contents LeCroy Corporation TIMEOUT iia its 103 Useful KEY SCQUCIICES i 105 Project SOUS occ cion asian 106 ALL O COC E caus udaccuwevocaseteserscescasecct acct wanucessseunsesescacusecsacatcusscauscavarcccseueeouasetesavecassaneaceueeceus 106 GreatinG a Data BlOCkK ona cli anasa 106 Naming a Data DI as 107 Eding a Data BIOCK invasor 108 DefMEYOUr OWM RAE r e a aaa Oa E a a E a EEE E SE 108 COUNTE iiia a a 109 Random Data Pale aa aA a a aaa eaa aa 110 CUA APA r A 110 Creating and Editing Data Blocks as Toti 111 Load Dalai A a casnneusechenecaiszee 111 SaVO Asis ie e 111 Chapter 3 Display Manipulation ccoccccocncccnncccnnnnccnncnonanccnanncnannnnnannrnananenanos 113 WIGWEF DISDIAY puse ri a 113 QUICK Vi Weosin drid 114 Using the Viewer DIS play ia oia 115 Trace ProperlieS ii 115 oo a a aE 116 SNOW Analysis TODA dci 116 DecodIna ASSIOA MEN Sii seit a RE aea Ea e a che cea ae aa aai 118 Packet VIEW sessi sativccnscvsotssicesiaasscinwes indi ondecenessiseccadecendectcas sacenteceaieecsceecoacesawas naaa aa OEE aai 118 Packet View Metris das 119 Changing the Default View ssion saa aa aa aa aana 120 SPre
102. Duration 1 0026 us Cr 1 511 598 960 2 a4 High CH Device l w ee Figure 1 9 Connecting to All SATA Device s The Select Device dialog allows connecting and disconnecting analyzers on the fly without restarting 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Connecting via Ethernet LeCroy Corporation The following Select Device dialog displays The colors in the Location column mean the following Red Firmware and or BusEngine components need to be updated to the latest version QO Light Blue The device is ready to be connected QO Yellow The device is locked O Green The software is connected and ready to run x Select Device Device Location Status Set Alias Name Sierra Mb 2 SM 61658 PSG_04 Mb 2 Local Machine Locked HoChained ie Connect eas Masis MB 1 172 16 133 134 Locked No Chained oO Ea ev ICE SF Remove Devi ete F Settings Sierra Mb 1 SH 6342 al wy Networks al Refresh Device list Close Selected Device Id Ox00104C00F0D4 Figure 1 10 Select Device Dialog Note Cl
103. El Label Labeli Label Parameters Serial Number S N 12871 Port ME ER A Duration Infinite 0 Run S N ar 1 Dri Paste ta Che yt Wait For SN D871 Port y Sup Chic Run SN Ds 1 Port REPORT PHY LOG ERROR G Label 0 14 Labell Label 2 294 Run SN ts E ree DECE Cici AA Wait For GN De 1 Por 1 1 to Stop Just 10 ms mT here Run S N DS 1 Port 3 4 REPORT PHY LOG ERROR lt Chich to add another scnpt command gt Sierra M6 1 SAS SATA Protocol Analyzer User Manual LeCroy Corporation Scenario Batch Files Sleep Used to sleep for a few seconds Format Sleep Duration Parameters A Duration Integer or random duration in milliseconds Example Sleep 100 Batch Script is valid E l Beep If specified condition is satisfied the system beep for specified duration Format Beep Duration Frequency Parameters A Duration Integer or random duration in milliseconds a Frequency Frequency in hertz Example IfIisStopped 0x83456 4 then Beep 2 20 8 Run S N 12871 Port 1 DISCOVER Sleep 10 ms Chick here to add another actior Run 0x83456 Identify Disparity error Sierra M6 1 SAS SATA Protocol Analyzer User Manual 295 LeCroy Corporation Scenario Batch Files 296 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
104. End Everts ATAPI Bus Condition Address Frame SMP Frame SSP Frame Mote Logical OF operator appllied on added events Timeout value 346 milliseconds 2 microseconds Trigger mode 2 Trigger if the End Event s occur 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 Overflow and Corrupt Frames Select a Pattern for the Start Event Start Event resets the timer Enter the Timeout Value in milliseconds or microseconds LeCroy Corporation 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 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 103 LeCroy Corporation Advanced Mode User Defined Advance Mode Settings Notes State 0 SO Start Capture Everything Exclude ttems Idle Notify Bus Condition then Go To State 2 State 1 51 State 1 o g al 7 Pattern Cont Trig Timer Ext Out Go To If P
105. FIS Packet Mo 258 00 000 oo 0010 00 000 oo 0030 oo 0040 oo 0050 oo 0060 oo 0070 oo 0020 oo 0020 oo 0040 oo 0080 oo O0co 00 000 oo ODE0O 00 OOFQ oo 0100 00 0110 oo 0120 00 01 30 oo 0140 Hexadecimal 50 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 oo 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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 00 00 00 oo 00 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 00 00 00 00 oo 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 00 00 00 00 oo 00 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 00 00 00 oo 00 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 00 00 00 oo 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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 00 00 00 00 00 00 00 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 00 00 00 00 00 00 00 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 00 00 00 00 00 00 00 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 00 00 00 00 00 Copy Data Export data in File Figure 3 70 Data Payload View OOHOHOOHOOAOOOOODOOOOOOD Note When showing truncated data in the Data Payload View the truncation points are marked with
106. FODA o Figure 2 69 SAS Select Port Configuration Dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 95 LeCroy Corporation Ports Configuration Port configuration depends on the application you run a To act as Analyzer select the Q Analyzer port configuration QO To activate the InFusion on a port select kd Jammer 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 191 Port Configuration and Projects Port Configuration depends on Project selected Performance Analyzer and Performance Analyzer with Initiator Emulator do not use ports Protocol Analyzer Protocol Analyzer with Initiator Emulator and Target Emulator can have the following port configurations Project Number One analyzer and or one emulator Protocol Analyzer Port 1 Protocol Analyzer Port 1 with Initiator Emulator Pair on Port 1 Target Emulator Port 1 Pair on Port 1 Analyzers work with Emulators Jammer and Trainer see below One Initiator Emulator can work by itself or work with one Analyzer One Target Emulator can work by itself or work with one Analyzer Emulators do not work with Trainer Emulators work with Jammer see below Jammer can pair with one analyzer on a port Jammer does not work with Trainer Trainer can pair with one analyzer on a port Trainer does not work with emulators Tr
107. Go To button 162 Go To Timestamp dialog 164 Goto Command 189 Goto Label statement 292 Goto Response 189 Goto Within Packet command 189 grouping by port 93 H hardware run 41 hardware setup 17 Help Topics 216 Hide All Primitives 163 Hide RRDY Primitives 162 Hide Unassociated Traffic 162 Histogram View 31 307 LeCroy Corporation Index histogram view 151 IfisStopped statement 291 InFusion 35 233 InFusion scenarios 241 Install component selection 17 Installation CD ROM 15 installing the analyzer 17 Inter FPGA Connection 223 IP Settings 24 J Jammer 240 Jump to Next button 148 Jump to Previous button 148 Jump to Specific button 148 K K Codes 253 key sequences 105 L lanes report 139 launching 26 Launching the CrossSync Control Panel 43 LED check 225 library 245 device 246 main 245 License Configuration 211 License Manager 211 line condition 251 link layer command interpretation 42 Link With Sample View 148 Load dialog 111 log file 290 M Main FPGA tab 223 Main Library window 245 Main Window 37 Manual Trig 69 Manual Trig button 69 manual trigger 69 Maximum Number of Uploader Threads 204 Memory Assignment 209 memory check 220 Memory Size 91 Micro D Sync cable 18 308 Micro D to DB 9 cable 19 Mode 209 Mode of frame field list 209 Move drop down list 148 MUX Setting 97 MUX Setting dialog 97 Muxing 97 N NCQ Commands Time out Threshold 204 network 21 Networks
108. Hz fhrrGA 1 serdes_0 TX clock frpGA 1 serdes_0 RX clock hrroA 1 serdes_1 Tx clock QhrrGA 1_Serdes_1 RX clock frrGA 1 serdes_2 TX clock fhrrGA 1 serdes_2 RX clock BrPca 1 serdes_3 TX clock fhrrGA 1_Serdes_3 RX clock fresa 2 System Clock 150MHz FPGA 2 Memory clock 166MH2 El Save error details Save It C Program Pes LeLroy LeLroy SATA Protocol Sute sere rors detail elf El M Append error details Idle Number OF Run Each Test f O Run l Tests Sequentially Start Clock Check Clase Figure 3 142 SATA Self Test Dialog Clock Tab Test Result OK or Error If a test is OK and you specified one run the Test Result is OK 1 times If a test has an error and you specified one run the Test Result is Error 1 times Saving You can save any check result by checking the Save error details check box and specifying a destination file name Sierra M6 1 SAS SATA Protocol Analyzer User Manual 219 LeCroy Corporation Help Menu 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 Memory Check To perform a SDRAM or Exerciser RAM memory check select the Memory tab x Clack Memory Serdes
109. 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 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 243 LeCroy Corporation 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 ent
110. Lanes Others Min Compl Time Avg Compl Time Max Compl Time Init Bus Util Target Bus Util Efficiency 69 293 334 96 us 10 442 747 12 ms 50 291 065 22 ms 4 66 ms 10 97 ms 43 57 Figure 3 44 SAS Performance Report Performance Report SATA la pe Total Read Cmd Total Read Bytes 659 1331728 To display the Performance Report click the Performance tab The Performance Report displays information in the following columns see the following screen capture O Minimum Completion Time Average Completion Time Maximum Completion Time Host Bus Utilization Device Bus Utilization Efficiency Total Read Cmd Total Read Bytes Total Read Duration Cmd Minimum Read MB S Cmd Average Read MB S Cmd Maximum Read MB S Total Write Cmd Total Write Bytes Total Write Duration Cmd Minimum Write MB S Cmd Average Write MB S Cmd Maximum Write MB S Average Byte Per FIS FIS Minimum Difference Time FIS Average Difference Time FIS Maximum Difference Time O DODODODDODDODDO oO ooo Do ooo oO Ei En amp a g 4p JL gt 1 of 1 ode Violation Protocol eer Move x Cursor y General Primitive FIS ATA Command Protocol Error Performance Others Min Compl Time w Avg Compl Time Max Compl Time Host Bus Utilization Device Bus Utilization Efficiency 363 626 678 47 us 363 626 678 47 us 363 626 678 47 us 38 16 us 13 40 us 29 34 OOOO xto Ons XtoT Ons YtoT Ons Figure 3 45 SATA Performance
111. O CRC Error Dack na k Timeout O Disable Disparity Error and Symbol Violation during the Speed negotiation Check Disable Protocol error detection Figure 2 67 Protocol Errors Dialog Check the Protocol Errors that you want the Analyzer to ignore Sierra M6 1 SAS SATA Protocol Analyzer User Manual 93 LeCroy Corporation Analyzer Settings 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 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 External Trig Out Setting The Analyzer can send a Low or High external signal anytime a trigger occurs Select the External Trig Out Setting High Active Low Active or Toggle from High to Low or Low to High once 3 3 V output Enter the External TrigOut pulse width External Trig In Setting An external Low or High inpu
112. OMIN aio baii 81 DOP Frame SAS ONIY sos a a a a eri acuieca 82 SCSI Command SAS Only ssia a a a a Nas 83 FIS Frame Information Structure SATA only c ccsssseecesseceeeseeecenseeeanseecenseesenseseoansesonneessanees 84 FIS Pattern SATA ONIY isro a dt ice eee OO 85 ATA Command Pattern SATA only ceceneseccesnnseeccnnnseececnnsseceenaseescennsssoeennsssseenassesecennseeeesnnas 86 SORES SATA ONIY arta tala a a aae aree oa bate loca E tutte i EA aaa aN 86 Sequential Tugger Mode a 87 Tr data 87 DOMINIO PATO FINS lt A i aotd 38 TIQGGENING OI daa 88 POs EIQ OG mr ec 89 Project Seu Sid 90 Memory SOCIOS a aida 91 Trigger POSITION a eter chu Rave i tetera aa aaa aas 91 Sample File Names sitonivisiaanla da lid adds 91 AUTOR a A A EE ac 91 Memory SIZO as 91 Paria Memo ii id 91 Segmented MEMO its 91 CFO TO AG Mana decicion iicibos 92 Analyzer SONS a 93 Primitive Response TIMeQUit scsi in ia idea 93 Disable Scrambli izar A ii ceeussasecensies 93 SNOW XAXAX Valle nani is 93 PrOTOCOLMENOS MaSK ioa a E aida 93 External Trig OUU SENING orisa ei 94 External Trig IN Semtihg sussa d aa E 94 CHOOSE POr SPECO AAA A o OA 94 POPS Configura lOs iii 95 Port Configuration and Projects vniiiriaia a cud dad aaa a aaa a aa eaaa 96 MUX Setting SAS OMY sescsnssseneesacecttes ad sesasuaee a a E ven sensveueesevccecuseddscentsuxsedseevanwesccssexesidueas 97 Adda Project Note cni E cia 98 Advanced Mode User
113. OO O Device to Host 352 640 014 65 us DMA Activate 0 T gt I 102 239 997 86 us 95 9 52 Figure 3 37 SAS STP Transport Report SCSI Command Report SAS To display the SCSI Command Report click the SCSI Command tab The SCSI Command Report displays the report data in columns with the following information see Figure 3 38 on page 138 O Command All Custom Inquiry Mode Sense6 Pause Resume Play Audio 10 Read Capacity Read10 Receive Diagnostic Results Send Diagnostic Write10 Start Stop Unit Test Unit Ready Report Luns Synchronize Cache10 a Direction All l gt T T gt l or Custom a Number of Transport All Custom or a number Sierra M6 1 SAS SATA Protocol Analyzer User Manual 137 LeCroy Corporation Statistical Report Content Payload Size All Custom or a number of DWORDs Status All Custom Good Incomplete Response Data Present Task Attribute Simple Duration All Custom or time unit Count All Custom or a number of total count OOCOOO O Command Direction Mumber Of Transport Payload Size Task Attribute Duration Yo All All All All v v I gt T 48 Write10 5 204 Simple Inquiry I gt T 3 128 Good Simple 960 000 000 00 ns 1 0 02 Read10 I gt T 4 2048 Good Simple 3 351 399 90 ms 447 65 33 Figure 3 38 SAS SCSI Command Report SMP Command Report SAS To display the SMP Command Report click the SMP Command tab The SMP Command Report displays the
114. R If BDDY Reserved 0 Inject PD Error Direction for traffic changes From Initiator Global Rules Wait for REDY NORMAL from Initiator then Substitute with ERROR Click here to add a Sequence gt 4 For Help press F1 Figure 4 25 Example 4 Entering Second Event The Event Properties dialog box appears In this example there is a parallel set of events but each event is associated with its own action In a combined event there 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 267 LeCroy Corporation Example 4 Multiple Triggers and Actions 6 Inthe Global Rules area click the prompt to add an action to be triggered by the RRDY Reserved 0 4 o RDDY Normal RDDY Reserved 0 Test 1 gt x No action specified For the event RADY RESERVED 0 From Initiator in Global Rules Click here to jump tot Status Not saved Scenario Name BODY Normal PODY Reserved O Test 1 3 Description Replace EDLY Normal w EEROR If BDDY Reserved 01 Inject PD Error Direction for traffic changes From Initiator Global Pules F Wait for EELY NORMAL from Initiator Click here to add combined event gt then Substitute with ERROR lt Click here to add another action P Wait for BEDY RESERVED O from Initiator
115. R CONTROL 0 Number of Fill Bytes 0 Tag 8E10 Target Port Transfer Tag 009D Data Offset 00000000 Retry Delay Timer 0000 Data Pres Sense Data 0x2 Status Check Condition 0x02 Sense Data Length 00000020 Response Data Length 00000000 Response Code 70 Valid 1 Sense Key Aborted Command 0xB ILl 0 EOM 0 Filernark 0 Information OOOOOSCO Additional Length 18 x Field List View in a se per ate window Figure 3 18 Field List View Displayed in a Separate Window Field List View Embedded in Frame or Spreadsheet Views Click Setup gt Software Settings and select the Field List View tab refer to Figure 3 135 on page 214 to see the default settings of the Field List View dialog The Show Field List in Column View checkbox is selected as the default setting Select the Show Field List as Embedded in frame spreadsheet views checkbox in order to view the Field List View embedded in the Frame or Spreadsheet View Refresh the spreadsheet view to see the Field List View embedded as a column as shown in the following screen capture Sierra M6 1 SAS SATA Protocol Analyzer User Manual 125 LeCroy Corporation Analysis 126 Ime sculls PO A qa Spee gt xj a Diagnostic 0x90 Norrial Output 01010100000050 Diagnostic Code 01 Signature 0000000101 Phi Port Protocol Device Diagnostic x05 Status Normal Output 00075 E Type Register Host to Dewice
116. 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 i Copy Data Copy Frame Goto Response Set Time Stamp Origin F Color Goto Figure 3 108 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 G Hide Field Format b Copy Data Goto Command Set Time Stamp Origin gt Color Figure 3 109 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 Goto within Packet Goto SOF Goto EOF Software Setting ShiFt S Goto b Goto Mex HOLD FE Att A t RIA XXH RF Goto Previous HOLD ShiFt F6 O OMKR GotoNext HOLDA F7 MM RIE Goto Previous HOLDA ShiFt F 4140 Figure 3 110 Goto Within Packet Command Sierra M6 1 SAS SATA Protocol Analyzer User Manual 189 LeCroy Corporation Search 190 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
117. Report Sierra M6 1 SAS SATA Protocol Analyzer User Manual Total Read Cmd Total Read Byte 1 512 b LeCroy Corporation Statistical Report Content FIS Report SATA To display the FIS Report click the FIS tab The FIS Report displays information in the following columns QO FIS Type All Custom Data PIO Setup Register Host To Device Register Device To Host a PM Port a Direction All H gt D D gt H or Custom QO Duration All Custom or time unit accumulative a Count All Custom or a number of occurrences a of total count coh aa S Ll lti 1 Move gt General Primitive Bus Condition FIS ATA Command Read write Command Performance Others FIS Type PM Port Direction Duration Count Lo All gt All All v All v Register Host to Device 0 H gt D 695 826 660 16 us 1333 22 97 Register Device to Host 0 D gt H 761 133 361 82 us 1332 22 96 Set Device Bits 0 D gt H 487 066 680 91 us 706 12 17 DMA Activate 0 D gt H 214 080 001 83 us 415 7 15 DMA Setup 0 D gt H 574 346 679 69 us 706 12 17 PIO Setup 0 D gt H 8 426 667 21 us 5 0 09 Data 0 H gt D 2 350 293 40 ms 415 7 15 Data 0 D gt H 50 023 921 97 ms 890 15 34 0 05511509 5802 100 00 Figure 3 46 SATA FIS Report Queue Command Report SATA a To display the Queue Command Report click the Queue Command tab The Queue Command Report displays information in the following columns a Command All Custom Read DMA Queued a PM Po
118. Reset All Open ddress Frame ES Show conditional items E qual to y fo Cancel Figure 3 55 SAS Custom Filter Sierra M6 1 SAS SATA Protocol Analyzer User Manual 149 LeCroy Corporation Formatting the Statistical Report View FIS Type Register Device to Host Set Device Bits DMA Activate Figure 3 56 SATA FIS Type Choosing Custom allows you to specify more than one item for display Custom Filter E Show selected items DMA Activate DMA Setup Data PIO Setup Register Device to Host Register Host to Device Set Device Bits C Show conditional items Equal to fo cv Figure 3 57 SATA Custom Filter Check the items to display and click OK 150 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Formatting the Statistical Report View LeCroy Corporation 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 y A A All a Aa R Open Address Frame I gt T 18 39999962 us 69 28 51 SMP Frame T gt 1 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 STP Frame T gt I 8S 89333344 us 34 14 05 SSP Frame I g
119. Rules Click here to jump to the p Scenario Name Remove BRDY Normal Description Wait for PERO Normal and remove it Direction for traffic changes From Initiator Global PBules Wait for REEDY NORMAL from Initiator Click here to add combined event gt lt Click here to addygan action Click here to add an her event Click here to add a sequence For Help press F1 COP MOUM SCEL el Figure 4 20 Example 1 Entering an Action The Action Properties dialog box appears see Figure 4 14 on page 254 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 d Remove RRDY Normal box Scenario Name Remove BRDY Normal Description Wait for BREDY Normal and remove it Direction for traffic changes From Initiator Global Pules Wait for REDY NORMAL from Initiator Click here to add combined event gt then Pemove Click here to add another action Click here to add another event Click here to add a sequence For Help press Fl COP MOM SCEL mE Figure 4 21 Example1 Complete Scenario 12 In the File menu select Save Scenario to save the scenario Sierra M6 1 SAS SATA Protocol Analyzer User Manual 263 LeCroy Corporation E
120. S SATA Protocol Analyzer User Manual Interface LeCroy Corporation InFusion test scripts are called scenarios Scenarios determine how the hardware device monitors 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 Interface The InFusion interface has the following command buttons E Br gt Bs E El E P Analyzer 4 Trainer B BE Record M 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 automatically save the log file with a pat
121. SAS only or FIS Invalid State Transition Primitive Timeout SATA only Timeout between two paired primitives is above entered value 65000 DWORDs is default For example it can occur between WTRM and 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 set Primitive Response Timeout and HOLD HOLDA Response Timeout in the Settings tab Analyzer Settings section O auto Aur MUmober OT MUFI Analyzer Settings Primitive Response Timeout E5000 DWORD 7 Show xox HOLO HOLDA Response Timeout 295 C Disable descrambling 4 lranamission Pernod a m 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 Disable Disparity Error and Symbol Violation during the Speed negotiation No longer detects Code Violation or Disparity Error Delimiter Error Detects two SOF primitives without an EOF between them Also detects two EOF primitives without an SOF between them 58 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Protocol Errors STP Frame SAS only Double click STP Frame to open the FIS Patterns dialog STP Frame Type E x Format FIS Type
122. SATA Protocol Analyzer User Manual 259 LeCroy Corporation Creating Global Rules 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 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 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 260 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Example 1 Creating a Single Event
123. SP Init Reserved Address Frame Type 0x0 D 1 D 1 O0 Restrict SMPT 5TPTa 55P Ta 0 0 0 0 Reserved 0x0 Device Name 1 000000000 Device Name 2 000000000 545 Address 1 des 000 0507 0x0 003 004 Ox05 ODE Ox 008 003 00A Save As gg Previous Next gt gt _ ox Figure 3 101 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 186 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Search LeCroy Corporation 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 Running Disparity indication TOD AC57961 Symbols D3 0 010 6 DO 4 D7 1 669p46g Unscramble Ox03CA8027 Scramble 0xC118F64A a m e At MATO y h Figure 3 102 Payload Data Display Customize Display Rename Port You can rename each port for easy identification To rename a port right click the port ID in Text View or Column View Rename title of port Show Hide Apply width to all columns Software Setting shift 5 oko Figure 3 103 Rename Port Choose Rename title of port to open the Rename Title of Port dialog Rename title of port E New Title rior EA Figure 3 104 Rename Title of Port Sierra M6 1 SAS SATA Protocol Analyzer User M
124. 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 Payload except Check this to exclude Payload of Data Frames from the data capture You can except a number of DWORD s Note The Data Report does not reflect excluded Payload of Data Frames Note When showing 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 39 LeCroy Corporation 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 with a Pre Trigger Capture tab and a Post Trigger Capture tab SAS SATA Software Menus and Toolbars The SAS and SATA software has the following
125. 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 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 automatica
126. Show Hide Single Port is time consuming as it shows or hides one port at a time Show Hide Multiple Ports If Show Hide Multiple Ports is selected you can click on multiple ports to show or hide them This mode is much faster Click on multiple ports to show or hide them n TI 12 T2 13 T3 Figure 3 98 SAS Show Hide Ports Toolbar i or 12 02 62 0 Figure 3 99 SATA Show Hide Ports Toolbar 182 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Search LeCroy Corporation 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 103 on page 187 Packet View Toolbar The Packet View toolbar allows wrapping zooming and configuration Packet Yiew Toolbar 3 xi DOS p The Wrap Packets button on the Viewer Toolbar wraps the packet data in the g 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 fonts and so on in the Trace Viewer Configuration see Set Port Alias on page 200 Lak 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 S Command layer and all layers below SCSI Cmd and Task Mng SMP
127. T EXP ANDES ROUTE TALE LIS 40 OOMFTOURE GENEHAL 20 ENABLE DISABLE ZONING SY ETIE GLO REGISTER 40 ZONED FOAL AST Enmect CRE arw Inject Disparity error Rema 5500 5cenano Capture A hubsseute Man Library Fle Marae Tuul EX He tf Cag In this window you can enter a script command by clicking Click here to add script command Sierra M6 1 SAS SATA Protocol Analyzer User Manual 287 LeCroy Corporation Scenario Batch Files 3 First click Click here to add script command to open the Command Properties dialog ie Command Parameters Parameters Serial Number S N 12871 flsStop Port vt 2 Tes Ea Beep Scenario DISCOVERY WaitForStop GoTo Stop Sleep Ok Cancel The Command Parameters Dialog contains the list of available commands and their parameters from which to build scenarios and connected hardware and available ports 4 Select appropriate parameters for the command and click OK to display the script in the Script Workspace 1 New Scripto bx Batch Script is valid ii Label 0 Run S N 12871 Port 1 DISCOVER Chick here to add another scnpt command 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 ent
128. TA Command Read write Command Performance Others Type Direction Duration Count Yo al gt all All y al wy FIS H gt D 9 191 89358 ms 1748 29 70 FIS D gt H 122 484 352 11 ms 4054 68 88 Bus Condition H gt D 62 213 333 13 us 32 0 54 Bus Condition D gt H 93 506 668 09 us 52 0 86 0 13183196 5886 100 00 Figure 3 28 General Statistical Report Sierra M6 1 SAS SATA Protocol Analyzer User Manual 131 LeCroy Corporation Statistical Report Content Primitive Report To display the Primitive Report click the Primitive tab The Primitive Report displays information in the following columns a Primitive All Custom Unknown For SATA CONT EOF HOLD HOLDA R_IP R_OK R_RDY SOF SYNC WTRM X_RDY ALIGN FOR SAS SATA_CONT SATA_EOF SATA_R_IP SATA_R_OK SATA_R_RDY SATA_SOF SATA_SYNC SATA_WTRM SATA_X_RDY ACK EOF SOF EOAF SOAF AIP_WAITING_ON_DEVICE AIP_ NORMAL DONE_NORMAL READY_NORMAL CLOSE NORMAL OPEN_ACCEPT ALIGNO ALIGN1 NOTIFY_ENABLE_SPINUP a Direction All H gt D D gt H I gt T T gt l or Custom a Count All Custom or a number of occurrences a of total count COIN i gt PT Mo General Primitive Bus Condition FIS ATA Command Read Write Command Performance Others Primitive Direction CONT H gt D 1748 2 99 CONT D gt H 4054 6 95 EOF H gt D 1748 2 99 EOF D gt H 4054 6 95 HOLD H gt D 415 0 71 HOLD D gt H 887 1 52 HOLDA H gt D 415 0 71 Figure 3 29 Prim
129. TA 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 Advance Mode Settings Notes State 0 S0 Start State 3 io cochecito Pattem Cont Trig Timer ExtOut GoTo Exclude Items Idle Notify it Primitive ACK BK f Active gt NoJump 1 Address Frame Open then Go To State 1 l Else lf 1 O No Jump Else It a 1 O Nochange NoJump State 1 S1 Else lf ony 1 O Capture Everything Primitive OPEN ACCEPT then Go To Stat A No change NoJump gt Capture Everything IV Exclude Idle T Exclude 299 State 2 S2 C Nothing l Exclude OOB Signal Exclude RADY Capture Everything C Pattern T Exclude ALIGN M Exclude NOTIFY T Exclude SATA_CONT Exclude SATA_SYNC l Exclude Payload except 0 Dwordl Exclude Items Idle Notify SSP Frame Command then Go To State 3 State 3 S3 Capture Everything Primitive ACK then Trig Ext Out Ac amp Add State JE Delete State Figure 2 76 SAS Advanced Trigger with multiple branches 100 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Advanced Mode User Defined LeCroy Corporation State Number for Complex Trigger Sequences To follow the path of complex trigger sequences you can display state number To see state number in Packet View right click a link layer packet show field and select state nu
130. Your system may allow only administrator level users to copy such driver files 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 17 LeCroy Corporation Cascading Sierra Analyzers 2 Connect the USB cable between the Sierra M6 1 USB port and a USB port on the Host PC The host PC operating system detects the analyzer and driver files See Connecting via Ethernet on page 21 for Ethernet connectivity 3 Connect the analyzer to Host and Device as follows STX M6 1 Host Analyzer Device STX M6 1 Host InFusion Device Figure 1 4 Hardware Setup Cascading Sierra Analyzers A Sierra M6 1 analyzer 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 M
131. a bookmark on each DWORD in the view This makes Column View bookmarks unavailable 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 165 LeCroy Corporation Running Verification Script Engine VSE Finding a Bookmark To find a bookmark in the data viewer display right click the mouse in the sample viewer and select Bookmark x Bookmark Name ATA Command Bookmark Description MV Sort bookmarks by start time 736 265 226 ms H2 ATA Command Add Delete Go To Time Difference 0 Save as text Print Close Figure 3 81 Go To Bookmark Dialog Box Highlight the bookmark to which to go then click the Go To button or double click the selection Input H 60040000000D46791100004000 Command 0x60 Read FPDMA Queued Figure 3 82 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 Duration Bookmark 2 6U Us Show Field Hide Field Burst Idle Format 16
132. a M6 1 SAS SATA Protocol Analyzer User Manual 153 LeCroy Corporation Formatting the Statistical Report View Bus Utilization View The Bus Utilization View displays information on pending lO To display the Bus Utilization View of the current capture click View gt Bus Utilization View or click the ae button on the View Type toolbar Pending IOs IOs gt Pending IOs IOs eN NN v 066 400 6 066 800 6 067 200 6 067 600 6 068 000 6 068 400 6 068 800 6 069 200 6 069 600 6 070 000 6 070 400 6 070 800 4 Figure 3 66 SATA Bus Utilization View for Pending ATA lO Available Bus Utilization Views are O Pending SCSI lO for SAS QO Pending ATA IO for SATA Hovering the mouse over the graph heading displays the graph legend QO Go to ATA SCSI Cmd Jump to command a 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 To synchronize all open views to that location in the trace double click the graph 154 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Data Report Bus Utilization Buttons LeCroy Corporation The Bus Utilization window has a row of buttons for changing the format of the displayed data The buttons have the following functions Horizontal zoom in a Sl Horizontal zoom out Graph Areas Presents options for displaying additional E Vertical zoom in
133. 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 157 LeCroy Corporation Data Report 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 Bookmark Show Field F Hide Field Format Byte Order Expand All Open as data view a Set as Refrence Data Payload 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 BE Show Hide Compare 2 Data Payloads button on the View Type toolbar ES LeCroy SAS Protocol Suite LSI_Expander_PowerOn_SAS scs El File Edit View Configuration Project Setup Filtering Report Tools Window Help HE ll Record i 4 amp g PPw amp FEF g E m uu EX ge E PPP 108 88 sc Lak Tp App y Ti 12 a gt FUA H DPO H Logical Block Address H Transfer Length H C
134. adS NEET VIEW iina a a ii 120 Save AS TOXUEXCOL si iii es 121 Change Format of Logical Block Address LBA 0000ccccconcccnccocccoccnnnccccoonccnnconenonnannnnnrnnnnnnnnrrrennannns 121 COM Vie Waite ii dia 122 RESIZE COMAS tii ias 122 Rearrange Colima ves screen a A A O AR A La ai Naiada 123 Save AS FONG ECON na caca 123 OX VOW a uses eaaa oaa aaa a ein a tas casa a a a sees been E E 123 Field LISU VIW ouiin A is 124 Field List View Displayed in a Separate WiINGOW sasssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnmnnn 125 Field List View Embedded in Frame or Spreadsheet Views s cccceeeeseeeeeeeeeeeeeeneeeseenseeeenennees 125 Waveform DISplay la 126 Making a timing Measurement sairaana aiana aaea a 127 Expanded Wavelorm VIEW aiii alcorcon oler adi 127 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 5 LeCroy Corporation Contents Statistical RODO ss ds 128 Generating Statistical Read Write Report cccccccssseeeseesseeeeeeeseeeeeenseeeeeneseeeseensesseoeseessonnsessoons 128 Report between Cursors iria 129 Report DelWwecn EVGIUS nitrilo EOS 130 Statistical Report Content ias 130 Report ODUOINS ic ia 131 General ROPA e 131 PEMIVO ROD 132 BUS COMGITION ROO is 133 ATA Command REDON Musso consnswessensanccasescsceassvessusscessssastaecesaveeessenssacnt 134 Time GU OF ATA Command REDON inicia 134 ATAPDROD Oda O E ds 135 PROLOCOV ENON ROD diia 135 Others Report sinrin a aa a eee enc
135. ailure Type appear to the right of the selected line Marvel Failure Type indicates the error type Sierra M6 1 SAS SATA Protocol Analyzer User Manual 221 LeCroy Corporation Help Menu Crosspoint Check To perform a Crosspoint Crosspoint bus test or Crosspoint external loop back select the Crosspoint tab Clock Memory Serdes Erosspoint main FPGA Expansion LED Buzzer Test Result Be Pcross paint Intercon J Cross point Intercon AJ Cross point Intercon I Cross point Intercon J Cross point Intercon J Cross point Intercon J Cross point Intercon J Cross point Intercon PairfLUi UL1 Pair LUZ ULZ Pair LLI3 UL3 Pair LL4 UL4 Pair UL1 LUL Pair UL2 LUZ Pair UL3 LUZ Pair UL4 LUF R External Link 1 114 X L1E external Link 2 LA 4 L2EX RJ External Link 3 L3 AILE R External Link 4 144 X L4E R External Link 5 LO4x LSEx Wikess Test Type M Crosspoint Crosspoint bus test M Crosspoint external loop back Save error details Cave IH C Program Files LeCroysleCroy SATA Protocol SuitesUserE rors detail sl El i Append eror details ale Number Of Run Each Test f Run All Tests Sequentially Start Crosepoint Check Close Figure 3 145 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
136. ainer does not work with Jammer 96 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Ports Configuration LeCroy Corporation MUX Setting SAS only Enable Muxing on port combinations AAA Enable Wusing Un TI Cancel Tz Check All Uncheck All Figure 2 70 MUX Setting Dialog Box If you enable this option on two ports the data of both ports transfers on one physical link whose speed is twice the speed of each link and the data of two links multiplexes on one physical link For example two 3 G ports together make one 6 G port Note the following a The muxing check boxes are usable only if two or more emulator channels are selected a The initiator emulator check box is greyed out if only one emulator channel is selected initiator Emulator Capture Trigger Initiator Setting Settings Notes Project Tree Initiator Emulator Port SASProtocolAnalyzer2 4 Capture Everythingl Exclude NOTIFY EEIE 3 0Gbps E Include OO Include SATA_SYNC Pree pay Hee fee Ss 8 A Include SATA_CONT Port Speed 6 0Gbps M Enable Mucnaon 11 14 Include 00B Signals Include Payload of Data Frame c se Y Include RADY Exclude Idle N Ay Trigger Non Sequential Run Initiator Emulator Snapshot aa a Figure 2 71 Initiator Emulator Check Box and Channel Speeds QO The target emulator check box is not displayed at all until two or more emulator channels are selected Page
137. alog has no radio buttons and has different drop down options Click the down arrow next to the Primitive drop down list box choose a Primitive to exclude and click OK Repeat for additional Primitives Data Pattern Double click Data Pattern to open the Data Pattern definition dialog Data Pattern Be x e SSP Hashed Source 545 Address RK fom OK STP Hashed Destination SAS Address a AA Cancel NOT Data Data Offset 0 Dwords 0 255 AS Dwi OOOO Dw0 OOOO Dw3 ARA Dw2 OOOO Dw5 POOPING Dw4 KKK Dwi KKK Da6 POOOOOON Dw9 Ps Dw8 OOK Dwit OOO Dw10 OOK Dwi3 KOK Dw12 AS D w15 OOOO Dwi4 adwn e Eea E au me da e da da Check All Uncheck All Figure 2 20 SAS Data Pattern Dialog 56 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Protocol Errors LeCroy Corporation 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 Protocol Errors Double click Protocol Errors to open the P
138. alysis 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 13 LeCroy Corporation Features The Analyzer has a USB port and a GbE Gigabit Ethernet port to connect to a PC 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 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 licences are required for the protocol analyzer and the error injector The Sierra M6 1 Analyzer provides a full range of views a
139. ample 45 Save Output button 159 scenario 241 action 254 creation 259 downloading 286 event 250 overview 241 properties 247 running 286 Scenario Batch file 287 Scenario Properties dialog 247 scramble unscramble payload data 184 scrambling disable 93 Script Workspace 287 SCSI Command Pattern dialog 83 309 LeCroy Corporation Index SCSI Command report 137 SCSI commands address display 42 SCSI spec assignment 204 SDRAM or Exerciser RAM memory check 220 search 178 by tag 182 domain 181 for data pattern 179 180 logic 180 SAS address 181 save setup 179 status 194 STP port 181 sub items 181 search direction 179 search from 180 search items 180 select item for capture 56 Select Device 21 Select Port Configuration dialog 95 selecting components for installation 17 self test 218 Self Test dialog 218 separate systems 17 sequence 244 examples 273 Sequential Trigger mode 87 sequential triggering 87 Serial ATA SATA data transfers 13 Serial Attached SCSI SAS data transfers 13 session 255 Set Alias Name 23 Set as Second Data Payload 158 set device bits FIS 65 Set Port Configuration dialog 95 Set the Anchor row as sync point 207 Set Time Stamp Origin 167 Set Timers dialog 102 Setting button 147 Setting dialog 147 settings advanced mode 106 Settings command 160 Settings dialog 160 Settings tab 90 106 Setup command 17 show all data in data field 191 Show Analyzer command 235 Show Descri
140. and Action that Removes a Primitive LeCroy Corporation 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 Inthe Scenario Properties dialog enter the scenario name description and direction of traffic change see Figure 4 11 on page 248 3 Inthe Global Rules area click the prompt to add an event qd Remove RRDY Normal box Scenario Name Pemorve BREDY Normal Description Wait for BREPY Normal and remove it Direction for traffic changes From Initiator ji Global Fules Click here to A event gt Click here to add a sequence For Help press Fi Figure 4 18 Example 1 Adding an Event The Event Properties dialog box appears see Figure 4 13 on page 250 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 261 LeCroy Corporation Example 1 Creating a Single Event and Action that Removes a Primitive
141. ansfer Tag H n M 2 od z a a a m midd D ee 5 OCADS y 0 0177 y 0x01 Dela FFFFSA i CADOC 0 j 584 Hashed Dest Addr H Hashed Sre SAS Addr H Changing Data Pointer H ReTransm H Retry Data Frames H Num of Fil Bytes H Tag Hh Target Port Transter Tag H AS Cabo ae A AA a ee er ie eS ee 4 a Source and destination addresses in SCSI commands Not shown in this capture Figure 2 5 SAS Typical Packet View Results Display Note When using the Advanced Mode sequencer the analyzer logs the state transitions in the trace with the name the user gives to the state 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 lt Downstream traffic has an arrow left to right gt You can hide any layer by clicking the corresponding Show Hide button on the menu bar The system retains all captured data but the display has only some data layers for simpler viewing You can configure the viewer display for test and viewing preferences see Viewer Display on page 113 for details about configuring the viewer display 42 Sierra M6 1 SAS SATA Protocol Analyzer User Ma
142. anual 187 LeCroy Corporation Search 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 a Show Hide Single Port a Show Hide Multiple Ports Click on the Apply show hide port button to apply the specific mode ef 4 Apply show hide port button ve Show s Hide Single Port Show Hide Multiple Ports Figure 3 105 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 d Figure 3 106 Hide Field To restore a field to the display right click a Port ID field and choose the hidden field to restore Bookmark Hide Field State Date Reserved Copy Frame Cisne All Figure 3 107 Show Field Note Only the fields previously hidden appear in the restore list Sierra M6 1 SAS SATA Protocol Analyzer User Manual Search LeCroy Corporation Related Frames Right click a Command frame for an SSP frame or
143. are 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 203 LeCroy SAS Protocol Suite Enclosure Service scs E File Setup Session Analysis Mavigation View Window Help e Ei Tx out amp Preemphasis 418 Fecod EN User Defined Decoding 5 External Trig Setting 8B sc PY xl Update Device El Link Event rs All Connected Devices min CH Find DUT Power Gm GWT Power GFF DUT Manage Setup Licenses Link Event Preferences min Self Test Data Block Set Port Alias Set 545 Address Alias Link Event Figure 1 8 Connecting to All SAS Device s Sierra M6 1 SAS SATA Protocol Analyzer User Manual 21 LeCroy Corporation Connecting via Ethernet 22 LeCroy SATA Protocol Suite SATA 3 G sts File Setup Session Analysis Mavigation View Window fo 5 YE TxVouk amp Preemphasis User Defined Decoding External Trig Setting Update Device All Connected Devices Find CUT Power Gin GUT Power OFF BUT Manage Setup licenses Preferences Self Test Data Block Set port alias q Record H1 11 511 578 666
144. ast 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 Eh e S 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 From x Cursor y To T Cursor y o Y Cursor Figure 3 26 Report between Cursors v C From Sequence Sierra M6 1 SAS SATA Protocol Analyzer User Manual 129 LeCroy Corporation Statistical Report Content 130 Report between Events Click the option button next to the From the event selection dropdown list click the From down arrow to choose the 1st event then enter the number of its occurrence Next click the To down arrow to choose the 2nd event then enter the number of its occurrence Figure 3 27 SATA Report between Events Click OK The resulting report are limited to the capture between the defined events SAS vs SATA SAS adds Transport SCSI Cmd SMP Cmd and Task Mng to the drop down list and deletes FIS and Phy Reset Statistical Report Content SAS A complete SAS statistical report consists of the following reports accessed by clicking the corresponding tab in the dialog General Bus Condition Primitive SSP Transport SMP Transport STP Transp
145. ata D7 POS Data D8 EMITS WHA PH MHs T Hs Fo Po Po F p Check All Uncheck All Figure 2 36 Data Vendor Vendor is for FIS Pattern STP Frame Type E xj Format FIS Type eens A C Binary Number of DWORD s fi Hexadecimal Cancel Show Reserved and Obsolete Parameter FIS Type kea Data 24 bits A MHI Fiz F Hs Fs ob Pob Po Pos Check All Uncheck All Figure 2 37 Vendor 68 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup LeCroy Corporation Trigger Setup The Trigger tab in the analysis project dialog allows you to specify when the analyzer completes a data capture Three trigger modes are available The default Don t care Snapshot Manual Trig and Pattern When data capture starts with Don t care Snapshot selected the analyzer triggers on the first data pattern on the bus 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 O Trigger on a sequence of patterns Sequential Trigger Mode Snapshot Mode To trigger immediately on any pattern check the Don t care Snapshot button Capture Trigger Settings Notes Project Tree Dont care Snapshot Capture Exclude C Manual Trig Include Xxx C Pattern Y Include SATA_SYNC Y Include SATA_
146. ating Two Sequences and Global Rules LeCroy Corporation By default the name of the first sequence in a scenario is Sequence 0 The name of the first state is State 0 To change the name of a sequence or state or to associate a description with it click the name of the sequence or state A dialog 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 O q4 b X Scenario is valid Status Not saved Scenario Name New Scenario O Direction for traffic changes From Initiator T Global Bules Click here to add an event State oO Click here toa i a event Figure 4 34 Example 7 Adding an Event for the First State The Event Properties dialog box appears 5 In the Event Properties dialog box select Address Frame as the event Click OK to close the Event Properties dialog box In the State O area click the prompt to add an action Sierra M6 1 SAS SATA Protocol Analyzer User Manual 275 LeCroy Corporation Example 7 Creating Two Sequences and Global Rules Mew Scenario O 4 box Mo action specified For the event Address Frame 0x00 IDENTIFY in Sequence O State O Click here to jump to the pro Status Nok saved Scenario Name New Scenario O Direction for traffic changes From Initiator T Global
147. ation Trace Viewer Tab Software Settings h l x General Sample viewer Spread Sheet view Column view Field List view Open Sample File In Optimization Default Workspace M Sampling memory usage optimization I Quick view 2 More Info As Previously Saved Sitch to CATC Navigation Cancel button kills upload immediately e Reverse Link Data Close previous sample File when new sample file opens Pack Repeated Primitives Create statistical report read write page Figure 3 127 SAS Software Settings Dialog Sample Viewer Tab The SATA Software Settings 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 209 Quick View Quick View allows full access to the whole trace more quickly especially when using a Gigabit Ethernet connection However the trace is NOT written to the Host PC hard drive To save the trace you must manually click Save If you do not check Quick View the trace loads more slowly but is automatically saved to the Host PC hard drive Othe
148. attern 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 When you create a DWORD match keep the following in mind a The pattern can be inside or outside of frames it does not matter if the pattern is inside a frame or not QO Because the pattern can be inside or outside of frames there is no offset a You can make user defined primitives This is the reason this feature was cre ated O You can use any K D pattern 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 OCOCOO O For example for an SMP Request Pattern 0x40000000 Mask OxFFOOOQOOO Offset OU SOF Type SOF 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 primitiv
149. ave output click the Save Output button Sierra M6 1 SAS SATA Protocol Analyzer User Manual 159 LeCroy Corporation Running Verification Script Engine VSE 160 2 After choosing Settings from the drop down list or the button the Settings dialog appears Choose Editor application and editing settings f Notepad by default Other Path to the editor Browse Edit all selected scripts in one process T Open all included files T 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 e Show the full path for the trace file in dialog caption Restore don t maximize dialog at start I Load last output from saved log files when possible e Activate dialog after scriptis stop running IM Remember dialog layout T Ignore possible run time errors and warnings Saving settings T 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 73 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 include
150. ay a Field List View which displays field information in a list format The information of this view is shown in the Packet View under the Transport layer Expand the Info Unit then expand the Sense Data refer to the screen capture below To open a Field List View of the current capture select Analysis gt Field List View or click button on the View Type toolbar Note This icon will appear in the top tool bar only if the spreadsheet view is displayed SSP Frame Type Hashed Dest 545 Addr H Hashed Sre S45 Addr H Changing Data Pointer H OxO Response 040369 a ReTran mit H Retry Data Frames H TLR CONTROL tH Mum of Fill Bytes tH Tag H Target Port Transfer Tag H Data Offset H 8610 0090 Into Unit H Retry Delay Timer H Data Present Sense Data Len Hi o000 0x2 Sense Data Ox02 gt Check Condition Resp Data Len tH sense Data 0 Bytes CRC HH Handshake E Duration OO 00 67 03 00 02 00 00 00 00 B1 FF Figure 3 17 Packet Decode Information 124 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis LeCroy Corporation Field List View Displayed in a Separate Window Click Setup gt Software Settings and select the Field List View tab refer to Figure 3 130 on page 208 to see the default settings of the Field List View dialog The Show Field List in Column View checkbox is selected as the default setting In order to view the Field List View in a separate window the Spreadshee
151. bar 144 Statistical Report View 149 Statistical reports 31 Statistics button 156 Status bar 194 Stop Batch Script 235 Stop Hardware button 69 Stop statement 293 STP Transport report 137 subnet 26 Support 303 Switch to CATC Navigation 205 Symbol dialog 74 Sync port 18 Synchronize with Trace View 154 T task command report 138 Technical Support 303 telephone number 303 Template Files 203 Test Result 219 Text View 31 text view 123 Tile Views 163 time relative display 42 Time Stamp Origin 167 Timeout Pattern dialog 72 timer 71 setup advanced mode 102 Timer dialog 71 87 timers 271 timing cursors 126 measurement 127 tool bar 193 Toolbar command 193 Tools menu InFusion 236 Trace Capture 45 Trace Memory Status section 91 Traffic Monitoring 234 trigger condition 101 external 73 manually 69 on address frame 80 on ATA command 75 on ATA command pattern 86 on ATAPI 76 on bus condition 73 on data pattern 77 on FIS 84 on FIS pattern 85 on pattern 70 Sierra M6 1 SAS SATA Protocol Analyzer User Manual LeCroy Corporation on primitive 74 on protocol errors 78 on SCSI Command 83 on SMP Frame 81 on soft reset 86 on SSP Frame 82 on STP frame 79 on symbol 74 on timer 71 position in memory 91 setting advanced 101 setup 69 snapshot 69 trigger on any ATA command 76 Trigger tab 69 triggering on timer sequential 87 order 88 triggering order 88 Tx Vout 202 Tx Vout amp Preemphasis c
152. before the event actually occurs The trigger is on the Initator side instead of the Target side as set in the scenario 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 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 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Events LeCroy Corporation DWORD Matcher DWORD Matcher is a DWORD p
153. ce 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 ACE beep inject PD error count Direction for traffic changes From Initiator Global Pules Wait for ACK from Initiator then Beep 500 ms qe Click here to add a sequence For Help press F1 Figure 4 28 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 lA A a Choose Monitor Count as the third action Sierra M6 1 SAS SATA Protocol Analyzer User Manual 269 270 LeCroy Corporation Example 5 Multiple Actions on a Single Event 8 Click OK to close the Action Properties dialog box I ACK Test Scenario Name ACE Test a Description If ACK
154. ch to Advanced mode Capture Y Include Xxx Y Include SATA_SYNC Y Include SATA_CONT Y Include DOB Signals Y Include Payload of Data Frame P SMP Frame Any SMP Frame Type Y SMP Frame Type Any SMP Frame Type Y Function Any Function Y Direction 11 T1 SSP Frame Any Type Y SSP Frame Type Any Type Y Destination SAS Address gt 9990909090000000 Y Reserved XX Y Source SAS Address gt 9909009000000000 Y Reserved xX Y Changing Data Pointer Y ReTransmit Y Retry Data Frames Y Reserved 7X Number of Fill Bytes Y Reserved 7X Y Reserved XX Y Reserved XXX Y Tag 0X y Collapse All Expand All LeCroy Corporation Figure 2 14 SAS Sample Protocol Analysis Project SAS vs SATA For Pattern Parameters SATA Dialog adds FIS FIS Pattern and ATA Command Pattern and does not have STP Frame SSP Frame SMP Frame and Address Frame 4 Click the Record button to execute the pre defined example Sierra M6 1 SAS SATA Protocol Analyzer User Manual 51 LeCroy Corporation Projects 5 After the project runs you see an analyzer trace capture display similar to the one shown in Figure 2 15 ME address Frame Type Device Type Restricted H SMP initiator Port H STP initiator Port H SSP intistor Port H Restricted H SMP Target Port H 21 QD identity Oxt End Device 11 0 STP Target Port H SSP Target Port H Re
155. 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 Primitive Double click Primitive in the Pattern window to open the Primitive dialog AIP NORMAL f Not Specific To Type OF Connections C Used Only Inside SSP And SMP Connections Used Inside STP Connections Mi Pe ai Ju Ti flr a T Check All Uncheck All Count Expected number of occurences on each link fi Figure 2 45 SAS Primitive Dialog SAS vs SATA SATA Dialog has no radio buttons and has different drop down options Click the down arrow next to the Primitive dropdown list scroll the list to choose a primitive on which to trigger and click OK Note Check the box to the right of the Primitive Type to use the logical NOT 74 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup LeCroy Corporation Primitive Type NOT AIP NORMAL E aay AIP NORMAL st AIP RESERYED 0 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 0 ALIGN 1 ALIGH 2 ALIGH 3 Any BREAK BREAK BREAK REPLY BROADCAST CHANGE BROADCAST SES Figure 2 46 SAS Primitive Selection Choices SAS vs SATA SATA Dialog has different choices ATA Command Double click ATA Command in the Pattern window
156. ck 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 3 x Format SMP Frame Types Any SMP Frame Type A tad C Binary TE S Hexadecimal Cancel M Show Reserved artoooso Parameter Value SMP Frame Type x Any SMP Frame Type Function Any Function aW ee eke af E vida ed ea A Check All Uncheck All Figure 2 24 SAS SMP Frame Pattern Dialog SAS vs SATA Not available in SATA Click the down arrow next to the SMP Frame Type list box and choose a frame type 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 Analyzer User Manual Protocol Errors SSP Frame SAS only Double click SSP Frame to open the SSP Frame Pattern dialog SSP Frame Type Xx Format SSP Frame Type Any Type s v Binary es V Hexadecimal Cancel Destination SAS Address Source SAS Address PS Changing Data Pointer ReTransmit Retry Data Frames TLA CONTROL Number of Fill Bytes f Tag SOOO Target Port Transfer Tag eS Data Offset OOK yawn ee ake Elfi JY Tle es TA EE Check All Uncheck il Figure 2 25 SAS SSP Frame Type Dialog SAS vs SATA Not available in SATA LeCroy Corporation Click the down arrow next to t
157. clude NOTIFY IV Exclude Idle Snapshot 8 Settings Trigger Position in Memory 1 Capture Memory Size 10000 KB Primitive Response Timeout 65000 Dword s Speed AutoSpeed 11 11 12 72 13 T3 14 T4 Descrambling Enabled Align Transmission Period 2049 for SSP 258 for STP 8 Connection Details Simulation Mode What analyzer triggers on Capture memory settings Define different patterns for pre trigger and post trigger data captures Easy switch to Advanced mode Collapse All Expand All Collapse All button hides details in Project mo 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 Protocol Analyzer to open a SATA Protocol Analyzer dialog Project Tree display Project Tree Capture Trigger Settings Notes SATAProtocolAnalyzer2 Everything Exclude SYNC 6 9 Capture C Pattern T Exclude CONT Everything J Exclude OOB Signals 9 Exclude xx Y Include Ox Include SYNC Include CONT Y Include OOB Signals Include Payload of Data Frame Exclude Idle a Aj Trigger Non Sequential Snapshot S Settings Trigger Position in Memory 1
158. ct 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 T tb 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 Jb Sample Viewer The Jump to Specific button goes to the instance specified as N of M items on the gt Statistical Report toolbar Move The Move drop down list moves to the X Cursor Y Cursor or None 148 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Formatting the Statistical Report View LeCroy Corporation 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 Q Hiding any column on the display Filtering Column Content To filter column content click the down arrow in the heading for that column and choose the items to display The default is All By checking a specific item you exclude everything but that item for display Type Open Address Frame SSP Frame Identif Address Frame Figure 3 54 SAS Type Choosing Custom allows you to specify more than one item for display Custom Filter AS Show selected items Identify Add F M Identify Address Frame EAI
159. cular 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 xi Timer 1 Timer uri C Continue Sa Time lo Mik Seconds m C mico Timer 2 Timer unit C Continue Sel Timer 0 Miki Seconds mii C micro Timer 3 Timer unit Continue SetTimer O Mii Seconds m micro IE Set Tener is selected al a state the timer is reset each lime entering that state By selecting Continue the ime val continue the count from previous tlabels until temer elapses Timar may be set at any state as past of ether 1 or Eles i tatamanta ae ee 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Advanced Mode User Defined Timeout WARNING In Advanced Mode Short State Jump Intervals Can Cause Hardware Queue You can seta Timeout Select a Pattern for the End Event DOOCOD Select a Trigger Mode m If End Event occurs before timer expires m lf timer expires before End Event occurs Timeout Pattern Start E vents External Trigger Frimitive Bus Condition Symbol Primitive STP Frame ATA Command
160. d and choose a data format from the Format drop down list Trace Viewer Configuration Ee ATA Com Fields l i Protocol oo Normal Output Error Output pn Features 3 a Logical sectors per logi i SectorCount oi SectorOffset a Error co LBA Low LBA Mid co LBA High LBA Native Max Address Sector Number Colinder Low Cylinder High Head Number 0 Command RegNum l ae Reserved PortNum l pis Number of sectors to bi wo i narobs de F Save Load Factory Setting Font ox Cancel Field Setting Format Hexadecimal e Wisible Byte Order Fight Align Field Header Setting C Name Abbreviation Foreground Data Payload Columns in Aow E Column Bytes in Column Byte Input Viewer Setting e Wrap Packet e Enable Tooltip Time Stamp Origin Absolute i Trigger C User Define C Based On System Time W Same color for start time and port Headers Enable Packet View Condense Mode Time Stamp Format Lecray Format Figure 3 119 SCSI Command Fields Sierra M6 1 SAS SATA Protocol Analyzer User Manual 197 LeCroy Corporation Display Configuration 198 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 Basic colors
161. d SAS Address Report dialog see following figure Export Paired 545 Address Report he zix Save in Samples e 0 e EJ My Recent Documents Desktop My Documents gr My Computer de My Network File name New Places Save as type Excel File ce Cancel Save s Range C All Packets f From T Cursor To T Cursor Figure 2 12 Export Paired SAS Address Report Dialog 48 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Projects LeCroy Corporation You can limit the range of the saved file You can save a All Packets O Range between selected cursors You can view expander traffic particularly during discovery in a spreadsheet format You can use column headers with SAS Address Pairs For example instead of 11 T1 12 T2 and so on the columns are Source Destination SAS Address pairs such as S1 SEP or S2 EXP O 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 37 Last Project Clicking the Green button opens the last project run so you can modify it Project File Types Projects have the following file types asl Decoding script file in the Examples folder User Define
162. d 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 remember 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Running Verification Script Engine VSE LeCroy Corporation 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 Je LeCroy SAS Protocol Suite Run verification script s aha Program Files LeCroy SAS Protocol Suite User SampleSeg1 scs Example SATA ATAPI Verification Script Provides an example of processing DONE of SATA ATAPI traffic at the ATA command level nearer script SATA PI SCSI commands count pel samle_ata_ command This script counts some specific SCSI commands that is issued by ATAPI commands iS sample_ssp_protocol These SCSI commands are counted is SMP_Discover4ndReporT racking Inquiry Read 10 Write 10 ModeSelect 10 and ModeSense 10
163. dees teen tetciea tenets a a a a 39 Exclude ALIGN sica Ot aa eeu a aaa aaa a lice ueatee 39 Exclud RRDY SAS Only ae 40 Exciude NOTIFY SAS ONIY soiien aea aa a aaa a ada 40 Exclude Idle nosis a litiasis 40 Define different patterns for pre trigger and post trigger data captures ccccsescesseseesseneeseenees 40 SAS SATA Software Menus and Toolbars ccccsesseeesseeeenseecnseeeeneecenseeeensescassesenseesoneees 40 SAS Mail TOO Da in a aS 40 SATA MaN TOU AD ami elo EE 41 RUN AF OW ANG nidad 41 Launch Jamme sic anos 43 CrossSync Control Panel sss scientist adan co int a LR ino ai TEdRn CAD c anna di ici arias 43 Launching the CrossSyne Control Panel unidad 43 Save WOMKSD ACE comian rin ii iii 44 Saving a Trace Capture cis 45 EXDOTUNG a 46 EXPOLIO TEXU EXCE D aaa 46 Export to Initiator Emulator SAS or Host Emulator SATA ccccccsseeeceeseeecenseeseeeneees 47 Export Read Write Command Repo 48 2 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Contents LeCroy Corporation Export Paired SAS Address REDON iiinn aaa i aaa adaa a a an N 48 PR OICCI A 49 Project FIE TYPES iisi id 49 Example PrOJeC Sicilia as 50 nun an Example Analysis Projects 50 Patterns and Dala Capture Sell Dicc 53 CHOOSE a Pare cera reveusstuiweeneoda Man nsacel tenes veseatevecueers aaa nursed see Taaa temas 54 Exclude Palena 54 Pre and Post Trigger Data Capture aii as 55 DICTA PANAS A adds 56 Datla PA ecos 56 PEOTO
164. 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 Port Src SAS Address Dest 545 Address 1 24 697 690 040 min O ns E COMIMIT 124 698 072 533 min O ms l T COMINIT 450 mir Ons y T4 je COMINIT 0 ne 13 COMINIT a6 min 70 723 453 ms amp TS COMMIT 1 24 780 391 293 min 82701253 ms 72 COMINIT Figure 3 11 SAS Spreadsheet View 120 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis la pe LeCroy Corporation ime Stamp lative Time Fa als 11 511 578 666 51 O ins E x90 Execute Device Diagnostic 171 511 598 960 5 211 675 On90 Execute Device Diagnostic UxeEl identity Uewice Di UxeEl identity Uewice UmeEL identity Uewice x ES Check Power i ade TTE 5 F 57 i F 7 5 FIS 34 D gt H Reg Es Check Power wode Figure 3 12 SATA Spreadsheet View Right click a column heading to go to Software Settings make all columns the same width choose Time Stamp Format or Goto a position Right click a column heading to Hide or Show the column To show the same columns permanently select Setup gt Preferences gt Software Settings gt Sample Viewer gt As Previous Saved Right click the column to Add Bookmark or Edit Bookmark Set Time Stamp Origin go to Software Settings choose Time Stamp
165. e 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 from the device to your PC when you opened the device library You can click any of the scenarios listed to open it for editing When you are finished with your edits you can use the 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 246 Sierra M6 1 SAS SATA Protocol Analyzer User Manual InFusion Scenarios LeCroy Corporation Scenario Properties To begin the scenario creation process you click the New Scenario button in a library window or on the InFusion application toolbar As the first step in creating a scenario the application prompts you for scenario name a short description optional and the direction of traffic to which any traffic changes apply Changes are for example injection or removal of data or
166. e data in a O OOOO O OOCOCOO O Navigation 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 Field List View Displays field information in a list format Waveform Display 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 VSE Perform custom post process analysis of the open trace by running a verifi cation script over the trace 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 o pa F F o a mj 4 Tralner F T cocto OOOO Trigger Position x El Search Ctrl F 2 Position Search Previous F4 Packet Mo O Time Stamp 7 Bookmark C Lak Prep pp i TE Search Next FS Y Position Begin source Zone Group CH Pathway Blo Sad Figure 1 21 Navigation Menu Option Sierra M6 1 SAS SATA Protocol Analyzer User Manual
167. e defined projects as project sac files for later use Easy Mode Pre Defined Setups After you install the Analyzer software see Software Installation on page 17 and set up the Analyzer see Hardware Setup on page 17 launch the Analyzer software see Launching Your Analyzer on page 26 to display the default Protocol Analyzer in Easy Mode at the Capture tab This mode allows you to operate the analyzer with minimum setup In this mode you can perform only a Trigger and Data capture or you can program the SAS Initiator Emulator or SATA Host Emulator to generate bus traffic for triggering and data capture Main Window Use Easy Mode to get a comprehensive overview of your analyzer s capabilities SAS On the Analyzer Menu Bar click File gt New gt Protocol Analyzer to open a SAS Protocol Analyzer dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 37 LeCroy Corporation Main Window Project Tree display Project Tree Capture Trigger Settings Notes SASProtocolAnalyzer1 fe Everything Exclude SATA_CONT 8 Capture so J Exclude SATA_SYNC Y Everythingl Exclude NOTIFY T Exclude OOB Signals Exclude xx Y Include xxx J Exclude Payload except fo Dword s Y Include SATA_SYNC Parameters Include SATA_CONT Include OOB Signals Include Payload of Data Frame Include RADY Y Exclude Idle Trigger Non Sequential T Exclude ALIGN I Exclude RRDY IV Ex
168. e 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 supported 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Software Settings LeCroy Corpor
169. e 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 134 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Statistical Report Content LeCroy Corporation ATAPI Report To display the ATAPI Report click the ATAPI tab The ATAPI Report displays information in the following columns see the following screen capture O Command All Custom Inquiry Mode Sense 10 Read10 Request Sense Direction All H gt D D gt H or Custom Number of FIS or 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 number of occurrences of total count ODOOOUOUOUUD q Sl Y 0 of 1 Inquiry ATAPI Command De Move x Cursor y General Primitive FIS ATA Command ATAPI Command Performance Others Command Direction Number of FIS Payload Size Status Duration Count Yo All All All All All All v Mode Sense10 H gt D 1 0 Check Condition 37 733 333 59 us 2 40 00 Request Sense H gt D 3 20 Good 86 213 333 13 us 2 40 00 Inquiry Goo 0 00017139 5 100 00 Figure 3 32 SATA ATAPI Report Protocol Error Report To display the Protocol Error Report click the Protocol Err
170. ed see below that allows the choice of a custom DWORD or any of the four captured DWORD registers 2101 x1 Type Properties Type Description A andam Mo Action a Capture Data Dword El Inject E Link Even Nth occurence 1 Monitor Count Moritor Count Mot monitored Remove Custom Disord Stop Scenario Pattern Field Name Custom Dword E Substitute Pete field value Captured Dword 0 Data Dword l Captured D word 1 Po AA Pattern Field Mask Captured Dwad 12 with SAS primitive WHER SATA primitive Trigger Gutput Recalculate CAC Captured Diword 3 Substitute For x era te Figure 4 17 Using a Captured Data DWORD in Substitute DWORD Test Action Summary of Scenario Creation The suggested process of creating and executing a scenario is as follows 1 Create a scenario in the main library 2 Copy 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 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 Sierra M6 1 SAS
171. ed Decoding LeCroy Corporation 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 User Defined Decoy x F scsicommands O ATA Command CY PsP sTP Frames El SMPFamefs oo CY Set As Default Cancel Figure 3 137 SAS User Defined Decoding SAS vs SATA SAS adds SCSI Commands SSP Frames and SMP Frames Check ATA Commands and or STP frames Click the ellipses next to a command type text box to display the Open dialog Choose an appropriate script file and click Open open Look in User Define Decoding Script a c EJ 2 ATA Command asl 3 FIS asl Files of type Deconding Script Files for ATA Command s y Cancel Z Y Figure 3 138 Choosing a Script File Sierra M6 1 SAS SATA Protocol Analyzer User Manual 215 LeCroy Corporation Help Menu Help Menu Help Topics Displays online help You can also select Fl VSE Help Topics Displays VSE online help You can also select F1 Update License A current license agreement with LeCroy entitles the Analyzer owner to continued technical support and access to software updates as they are published on the LeCroy website When you obtain a license key from the Help menu select Update License to display the Select
172. ede dante cecbeveassUedousacvuch in usuieeeecas wena 194 Using the Cursors and BOOKMalrKS cccccceesseeeseeenseeseneesseeseeesseeeseeeseeesenenseeeeeeeeseeseneesnensooes 194 GUNS ONS ita ia 194 POSITIONING Ihe A GUISO cla 194 HNOS A A add 194 Display Configuration aiii oia 195 Trace Viewer CONTIGUA ON is 195 SL tiaia ioa a a a aaa 197 Field Header Sening A al 198 Viewer Seng ssion a aa aaa a a a ote renee 198 Data Payla urii R a A E NE 198 TMe Stam ONON ioe sitet atest ascetic echinacea ad 198 Start Time and POM cursis las 198 Packet View Condense Mode iaoiai hinad ia anniina eaaa a daaa aaa a 198 TINO Stamp Forma tirei S EEEE RA E S E AAAA E RERNE 199 O a i eee ea Sc es aa 199 DaAVE LOAd Seting CARPA O o A A a a 199 Set POr PNAS ocio 200 Ser As DOr aU acces idiota 200 8 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Contents LeCroy Corporation SAS Address Alias SAS ON Visas 201 Ser As DETIN idad 201 Me VOUT lt A PreenmpiiasS IS sti rios 202 SO Ware SOLUINIGS iaa 203 General Ta isso A A do 203 Paths ou ii 203 Template Files act 203 ONO erradicar dedos 204 FOUN Device LIS MOdE viii o 204 BrOWS Default Path us apcecdta eet a 204 Trace Viewer TaD PCR OO wos sucess caeceesarcenvensecacsvencastees 205 Open Trace Tle IM ica aaa 205 OPUMIZAON a 205 Spread Sheet View Tab ccccns sescccascneccevecnncs v0edete esa enstaneneseedesscecwasexwesitesetssceavansvnaousssceqecasieceaveuate 206 COI OF SEMINO
173. ee the following screen capture Menu items and toolbar options enabled and or displayed are based on the type of window open The following types of windows can be displayed O No active window a Project file open a Trace file open 08 LeCroy 545 Protocol Suite Enclosure Service scs El File Setup Session Analysis Navigation View Window Hi tar gp Trainer iA Decoding Assignments E 3 ink Te ro gt E Packet view H Spread Sheet view Column view Text View Field List wiew aye Form Vies Statistical Report Histogram Bus Utilization Data Report gt ESE JOA Compare 2 Dota Payloads 545 Verification SE Figure 1 19 SAS Analysis Menu LeCroy SATA Protocol Suite SATA 3G Identify sts Fie Setup Session analysis Navigation wiew Window Help gt 4 Trainer El Decoding Assignments f CRIA a Packet View Spread Sheet View Column View Text View Field List view Weave Form vie Statistical Report view E te J O Gh itd 3 Histogram EL Bus Utilization E Data Report de Compare 2 Date Payloads Compliance Test R sE Figure 1 20 SATA Analysis Menu 30 Sierra M6 1 SAS SATA Protocol Analyzer User Manual LeCroy SAS and SATA Protocol Suite Menu Options and Toolbars LeCroy Corporation Viewing Captured Data After data capture you can view the captured data in the Viewer by selecting Analysis see Analysis on page 116 You can display the sam
174. egory External Trigger k x Sierra Board External Trig Setting f High Active Low Active ance f Toggle For changing the external trig setting go to Configuration menu and select Esternal Trig Setting Figure 2 42 External Trigger Dialog You cannot select an External Trigger Setting so click OK Bus Condition Double click Bus Condition in the Pattern window to open the Bus Conditions dialog Bus Conditions E xl Conditions T Electrical Idle T Electrical Burst Cancel COMINIT COMRESET FP COMWAEKE FF COMSAS Uncheck All Gil ole oe oi Mi Pre Pt P Ta Check All Uncheck All Count Expected number of occurences on each link f Figure 2 43 SAS Bus Conditions Dialog SAS vs SATA SATA Dialog separates the COMINIT and COMRESET check boxes and replaces COMWAKE with Host COMWAKE and COMSAS with Device COMWAKE Check Conditions on which to trigger then click OK Note You can define triggering for specific ports by checking or unchecking Port IDs Sierra M6 1 SAS SATA Protocol Analyzer User Manual 73 LeCroy Corporation Trigger Setup Symbol Double click Symbol in the Pattern window to open the Symbol dialog e E Symbol 283 Cancel D Symbol fe Fi Fi Pi Fa MT Pre Pra PF Ta Check All Uncheck All Count Expected number of occurences on each link f Figure 2 44 Symbol Dialog Choose a symbol type by
175. ents on each link are counted independently A condition is met if the number of events on a link equals the defined occurrence 98 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Advanced Mode User Defined LeCroy Corporation Working in Advanced Mode To start working in the Advanced Mode click the Easy Switch to Advanced Mode button in an open Analyzer window Easy switch 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 OUDODODDDOLDO O Advance Mode Settings Notes State O SO Start Staa Pattern Cont Trig Timer Ext Out Go To a 1 No change gt NoJump Else If No change E No Jump State 1 51 Else If No change A No Jump Capture Everything Else If No change ar No Jump 4 Capture Set capture settings of all states as state O C Everything IV Exclude Idle T Exclude Xxx C Nothing l Exclude OOB Signal iDY Pattern T Exclude ALIGN M Exclude NOTIFY T Exclude SATA_CONT Tl Exclude SATA_SYNC Il Exclude Payload except 0 Dwordls C Include the following Patterns Exclude Bus Condition Primitive STP Frame Address Frame SMP Frame SSP Frame Data Pattern Protocol Errors Advanced swi
176. er 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 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 LeCroy Advisor T3 analyzer You use a Micro D to DB 9 Sync cable ACO30XXA X to connect to other LeCroy analyzers For more information see the CrossSync User Manual and or see CrossSync Control Panel on page 43 20 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Connecting via Ethernet LeCroy Corporation 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 softw
177. er 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 64 illustrates the operation of pre trigger in data memory Pre trigger data is capture of the specified percentage of data prior to the triggering event It cannot be guaranteed and may be 0 This can occur when the triggering event occurs before storing the required amount of pre trigger event data In such a case the data display shows fewer than the specified data points prior to the triggering event DATA MEMORY ALL MUA PRE TRIGGER PARTIAL DATA PRE TRIGGER DATA PRE TRIGGER TRIGGERING EVENT ALL SPECIFIED ALL SPECIFIED POST TRIGGER DATA POST TRIGGER DATA Figure 2 64 Pre Trigger Example 20 Pre Trigger Sierra M6 1 SAS SATA Protocol Analyzer User Manual 89 LeCroy Corporation Project Settings Project Settings To set project options click the Settings tab Capture Trigger Settings Notes Trace Memory Status O O O A Trigger Position In Mernory yi s Entire Memory 14 994 f Partial Memory EB Upto 2046 MB C Segmented Memory Hof Segment i Segment Size 10000 KB Upto 2048 Me Sample File Name Je program files lecroysas protocol suite Lise Ei Don t upload sample and open upload manager automatically Auto Run Number of Run 20 Analyzer Settings Primitive Response Timeout ESDDO DWORD O
178. er Manual Scenario Events LeCroy Corporation While many events are line conditions an event also can be a condition that occurs within a InFusion device for example detection of a trigger signal from another device The following table lists supported events Note that some events are applicable only in the context of creating sequences those events appear on the drop down list only if you are creating a sequence Sequences can have multiple states and they allow branching between states Sierra M6 1 SAS SATA Protocol Analyzer User Manual 251 LeCroy Corporation Scenario Events 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 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 Trigger on Analyzer when its event matches You can see the trigger on the Status Bar but the Port Status dialog does not display any mark in the Trigger column Note This is different than 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 1us
179. er Threads 8 SCSI Spec Assignment 5BC3 5PC4 Convert port configuration without prompt for confirm M Ask user to close the previous captured sample before running the new project Browse default path Software default C Windows default Found device list mode Reset clear the list of found devices Refresh append to the list of found devices Setas Factory Cancel Figure 3 126 SAS Software Settings Dialog General Tab The SATA Software Settings dialog has the same options except that it does not have SCSI spec assignment Paths User Path specifies the User folder path used by the software after launching the Open dialog Template Files Protocol Analyzer You can use a pre saved analyzer and or analyzer emulator project file as a template Whenever you make a new project file the software uses the template to initialize the project file New Protocol Analyzer Project in Advanced Mode When you use the New menu item to create a new project file the software switches to Advanced mode automatically Sierra M6 1 SAS SATA Protocol Analyzer User Manual 203 LeCroy Corporation Software Settings 204 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 Tim
180. er User Manual Scenario Batch Files LeCroy Corporation 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 list 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 a Hew Batch To start a batch script click the New Batch Script Script button or select File gt New Batch Script Script Workspace In the Script Workspace add a command and make a batch file be LeCroy bok orion Errar Impeto and rallie Mode Pile Wew Confaurason Toots Help D ar a amp 8 af bg Hen Seger vari Open Library Prot Show Fie Show Library Shew Duil Shan dual y cer Sev Taner H b Rer Analyzes Res Batch 4 New Script 0 bx Fie Livery 2 eco adds elo 9 Man Library ax Batch Serips s valid a a ey Lo Dee oe a xX ami i tn D ENANOS 40 REPORT ES PAUAFIGURA TICA STAT are 4 REPORT ZONE PERMISSION TABLE SKROEI ZONE MANADH PASSWORD 40 REPORT EMICIADIAS E 40 DISCOWER 4 REPORT PAT ERROR LOS REPORT PHT SATA 4 REPORT ROUTE INFORMATION 3 REPORT PT EVENT 0 DEC OVER LIST 4 REPORT Prot EVENT LIST 3 REPOR
181. er an existing Serial Number 288 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Batch Files LeCroy Corporation 5 To add another command click Click here to add another script command sy New Script 0 gt x Batch Script is valid Label 0 IF IsStop S N 12871 Port 1 THEN Beep 40 Hz 10 ms wHCK Mere to ada anotner serpt Command 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 6 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 Beep 40 Hz 20 ms lt Click here to add else body gt Delete END IF Run S N 12871 Port 1 ZONED BROADCAST 7 To delete a command right click and select Delete from popup menu or select command and press Delete key on keyboard 8 After finishing if everything is correct push the Run Batch button to execute scenario and save result in the log file il 2 __ Rec Analyzer Run Batch 1 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
182. er 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 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 326 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 State 1 Figure 4 7 Global Rules and Sequence Areas of a Scenario InFusion hardware provides the capacity to have up to
183. ermission 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 LeCroy product please visit www lecroy com recycle LeCroy Corporation 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 introduce ais 13 Analyzer OVErVICW sa ir Iran ds 13 A A O 14 RECEIVING YOU ANALY ZG oi 15 Unpacking TNE UANAIY ZO sraa a a aa a aa 15 Analizer Wee ALN CS nico peine 15 Front PANG A E 15 Rear Panel nd 16 Temperature and HUMIONY sroin aaa A A tev a AS E N NA 16 mstallng Your Analyzer ii ais 17 SOT Ware NStalaU M o a aaa aa a a E a 17 VSEM TESTANT oiia aia a a 17 Error Message ci dos 17 Hardware SO WI isis iniciada 17 TS cesta 17 CONNECUNO AN GENEID ui o 17 Gascading Silena Anal ZO Sii da 18 Connecting Via Element 21 CONNECTING TO a No Work sisirain aip a encienden online 21 DOI UDCA ii A a 21 Connecting Over Different SUDMENS ii ss 26 TCP and UDP Ports Must Be Open to Connect over Ethernet sccceecceeseeeseeeeeeeeeeeseeeeseeeensaeeeeseeenens 26 LAUNGCNING OUP ANGIYV ZEN ion aiii 26 Operating In
184. es 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 OOO O For example for Register H gt D FIS Pattern 0x00000027 Mask 0x000000FF Offset 0 SOF Type SATA SOF Sierra M6 1 SAS SATA Protocol Analyzer User Manual 253 LeCroy Corporation Scenario Actions 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 gt 3 ioj x Type Properties Pe Analyzer Trigger Type Action oe Beep Description Capture Data Dword R andom Ho l Inject Even Mth occurence CROC Error Monitor Count Mot monitored Invalid 10bit code Error oa Running Disparity Error Insert z Address Frame z FIS Frame SAS Primitive SATA Primitive gt SMF Frame SSP Frame Insert DWORD l Link E Disconnect Reconnect gt Monitor Count l Remove 5 Frame Partially Primitive Whole Frame El SMW z Speed Negotiation Retime Speed Negotiation violation Stop Scenario Substitute e Data Dword with SAS primitive with SATA primitive Trigger Output x Cima i Figure 4 14 Action Properties Dialog The following table lists supported actions Note that some of these actions only apply to creating sequences 254 S
185. es CATALYST SAS System DataBlock DataBlock dat Number of Data Cells 16 Column Cell Length 1 Byte y LSB C MSB C Binary Hex C Ascii Data Block Data Address O 1 2 3 4 5 6 7 a lo l10l11f12 113114 15 Random Data Pattem Counter Data Walking Bit Data DataBlock15 Random Pattern Walking Bit c teek 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 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 Copy Paste Delete Rename Figure 2 86 Data Block Edit Sierra M6 1 SAS SATA Protocol Analyzer User Manual 107 LeCroy Corporation Creating a Data Block Choose Rename Rename Data Block xi New Name Custom 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 Define your own pattern O Seta counter O Choose a Random Pattern QO Choose a Walking Bit Pattern Define Your Own Pattern To define a pattern
186. es 136 SSF Transport Report SAS siaaa aiaa e aaa aaa 136 SMP Transport Repo rU SA Siurana ad cid 137 SIP Transport REDON SAS pusiste a 137 SCO GCOMMana Report SAS na 137 SMP Command Report SAS narnia dit 138 Task Command Report SAS buin ata 138 DAS AGGIESS Report SA Si ia 139 PANGS Repon A cca ene me ava uesaadacctenacecubisaaaouats a a E 139 Read Write Command Report SAS sarita A a 140 PeErmOrmanCe REDO SAS A 140 Performance Report SA UA lets nas 141 FIS REDO SATA ecemrepers eer otter eense er cri tt er eee a err error creer ere mere renee eketne oe 142 Queue Command REDO SATA lianas dais 142 PM Statistic Report SATA caian 143 PM Performance Report SATA rrena aa aa aae AO a sag n 143 Read Write Command Report SATA linia acid 144 Statistical Rep rt TOOID al sisis a aa a alaia 144 Export as Micr sonQ Extel Me airsan aaasta Daaa a aa a 145 Save as TEXT Te ziarenia a a 145 Print statistical REPO ai 145 PriNt PrEVIEW ia 146 REDON DISplay CUNAS las 147 LNK WIth Sample Vi Witt 148 Formatting the Statistical Report View cccccssssseesssssseeeseeesseeseeeeseeeseeesneeeeenesseeseneeanenseoes 149 FISHING COMMIT CONO ia 149 SONING COMM CO a aa aaa aa a aa a 151 Hiding COUMANS eonia a aaa E a e a saan wets aa e e a o 151 Histogram VieW ssassn Pe a a ent ayewcacsevdenoeroudies 151 Hide Frames irois eiua r e a aa a e a i a 152 Hide Error Frames ias 152 6 Sierra M6 1 SAS SATA Protocol Analyzer User Manual
187. es 37 Numerics 10 bit payload data display 184 8 bit payload data display 184 A About 218 Action 243 action counter 256 scenario 254 Action Properties dialog 255 Add Device 24 Add Pattern button 101 Add to Trigger 115 address 303 address frame 60 Address Frame Type Pattern dialog 60 80 Advanced Mode 27 98 alias name 228 ALIGN Transmission Period 93 Analysis Project dialog 43 analyzer overview 13 Anchor the Selection bar 207 Any Trigger mode 70 Apply Show Hide Link Setting 45 As previously saved 205 Ask user to close the previous captured sample before running the new project 204 ATA Command Pattern dialog 75 86 ATA Command Report 134 ATAPI Pattern dialog 76 ATAPI Report 135 ATAPI spec assignment 204 Auto Run 17 91 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Index B Based on Cell Type 206 Based on Port No 206 Based on Read Write Command Type 206 Based on Specific Command Type 207 batch command editing 289 batch script 287 Batch Script Setting 236 Beep statement 295 BIST FIS 67 bookmarks 164 finding 166 Break Link Recovery 234 Browse Default Path 204 buffer full 192 bus condition report 133 Bus Conditions dialog 73 Bus Utilization buttons 155 Bus Utilization View 154 buttons bus utilization 155 Buzzer check 225 Byte Order 190 Bytes in Column 198 C Cancel button kills upload immediately 206 Capture parameter 54 pre and post trigger 55 Capture tab 3
188. esting Host Such improper connections can impact compliance test result validity Sierra M6 1 SAS SATA Protocol Analyzer User Manual 231 LeCroy Corporation Help Menu 232 Sierra M6 1 SAS SATA Protocol Analyzer User Manual InFusion Overview The LeCroy InFusion Error Injector and Traffic Modifier is an error injector and traffic modification tool that allows you to verify real world fault handling for Serial Attached SCSI SAS and Serial ATA SATA systems InFusion can sit unobtrusively in the data path on a live system to programmatically alter or corrupt traffic InFusion is the ideal tool for stress testing systems using actual workloads J LeCroy InFusion Error Injector and Traffic Modifier Eile Setup View Configuration Tools Help O BG gt Bs Hee Analyzer 4 Trainer gt Bm Record ME I File Library c program files lecroy sas protocol suite examples infusion scsi sbc2 nAg bax B amp B Scenarios O Inject Errors Remove Substitute amp Branch Substitute with Primitive REDUNDANCY GROUP IN SEEK 6 WRITE ATTRIBUTE MAINTENANCE IN Detect ACCESS CONTROL IN Detect Erase 12 Detect INQUIRY Detect Log Select Detect Log Sense Detect LOCK UNLOCK CACHE 16 Detect MEDIUM SCAN 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 tra
189. et WARNING Check your firewall settings before making Ethernet connections Incorrect firewall settings can prevent LeCroy applications from detecting analyzers on the network though Ping works correctly Consult your Firewall documentation to allow LeCroy applications access to the network The following TCP and UDP ports must 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Operating in Simulation Mode LeCroy Corporation 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 Protocol Suite or SATA Protocol Suite applications respectively The LeCroy SAS Protocol Suite can be a QO Protocol Analyzer Captures data triggers on events and saves Easy Mode allows standard Trigger and Da
190. ew software version is available If so you can download from the LeCroy web site You can select to Check for updates at application startup LeCroy 545 Protocol Suite Scftware Update x E There are no new updates available for 545 Protocol Suite Sa Check for updates at application start up The latest software downloads can always be Found at hEbp iw lecrow conmJtrnf Library SorkwarelPSo Sierra 535 35 Clase Figure 3 140 Check for Updates About Displays version information Self Test You can use the built in RAM self test utility Select Setup on the main menu bar and choose Self Test to open the Self Test dialog je File Setup Session Analysis Navi TViouk amp Preemphasis User Defined Decoding External Trig Setting Update Device All Connected Devices Z Find DUT Power tim DUOT Power OFF BUT Manage Setup Licenses Preferences Data Block Set port alias Figure 3 141 SAS Self Test Command on Tools Menu 218 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Help Menu LeCroy Corporation Clock Check To perform a Clock check choose the clock to test and click the Start Clock Check button After a short time the Test Result appears to the right of the selected line x Clock memory Serdes crosspoint Main FPGA Expansion LED Buzzer Clock Type Test Result PE Mhirraa 1 System Clock 150MHz fhrroA 1 Memory clock 166MHz hrrGA 1 PCI Clock 66M
191. except FP Exclude Ox PF Exclude RADY Exclude NOTIFY C Exclude SATA_SYNC Dword s Advanced switch to Easy mode Multi Sequencer Port 7 77 Figure 2 82 State Machine with Timeout Pattern to replace Timer 2 Add State 2 Delete State 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 shows the Timeout settings Sierra M6 1 SAS SATA Protocol Analyzer User Manual Advanced Mode User Defined Timeout Pattern Pattern LeCroy Corporation Start E vents External Trigger Frimitive Add gt gt aula Remove lt lt Simbol Remove lt lt Primitive STP Frame ATA Command ATAPI Address Frame SMP Frame SSP Frame Note Logical OR operator applied on added events Timeout value 346 milliseconds Trigger mode End Events Bus Condition 2 microseconds 2 Trigger if the End Event s occur 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 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 this is the Bus Condition Captu
192. ffic from both directions in real time and relies on predefined rules to replace any bit primitive or parameter with one you specify Sierra M6 1 SAS SATA Protocol Analyzer User Manual 233 LeCroy Corporation Key Features InFusion can change traffic when it detects a specific sequence or reaches a designated time interval yet it requires no complicated scripts programming or simulation tools 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 234 The key features of InFusion are Q Error Injection Injects CRC disparity 8b 10b encoding framing and coding errors a B
193. figuration from a file Factory Setting restores default settings Font opens Font dialog DOOUOUOUUULE Sierra M6 1 SAS SATA Protocol Analyzer User Manual 195 LeCroy Corporation Display Configuration 0 AS A 4 lt 2 gt Trace Viewer Configuration CATE Packet View Frame Fields Idle Fields Trans Fields ATA Com Fields SCS Op Fields Data Fields Queue Emd Fields Phy Reset Fields Data Display Units LAC Time Others Protocal Address Frame Prirnitiwes SSP Frame SMF Frame Out OF Band Signals STP FIS Field Setting Format P visible Field Header Setting e Hame M Abbreviation Foreground Data Payload Columns im Aow fig Column Bytes imn Colum fi Bute Wewer Setting e Wrap Packet e Enable Tooltip Time Stamp Origin Absolute Trigger User Define Based On System Time Channels ATA Command MW Same color for start time and port Headers SCSI Corn Task Mng Enable Packet View Condense Mode Time Stamp Format Lecray Format a Save Load Factory Setting Font ox Cancel Figure 3 118 Trace Viewer Configuration 196 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Display Configuration Field Setting LeCroy Corporation To view a packet field select a field from the packet field tree and check the Visible box Uncheck it to hide the field To change the data format of a packet field select the fiel
194. g Sector Count Xfer Lenath Payload size All All All All All v All STP x80e21 2048 0000 50060560000003C4 Read DMA Ext 5000628000001074 500050000104785 SSP Write10 0x182 Oxaefaa6 0x4 2048 Good 352 266 662 6 5000626000001074 5000C50000104765 SSP Read10 Ox17C 0x1e65352 0x4 2048 Good 14 481 987 00 5000625000001074 5000C500001047B5 SSP Write10 0x176 Ox2a206a5 0x4 2048 Good 968 693 359 3 Figure 3 43 SAS Read Write Command Report Performance Report SAS To display the Performance Report click the Performance tab The Performance Report displays the report data in columns with the following information see Figure 3 44 on page 141 O Minimum Completion Time Average Completion Time Maximum Completion Time Initiator Bus Utilization Target Bus Utilization Efficiency Total Read Cmd Total Read Bytes Total Read Duration Cmd Minimum Read MB S Cmd Average Read MB S Cmd Maximum Read MB S Total Write Cmd Total Write Bytes O COCODODODODODDO oo Oo CU Sierra M6 1 SAS SATA Protocol Analyzer User Manual Statistical Report Content LeCroy Corporation Total Write Duration Cmd Minimum Write MB S Cmd Average Write MB S Cmd Maximum Write MB S Average Byte per SSP Frame Average Byte per STP Frame OOCOOO O General Primitive SSP Transport SMP Transport STP Transport ATA Command SCSI Command SMP Command Task Command SAS Address Protocol Eror Performance
195. gure 2 48 SAS ATAPI Pattern Dialog SAS vs SATA SATA Dialog has different dropdown options Click the down arrow next to the CDB dropdown list scroll the list to choose a CDB Type and click OK 76 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup LeCroy Corporation Data Pattern Double click Data Pattern in the Pattern window to open the Data Pattern dialog pataraien xi le SSP Hashed Source SAS Address Rx ae ee Hashed Destination SAS Address EZ ee A Cancel M NOT Data Data Offset 0 Dwords 0 255 AS Dwi POON DwO PS Dw3 POON Dw2 AS Dw5 POOOOOORN Dwg AS Dw POOOOOON Dw6 AS Dw9 PS Dw8 OR Dwit OOK Dwi0 POOOOOOON Dw13 AS Dwi2 AS Dw15 AS Dwi4 De Ail kee Eia Eji JY me Ee ed BA Check All Uncheck All Figure 2 49 SAS Data Pattern Dialog SAS vs SATA SATA Dialog shows Port at the top and does not show SSP or STP Define the data pattern for triggering and click OK 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 77 LeCroy Corporation Trigger Setup P
196. gure 3 96 Search Sub ltems 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 ASCO Sierra M6 1 SAS SATA Protocol Analyzer User Manual 181 LeCroy Corporation Search 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 xj SeachFo r Search Items gt p Search Sub Items Dana Data Pattern earch Domain Pons ER Bus Condition Incomplete Frames s Address Frames iv 11 T2 CISSP Frames ISMP Frames ISTP Frames Check Al UnCheck Al SCS Commands pe L SMP Commands E Task Management Function CJATA Commands Y Packet without Error CISCSI Command Status Source SAS Address Destination SAS Address Protocol Error SCSI Task Attribute CIATAPI SCSI Command Miscellaneous Forward Search Direction C Backward Search From Start C XPointer ee o C Y Pointer AND Selected Items Last Found Y 0 94 x OR Selected Items Reset All Save Load Cancel Domain lt lt Figure 3 97 Search by Tag Number Show Hide Single Port If Show Hide Single Port is selected you can click on one port button at a time to show hide the capture for that port
197. h 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 240 Show Analyzer Returns to the Protocol Analyzer or Target Host Emulator window 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 Abort Aborts recording Sierra M6 1 SAS SATA Protocol Analyzer User Manual 235 LeCroy Corporation Interface 236 Menus Setup View The InFusion interface has the following menus File see command descriptions in the Buttons section above a ODO O DOOCOD DOOCOD O O Configuration Tools Help 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 212 Update Sierra Device see Update Device on page 213 All Connected De
198. he SSP Frame Type list box and choose an SSP Frame type Sierra M6 1 SAS SATA Protocol Analyzer User Manual 61 LeCroy Corporation Protocol Errors 62 FIS Frame Information Structure SATA only Double click FIS to open the FIS Type selection dialog Format FIS Type Any Tope md ka i Binary E EF f Hexadecimal mid Cancel Register Device to Host EF Set Device Bits DMA Activate DMA Setup FIS Type BIST Phi Port PIO Setup Data W Hi e Di T H2 E pz M HS F Da Check All Uncheck All Count Expected number of occurences on each link i Figure 2 26 SATA FIS Types Dialog SAS vs SATA Not available in SAS Click the down arrow next to the Type drop down list box choose a FIS type to capture and click OK Repeat for additional types Available FIS Types O Register Host to Device Register Device to Host Set Device Bit DMA Activate DMA Setup BIST PIO Setup Data Any Type OUOUDO0ODODO O Sierra M6 1 SAS SATA Protocol Analyzer User Manual Protocol Errors LeCroy Corporation FIS Pattern SATA only Double click STP Frame to open the STP Frame selection dialog STP Frame Type E xi Format FIS Type Register Host to Device Ox2 C Binary f Hexadecimal c ancel Show Reserved and Obsolete Parameter FIS Type Ox27 Register Host to Device PR Port C Command Features LEA Law LBA Mid LBA High Device LBA Low esp L
199. he main window See Port Status on page 191 Sierra M6 1 SAS SATA Protocol Analyzer User Manual LeCroy SAS and SATA Protocol Suite Menu Options and Toolbars LeCroy Corporation InFusion The LeCroy InFusion Error Injector and Traffic Modifier is an error injector and traffic modification tool that allows you to verify real world fault handling for Serial Attached SCSI SAS and Serial ATA SATA systems Click on the Jammer icon WF Jammer to invoke the LeCroy SAS or SATA InFusion see InFusion Overview on page 233 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 STX M6 1 STX M6 1 InFusion Analyzer od hes A j er al TENA A a JUAN 000 od DR oo oo i ai i gt heal z m q i 3 1 Fi f Initiator Device or Host Sierra M6 1 SAS SATA Protocol Analyzer User Manual 35 LeCroy Corporation LeCroy SAS and SATA Protocol Suite Menu Options and Toolbars 36 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Protocol Analysis The system performs Protocol Analysis by defining and running an analysis project An analysis project definition defines what to capture what the analyzer triggers on and the memory settings You can sav
200. heck All Figure 2 29 Register Host to Device 64 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Protocol Errors LeCroy Corporation Register Device to Host STP Frame Type E 2 E x Format C Binary f Hexadecimal FIS Tope Register Device ta Host Cancel Show Reserved and Obsolete Parameter FIS Type Ox34 Register Device to Host Phi Port Status Error LBA Low LBA Mid LBA High Device LBA Low exp LBA Mid exp EE EEE EEES i Hi PH F Ha MDI Po PF pa Check All Uncheck All Figure 2 30 Register Device to Host Set Device Bits STP Frame Type E x Format Binary f Hexadecimal Cancel FIS Type Semen st Show Reserved and Obsolete Parameter FIS Type 041 Set Device Bits Phi Port pu 7 H El Status Lo status Hi T Error A SActve 31 0 POO MH Fo Hs PM Ha AE Miou Pob Po oa Check All Uncheck All Figure 2 31 Set Device Bits Sierra M6 1 SAS SATA Protocol Analyzer User Manual 65 LeCroy Corporation Protocol Errors DMA Activate STP Frame Type E E x Format C Binary f Hexadecimal Cancel FIS Type Show Reserved and Obsolete Parameter FIS Type 0 39 OMA Activate Phi Port ka WHA PH PHs THs Moi Po Pos fF oa Check All Uncheck 411 Figure 2 32 DMA Activate DMA Setup STP Frame Type dE a x Format Binary f Hexadecimal Cancel FIS Type Sh
201. hown 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 d Replace RRDY Normal gt x 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 Wait for EPDY NORMAL from Initiator then Substitute with ERROR Click here to add a S quence E For Help press F1 Figure 4 22 Example 2 Complete Scenario 264 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Example 3 Creating OR Conditions LeCroy Corporation 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 A This example includes a combined event a logical OR association of two or more single events 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 In the Global Rules area click the prompt to add an event to display the Event P
202. ht bar If you check the Filter descending packets from trace highlight bar 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 Bus Condition Primitive Incomplete Frames Address Frames SSP Frames SMP Frames STP Frames SCSI Commands Task Management Functions O OODODODDCDDODO O 172 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Filtering LeCroy Corporation ATA Commands SCSI Command Status see Filter Check Condition on page 174 Source SAS Address Destination SAS Address Pair SAS Address Protocol Error STP Port Tag see Filter by Tag Number on page 174 ATAPI SCSI Command Miscellaneous see Filter Miscellaneous on page 175 OUOCODDDDODO OO Bus Condition When selected depending on the Filter Type the Hide Show selection shows or hides captured Bus Conditions in the Sample Viewer Incomplete Frames When selected depending on the Filter Type the Hide Show selection shows or hides Incomplete Frames in the Sample Viewer ATA Command When selected depending on the Filter Type the Hide Show selectio
203. ick Refresh Device List to display all the devices on the network 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 Alias name Sierra FC_test cence Figure 1 11 Set Device Alias Name Dialog Disconnect Click Disconnect to disconnect a device Sierra M6 1 SAS SATA Protocol Analyzer User Manual 23 LeCroy Corporation Connecting via Ethernet Add Device Click Add Device to add a device with a static IP address Add Device with Static IP 3 xj Device IP Address N 0 0 0 nas Figure 1 12 Add Device with Static IP Dialog Remove Device Click Remove Device to remove a previously added device IP Settings Click IP Setting to reset IP settings of a device The following IP Setting dialog displays Subnet Mask Default Gateway into Figure 1 13 IP Setting Dialog Networks Click Networks to select a network adapter The following dialog displays Select Adapter 1 Intell Wireless WiFi Link 49B54GN Pac 169 254 40154 DOldel5cc38b 2 Intell 82566MM Gigabit Network Connec 172 186 193 128 00 1c2570494t Cancel Figure 1 14 Select Adapter Dialog 24 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Connecting via Ethernet LeCroy Corporation Refresh Device List Click Refresh Device List to refresh the device list To connect
204. ick here to add combined event Click here to add another action File Libr File Libr LAP NUM SCRL Figure 4 39 Example 8 Top Half of Scenario Sierra M6 1 SAS SATA Protocol Analyzer User Manual 281 LeCroy Corporation Example 8 Creating a Sequence With Many States 1 5 Align Test b x File Library c A Xx Wait for Aliqnz Sequencers eH A Align Test Sequercer exa Wait for ALIGN 2 from Initiator Click here to add combined event then Branch to Wait for Align3 Click here to add another action Wait for ALIGN 0 from Initiatori OR ALIGN 1 from Initiator OR ALIGN 3 from Initiator Click to add combined event then Branch to Error Detected Click to add another action Click here to add another event gt Wait for Aliqns Wait for ALIGN 3 from Initiator Click here to add combined event then Branch to Wait for Alignb Click here to add another action Wait for ALIGN 0 from Initiatori OR ALIGN 1 from Initiator OR ALIGN 24 from Initiator Click here to add combined event then Branch to Error Detected Click here to add another action Click here to add another event gt Error Detected Wait for Any DPword from Initiator tClick here to add combined event gt then Beep 500 ms and Branch to Wait for Alignb Click here to add another action Click here to add another event gt Click here to add anothe
205. icro D Sync Cable You must connect each of the analyzers to the Host PC using the USB port or Ethernet port 18 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Cascading Sierra Analyzers LeCroy Corporation 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 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 19 LeCroy Corporation Cascading Sierra Analyzers To connect a Sierra 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 analyz
206. ierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Actions LeCroy Corporation 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 Link Disconnect Reconnect Monitor Count Remove Frame Partially Primitive Whole Frame Restart All Sequences Current Sequence Speed Negotiation Retime Speed Negotiation Violation SNW Stop Scenario Substitute Data DWORD with SAS Primitive with SATA Primitive Trigger Output 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 Puts both InFusion SAS ports at electrical idle immediately Starts traffic pass through immediately This action restarts traffic after a previous disconnect command Once traffic is passing through the initiator and target resume OOB signaling Opens a window to count the number of events that occur during a session A session is a time interval during
207. inated 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 51 11 1363 2006 EFUP Environmental Friendly Use Period Us Temperature SC to 40C Humidity 3 to 95 max RH Altitude Up to 2000 meters Sierra M6 1 SAS SATA Protocol Analyzer User e Conditions non condensing Manual 301 LeCroy Corporation WAN Operation WAN Operation WAN connected operation is supported Contact factory for details of operation Refer How to Contact LeCroy on page 303 for contact information 302 Sierra M6 1 SAS SATA Protocol Analyzer User Manual How to Contact LeCroy Type of Service Call for technical support Fax your questions Write a letter Send e mail Visit LeCroy s web site Sierra M6 1 SAS SATA Protocol Analyzer User Manual Contact US and Canada 1 800 909 7112 Worldwide 1 408 653 1260 Worldwide 1 408 727 6622 LeCroy Protocol Solutions Group Customer Support 3385 Scott Blvd Santa Clara CA 95054 3115 USA psgsupport lecroy com http www lecroy com 303 LeCroy Corporation 304 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Symbols cfg file 199 infdb file 245 Sac fil
208. ion Total Ports A Analyzer 0 T T Device Emulator T o o T 0 0 Not Used Assigned To Ports EM Infusion Current License Configuration Type Serial Num Analyzer Device Emulator Host Emulator Infusion Simulation Sh 00 Al gt EA a Default Licenses Figure 3 131 Floating License Dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 211 LeCroy Corporation External Trig Setting External Trig Setting The External Trig Setting dialog displays the External Trig Out Setting and External Trig In Setting as High Active Low Active or Toggle External Trig Setting h x External Trig In Type High Active External Trig Cut Setting Type f High Active I Low Active Toggle External Trig uk pulse width 1 x 66 ns C Low Active Toggle nel Figure 3 132 External Trigger Setting Dialog To display the External Trig Setting dialog select Setup gt 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 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
209. itiator Emulator Jammer Trainer Cancel 0 Available TES 2 Available VIE j 2 Available Y 2 Available 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 0xFOEZ2 Ot Sr oz ee z 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 191 240 Sierra M6 1 SAS SATA Protocol Analyzer User Manual InFusion Scenarios InFusion Scenarios LeCroy Corporation You can create and execute InFusion scenarios A scenario is a test script that defines how InFusion monitors and modifies line traffic Scenarios Overview You create scenarios on a PC running the InFusion application You then assign the scenarios for execution to a desired port on an InFusion device You can also download up to ten scenarios to each InFusion device The InFusion application provides a menu driven interface for building scenarios The interface prompts you for simple decisions and choices from drop down menus As you make your selections the script takes shape automatically in the scenario window The script is in the form of simple English sentences You need not understand any formal scripting language EE LeCroy
210. itive Report 132 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Statistical Report Content LeCroy Corporation Bus Condition Report To display the Bus Condition Report click the Bus Condition tab The Bus Condition Report displays information in the following columns a Bus Condition All Custom Activity On COMININT COMRESET COMSAS COM WAKE Keep Alive Activity a Direction All H gt D D gt H I gt T T gt l or Custom Count All Custom or a number of occurrences a of total count O coh Ga SL Plts Mc General Primitive Bus Condition Fis ATA Command Read Write Command Performance Others Bus Condition Direction Keep Alive Activity H gt D 1 1 19 Activity On H gt D 12 14 29 Activity On D gt H 12 14 29 COMINIT COMRESET H gt D 1 1 19 COMINIT COMRESET D gt H 28 33 33 COMWAKE H gt D 12 14 29 COMWAKE D gt H 12 14 29 COMSAS H gt D 6 7 14 04 100 00 Figure 3 30 Bus Condition Report Sierra M6 1 SAS SATA Protocol Analyzer User Manual 133 LeCroy Corporation Statistical Report Content ATA Command Report To display the ATA Command Report click the ATA Command tab 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 Direction All H gt D D gt H I gt T T gt l or
211. k incoming frames do not change state State 1 If next Address Frame detected is from target beep 1 second TABLE 4 8 Example 7 Logic of Sequence 1 State Description State O If Address Frame is detected from target go to State 1 otherwise continue to check incoming frames do not change state State 1 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 As in previous examples create the Global Rules area 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 X Scenario is valid Status Nok saved Scenario Name New Scenario O Direction for traffic changes From Initiator T Global Bules Click here to add an event Click here to add a Sequence gt Figure 4 33 Example 7 Adding a Sequence 274 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Example 7 Cre
212. le in SATA Click the down arrow next to the FIS type dropdown list scroll the list to choose an FIS type on which to trigger and click OK Sierra M6 1 SAS SATA Protocol Analyzer User Manual 79 LeCroy Corporation Trigger Setup Address Frame SAS only Double click Address Frame in the Pattern window to open the Address Frame Type Pattern dialog Address Frame Type E xl Format Address Frame Type Any Address Frame Type C Binary Any Address Frame Type Hexadecimal Cancel Show Reserved and Parameter Address Frame Type Anv Address Frame Type Muda Pe Fr Pi RT PT Fs Pp Ta Check All Uncheck All Count Expected number of occurences on each link fi Figure 2 51 SAS Address Frame Type Pattern Dialog SAS vs SATA Not available in SATA Click the down arrow next to the Address Frame Type dropdown list scroll the list to choose an address frame type on which to trigger and click OK 80 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup LeCroy Corporation SMP Frame SAS only Double click SMP Frame in the Pattern window to open the SMP Frame Pattern dialog SMP Frame Type ES E x SMP Frame Types Function Cancel Show Reserved arrasa Parameter SMP Frame Type Any SMP Frame Type Function Any Function ha Mi Fi Fi Fi wo a ee ee Check All Uncheck All Count Expected number of occurences on each link i Fig
213. lected pattern in the same way as in Easy Mode as described starting on page 56 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 Choose a capture option Everything Nothing or Pattern 5 If you choose Pattern you can select patterns for inclusion or exclusion Clicking the Pattern option enables a pattern definition dialog Bus Condition STP Frame db gt gt Address Frame SMP Frame SSP Frame mics Data Pattern Protocol Errors Figure 2 78 SAS Choosing a Pattern Sierra M6 1 SAS SATA Protocol Analyzer User Manual 101 Advanced Mode User Defined LeCroy Corporation 102 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 56 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 parti
214. lication a Counter data pattern a Walking bit pattern To create a data block click the Default Data Block button on the Main toolbar or select Setup gt Data Block to open the Data Block dialog box as shown in Figure 2 84 C Program Files CATALYST SAS System DataBlock DataBlock dat ATTE A Cells 16 Column y CellLength 1 Byte y LSB C MSB C Binay f Hes C Asci L Data Block Data ce ea fe Jeees von Pattern O E4 E6 F9 EA CF 8C 9A E7 B7 CD DF A2 AA EF 86 81 A Gt Date 16 FE A2 95 8A E8 EA B6 9F DC OF B6 DF E2 E4 AF AF Delete 32 ED A2 A3 BE 99 EO B6 E3 E3 A8 BA 95 FE F9 CA CD 48 BF EF D4 Al 89 FE 87 8E F9 B2 97 EA FB D9 E3 83 Delete All 64 BC DC BS 9E AD 96 CD SF EB 81 91 9D CS 87 BS E7 80 63 BO FS BE C4 94 A9 EE FE DS DA EO 81 8C EO AF 96 Fl DC DF 98 E4 9E B6 B2 C3 9F F7 A4 95 D8 C4 C2 Random 112 CD F8 DO ES E9 D7 94 AE 99 96 B3 AE D4 9E 83 8D Patten 128 8E 98 F9 ED 81 DS AA 93 A6 88 80 CB OF OF E7 8A 144 AC CB CD F4 E6 SF B4 E6 E2 D2 BO ED C9 9D AA B3 Peri 160 DO 8 AO F3 D6 C1 83 EA C7 80 BB EC 8B 92 AS OF BC rr AO 94 BB B4 9B 87 81 EB EA AS 9D FO Fi Walking Bit o ame EN ce NDNA CA DA OF A CE oP EN A OFA AA gt EC oC Save Load Figure 2 84 Default Data Block Dialog Box 106 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Creating a Data Block LeCroy Corporation To add another data block 1 Click the New button in the Data Block dialog box a C Program Fil
215. lly repeats the system makes the number of segments that you entered Sierra M6 1 SAS SATA Protocol Analyzer User Manual 91 LeCroy Corporation Upload Manager 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 x Sample5egl Upload Save Delete ddi Options Preview D ME around segment trigger position Prrrrrrraidcl AN 1 gy Show Traffic Summary Preview Select All Deselect All ea ee Figure 2 66 Upload Manager Dialog The dialog displays the segments in the format Segmenti Segment2 and so on Select segments by clicking the checkbox You can also Select All or Deselect All segments You can Upload segments for display Save segments as sample files and Delete segments The Preview radio button allows a preview of an integer number of megabytes 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 92 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analyzer Settings LeCroy Corpora
216. lt gt L5B Copy Data Copy Frame Goto Response Set Time Stamp Origin P Color Goto Figure 3 111 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 t Hexadecimal Copy Data Goto Command Set Time Stamp Origin F Color Figure 3 112 Format Decimal Binary Sierra M6 1 SAS SATA Protocol Analyzer User Manual Port Status LeCroy Corporation Show All Data To display all captured data click the data expand toggle arrow in a data field to examine the data in detail ATA Command Data 2043 Bytes PM Port H 00 00 00 00 00 00 00 00 00 00 00 00 gt gt a 0 boso 00 00 00 00 00 000000 00 00 00 00 00 09 00 00 x Figure 3 113 Show All Data You can expand or collapse all data fields globally To expand all data fields right click the mouse in a data field and choose Expand All see Figure 3 114 Bookmark Show Field Hide Field Format Byte Order i Open as data view Set as Refrence Data Payload Set as Second Data Payload Copy Data Copy Command Set Time Stamp Origin Color Goto d Figure 3 114 Expand All To collapse all fields right click the mouse in a data field and choose Collapse All
217. mber Balsts General Primitive Bus Condition FIS ATA Command Read Write Command Performance Others Time Stamp All 7 086 733 ms 36 192 829 79 374 199 97 539 506 103 870 239 122 003 601 138 406 189 145 384 949 OpCode Command All Read DMA Ext Read DMA Ext Read DMA Ext Read DMA Ext Read DMA Ext Read DMA Ext Write DMA Ext Write DMA Ext LBA All Ox3e91089 0x2061be0 0x20c03dd 0x32218f2 Ox3a43e32 0x30F9949 0x1d8901f 0x98739b Sector Count All 0x4 0x4 0x4 0x4 0x4 0x4 0x4 0x4 Ho A 2048 2048 2048 2048 2048 2048 2046 2048 Figure 3 50 SATA Read Write Command Report Statistical Report Toolbar Payload size Normal Output Normal Output Normal Output Normal Output Normal Output Normal Output Normal Output Normal Output Move x Cursor y Status Completion Time Cour ar iw Al 23 616 920 47 ms 24 622 480 39 ms 5 868 81351 ms 16 218 040 47 ms 18 062 200 55 ms 16 309 919 36 ms 6 931 439 88 ms 7 563 37357 ms pa p fa or pur pro pr e The Statistical Report toolbar provides the following functions accessible by buttons on the toolbar a DOOUOD Export to Excel Save as Text Print Report Print Preview Report Display Settings Move to X Cursor Y Cursor or None ENE AA i 144 Move Sierra M6 1 SAS SATA Protocol Analyzer User Manual Statistical Report Toolbar LeCroy Corporation Export as Microsoft Excel file E The Export
218. mber Setting Trigger Conditions To set the If and Else If trigger condition 1 Click the Add Pattern button fora Pattern field and choose a trigger condition from the drop down list Advance Mode Settings Notes State 0 S0 Start State 0 9 Pattern Cont Trig Timer Ext Out Go To If 1 Nochange NoJump Else It Timeout 1 State 1 S1 Else If i 1 No change NoJump External Trigger Capture Everything Else If 1 Nochange NoJump Exclude Items Idle Notify Bus Condition Symbol Capture Primitive 7 Set capture settings of all states as state 0 Everyth STP Frame IV Exclude Idle T Exclude Xx C Nothing ATA Command J Exclude DOB Signal Excl k Pattem ATAPI Exclude ALIGN IV Exclude NOTIFY T Exclude SATA_CONT T Exclude SATA_SYNC TP Exclude Payload except 0 Dword s SMP Frame Include the following Patterns SSP Frame F Exclude No change No Jump Address Frame SCSI Command Pattern Data Pattern Bus Condi Primitive Protocol Errors Timer 1 Elapsed Timer 2 Elapsed Timer 3 Elapsed ProtocolE Anything Advanced switch to Easy mode Ir Multi Sequencer Port 1 77 Make Same as Current Add State Delete State For Help press F1 Tx Vout Disabled Initiator Emulator Stop Target Emulator Inactive Simulation Mode Stop Figure 2 77 SAS Choosing a Trigger Condition 2 Define each se
219. menus and toolbars SAS Main Toolbar The following figure displays the SAS main toolbar Open Sample File Launch Trainer Start Target Emulator Find DUT Stop Hardware Launch Jammer Start Recording Record 15 lel lt gt Trainer Y Jammer Abort Capturing Without Saving Sample File Upload Manager Stop Target Emulator Save Figure 2 3 SAS Software Menus and Toolbar 40 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Run Hardware LeCroy Corporation SATA Main Toolbar The following figure displays the SATA main toolbar Open Sample File Start Device Emulator Launch Trainer Open Find Device Dialog Stop Hardware Launch Jammer Start Recording Record oe fe lt gt Trainer Y Jammer E A Abort Capturing Without Saving Sample File Upload Manager Save i Stop Device Emulator Figure 2 4 SATA Software Menus and Toolbar Run Hardware To get an immediate overview of the bus traffic to and from your Analyzer 1 Clickthe Record Record button 2 The analyzer begins filling the defined memory buffer with traffic on the bus After the traffic fills the memory buffer the traffic is uploaded to the viewer and the Packet View display opens Packet View is the default display However you can view results in any of the different views by selecting View on the menu bar and choosing the desired View Sierra M6 1 SAS SATA Protocol A
220. mple 7 Sequence Area of Scenario Sierra M6 1 SAS SATA Protocol Analyzer User Manual 279 LeCroy Corporation Example 8 Creating a Sequence With Many States 1 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 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 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
221. n SAS Address Protocol Error CEPET Filter Type G Hide C Show F Fiteride Y Ports v Vin mi IV Ti M 72 Reset All Check All Figure 3 90 SAS Filter by Tag Number 174 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Filtering LeCroy Corporation Filter Miscellaneous When you choose Miscellaneous an additional dialog displays allowing you to specify the filtering of State Range and or External Signal In Dincomplete Frames MIFIS DATA Command Protocol Error Port DJATAPI SCSI Command MMiscellan eous Figure 3 91 Filter State and or External Signals Sierra M6 1 SAS SATA Protocol Analyzer User Manual 175 LeCroy Corporation Filtering 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 Filter Filter Options Filter Options Bus Condition J0x5000 85000000001 Bus Condition 4 0x50060560000003C5 gt 0x5000628000001 074 Primitive 0500605600000035 Frimitive 0x50060560000003C4 gt 0x500062B 000001074 jIncomplete Frames Incomplete Frames 0x5000C500001 04765 gt 0 5000626 000001 074 JAddress Frames J0x5000C500001047B5 Address Frames 0x5000E 85000000001 gt OxE 94 E 8E CISSP Frames 30x5000050000103D91 SSP Frames 0x5000E 85000000001 gt 0x5000050000103D
222. n opens the Timeout Pattern dialog External Trigger BE Add gt gt Bus Condition TA E Symbol B EPEE lt Frimitiwe STF Frame ee ATAPI Add gt gt Address Frame Remove lt lt SMP Frame SSP Frame Creel Farma mar el x Note Logical OR operator applied on added events Timeout value fi milliseconds microseconds Trigger mode Trigger if the End Event s occurs before the timer expires Trigger if the timer expires before the End Event s occurs Note 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 41 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 Mode QO If End Events occur before timer expires QO If timer expires before End Events Note You cannot select a Timeout pattern if you select any other pattern as the trigger condition Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup LeCroy Corporation External Trigger You can trigger on an external trigger To set up the trigger click the External Trigger cat
223. n 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 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 173 LeCroy Corporation Filtering Filter Check Condition Checking the SCSI Command Status check box enables Check Condition for filtering Bus Condition Primitive M Incomplete Frames Address Frames _ SSP Frames ISMP Frames ISTP Frames SCSI Commands JSMP Commands Task Management Functions DATA Commands SCSI Command Status Source SAS Address Destination SAS Address Protocol Error STP Port Tag ATAPI SCSI Command Miscellaneous Filter Type Ports Vi Iv iz VTi PT Reset All Check All Save Load Cancel Figure 3 89 SAS Filter Check Condition lt S CEET L GHLAC Filter by Tag Number Checking the Tag check box displays tags available for filtering Check the corresponding check boxes for tags to filter x Filter Options Bus Condition Primitive Incomplete Frames JAddress Frames OSSP Frames CISMP Frames ISTP Frames SCSI Commands SMP Commands Task Management Functions ATA Commands SCSI Command Status Source SAS Address Destinatio
224. n the gray bar on the top of the waveform display at a point for the T1 cursor and the right mouse button at a point for the T2 cursor The time difference between the cursors is on a line connecting the two cursors E Y Compact A 2 800 gt gt COMWWAKE 1 i COMRESET l COMWAKE COMINIT COMINIT COMINIT A F Figure 3 22 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 El T H1 l O LE A ee J A Figure 3 23 SATA Expanded Waveform View Sierra M6 1 SAS SATA Protocol Analyzer User Manual 127 LeCroy Corporation Statistical Report Statistical Report Whenever a captured sample is in the Sample Viewer a Statistical Report selection in the Report menu and a Statistical Report Button on the viewer toolbar are enabled You can create a Statistical Report for the entire capture or select a portion of it To display a Statistical Report click the Statistical Report button on the viewer toolbar or select Analysis gt Statistical Report to display the Select Statistical Report Range dialog Select Statistical Report Range E x All Samples C From T Cursor y To T Cursor y C From Sequence y No To Sequence y Nofi Cancel Figure 3 24 Statistical Report Range Dialog The defa
225. nalyzer User Manual 41 LeCroy Corporation Run Hardware X Y T Cursors Link Layer Data direction arrows Relative time display between two sequential packets on the same layer and port Show Hide Layers buttons Show Hide Port Data sQSienma gt n sialla Pipe i 8 Col R IEEE aaa 4 y Address Frame Type Device Type Restricted H Restricted H Restricted 4 SMP intistor Port 4 STP indiator Port H SSP infiator Port H Restricted H SMP Target Port MH STP Target Port 4 SSP Target Port M Restricted H SAS Address H Phy Identifier H CRC H Link Data 0 0 3 eens EA O ms Address Frame Type Device Type Restricted H Restricted H Restricted M SMP infistor Port H STP hitiator Port H SSP hitiator Port H Restricted 09 SNP Target Port H STP Target Port 4 SSP Target Port M Restricted M SAS Address M Phy kientifier H CRC H Link Osto H 24 Relative Time 5333 us Relative Tine 2 578 800 18 Re Time l 2516 033 ms Address Frama Type Protocol Intiator Port H Connection Rate Featwes H intator Commection Tag H Destination SAS Address H Source SAS Address H Compativie Festures H Changing Data Porter H ReTransm 4 Retry Data Frames M Num of F Bytes HH Tag H Target Port Transter Tag H Frame Type Mashed Dest SAS Addr H Hashed Src SAS Addr H Changing Data Porter ReTransm H Retry Dota Frames H Num of F Bytes 00 Tag H Target Port Tr
226. nalyzer 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 Run an Example Analysis Project 50 To run an example project Select File gt Open Locate example analysis projects by looking in the Examples folder Examples are available for AdvanceCaptr EasyCaptr Exerciser PatternGenerator Samples Target Emulator and User Define Decoding Script 3 In the EasyCaptr folder choose an example sac file and click Open to display the example project dialog Open dX Look in EasyCaptr e ace ATAPI MMC Trig sac ATAPI SSC Trig sac BusConditionTrig sac DataPatternCapture sac Pre TrigCaptureAndPost TrigCapture sac SequentialTrig sac File name BusConditionTrig sac Files of type Protocol Analyzer sac v Cancel i Figure 2 13 File Open Dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual Projects Capture Trigger Settings Notes Project Tree C Don t care Snapshot Manual Trig Timer Timeout External Trigger Bus Condition Symbol Primitive STP Frame ATA Command ATAPI Address Frame M Define Sequential Trager Mode Easy swit
227. nce Sierra M6 1 SAS SATA Protocol Analyzer User Manual 283 LeCroy Corporation Example 9 Creating a Sequence With Many States 2 3 Inthe File menu select Save Scenario to save the scenario Fix Aligns Test box File Library c A X 5 Scenario Name Fix Alis Test Description Detect incorrect order of Alis FIX IT and beep when it happens Sequencers GH I Align Test Direction for traffic changes From Initiator T Global Bules Click here to add an event Sequence E Wait for Aligqnd Wait for ALIGN 0 from Initiator Click here to add combined event gt then Branch to Wait for Alignl Click here to add another action Wait for Timer 100 us Click here to add combined event gt then Branch to Error Detected lt Click here to add another action gt lt lt Click here to add another event Wait for Alignl Wait for ALIGN l from Initiator Click here to add combined event then Branch to Wait for Aligqnze Click here to add another action Wait for ALIGN 0 from Initiatori OR ALIGN 2 from Initiator OR ALIGN 3 from Initiator Click here to add combined Branch to Error Detected and Substitute with ALIGN il lt Click here to add another action lt lt Click here to add another event gt Wait for Aliqnz For Help press Fl COP MOM SCRL Figure 4 41 Example 9 Top Half of Scenario 284 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Example
228. nce PM Statistic ail aoe m EQ Wakeup Time RESP Wakeup Tin 24 160 000 us Figure 3 48 SATA PM Statistic Report PM Performance Report SATA To display the PM Performance Report click the PM Performance tab The PM Performance Report displays information in the following columns Port Partial Request Partial ACKed Partial NACKed Slumber Request Slumber ACKed Slumber NACKed Partial Time Slumber Time Partial Time Total Time Slumber Time Total Time O O ODO0DODODDO O Sa la ne TL a Move X Cursor v goreseseesesseeessoessoesessoesesoeessseeesg Port Partial Request Partial ACKed Partial NAKed Slumber Request Slumber 4CKed Slumber N Ked Partial Time Slumber Time Partial Time f Total Time Slumber Time Total Time H1 1 1 0 0 0 0 NjA 0 03 NjA 1 1 0 0 0 0 Figure 3 49 SATA PM Performance Report Sierra M6 1 SAS SATA Protocol Analyzer User Manual 143 LeCroy Corporation Statistical Report Toolbar Read Write Command Report SATA To display the Read Write Command Report click the Read Write Command tab You can enable or disable creation of this page under Software Settings see page 203 The Read Write Command Report displays information in the following columns a OCU0ODODO O Time Stamp OpCode Command LBA Sector Count Payload Size All Custom or a number of DWORDs Status All Custom Good Completion Time Count All Custom or a nu
229. nd Pattern ATAPI Soft Reset Data Pattern Protocol Errors O O DOCODODODODODDO oo Oo CU 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 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 Selecting a timer for a trigger in the Any Trigger Mode limits the time that the analyzer looks for selected triggering conditions before triggering The timer activates when the Project runs If none of the selected triggering conditions occurs during the timer s active time the Analyzer triggers at the end of the time set for the timer 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 x Timer Value fi Milli Seconds Time Unit Cancel milliseconds microseconds Figure 2 40 Timer Dialog Check a Time Unit enter the Timer Value and click OK Sierra M6 1 SAS SATA Protocol Analyzer User Manual 71 LeCroy Corporation Trigger Setup 72 Timeout Pattern Patten e y l Start E vents Selecting Timeout for the patter
230. nd 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 disparity 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
231. ndom Timer Max Time 1 790 s Click here to add combined event gt Click here to add an action Click here to add anoth event gt he For Help press F1 CAP NUM SCRL Figure 4 31 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 d If ACK Inject Error Scenario Name If ACK Inject Error 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 gt then Inject Bunning Disparity Error Click here to add another action Wait for Pandom Timer Max Time 1 790 s Click here to add combined erent gt then Stop Infusion Click here to add another action Click here to add another erent le For Help press Fl CAP NUM SCRL Figure 4 32 Example 6 Complete Scenario 9 Inthe File menu select Save Scenario to save the scenario 272 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Creating a Sequence LeCroy Corporation 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 respo
232. ndow Help mj ap Trainer El Decoding Assignments b CRIA a Packet View Spread Sheet View Column View Text View Field List view Weve Form vie Statistical Report view Histogram Bus Utilization Data Report BEE I mmg Compare 2 Data Payloads Compliance Test SE Figure 3 6 SATA Analysis Menu Sierra M6 1 SAS SATA Protocol Analyzer User Manual 117 LeCroy Corporation Analysis Decoding Assignments Click on the Decoding Assignments icon o to display the Decoding Assignment dialog Check a Hash Destination SAS Address checkbox to select it and select a SCSI Spec s Click the Add to Assigned List button to decode Select a spec and click Remove it or click on Remove All to remove all the specs Decoding Assignments Hash Destination 5 45 Address QJO FFFFS4 Add to Assigned List Assigned SCSI Specs Hash Destination 545 Address SCSI Spec of Ox955E6 SBCS 5PC4 Remove OsPFFFS4 SBC3 SPC4 O EF 81 FC SBC3 SPC4 O80F 444 SBC3 SPC4 Remove All Cancel Figure 3 7 Decoding Assignments Dialog for SAS ATAPI Assignment E x 47 AP Assignment MMC Oe Pleaze select desired Spec to interprete ATAPI packet Cancel Figure 3 8 ATAPI Assignment Dialog for SATA Packet View After you select a view it appears in a separate window To increase the new window display size select View gt Packet View or click the Show Hide Packet View button to hide the Packet
233. nds 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 sequence 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 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
234. nfigurations and Trigger Positions a a 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 50 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 50 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 size 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
235. ng 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 LeCroy software Search reporting and decoding all operate normally This feature is available with the 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 the screens below Or you can launch CrossSync from the Start menu File Setup Session Analysis Navigation Mew gt Open Close W Launch Jammer dp Launch Trainer Launch CrossSyn c Control Panel Figure 2 6 Launching CrossSync from the SAS Protocol Suite Application Sierra M6 1 SAS SATA Protocol Analyzer User Manual 43 LeCroy Corporation Save Workspace 44 File Setup Session Analysis View Help Mew Ta La Open aF Launch Jammer dp Launch Trainer Launch CrossSync Control Panel Figure 2 7 Launching CrossSync from the SATA Protocol Suite Application Please refer to the CrossSync Control Panel User Manual for more information Save Workspace The workspace wss file sets viewing parameters After you open a trace and select views you can save the viewing parameters in a workspace file Select File gt Sa
236. nseeeseenneeeseenseeeseenseeeseeaseeeeeeaseeeeoneseesonsseessoenensensons 256 Capturing a Data DWORD bdo 257 Using Captured Data DWORD Sarnia ann o aaa aa a aa E 258 Summary of Scenario Creation sica 259 Creating Global RUIS uu id 260 Example 1 Creating a Single Event and Action that Removes a Primitive 000 261 Example 2 Wait for a Primitive and Replace It with an Errot ccccsssscseseeseeeeeeseeeeeeeees 264 Example 3 Creating OR Conditions ccccssseeeeesseeceesneeeeeneeeeeesseecenseeseesseeseenseesonseeesonsnees 265 Example 4 Multiple Triggers and Actions oooncocncconcccononconoccnnanconanennnrenanornnnrnnanrnnnrnnarrnnanenans 267 Example 5 Multiple Actions on a Single EVeNnt scccssssccesseeeeseeeeseeseesseeeeseeensseeeesseees 269 Example 6 USING TIME Sisi iia 271 Creating a Sequence ansia a 273 Example 7 Creating Two Sequences and Global Rules occconcccconncoconnconcncnonanccenancnnnannos 274 Example 8 Creating a Sequence With Many States 1 oooncccnnnccncncconcnccnnnnccnnnnononannnnanonnnanns 280 Example 9 Creating a Sequence With Many States 2 ccsssccsseseeeseeeeseeseeseeeenseneeneens 283 Downloading SCONANOS uscar iii ains 286 FUMING SCOMANIOS iia 286 Scenario Batch FICS curra cil eax 287 OCTIDE WORKSO ACC isis 287 Error GCREGKUNG iii iia 290 A OO 290 A cassini setesneccctcesveccaseeeeesaiswcessencade teas a r an a 291 HIS SLOP DOG a 291 Go
237. nstant 800 MHz OFF Pre emphasis level OFF Pre emphasis decay 500 ps Output Pre Short Pre emphasis level 5 8 dE Pre emphasis decay 200 ps Long time constant 300 MHz 4 de Output power level e0 mw Logs of signal E my Copy Selected Port Settings to All Port Cancel Figure 3 125 Choose Port for TX Vout Copy Selected Port Settings to All Ports implements one port s setting into all other port settings Restore Factory Settings restores default values Save saves the new values as a sng file Load loads back the saved sng file 202 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Software Settings LeCroy Corporation Software Settings Software Settings allow you to define template files for new Analyzer projects to specify how sample files appear when opened and to set ATAPI Spec Assignment To perform software settings in an open sample view select Setup gt Software Settings General Tab Software Settings x General Sample Wiener Spread Sheet view Column view Field List view Paths User path Template Files Protocol Analyzer e New Protocol Analyzer Project in Advanced Mode Default Workspace c program filesilecroyisas protocol suite System PreDefined Workspace Def MEO Commands Time out Threshold 1000 us ATAPI Spec Assignment MMC6 5PC4 Maximum Number of Upload
238. ntrasever gt Network tools 1 ISMP Commands JT ask Management Functions Jintrasever gt Seagate 2 Task Management Function ATA Commands intrasever gt Seagate 1 JATA Commands GISCSI Command Status SCSI Command Status Source 545 Address M Source SAS Address Destination 545 Address M Pair SAS Addre Figure 3 124 SAS SAS Address Alias If you elect to save the captured sample file the assigned SAS address names are saved together with the result so that when you open the sample file later the assigned names are retained Set As Default If you want to set these SAS address aliases for sample files that will be captured later you can set them as default and new samples will be opened by these default SAS address aliases Sierra M6 1 SAS SATA Protocol Analyzer User Manual 201 LeCroy Corporation Tx Vout amp Preemphasis Tx 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 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 Settings dialog A Settings j xj Restore Factory Settinas Save Load Output pre emphasis Output Pre Long Input signal equalization Short time constant 2 GHz 2 dB x Medium time co
239. nual CrossSync Control Panel LeCroy Corporation 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 O Capture specific patterns see Patterns and Data Capture Setup on page 53 Capture different patterns pre and post trigger Exclude parameters from capture Trigger on a pattern or sequence of patterns see Trigger Setup on page 69 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 233 CrossSync Control Panel The CrossSync Control Panel allows you to select analyzers for synchronization and manage the recording process CrossSync is LeCroy s analyzer synchronization solution that enables time aligned display of protocol traffic from multiple daisy chained analyzers showing packet traffic from multiple high speed serial busses A lightweight software control panel allows users to select analyzers for synchronization and manage the 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 Navigati
240. o the Command list box choose an ATA command and click OK Soft Reset SATA only Double click Soft Reset to open the Soft Reset dialog Cancel WA PH Jay F Hi Moi Po Pos F oa Check All Uncheck All Count Expected number of occurences on each link i Figure 2 59 SATA Soft Reset Dialog SAS vs SATA Not available in SAS 86 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup LeCroy Corporation Sequential Trigger Mode In Sequential Trigger mode triggering occurs whenever the system detects a specific sequence of patterns Defining the triggering patterns sets the sequence order You must define at least two patterns to enable selection of Sequential Trigger mode Note Patterns such as Primitives and Symbols or Frames occurring very close together on different ports cause an error in triggering To define a triggering sequence select more than one pattern then check the Define Sequential Trigger Mode check box Capture Trigger Settings Notes C Don t care Snapshot E 3 Capture Exclude C Manual Trig Y Include XX Pattern Include SATA_SYNC Y Include SATA_CONT Parameters Y Include OOB Signals Y Include Payload of Data Frame Exclude Idle P Address Frame Any Address Frame Type P SMP Frame Any SMP Frame Type A Trigger Sequential External Trigger FIS Pattern Register Host to Device Bus Condition P SMP Frame Any SMP Frame
241. ocol suite User Compliance_Devicel ttf Browse View Saved Traces y No Test Name Description Result Detail 1 GTR 01 Once the initial Register device to host FIS has been received and successfully 1 5 Error Can not issue some required commands Check sample acknowledged with no errors a device shall successfully respond to the setting of for further information the SRST bit in the Device Control register at any time and perform the software 275 Error Can not issue some required commands Check sample reset protocol for further information 375 Error Can not issue some required commands Check sample for further information 4 5 Error Can not issue some required commands Check sample for further information 5 5 Error Can not issue some required commands Check sample for further information 2 GTR O4 For all Serial ATA devices the entire contents of Word 93 in IDENTIFY DEVICE Passed or IDENTIFY PACKET DEVICE data shall be cleared to zero Figure 3 153 Compliance Test Result 15 To save the current compliance setup for later use click the Save button to open the Save As dialog Assign a meaningful name to the setup and save it as a cst compliance file 16 To run a previously defined setup click the Load button and choose a previously defined setup to run Note When you are running Compliance Test do not connect the analyzer to the Host if testing a Device Do not connect the analyzer to the Device if t
242. of the selected line 222 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Help Menu LeCroy Corporation Main FPGA Check SATA only To perform an Inter FPGA Connection check select the Main FPGA tab Sawe M en zg Append eron aetas Figure 3 146 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 223 LeCroy Corporation Help Menu 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 fMexpansion Card Clock Status Save error details Cave IH C Program Files LeCronLeCrop 5474 Protocol SuitesUsersErrors detail slf E i Append eror details ale Number OF Run Each Test f Run All Tests Sequentially Start Expansion Check Close Figure 3 147 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 224 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Help Menu LeCroy Corporation LED Buzzer Check To perform a LED or Buzzer check select the LED Buzzer tab
243. ome of which are listed below a OO O 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 33 LeCroy Corporation LeCroy SAS and SATA Protocol Suite Menu Options and Toolbars There are four sets of toolbars a Main Toolbar For details on the Main Toolbar refer to SAS Main Toolbar on page 40 and SATA Main Toolbar on page 41 QO Record Capture Toolbar For additional information see SAS Main Toolbar on page 40 and SATA Main Toolbar on page 41 QO Target Device Emulator Toolbar For additional information see SAS Main Tool bar on page 40 and SATA Main Toolbar on page 41 QO Navigation View Toolbar For additional information see Navigation View Toolbar on page 162 a Show Analysis Toolbar For additional information see Show Analysis Toolbar on page 116 Packets View Toolbar For additional information see Packet View Toolbar on page 183 18 Fecod MI El Navigation iew Toolbar E l PIB RO MR P paje el Analysis Toolbar E E 3 i E ES Packet Yiew Toolbar BUGS oO Figure 1 23 SAS SATA Protocol Suite Toolbars Port Status 34 You can display an overview of the active ports by clicking the buttons at the bottom right of t
244. ommand 202 U unpacking 15 Update Field List based on 209 Update License 216 Update Sierra Device 236 Update Sierra Device command 213 Upload Manager dialog 92 user defined decoding 215 User Defined Decoding dialog 215 User Path 203 using the cursors 194 V Value Replacement 234 VENDOR FIS 68 Verification script command 159 Verification Script Engine Reference Manual 159 View Field option 186 View menu InFusion 236 View Type toolbar 123 Viewer 31 113 Viewer Setting toolbar 183 Viewer Settings 198 views 31 Visible box 197 311 LeCroy Corporation Index W WaitForStop statement 294 walking bit pattern 110 Waveform Display 31 waveform display 126 web site 303 Website CATC 303 Windows default 204 Wrap Packet box 198 wrap packets in results display 183 Z Zoom In results display 163 Zoom Out results display 163 312 Sierra M6 1 SAS SATA Protocol Analyzer User Manual
245. on 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 1 InFusion TestCasesForSATA infdb 3 El TargetTransportLayer infdb Mu Recent TargetLinkLayer infdb Documents RealWeorld infdb ManualExamples infdb El InitiatorTransportLayer infdb El InitiatorLinkLayer infdb DEFAULT infdb man Docs My Documents qa My Computer a File name A by Network Files of type InFusion Library Files infdb Figure 4 8 Open Library File List Sierra M6 1 SAS SATA Protocol Analyzer User Manual 245 LeCroy Corporation InFusion Scenarios 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 G c E 4 Scenarios 01_HOST_Buffer Underrun 02 HOST write Failed O03 HOST P_RDY Failed 04 HOST Read Failed O05 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 erro 09 HOST_Link Layer Retry 10_HOST_Invalid FIS type 11 HOST Vendor FIS type 12 DEVICE Buffer Underrun Figure 4 9 Test Cases for SATA Library Device Libraries In addition to general libraries the application defines device libraries Each device library is associated with a specific InFusion devic
246. on t care Snapshot 7 Capture Exclude C Manual Trig Y Include xX o Patter Y Include SATA_SYNC manan Include SATA CONT Parameters Y Include OOB Signals Y Include Payload of Data Frame Exclude ide Timer P Address Frame Any Address Frame Type Timeout PJ SMP Frame Ary SMP Frame Type External Trigger to Trigger Non Sequential ty Settings Bus Condition dA Trigger Position in Memory 1 k EEA Capture Memory Size 10000 KB Al Primitive Response Timeout 16384 Dword s STP Frame Speed 3 0 Gbps 11 11 12 72 13 T3 14 T4 ATA Command Descrambling Enabled ATAPI Align Transmission Period 2049 for SSP 258 for STP 59 Connection Details Simulation Mode Address Frame J Define Sequential Trigaer Mode E Easy switch to Advanced mode amp Collapse All Expand Al Figure 2 39 SAS Select Patterns for Trigger The SAS Parameters window displays the following trigger pattern categories Timer Timeout External Trigger Bus Condition Symbol Primitive STP Frame ATA Command ATAPI Address Frame SMP Frame SSP Frame SCSI Command Data Pattern Protocol Errors O DO DOCODODOODODDO DO oo oo 70 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup LeCroy Corporation The SATA Parameters window displays the following trigger pattern categories Timer Timeout External Trigger Bus Condition Symbol Primitive FIS FIS Pattern ATA Command ATA Comma
247. ontrol H gt gt Payload Data 4096 Bytes Task Attribute Tag H Status LUN CH 52 43 52 44 28 0009 00 ED 21 8000 gt Metrics Hex O ASCII Layer Transport Layer Transport booo 26000000 oooooooo 1000000 to Y O ns xto T 0 ns YtoT 0 ns For Help press F1 TxWout Disabled Initiator Emulator Stop Target Emulator Inactive amp Simulation Mode Stop Figure 3 71 Compare Two Data Payloads 158 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Running Verification Script Engine VSE LeCroy Corporation 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 Tools gt Verification script or click the Running verification scripts button fa on the main tool bar The Run Verification Scri
248. or tab The Protocol Error Report displays the report data in columns with the following information Q Protocol Error All Custom Code Violation CRC Error Disparity Error Align Notify Error a Direction All H gt D D gt H l gt T T gt l or Custom Count All Custom or a number of occurrences a of total count O Protocol Error Direction Count Lo All v Code Violation I gt T 1 50 00 CRC Error I gt T 1 50 00 2 100 00 Figure 3 33 SAS Protocol Error Report Sierra M6 1 SAS SATA Protocol Analyzer User Manual 135 LeCroy Corporation Statistical Report Content Others Report To display the Others Report click the Others tab The Others Report displays information in the following columns see the following screen capture O Items m Idle No Payload Size Sample Time Idle Initiator Idle Target SSP Bus Utilization SMP Bus Utilization m STP Bus Utilization a Report Count or Time i Sa Dirty ij Mo General Primitive Bus Condition FIS ATA Command Read write Command Performance Others Idle No 0 Payload Size 5327872 Sample Time 14 621 841 43 s Idle Time Host 0 000 000 00 s Idle Time Device 0 000 000 00 s Reserved 0 000 000 00 s Figure 3 34 Others Report SSP Transport Report SAS To display the SSP Transport Report click the SSP Transport tab The SSP Transport Report displays the report data in columns with the following information QO Type All
249. ort ATA Command SCSI Command SMP Command Task Command SAS Address Read Write Command Protocol Error Performance Lanes Others O O OCODODODODODODDO DO oo Cco SATA A complete SATA statistical report consists of the following reports accessed by clicking the corresponding tab in the dialog O General Bus Condition Primitive FIS ATA Command ATAPI Command Read Write Command ODO0ODO OO Sierra M6 1 SAS SATA Protocol Analyzer User Manual Statistical Report Content LeCroy Corporation Protocol Error Performance Others PM Statistic PM Performance DOOCD Note Results are displayed only for items that have been captured in the sample Report Options Some report categories offer options to display only specific items These report categories incorporate drop down list boxes offering pre defined and custom options For details see Formatting the Statistical Report View on page 149 General Report To display the General Report click the General tab The General Report displays the report data in columns with the following information QO Type All Custom Bus Condition FIS Identify Address Frame Open Address Frame SMP Frame SSP Frame STP Frame a Direction All H gt D D gt H I gt T T gt l or Custom a Duration All Custom or time unit a Count All Custom or a number of occurrences a of total count Go SLA Olt gt Mo General Primitive Bus Condition FIS A
250. ose 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 DOOOODODUOD Note You cannot trigger on a Vendor FIS Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup LeCroy Corporation FIS Pattern SATA only Double click STP Frame to open the FIS Type selection dialog STP Frame Type y x Format FIS Type Register Host to Device Ox27 C Binary f Hexadecimal c ancel Show Reserved and Obsolete Parameter FIS Type Owe Register Host to Device PM Port C Command Features LBA Low LBA Mid LBA High Device LBA Low esp LBA Mid exp EEE E EJE E W Hi F H2 PH Wio Po Pos Check All Uncheck All Figure 2 56 SATA FIS Type Dialog SAS vs SATA Not available in SAS The FIS Pattern dialog opens with the default FIS Type Register Host to device To choose another available FIS Type click the down arrow next to the FIS Type list box Format FIS Type Register Host to Device 0x27 C Binan Hexa Register Host to Device 0x27 Register Device to Host 0x34 Show f Set Device Bits 0x41 DMA Activate 0x39 0x41 Value 0x58 tto Device Ox5F 0x46 x Figure 2 57 SATA FIS Pattern Dialog Choices SAS vs SATA Not available in SAS Choose an FIS Type and complete the corres
251. ow Reserved and Obsolete Parameter FIS Type 041 OMA Setup PH Port pu o A El DMA Buffer id Low POS DMA Butter id High ES DMA Butter Offset POO DMA Buffer Transter Count OA i Hi Pz F H3 MVM Di PF be Po Check All Uncheck All Figure 2 33 DMA Setup 66 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Protocol Errors LeCroy Corporation BIST PIO Setup STP Frame Type STP Frame Type E 3 x FIS Type Format C Binary f Hexadecimal Cancel Show Reserved and Obsolete Parameter FIS Type O 58 BIST PH Port pu Y P F El L 5 El A T El Data 0 me Data 1 5 8 Eea MH FH PH TF Ha Moi PF oe Po F oa Check All Uncheck All Figure 2 34 BIST FIS Type Format O Binary f Hexadecimal Cancel Show Reserved and Obsolete Parameter FIS Type Ox5F PIO Setup Phi Port o l Status Error LBA Low LBA Mid LBA High Device LBA Low exp EEE EJE E ES MH Fo He EA EH Mob Fiz Foz Fo Check ll Uncheck All Figure 2 35 PIO Setup Sierra M6 1 SAS SATA Protocol Analyzer User Manual 67 LeCroy Corporation Protocol Errors Data STP Frame Type x Format FIS Type C Binay f Hexadecimal Cancel Show Reserved and Obsolete Parameter FIS Type O46 Data PM Port A Data 0440 POS Data 04411 EERIE Data D2 IRI Data D3 EIR Data D4 EA Data 0145 IR Data D6 IRI D
252. pattern generator file spg using the following conventions Key words ALIGN CONT DMAT EOF HOLD HOLDA PMACK PMNAK PMREQ_P PMREQ_S R_ERR R_IP R_OK R_RDY SOF SYNC WTRM X_RDY XXXX LOOP Enable Disable Host Device Scramble Role END_OF_ FILE Sierra M6 1 SAS SATA Protocol Analyzer User Manual 297 LeCroy Corporation Comment format 298 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Example Pattern Generator File LeCroy Corporation Example Pattern Generator File Figure A 1 illustrates a typical Pattern Generator file S annn SOT Device BITS MS Device 23 2 3 2 21 9 K28 3 f X_RDY dl did eL KeS 3 f X_RDY 25 4 25 4 10 5 K28 3 J CONT OCX OOX OOX POON OOK OSO OSO 23 1
253. ponding dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 85 LeCroy Corporation Trigger Setup ATA Command Pattern SATA only Double click ATA Command to open the ATA Command Pattern selection dialog 474 Command Pattern 1d x Format Command ary Command E Binary Write Multiple Ext 0x39 f Hexadecimal Cancel Write Port Multiplier OxES Write Sectors O30 Write Sectors Ext Ons Write Stream DMA One Show F Yalue gt Command nte Stream PIO Ox3B Features Write DMA FUA Ext 030 write DMA Queued FUA Ext O 3E Sector Ne site Multiple FUA Ext OxCE Cylinder Li Trusted Receive Ox5C Cylinder H Trusted Receive DMA 05D Trusted Send OE EE TEA aed Send DMA 0x5F sector NU Read Log DMA Ext Dx47 Cylinder La Trusted Non Data 0x5B Cylinder H rite Log DMA Ext Oxo Write Uncorrectable Ext 045 Features q Write Multiple C3 Ox C3 Add LBA s to NY Cache Pinned Set 086 10 Flush MN Cache 0xB6 14 NY Cache Disable 0 B6 16 W H M DT iy Cache Enable 0xB6 15 Query NW Cache Misses 086 13 Check Query NY Cache Pinned Set OxB6 12 Remove LB 4 2 From NW Cache Pinned 0 B6 11 Return From NY Cache Power Mode OxBB 1 Set NY Cache Power Mode OxBb NCO Queue Management 063 Data Set Management Os E Any Command Figure 2 58 SATA ATA Command Pattern Dialog Court Expected El SAS vs SATA Not available in SAS Click the down arrow next t
254. pp E a ere es x Clock Memory Serdes Crosspoint Main FPGA Expansion LED Buzzer The LED board shows Following patterns 1 Of 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 ON and start Moving Save error details Cave Ih C Program Files LeCronLeCroy 5474 Protocol SuitesUserkErrors detail elf E i Append eror details ale Number OF Run Each Test f Run All Tests Sequentially Start LED Buzzer Check Close Figure 3 148 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 225 LeCroy Corporation Help Menu Find DUT Saving device information allows you to import the specific device information into the Target Device emulator 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 E File Setup Session Analysis Navic TaY out amp Preemphasis User Defined Decoding External Trig Setting Update Device All Connected Devices Power Gn GUT
255. primitives and unassociated traffic zoom tile views and select ports iew Toolbar 2 PPR OM R S eae ch wT ri Positi ao DR Y Position Packet No 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 The Search button opens the search dialog see Search on page 178 The Filtering Setup button opens the Filter dialog see Filtering on y page 167 and allows you to specify the criteria for filtering the result The Enable Disable Filtering button toggles the result between a filtered and P unfiltered view see Filtering on page 167 IDL The Filter Idle button toggles the display to show hide idle packets see x Filtering on page 167 The Hide RRDY Primitives button toggles the display to show hide RRDY T primitives see Filtering on page 167 The Hide Unassociated Traffic button toggles the display to show hide unassociated traffic see Filtering on page 167 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Running Verification Script Engine VSE LeCroy Corporation do o b x a Go To Menu Locate Cursors The Hide All Primitives button toggles the display to show hide all primitives see Filtering on page 167 Note When capturing PM traces you
256. ption window 162 Show Device Library button 286 Show Device Library command 235 310 Show Field List as embedded In frame spreadsheet views 209 Show Field List in Column View 209 Show Grid 162 Show Library command 235 Show Output 162 Show Output command 235 Show Sector Count instead of Xfer Length 207 Show Trainer command 235 Show Warning in Search Primitive In Column View 208 Show XXXX value 93 Show Hide CMD packet in results display 183 Show Hide Command queue in results display 184 Show Hide Compare 2 Data Payloads button 158 Show Hide DLLP packet in results display 183 Show Hide Field 188 Show Hide Link Packet button 183 Show Hide Physical Packet in results display 183 Show Hide TLP packet in results display 183 Show Hide Transport Packet button 183 Simulation Mode 27 Sleep statement 295 SMP Command report 138 SMP frame 60 SMP Frame Pattern dialog 60 81 SMP Transport report 137 Snapshot mode 69 Soft Reset dialog 86 Software default 204 software installation 17 software settings 203 sorting column content 151 Spec View 186 Spread Sheet Color Setting 206 Spreadsheet View 31 spreadsheet view 120 SSP Frame 61 SSP Frame Pattern dialog 61 SSP Frame Type dialog 82 SSP Transport Report 136 State 243 statements 291 Statistical report column setting 147 content SATA 130 options 131 save as text 145 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Index Statistical Report tool
257. pts dialog opens from which you choose and then run one or several verification scripts uz LeCroy SAS Protocol Suite Run verification script s C Program Files LeCroy SAS Protocol Suite User SampleSegi scs 0 x ik File Edit View Configuration Project Setup Filtering Report Tools Window Help x pke 11 T1 i2 ET29f13 ET3 ifla tT saS em EE O Fecod S m n S 1 4 3 E PY 05 K il BO mw E lili EE M0 BE p Lok Trp App GF Y Result Example SATA ATAPI Verification Script Provides an example of processing of SATA ATAPI traffic at the ATA command level Verification script YS ATAPI SCSI commands count sample_ata_commands This script counts some specific SCSI commands that is issued by ATAPI commands YN sample_ssp_protocol These SCSI commands are counted is SMP_Discover4ndReporT racking Inquiry Read 10 Write 10 ModeSelect 10 and ModeSense 10 O Runscripts ATAPI SCSI commands count 3 Expand Log Save Output 3 Settings Done XtoY Ons toT Ons YtoT Ons For Help press F1 TxWout Disabled Initiator Emulator Stop Target Emulator Inactive amp Simulation Mode Stop Figure 3 72 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 s
258. r Switch to CATC Navigation Packet view will open in CATC mode Reverse Link Data The software shows DWORDs of link data as reversed Sierra M6 1 SAS SATA Protocol Analyzer User Manual 205 LeCroy Corporation Spread Sheet View Tab Pack Repeated Primitives The software packs repeated primitives just after opening a sample file Cancel button kills upload immediately The software kills the uploading process if you press Cancel Close previous sample file when new sample file opens When you want to open a new sample file the software closes any open sample files Create statistical report read write page The software creates a Read Write page in the statistical report Enabling this setting displays the Read Write Stream DMA command in the Read Write page Spread Sheet View Tab Software Settings General Sample viewer Spread Sheet View Column Mier Field List view Color Setting M Repeat decoded command in frame column M Decode CDB of Commands Show Sector Count instead of XFER Length Based on Cell Type Based on Port No Based on Read Write Command Type El Based on Specific Command Type Anchor the Selection bar Set the Anchor row as sync point Set as Factory Cancel Figure 3 128 SATA Software Settings Dialog Spread Sheet View Tab The SAS Software Settings dialog has the same options except that it does not have Show
259. r state gt a File Libr File Libr For Help press Fl CAP NUM SCRL Figure 4 40 Example 8 Bottom Half of Scenario 282 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Example 9 Creating a Sequence With Many States 2 LeCroy Corporation Example 9 Creating a Sequence With Many States 2 In this example a five state sequence not only detects if a group of primitives is received out of order but it fixes any incorrect order The logic is similar to that of example 8 with a few small changes The following table summarizes each state TABLE 4 11 Example 9 Logic of Sequence 0 State Wait for Align 0 Wait for Align 1 Wait for Align 2 Wait for Align 3 Indicate Error Description When an Align 0 is received go to 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 If an Align 2 is received next go to Wait for Align 3 otherwise replace primitive with Align 2 and go to Indicate Error If an Align 3 is received next restart test otherwise replace primitive with Align 3 and go to 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 seque
260. r 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 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
261. re 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 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 105 LeCroy Corporation Project Settings 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 90 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 98 Creating a Data Block You can create the following types of data blocks for use with data fields O Random data pattern U Custom data pattern specifically for your app
262. re should operate in the following humidity range a 10 to 90 RH non condensing 16 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Installing Your Analyzer LeCroy Corporation Installing Your Analyzer Software Installation The SAS and SATA software works on systems using the Windows XP Windows Vista Windows 7 Windows Server 2003 and Windows Server 2008 operating systems 64 bit Windows OS is recommended because it allows using more RAM memory Other Operating Systems limit the RAM to 3GB Note on the Windows Vista Operating System If the SAS or SATA software does not open right click the SAS Protocol Suite or SATA Protocol Suite icon and select Properties to display the Properties dialog Select the Compatibility tab Check to Run this program in compatibility mode for Windows XP Insert the Installation CD ROM into the CD DVD drive on the host machine 1 The installation automatically starts setup unless Auto Run is off In that case select the CD ROM from My Computer and click Setup 2 After the warning to close all other programs and before starting the installation the Install component selection opens 3 Select components for installation 4 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
263. reak 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 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 QO 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 a Menu Driven Interface Allows easy set up of test scenarios QO API based on C Allows development of custom test applications a 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 SA
264. report data in columns with the following information a Function All Custom Discover Report General Report Manufacture Information Report PHY Error Log Function Result SMP Function Accepted Direction All I gt T T gt l or Custom Duration All Custom or time unit Count All Custom or a number of total count DOCOCOO O General Primitive SSP Transport SMP Transport STP Transport ATA Command SCSI Command SMP Command Task Command SAS Address Protocol Error Performance Lanes Others Function Result Direction Duration Yo All y y SMP Function Accepted I gt T 186 666 671 75 ns Function Al y Report General Discover SMP Function Accepted 1 gt T 3 519 999 98 us 12 48 00 Report Phy Error Log SMP Function Accepted I gt T 2 559 999 94 us 12 48 00 0 00000627 25 100 00 Figure 3 39 SAS SMP Command Report Task Command Report SAS To display the Task Command Report click the TASK Command tab The Task Command Report displays the report data in columns with the following information see Figure 3 40 on page 139 a Function Status Direction All I gt T T gt l or Custom Duration All Custom or time unit Count All Custom or a number of total count DOCOUCOD 138 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Statistical Report Content LeCroy Corporation 0 00000043 Figure 3 40 SAS TASK Command Report SAS Address Report S
265. riginal Capture Project Unknown Licensing Information Unknown Simpass Information Unknown Close Figure 3 3 Trace Properties Dialog Analysis The Analysis menu options allows you to see the trace in various views and switch views Show 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 117 Decoding Assignments Show Hide Column View Show Hide Text View Show Hide Histogram View Show Hide Waveform View Data Report Show Analysis Toolhar Show Hide Bus Show Hide Field List View Utilization View Compare 2 Data Show Hide Spreadsheet View Payloads Show Hide Packet View Show Hide Statistical Report View Running Verification Scripts Figure 3 4 View Type Toolbar Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis LeCroy Corporation 08 LeCroy 545 Protocol Suite Enclosure Service scs El File Setup Session Analysis Navigation View Window Hi i T Trainer LE Decoding Assignments E c fink Te Fre gt E Packet view H Spread Sheet view Column View Text View Field List wiew Wave Form Vie Statistical Report Histogram Bus Utilization Data Report ESE JOA Compare 2 Data Payloads S45 Verification YSE aj Figure 3 5 SAS Analysis Menu Fie Setup Session analysis Navigation View Wi
266. rimitive HARD RESET 1 O a No change al No Jump Else lf Bus Condition x Nochange NoJump Else lf Timer 1 Elapsed mal l O No change State 0 El Else It w1 O No change NoJump Capture Everything Exclude Idle C Exclude Ox Nothing C Exclude DOB Signal PF Exclude RADY O Patter C Exclude ALIGN Exclude NOTIFY C Exclude SATA_CONT C Exclude SATA_SYNC Exclude Payload except Dword Advanced switch to Easy mode Multi Sequencer Port 11 77 amp Add State J 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 S0 Start Capture Everything Exclude tems Idle Notify Bus Condition then Go To State 2 State 1 81 State 1 o Pattern Else If Else If Else If Capture Everything Nothing Pattern TN Timeout 346 Micro Second ma Cont Trig Timer Ext Qut GoTo 1 K Nochange Statel w1 O No change Z NoJump Eg 1 O m No change NoJump E No change NoJump Exclude Idle Exclude OOB Signal C Exclude ALIGN C Exclude SATA_CONT Exclude Payload
267. rom capture highlight it in the Project tree and click the lt lt Remove button 54 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Patterns and Data Capture Setup Pre and Post Trigger Data Capture LeCroy Corporation You can define one set of patterns for capture prior to the occurrence of a trigger and another set of patterns for capture after the occurrence of a trigger The selection and setup procedure is the same for both Pre Trigger capture and Post Trigger capture 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 C Everything T Exclude SATA_CONT T Exclude SATA_SYNC T Exclude OOB Signals Exclude Xxx Exclude Payload except fo Dword s Pattern Parameters STP Frame Address Frame SMP Frame SSP Frame Data Pattern Protocol Errors l Exclude patterns V Define different patterns for pre trigger and post trigger data captures 3 Easy switch to Advanced mode E Pre Trigger Capture Y Include Xx Y Include SATA_SYNC Y Include SATA_CONT Y Include DOB Signals Y Include Payload of Data Frame P Address Frame Any Address Frame Type P SMP Frame Any SMP Frame Type fA Trigger Non Sequential Post Trigger Capture Everythingl Exclude NOTIFY Include lt lt Include SATA_SYNC Include SATA_CONT Include 00B Signals Include Pa
268. roperties dialog box As you did in example 1 of this chapter choose RRDY Normal as the first primitive that you want to monitor Click the add combined event prompt to add a second event Replace RRDY Normal or RRDY Reserved 0 bx Mo action specified For the event RROY NORMAL From Initiator in Global Rules Click here to jump to the p Scenario Name Replace BRDY Normal or ER Reserved 0 Description Wait for BRDY Normal or BRDY Reserved 0 and replace with ERROR Direction for traffic changes From Initiator Global Fules Wait for REDDY NORMAL from Initiator Click here to add an action hm Click here to add a Sequence gt E For Help press F1 Figure 4 23 Example 3 Entering the Second Event The Event Properties dialog box appears Choose RRDY Reserved 0 as the second primitive that you want to monitor Click OK to close the Event Properties dialog box In the Global Rules area click the prompt to add an action to display the Action Properties dialog box In the Type list on the left choose Substitute SAS Primitive as the action that you want when either RRDY Reserved O or RRDY Normal occurs Click OK to close the Action Properties dialog box Sierra M6 1 SAS SATA Protocol Analyzer User Manual 265 LeCroy Corporation Example 3 Creating OR Conditions 10 In the File menu select Save Scenario to save the scenario d Replace RRDY Normal or RRDY Reserved 0 box
269. rotocol Errors Double click Protocol Errors in the Pattern window to open the Protocol Errors dialog Protocol Errors 5 E E x Protocol Errors O Code Violation O Disparity Error O ALIGN Eror Cancel O STP Signaling Latency Error O STF Invalid State Transition Unexpected Primitive O STF Invalid State Transition Primitive Timeout O Frame Type Error O Frame Length Error O Frame Direction Error O CRC Error O ACK NAK Timeout O Delimiter Error Check ll Uncheck All Mi Pi Fi Ti PF T2 PT Check All Uncheck All Count Expected number of occurences on each link f 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 78 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup LeCroy Corporation STP Frame SAS only Double click STP Frame in the Pattern window to open the STP Frame dialog STP Frame Type E x Format Binay i Hexadecimal Cancel FIS Type Show Reserved and Obsolete Parameter FIS Type 027 Register Host to Device PH Port C Command Features LEA Low LBA Mid LBA High Device LBA Low exp LBA Mid exp JE EEE EEES Mi Fi Pe Fl hr Ti PT Pri T T4 Check All Uncheck All Count Expected number of occurences on each link fi Figure 2 50 SAS FIS Pattern Dialog SAS vs SATA Not availab
270. rotocol Errors selection dialog Protocol Errors e o x Protocol Errors Code Violation C Disparity Error O ALIGN Error _ Cancel O FIS Signaling Latency Error O FIS Invalid State Transition Unexpected Primitive O FIS Invalid State Transition Primitive Timeout L Frame Type Error L Frame Length Error O Frame Direction Error C CAC Error O Delimiter Error Uncheck All Port EA MH PA FA FH Mol Fu Fo Fo Check All Uncheck all Figure 2 21 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 Check protocol error s to omit or not capture then click OK Sierra M6 1 SAS SATA Protocol Analyzer User Manual 57 LeCroy Corporation Protocol Errors Protocol Errors 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 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
271. rra Analzers 13 10 13 10 POE C Program Files LeCroy s Update All Sierra Emulators 23 170 23 10 PES C Program Files LeCroy s Sierra Analyzer 33 10 3310 PUES C Program Files LeCroy s Sierra Self Test 4312 43 12 MBE C Program FilestLeCroyaS Sierra Infusion A 20 PGE C Program Files LeCroy s hf Sierra Trainer i Pose a Figure 3 134 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 213 LeCroy Corporation Update Device 214 SSS A Please wait until device 5NW 61475 restarts E Sierra device 5W 61475 updated successfully 1 Figure 3 135 Info Dialog Then the update is complete Device Setup Dev Mame Slerra Sierra Sierra Sierra Slerra Sierra Sierra m r m E m r he Type Firmware Analyzer 2 Emulator 2 Analyzer Self Test Infusion Trainer Cur 1 06 13 10 23 10 33 10 4312 53 20 Reg 1 06 1310 23 10 33 10 4312 53 20 File Name Update Selected GEM C Program Filess LeCrovp 5 DOES C Program Files s LeCrop s Update il GEM C Program Files LeCrop s DOES C Program Files LeCrov 5 DOES C Program Filess LeCrovp 5 DOES C Program Filess LeCrovp 5 les LeCroyss lose Figure 3 136 Device Setup Dialog with DONE Device Status Sierra M6 1 SAS SATA Protocol Analyzer User Manual User Defin
272. rt a Status All Custom Normal Output QO Payload Size All Custom or a number of DWORDs a Direction All H gt D D gt H or Custom QO Duration All Custom or time unit accumulative a Count All Custom or a number of occurrences a of total count E Er S amp A a t Jt gt of 1 Inquiry ATAPI Command N Move x Cursor y General Primitive FIS ATA Command ATAPI Command Performance Others Command Direction Number of FIS Payload Size Status Duration Count eo al e al sj al al 5 Al y al gt fa Mode Sense10 H gt D 1 0 Check Condition 37 733 333 59 us 2 40 00 Request Sense 96 213 333 13 us 2 40 00 Inquiry gt D 36 300 47 439 996 63 us 1 0 00017139 5 100 00 Figure 3 47 SATA Queue Command Report 142 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Statistical Report Content LeCroy Corporation PM Statistic Report SATA To display the PM Statistic Report click the PM Statistic tab The PM Statistic Report displays information in the following columns O Request Type PMREQ_P Request Port Response Type All Custom PMACK Response Time Request Entering Delay Response Entering Delay Wakeup Type Request DC Idle Time Response DC Idle Time Request Wakeup Time Response Wakeup Time Count All Custom or a number DOODODDODOODoUOo Oo a En SA T J gt of 1 PMREG_P PM Statistic Move x Cursor ai Bus Condition FIS ATA Command Read Write Command isi Performa
273. s L iena M6 4 5N 62342 Masis_M6 4 Selected Device Id 0x00104C00F 26 a 4 Networks Refresh Device list Close Figure 1 16 Select Device Dialog Displaying Unit 1 and Unit 2 Chained Sierra M6 1 SAS SATA Protocol Analyzer User Manual 25 LeCroy Corporation Launching Your Analyzer 26 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 Connecting over Different Subnets If the Host PC 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 PC 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 12 on page 24 TCP and UDP Ports Must Be Open to Connect over Ethern
274. s Eror Injection User Defined Commands Settings Notes Media Setting SAS Address 5000E85000000100 H Average Access Time 1 ms Data Frame Payload Size 1024 Byte s Number Of Areas fi Logical Block Size 512 Byte s Start Address End Address Area Type 10 AH Circular Writable Linked Command Expired Time 1100 ms ALIGN Transmission Period 2048 Dword s Target Emulator Port Activate Device fi times 1 0 T10 3 0Gbps Period of activation fi 000 ms Port 5 0Gbos hs Activate emulator with old settings Y Enabling Muxing on 11 T1 Ports Configuration Advanced Figure 2 72 Target Emulator Check Box and Channel Speeds Sierra M6 1 SAS SATA Protocol Analyzer User Manual 97 LeCroy Corporation Advanced Mode User Defined Note Analyzer must detect MUX primitives from both host and device sides to capture traffic correctly in Muxing mode Add a Project Note To enter and save information about the current project click the Notes tab and enter the data about the project Pre T rigger Capture Trigger Post Trigger Capture Settings Notes Project Name SASProtocol4nalyzer2 Note R Creation Date 08 04 1 3 on Tuesday Jul 08 08 Last Modified Not saved yet Project Tree SASProtocolAnalyzer2 a 8 Pre Trigger Capture Exclude Include Ox Include SATA_SYNC Include SATA_CONT Include OOB Signals Include Payload of Data Frame Exclude Idle
275. s 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 you turn off the Smart Hold option the port does not send HOLDA when it detects a HOLD primitive during a SATA frame Sierra M6 1 SAS SATA Protocol Analyzer User Manual 249 LeCroy Corporation Scenario Events Scenario Events A scenario is a script you create using simple mouse clicks and text entries As you work the script takes shape in the scenario area of the application display You can think of the 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
276. s procedure To load a previously saved configuration file click Load and choose an appropriate file Sierra M6 1 SAS SATA Protocol Analyzer User Manual 199 LeCroy Corporation Set Port Alias Set Port Alias Port Alias allows you to assign a meaningful name to each port to assist in interpreting the results displayed in the sample view To assign port names in an open sample view select Setup gt Set Port Alias TC x Figure 3 122 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 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 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 200 Sierra M6 1 SAS SATA Protocol Analyzer User Manual SAS Address Alias SAS only LeCroy Corporation 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 To assign SAS address names in an open sample view select Setup gt Set SAS Address Alias SAS Adress Alias E SAS Address Hash Address Alias Hame 500062600000074 FFFF54 Intrasever es 500
277. s the Exclude Idle checkbox Capture Trigger Settings Notes Project Tree SASProtocolAnalyzer2 C Everything Exclude SATA_CONT Capture Exclude Pattern Exclude SATA_SYNC V Exclude Idle Include XOX T Exclude GOB Signals Exclude Xx Exclude Payload except fo Dword s Y Include SATA_SYNC Y Include SATA_CONT Y Include DOB Signals Y Include Payload of Data Frame Y Exclude Idle Parameters Pattern Primitive P Primitive AIP NORMAL STP Frame P Address Frame Any Address Frame Type P SMP Frame Any SMP Frame Type Address Frame z Trigger Non Sequential SMP Frame Ad SY Settings a SSP Frame Trigger Position in Memory 50 Data Pattern Remove Capture Memory Size 10000 KB Primitive Response Timeout 16384 Dword s Speed 3 0 Gbps 11 T1 12 T2 13 T3 14 T4 Descrambling Enabled Align Transmission Period 2049 for SSP 258 for STP 59 Connection Details Simulation Mode Protocol Errors V Exclude patterns l Define different patterns for pre triager and posttrigger data captures E Easy switch to Advanced mode Collapse All Expand All Figure 2 17 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 different Pattern Parameters see Patterns and Data Capture Setup on page 53 To remove an item f
278. sStop Beep WaitForStop Stop Disabled E Run S N 12871 Port 1 DISCOVER lt Click here to add another script command Run S N 12871 Port 2 REPORT PHY LOG ERROR L Click here to add another senpt command h Enabled Label 0 IF IsStop S N 12871 Port 1 THEN Beep 40 Hz 20 ms ps lt Click here to add another script command gt Goto Label 2 lt Click here to add another seript command gt L Label 1 ELSE Beep 40 Hz 20 ms Click here to add another script command gt Goto Label 0 lt Click here to add another script command gt END IF Label2 Run S N 12871 Port 1 ZONED BROADCAST Click here to add another script command gt 292 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Batch Files LeCroy Corporation 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 a Serial Number Serial number of hardware QO Scenario Name Name of scenario QO Target Port Port number in port map Example Run ox841200 Substitute address frame 4 Beep 800 400 RUM oxe4i1200 CRE Inject Play CD 3 WaLLCEorstop 0x63463 gt Lp 1 50 Run 0x841200 Remove Send Cue Shee
279. se Timestamp gt DB e Trigger Position A Position Y Position Packet Mo Time Stamp Bookmark Begin End Figure 3 77 Time Stamp Enter a time stamp value in the Go To Timestamp dialog and click OK Go To Time Stamp x Move X Cursor ox Figure 3 78 Go to Time Stamp Bookmarks Bookmarks are a convenient way to mark a point in the data viewer display by name so that you can rapidly return to that point To create a bookmark right click the mouse in the data viewer area on a packet in which to place the bookmark Trigger Position A Position Position Packet Mo Time Stamp Bookmark Begin End Figure 3 79 Bookmark Click Bookmark from the fly out menu to open the Bookmark Comment Dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual Running Verification Script Engine VSE Running Verification Script Engine VSE LeCroy Corporation mal x Bookmark Name Bookmark Description e MV Sort bookmarks by start time Start Time Port Layer Packet No Bookmark Description Delete GoTo Time Difference 0 m Save As Baw e Text Excel Save As Close Figure 3 80 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
280. 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 When you choose Miscellaneous an additional dialog displays allowing you to specify the filtering of State Range and or External Signal In see Filter Miscellaneous on page 175 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 177 LeCroy Corporation Search Filter Idle Depending on the Filter Type Hide Show Idle packets in the Sample Viewer are shown or hidden You can quickly filter idles by clicking the IDL _ Filter Idle button This button toggles p o 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 Figure 3 93 Search button to Note Only items captured in the sample file are enabled for search as Search Items Search Sub tems Data Pattern Bus Condition Prirnitiwe Incomplete Frames JAddress Frames 55P Frames SMP Frames STP Frames SC5 Commands SMP Commands
281. shows different speed 1 5G 3G 6G DWORDs Different DWORD cell height shows the duration of the DWORD To display Column View of the current capture click Analysis gt Column View or click the I a Time Stamp E fe oe S425 506 mE Figure 3 13 SAS Column View SATA VWIRM Ime stamp a a Figure 3 14 SATA Column View Right click in the Column View to display commands QO Software Settings O Time Stamp Format LeCroy Format Milli Second Micro Second a Go to Trigger Position X Position Y Position Packet Number Time Stamp Bookmark Begin End O Bookmark QO Goto within Packet SOF EOF Next HOLD Previous HOLD Next HOLDA Previous HOLDA Next Align Previous Align Next R_IP Previous R_IP Note The Column View displays the CRC value To see different formats 10b 8b scrambled and so on select a format by clicking its Tool menu button Resize Columns You can resize the columns in Column View by clicking in the column boundary and dragging the boundary to a new position 122 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Analysis LeCroy Corporation 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 Save As Text Excel Select File gt Save As Text Excel to open the Save As Text dialog For Save As Type select Text Files or Excel Files For Save As Range select All Packets or
282. statement is optional To add an ELSE body click Click here to add else body 4 New Script o b x EEN Label 0 IF IsStop S N 12871 Port 1 THEN Beep 40 Hz 10 ms lt Click here to add another script command gt Run S N 12871 Port 1 ZONED BROADCAST lt Click here to add another script command gt lt Click here to add else body gt END IF New Script 0 L Ws Batch Script is valid Label 0 Run S N 12871 Port 1 DISCOVER Label 1 Sleep 10 ms lt Click here to add another action gt Label 2 IF IsStop S N 12871 Port 2 THEN lt Chick 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 action gt Beep 40 Hz 20 ms lt Click here to add another action gt END IF Sierra M6 1 SAS SATA Protocol Analyzer User Manual 291 LeCroy Corporation Scenario Batch Files Goto Label Goes to specified label Labels can be assigned to each script line Format Goto Label3 Parameters None Example Label3 WaitForsSstop 0x83456 2 100 Run ox01267 Inject CRCOOO 4 Goto Label 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 Run ffi
283. stricted M 7 0000000000000000 SO00ESSO00000001 Baa gt i Target Port Transter Tag H Target Port Transtar Tag H Target Port Transter Tag H XoY S3e0w KIO OTI Figure 2 15 SAS Analyzer Trace Capture Display For details about the results display see Display Manipulation on page 113 and see 52 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Patterns and Data Capture Setup LeCroy Corporation Patterns and Data Capture Setup You can refine data capture by choosing Pattern and then selecting specific patterns for capture Additionally you can define a different set of patterns to capture after trigger To define specific patterns for capture click the Pattern button to display the Capture tab for Pattern Capture Trigger Settings Notes Project Tree Everything T Exclude SATA_CONT YG Capture cy Pattern B Exclude SATA_SYNC A Include t00 Parameters Exclude OOB Signals J Exclude gt 900 lt Exclude Payload except fo Dword s Y Include SATA_SYNC Y Include SATA_CONT Y Include OOB Signals Y Include Payload of Data Frame Pattern A Trigger Non Sequential STP Frame Y Settings Trigger Position in Memory 50 Address Frame Capture Memory Size 10000 KB SMP Frame Primitive Response Timeout 16384 Dword s SSP Frame Ad Speed 3 0 Gbps 11 T1 12 T2 13 T3 14 T4 Data Pattern Descrambling Enabled ae
284. t 2 Goto Label6 Run SPAN T2871 Port Ly DISCOVER Note If the selected ports are busy scenario cannot run and the command will be skipped The result will be written in Log area Stop Stops running scenario by hardware and port name Format Stop Serial Number Target Port Parameters Serial Number Serial number of hardware e Target Port Port number in port map Example Run ox00eZ20 In ect EREOOO 2 Beep 700 500 STOP OxO0S20 2 Goto Label3 Laber Rum ox0 05007 Detect DATA 3 Sleep 40 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 293 LeCroy Corporation Scenario Batch Files WaitForStop Used to wait for occurrence of specified condition Format WaitForStop SerialNumber Parameters a a a Example Run WaitForStop Run WaitForStop ox005007 Stop Target Port Duration Serial Number Serial number of hardware Target Port Port number in port map Duration Integer or random duration in milliseconds In the Command Parame ters Window WaitForStop duration has three options m Infinite Wait until Stop command Random Stop after a random time m Finite time Stop after specified time in milliseconds ox001267 Detect AddressFrame Open Ox345 790 2 Forever ox005007 Detect DATA 4 4 100 2 OXUOLZG IT 2 a Command Parameters Commands Run flsStop Beep GoTo Stop Sleep WaitForStop New band a 0 AT X
285. t 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 4 53333330 US 17 7 02 Open Address Frame I gt T 18 39999962 us 69 28 51 0 00015528 242 100 00 Figure 3 58 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 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 lu button on the View Type toolbar E Y Eme Y Ena E User Defines Zoom ps f f e f A a E PEN TE y 4 f k A u by I S l iz i Figure 3 59 Histogram View Sierra M6 1 SAS SATA Protocol Analyzer User Manual 151 LeCroy Corporation Formatting the Statistical Report 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 Frame SSP Read Data SSP Write Data SMP Frame Address Frame wf FIS w Read Data FIS e Write Data FIS Figure 3 61 SAS Histogram Frames Hide Error Frames Frames with errors are displayed in red To hide error frames from the histogram click the Note
286. t View needs to be open Click on the Field List View icon to view it in a separate window as shown in the following figure SHS On ea O Recod m n S s S a P Py ow K 60 te a ame Ge BH gt e sc Ko D PY ES Trp EEE M mi 2 T2 13 13 14 ma 15 T5 16 T6 17 T7 18 Te la jx amp Relative Time 0 Src SAS Address Dest SAS Address DEN Link Target RD Relative Time Fi r 46 ns q 2616 792153 hr 494917 R_RDY NORMAL MESS 13 ns 3 gt 306 ns gt 213 ns 213 ns 213 ns Transport SSP Frame Type Hashed Dest SAS Addr H a s lt s 3 hr ns 3 45 52 616 792 200 hr 35658 e2 0x07 Response DFFS6A a hn 17 Hashed Src SAS Addr H Changing Data Pointer H ReTransmit H Retry Data Frames H 2 616 792 500 hr PES q 2 616 792 506 hr 213 ns q DAD3E9 213 ns q TLR CONTROL Num of Fill s H Tag H Target Port Transfer Tag H 486 ns P po o i 1 300 us PELO PEA 2 616 792 693 hr 213 ns A Data Offset H gt Info Unit H Retry Delay Timer H i 213 ns q 00000000 000000000000000000000202000000000000 gt o000 A 3 nr q Data Present Status Sense Data Len H Resp Data Len H r 160 ns 33 ns x SSP Frame Type Response 0x07 a El Hashed Destination SAS Address DFF564 Hashed Source SAS Address OADSES Changing Data Pointer 0 ReTransmit 0 Retry Data Frames 0 TL
287. t 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 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 lt gt 12 T2 94 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Ports Configuration LeCroy Corporation Ports Configuration Select the Port Configuration button to display the Set Port Configuration dialog Set Port Configuration Available Functionality by Setup and licensed Features Analyzer Target Emulator Initiator Emulator Jammer Trainer 0 Available TES 2 Available IE Available Y 2 Available y Z Available Out of 2 Out of 2 Out of 2 Out of 2 Out of 2 x oea Cancel Ports Configuration for Current Setup Serial Num SN 61666 OxFOE2 Ports Assignment Figure 2 68 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 All Configurations Filter e Analyzer e Emulator Jammer D Trainer All valid port configurations For SN 61658 Ox
288. ta 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 111 LeCroy Corporation Counter 112 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Display Manipulation Viewer Display After data is captured Recorded the Viewer displays a sample file scs for SAS and sts for SATA in Packet View Address Frame Type Protocol Initiator Port H Connection Rate Features H Initiator Connection Tag H Destination SAS Address H 0x1 Open 0x9 3 0 Gbps S5000E0C 471665000 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 F87BA6ES 765 r L E Link y r NE ae SS O SMP Cmc inati Expander Chg Count D Vendor ld 4 S000E0C42F B5D00 S000E0C 471865000 0x01 Report manufacturer information Product Id 4 Prat Rev Lwl H
289. ta capture Advanced Mode requires license allows you to program custom triggering in and out capturing state jumps and timers see Protocol Analysis on page 37 a 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 see InFusion Overview on page 233 Note The Advanced Mode option has to be purchased separately Getting Started with the Protocol Analyzer To use the software for protocol analysis first select File gt New gt Protocol Analyzer for a new project or File gt Open an existing protocol analysis file sac for a SAS file or stc for a SATA file see Protocol Analysis on page 37 You can also open a scs SAS Sample file or sts SATA Sample file Example files are in the Examples folder You can also use Project Setup gt Last Protocol Analyzer 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 Sierra M6 1 SAS SATA Protocol Analyzer
290. tch to Easy mode r Multi Sequencer Port 1 71 Make Same as Current gt Add State 2 Delete State For Help press F1 TxWout Disabled Initiator Emulator Stop Target Emulator Inactive Simulation Mode Stop Figure 2 74 SAS State Programming Dialog Sierra M6 1 SAS SATA Protocol Analyzer User Manual 99 LeCroy Corporation Advanced Mode User Defined Advance Mode Settings Notes State 0 SO Start State 0 9 oo Pattem Cont Trig Timer Ext Out GoTo 1 Nochange gt NoJump Else If 1 F No change No Jump a No change No Jump EA Else If 1 A No change No Jump gt Capture Set capture setting of all state as state O C Everything Exclude Idle C Nothing Exclude OOB Signal T Exclude 299 Pattem Exclude CONT T Exclude SYNC Exclude Payload except fo Diuword s nens the following Patterns Exclude Bus Condition Primitive FIS FIS Pattern Data Pattern Protocol Errors Advanced switch to Easy mode 7 Multi Sequencer Port 1 71 Make Same as Current Add State Delete State For Help press F1 TxYout Disabled Initiator Emulator Stop Device Emulator Inactive Simulation Mode Stop og Num h Figure 2 75 SATA State Programming Dialog 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 SA
291. tion 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 Scrambling If checked causes the Analyzer to assume that no traffic is scrambled By default the Analyzer assumes the scrambling state of the devices under test Show XXXX value Check this option to display XXXX values ALIGN Transmission Period differs for SAS and SATA Choose the ALIGN Transmission Period for SSP and STP by clicking the corresponding option button 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 x Protocol Errors O Code iolation O Disparity Error O ALIGN Error Laree CJ STP Signaling Latency Error J STF Invalid State Transition Unexpected Primitive CJ STF Invalid State Transition Primitive Timeout O Frame Type Error O Frame Length Error O Frame Direction Error
292. 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 Save as Text file The Save as Text button opens the Export to Text dialog Choose a folder in Er which to save the Text file choose an appropriate file name and click Save Print Statistical Report The Print button opens the select printer dialog Choose an available printer and click OK ll Li Sierra M6 1 SAS SATA Protocol Analyzer User Manual 145 LeCroy Corporation Statistical Report Toolbar Print Preview 146 The Print Preview button displays a preview of the report to print Catalyst Enterprises Inc Senal ATA General irection Count 633 186 70654 us 1000 399 720 001 22 us 999 0 00103291 1999 a rd a Vv O njn Wi O Y L Primitive Primitive ONT H gt D 1000 ONT D H_ 999 H mn y O Lenten na D HD 1o00 D gt H__ 999 HOLD H gt D 1000 HOLDA H H gt H gt D H gt D 1000 DoH__ gt D gt H gt D T v O Len O CES C3 EX gt r ab Flo 999 H gt D 1000 RAADY H gt D 1000 ROY__ D gt H___ 999 _ H gt D 1000 pH 999 H gt D 1000 D gt H 999 H gt D 1000 D gt H 99 X ROY H gt D 1000 X ROY D gt H_ 999 LIGN___J H gt D___ 500 18992 T v O entender ier EII P 2 oa s ps Vi
293. to LIDET ninio a aa a a O 292 U a A E EE A O AA EE E E EE A TA 293 Sia io iaa 293 Walt ESO ii atadas 294 BECO anen E E EEE 295 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 11 LeCroy Corporation Contents Appendix A Creating a Pattern Generator File cccsscccssecseseceeeeeseseeeeoees 297 TOY MOTO Seco E T 297 COMMEN TOMA licua inicia 298 Primitive definition TO Mad ace es ee ee cae ivevteeei ees cacaevenictedhens cde 298 OOP dennin Torma s a 298 Scramble defintion TO Mad o a rea 298 Role CETINITION TO Maldini das 298 END OF FILE de Into sia 298 Example Pattern Generator Pile asirios 299 Appendix B China Restriction of Hazardous Substances Table 301 W ANODe AU ON pide 302 Appendix C How to Contact LeCroy ooonccocccconcccnonoccnnnccnonccnnnnncnnnnonanarnnnnnnnananos 303 MOCI aceite sce oe ee eects E a 305 12 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Introduction This manual describes installation and operation of the LeCroy Sierra M6 1 Protocol Analyzer and includes examples of typical applications HO OOOO DO OOOO Trig Error Link Spd Fr OOB SAS SATA 6Gbps Sierra M6 1 Power Status Device Figure 1 1 LeCroy Sierra M6 1 Protocol Analyzer 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 an
294. to open the ATA Command Pattern dialog ATA Command Pattern E 2 xl Format ae Binary f Hexadecimal Cancel Command fa Show Reserved and Obsolete Parameter Command Any Command Features Sector Number Cylinder Low Cylinder High DEV Head Sector Num exp Cylinder Low exp Cylinder High exp Se 38 St 52 Se St 32 Se B Features exp Mi Pre Pi Fi Gi ore ore ar Check All Uncheck All Count Expected number of occurences on each link f Figure 2 47 SAS FIS Pattern Dialog SAS vs SATA SATA Dialog has different dropdown options Click the down arrow next to the Command dropdown list scroll the list to choose a command to trigger on and click OK Sierra M6 1 SAS SATA Protocol Analyzer User Manual 75 LeCroy Corporation Trigger Setup A powerful triggering choice is Any Command which causes the analyzer to trigger on any ATA command ATAPI Double click ATAPI in the Pattern window to open the ATAPI Pattern dialog a x Type Format Any ATAPI Command MMC 6 SPC 4 SSC 2 C Binary Comani TE awc TEREE gt Hexadecimal _ Cancel COB Type Any CDB Type y Any CDB Type I Show Reserved Ee cmni 12 Byte Command Par 16 Byte Command Operation Code Long LBA 16 Byte Command PM Port A vn Fi rra Pi E LA EE Check All Uncheck All Count Expected number of occurences on each link fi Fi
295. traffic change 2 As in previous examples create the five states for this sequence 280 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Example 8 Creating a Sequence With Many States 1 3 Align Test Scenario Name Aliqn Test Description Detect incorrect order of Aligns Direction for traffic changes Global Fules l Sequence Click here to add an event Wait for A4licgn El Wait for ALIGN 0 from then Branch to Wait Click here to add anothe Wait for Alignl El Wait for ALIGN il from then Branch to Wait Wait for ALIGN 0 from OR ALIGN 24 from OR ALIGN 3 from then Branch to Error Click here to add anothe E Wait for Aliqnz El Wait for ALIGN 2 from then Branch to Wait El Wait for ALIGN 0 from OR ALIGN il from For Help press Fl From Initiator Initiator for Alignl E event Initiatori for Alignz Initiatori Initiatori Initiatori Detected Er event Initiator for Align3 Initiator Initiator LeCroy Corporation In the File menu select Save Scenario to save the scenario Scenarios li A and beep when it happens E SequeNCES GH Align Test Sequercer exa 7 Click here to add combined event Click here to add another action Click here to add combined event Click here to add another action Click here to add combined event Click here to add another action Cl
296. ttern must occur before triggering or proceeding in the trigger sequence Count Expected number of occurrences i a Figure 2 62 Number of Occurrences Note The events on each link are counted independently causing a trigger whenever the number of occurrences on any link equals the specified value Triggering Order As triggering patterns are defined and added they are displayed in the Project Tree sequentially in the order that they were entered under the Trigger category When the project runs the 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 A Trigger On Sequential P Other Triggers External Trig Positive Edge P Symbol K28 3 P Timer 1 Mili Seconds P Primitive BROADCAST RESERVED 1 P Symbol K28 3 Y Settings lt lt Remove Y Trigger Position in Memory 50 Capture Memory Space 200 KB EJ Primitive Response Timeout 20 DWORD Run Pattern Generator Off al Enable 10 8 Decoding Enable de scrambling Figure 2 63 Triggering Order 88 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup LeCroy Corporation Pre Trigger You can set the amount of data to capture before and after the trigger as a percentage of pre trigg
297. 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 244 Sierra M6 1 SAS SATA Protocol Analyzer User Manual InFusion Scenarios LeCroy Corporation Scenario Libraries You can create any number of scenarios which you then can archive on your PC hard drive You also can download up to ten scenarios to each InFusion device for test execution You can think of the libraries as windows that hold scenarios 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 PC hard drive default infdb File Libraries You can save the main library with a name other than default while still using the infdb file extension The new file becomes a file library that is functionally equivalent to the main library with the following exception It does not open by default in the Main Library window You can navigate to other file libraries using the File Manager of the InFusion applicati
298. ual Example 7 Creating Two Sequences and Global Rules 19 In the File menu select Save Scenario to save the scenario New Scenario O Sequence State O Wait for Address Frame OxO00 IDENTIFY FO AddressFremeType Value 4 Bits Ox00 IDENTIFY Mask From Initiator Click here to add combined event then Branch to State 1 Click here to add another action Click here to add another event gt State 1 Wait for Address Frame x00 IDENTIFY FO AddressFremeType Value 4 Bits Ox00 IDENTIFY Mask From Target Click here to add combined event then Beep 1 s Click here to add another action Click here to add another event gt Click here to add another state Sequence 1 E State O E Wait for Address Frame Ox00 IDENTIFY FO ddressFremeType Value 4 Bits Ox00 IDENTIFY Mask From Initiator Click here to add combined event then Branch to State 1 Click here to add another action Click here to add another event gt State 1 El Wait for Address Frame Ox00 IDENTIFY FO ddressFremeType Value 4 Bits Ox00 IDENTIFY Mask From Initiator Click here to add combined event then Beep 2 s Click here to add another actior Click here to add another event gt Click here to add another state Click here to add another sequence LeCroy Corporation J4 b 2 Status Wok saved a bl Ox F OxF OxF Ox F Figure 4 38 Exa
299. ue 1 Bit F11 SMPtargetPort Mask F12 STPhargetPort Value 1 Bit F12 S5TPtargetPort Mask F13 S55PtargetPort Value 1 Bit F13 S5PtargetPort Mask Fl4 Reserved Value 4 Bits Fl4 Reserved Mask F15 DeviceName Value 64 Bits F15 DeviceN ame Mask FI6 SAS address Value 64 Bits FI6 SAS address Mask Fl PhylD alue 8 Bits Fl PhylD Mask F18 BreakReplyCapable Value 1 Bit F18 BreakRepliCapable Mask F19 ReguestedinsidePSDS5 Value 1 Bit F19 Requestedinside PS05S Mask F20 Inside PSDS persistent Value 1 Bit F20 Inside PSDSpersistent Mask F21 Reserved Value 5 Bits Fel Reserved Mask Fe Reserved Value 48 Bits L dm L _ 2101 x Event le Ho 1 From Initiator Ox00 IDENTIFY F 0x00 Reserved o o o 0x00 Unknown reason ao OOOO 0x00 indicates that an SMP initiator port is not present O 00 indicates that an STP initiator port i not present 0x00 indicates that an 55P initiator port is not present oo coo Oo O 00 indicates that an SMP target port i not present 0x00 indicates that an STP target port iz not present 0x00 indicates that an SSP target port iz not present 0 o ooo0o000000000000 oooo000000000000 godogod oooo000000000000 OOOOO0000000 FO AddressFramel ype Yalue 4 Bits Format Hes Indicates the type of address frame Figure 4 13 Event Properties Dialog 250 x Cea Zi Sierra M6 1 SAS SATA Protocol Analyzer Us
300. ult 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 the Setup menu option and select Preferences gt Software Settings Click on the Trace Viewer tab Check the box Create statistical report read write page see Figure 3 25 on page 129 128 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Statistical Report LeCroy Corporation Software Settings General Sample Viewer spread Sheet View Column view Field List View Open Sample File In Optimization i Default Workspace W Sampling memory usage optimization As Previously Saved IY Quick View 7 More Info Cancel button kills upload immediately Switch to CATE Navigation V Reverse Link Data Close previous sample File when new sample File opens Pack Repeated Primitives 4 Create statistical report read write page Cancel Set as Factory Figure 3 25 Enabling Read Write Statistical Report Note This settings 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 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 l
301. ure 2 52 SAS SMP Frame Pattern Dialog SAS vs SATA Not available in SATA Click the down arrow next to the SMP Frame Types dropdown list then scroll the list to choose an SMP frame type on which to trigger Then click the down arrow next to the Function dropdown list choose a function and click OK Sierra M6 1 SAS SATA Protocol Analyzer User Manual 81 LeCroy Corporation Trigger Setup SSP Frame SAS only Double click SSP Frame in the Pattern window to open the SSP Frame Type dialog SSP Frame Type E i x Format OF SSP Frame Type Any Type s r Binary OK iw Tene Hexadecimal aa FT Show Reserved a FER RADY Command Para Response SSP Frame Type Destination 545 Address Source 5 45 Address EEE Changing Data Pointer ReTransmit TLA CONTROL Number of Fill Bytes Tag PDA Target Port Transfer Tag PRA Data Offset tte eee eS J 7 Retry Data Frames 2 7 7 Rin Pf i Fig m Ere lis Check All Uncheck All Count Expected number of occurences on each link fi Figure 2 53 SAS SMP Frame Type Dialog SAS vs SATA Not available in SATA Click the down arrow next to the SSP Frame Type dropdown list scroll the list to choose an SSP frame type on which to trigger and click OK 82 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Trigger Setup LeCroy Corporation SCSI Command SAS only Double click SCSI Command in the Pattern window to open the S
302. ures DOF 01 and DOF 02 The PHY Test Group has tests OOB 03 through OOB 07 OCDOO O 2 Choose the tests in the left pane of the dialog and click the Add gt gt button 3 Enter a value for Capture Timeout Note If test running time exceeds the Capture Timeout value the test terminates Enter the Device Name 5 Select the UTD Version as UTD 1 3 for devices supporting up to SATA 2 6 specification or UTD 1 4 for devices supporting up to SATA 3 0 specification 6 Select the Compliance Type as Host or Device 7 Select the Device Type as ATA or ATAPI 8 When testing SSD devices select the SSD Drive checkbox to ensure correct test results 9 To view failed test traces in the sample viewer check the Automatically load failed test traces into STX trace viewer check box 10 To save the failed test traces only check the Save only failed test traces check box 11 Enter a path and file name for the Compliance Report file or use the default file name and path C Program Files LeCroy SATA Protocol Suite User Compliance_Device1 rtf 12 Enter a path and file name for the Saved Traces or use the default folder C Program Files LeCroy SATA Protocol Suite User 13 After you select tests click Start 14 The test runs and after a brief period displays the result 230 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Help Menu LeCroy Corporation ae Compliance Report file fe program files lecroy sata prot
303. ve Workspace to open a Save As dialog Save the current workspace as a wss file To set a default workspace select Setup gt Preferences gt Software Settings to open the Software Settings dialog In the Default Workspace field enter the path and name of a saved workspace wss file After you open a trace you can use a different workspace Select File gt Open to open to open another trace Select a wss file to open it Sierra M6 1 SAS SATA Protocol Analyzer User Manual Saving a Trace Capture LeCroy Corporation Saving a Trace Capture You can save a Trace Capture for review at a later time using the Save As dialog ix Savein C User My Recent Documents Desktop My Documents fr My Computer My Network File name Places Save as type Sample File F 202 Cancel Range All Samples C From T Cursor To T Cursor O From Mo fi To nof Bookmark From To E Save Filtered Sample F Soply Show Hide Link Setting Figure 2 8 Save As Dialog You can limit the range of the saved file You can save a All Samples arange between selected cursors O arange between selected Idle link commands a range between bookmarks Save Filtered Sample checkbox saves a trace file without filtered data You can Apply Show Hide Link Setting Note If you deselect a port using the buttons on the toolbar and then save the trace on reopening the trace the
304. ve 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 4 Y ACK Inject Error gt x M Scenario is valid Scenario Name If ACK Inject Error Description Wait for ACK inject error Direction for traffic changes From Initiator Global Fules Wait for ACK from Initiator then Inject Bunning Disparity Error 0 y Click here to add a sequence ME For Help press F1 Figure 4 30 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 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 271 LeCroy Corporation Example 6 Using Timers 6 Click the prompt to add an action to correspond with the second event d IF ACK Inject Error IF ACK Inject Error gt x Mo action specified For the event Random Timer Max Time 1 790 57 in Global Rules Click here to jump to th Status Mok saved Scenario Name If ACK Inject Error Description Wait for ACE inject error Direction for traffic changes From Initiator Global Fules Wait for ACK from Initiator lick here to add combined event gt then Inject Bunning Disparity Error Click here to add another action e Wait for Ra
305. vices 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 240 Batch Script Setting see Scenario Batch Files on page 287 Browse UserData System or InFusion folder Help Topics and About InFusion Sierra M6 1 SAS SATA Protocol Analyzer User Manual Interface LeCroy Corporation Main Library You can Show Main Library Main Library ASA ME Be Scenarios nee ee New Scenario 0 Figure 4 2 Main Library The Main Library has Scenarios Using the buttons from left to right you can O 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 0 DODO Sierra M6 1 SAS SATA Protocol Analyzer User Manual 237 LeCroy Corporation Interface File Library You can display the File Library File Library c program files Vlecroy sas protocol suite examples infusion scsi sbc2 infdb DA ole xi scenarios Inject Errors Remove Substitute amp Branch Substitute with Primitive REDUNDANCY GROUP IM SEEK 6 WRITE ATTRIBUTE MAINTENANCE TA Detect ACCESS CONTROL IN Detect Erase 12 Detect INQUIRY Detect Log Select Detect Log Sense Detect LOCK UNLOCK CACHE 16 Detect MEDIUM SCAN
306. viv Oy TIO gt INDI a MIMIOLO 312919 OJO D O Z 2 OJO JEJER tl olil l EES CEY CS ECO EX E E ECO E EC FIS IS Type PM Port H Register Host to Device Apr 14 2006 H gt D 312 266 66260 us Oo egister Device to Host D gt H_ 20969332886 us Set Device Bits OOH 9002666473 us Data Jo eD 31992001343 us 500 IO a TECH 6 ATA Command Write DMA Queued Jo HD Number of FIS___ Paytoad Size Time Normal Output NA DUE eee mt A on e RIFA Figure 3 51 Sample Print Preview of Report Sierra M6 1 SAS SATA Protocol Analyzer User Manual Statistical Report Toolbar LeCroy Corporation Report Display Settings 2 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 SSP Transport SMP Transport STP Transport ATA Command SCSI Command SMP Command Task Command Read Wiite Command SAS Address Protocol Error Performance Lanes Others Check All Reset All Primitive Bus Condition FIS ATA Command Read Write Command Performance Others Check All Reset Ail Figure 3 53 SATA Statistical Report Column Setting Sierra M6 1 SAS SATA Protocol Analyzer User Manual 147 LeCroy Corporation Statistical Report Toolbar Link With Sample View When you sele
307. 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 Stops all scenario activity Substitutes a data DWORD in the traffic Substitutes a SAS primitive in the traffic Substitutes a SATA primitive in the traffic Sends a signal out the trigger port to the device downstream Only shown in Action Properties dialog box when creating a sequence Sierra M6 1 SAS SATA Protocol Analyzer User Manual 255 LeCroy Corporation Scenario Actions 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 actions are triggered Event counters typically have two properties O 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 a 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 s
308. xample 2 Wait for a Primitive and Replace It with an Error 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 1 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 gt 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 dialog 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 19 on page 262 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 s
309. yload of Data Frame Exclude Idle 4 Include RRDY F Settings Trigger Position in Memory 50 Capture Memory Size 10000 KB Primitive Response Timeout 16384 Dword s Speed 3 0 Gbps 11 11 12 T2 13 T3 14 T4 Descrambling Enabled Align Transmission Period 2049 for SSP 258 for STP v 2 Collapse All Expand ll Figure 2 18 SAS Post trigger Capture Dialog Enabled SAS vs SATA SATA Dialog replaces Exclude SATA_CONT with Exclude CONT and Exclude SATA_SYNC with Exclude SYNC SATA Dialog has different Pattern Parameters see Patterns and Data Capture Setup on page 53 Sierra M6 1 SAS SATA Protocol Analyzer User Manual 55 LeCroy Corporation Patterns and Data Capture Setup Defining Patterns To select an item for capture either highlight the category and click the Add gt gt 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 AIP NORMAL Cancel Not Specific To Type OF Connections Port ID Used Only Inside SSP And SMP Connections Used Inside STP Connections W Iv Ti ile mae EE lie BIE M T4 Check All Uncheck All Figure 2 19 SAS Primitive Dialog SAS vs SATA SATA Di
310. ystem 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 QO 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 flexibility 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 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 256 Sierra M6 1 SAS SATA Protocol Analyzer User Manual Scenario Actions LeCroy Corporation Capturing a Data DWORD
Download Pdf Manuals
Related Search
Related Contents
GE JBS55S User's Manual Bedienungsanleitung 2 White Rodgers 2A20-2 Catalog Page Télécharger fiche_technique_e960 TKF2 F2 - Selectronic 取説 vq35de_metacata_日英合体 - TOMEI POWERED USA Inc. Samsung Электрический духовой шкаф BF68CDB , 65 л Инструкция по использованию PDFをダウンロード Conmutador HDMI Kinivo 501BN Copyright © All rights reserved.
Failed to retrieve file