Data Sheet
TeledyneLeCroyCorporation FormatofTrafficGenerationFiles
558 USBProtocolSuiteUserManual
Packet Starting Keys
pid 8bits(0‐0xFF)
or
pidstring
HostGenerationOnly.
Usethisasthefirstkeyofmostpacketssentby
theHost(Exception:Useframe=forSOF
packets).
Thekeyshouldbeassignedtoavalidpacket
identifierstringpertheUSBspecification:
SETUP,IN,OUT,DATA0,DATA1,ACK,PRE,PING,
SPLIT,DATA2,MDATA,EXT,orLPM.
Optionally,youmayassignthiskeyaraweight
bitvaluetoforceanerrorcondition.
Warning:IfyouspecifyPID=0xNN,youmust
useraw_data=()tospecifytherestofthe
packetdata,becausethepacketstructureis
unknown.AdditionalDataisnotrequired.In
general,whatevernumberyouputinherewill
showupasa"BadPID",sinceallthenibble
valuesaredefinedinthespecification.
expected_pid pidstring HostGenerationOnly.
UsethisasthePIDkeyforpacketswhichare
expectedtobesentbythedevice.
InIntelliFramemode,thegeneratorwaitsuntil
thisPIDhascompletedbeforesendingthenext
generatedpacketorbuscondition.
Thekeyshouldbeassignedtoavalidpacket
identifierstringpertheUSBspecification:
DATA0,DATA1,ACK,NAK,STALL,NYET,DATA2,
MDATA,EXT,orLPM.
Thegeneratorenginewaitsforeveruntilthis
expected_pidappears,sotheusermayhaveto
handeditthefiletoachievethedesiredresults.
Forexample,ifaNAKcomeswherethe
expected_pidwasaDATA1,theusershouldedit
the.utgfiletomovethepid=INcommandto
laterinthefilebyinsertingsomeframe=AUTO
idle=TO_EOFpairsbeforeit.Thisallowstimefor
thedevicetobereadyfortheIN.
IfRETRY=TRUEforthisaddress/endpoint,the
NAKsareignoredandtheSOF'saregenerated
automaticallyuntiltheexpectedPIDoccurs.
TABLE 11.3: Support Keys for Defining Fields within a packet. (Continued)
Key Code Format Description