Teledyne-lecroy Sierra M6-2 SAS_SATA Protocol Analyzer User Manual User Manual Page 433

  • Download
  • Add to my manuals
  • Print
  • Page
    / 496
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 432
 Sierra M62 SAS/SATA Protocol Analyzer User Manual 431
Trainer Script Enhancements
Teledyne LeCroy
When there are variable values in RawData, you must include SendCRC command instead
of last DWORD. Otherwise, wrong CRC value will be sent.
The constraints are:
Variables are not allowed on First and LAST DWORD (instead of start/end
frames).
SendCRC is only supported on last DWORD before end of frame.
SendSATAFrame
{
SATA_SOF
SATA_DATA ( 0x11223344 )
SATA_DATA (@variableName1)
SATA_DATA ( 0x55667788 )
#SATA_CRC ( 0x99AACCBB ) # good crc - can be changed to bad
SATA_EOF
}
If SATA_CRC command is not included, trainer engine computes and inserts correct CRC in
pattern.
5.13.6 Timer
Trainer script syntax allows using some timers. You can start a timer anywhere. The timer
current value is loadable on variable to be used in expressions and conditions on this
expression. There are four timers, named A, B, C, and D.
Startingtimer (setting timer value to zero) syntax is:
CLEAR_TIMER_A
CLEAR_TIMER_B
CLEAR_TIMER_C
CLEAR_TIMER_D
Loadingtimercurrentvalueinvariables:
@varName1 =TIMER_A
@varName1 =TIMER_B
@varName1 =TIMER_C
@varName1 =TIMER_D
Example:
CLEAR_TIMER_A
While(@Counter < MaxPeriodCount) {
… @Counter = TIMER_A … }
5.13.7 PATTERN Counter
Trainer script syntax allows you to use counters on a number of defined events in
generation settings.
Syntaxforloadingcountersinvariablesis:
@varName1 = COUNT_REC_RESOURCE_OUTPUT_A
@varName1 = COUNT_REC_RESOURCE_OUTPUT_B
Page view 432
1 2 ... 428 429 430 431 432 433 434 435 436 437 438 ... 495 496

Comments to this Manuals

No comments