Data Sheet

TeledyneLeCroyCorporation VoyagerM3x/M310/M310CUSB2.0ScriptLimitations
546 USBProtocolSuiteUserManual
11.13 Voyager M3x/M310/M310C USB 2.0 Script Limitations
DuetoarchitecturalchangesintheVoyagerM3x/M310/M310Cdesign,somefeatures
previouslyavailableonUSBTracerandVoyagerM3/M3ihavebeenlimited.
USB2.0scriptsarenowmorelimitedinsize.Hostscriptsarelimitedto64KBytes
(approximately16Klines).ForBitStreammodeemulation,this64Kallowsforonly
32KBytesoftraffic,includingidlebits.Forexample,aFullSpeedFrameconsistsof1
millisecondoftrafficat12MB/second,sothiswouldbe12KBoftrafficjustforone
frame.Soyoucouldsendamaximumtrafficoflessthan3mSec(about2.5frames)
beforethe64Kofmemorywouldbeusedup.
DeviceEmulationScriptsarelimitedto4KBytesperendpoint(approximately1Klinesper
endpoint),withtheexceptionthatEndpoint0(thecontrolendpoint)canhandlemore:it
islimitedto64KBytes(approximately16Klines).
Inaddition,ontheVoyagerM3x/M310/M310C,theabilitytocreatearbitrarybitstreams
(usingraw_data,raw_data_bits,andbit_stuffkeycodes)isnotsupportedforHiSpeed
traffic.Finally,slowspeed(divideby40,divideby80,etc.)generationforHiSpeedtraffic
isalsonotsupported.
11.14 Format of Traffic Generation Files
WhetheryoucreateatrafficgenerationfromscratchorusetheExportcommand,there
areafewrulesabouttheformatofthegenerationfilethatyoushouldreview.Theseare
presentedinthissection.
Trafficisgeneratedfromatextfilenamed*.utg.Withinthetextfile:
ThedataformatfordatafieldssuchasPidsandRawbitsishex.
Eachpacketdefinitionconsistsofthissetofassignments:key=value.
Whitespaceispermittedaroundtheequalsign.
Therearenorestrictionsondividingpacketdefinitiontolinesnorisitnecessary
todefineeachpacketinaseparateline,althoughitisrecommended.
Themaximumnumberofcharactersinalineis250.
Thecharacters#and;indicateend‐of‐linecomments(i.e.therestofthelineis
ignored)
Commentsarenotallowedwithinbrackets().
Nokeysorvaluesarecase‐sensitive.
Eachpacketdefinitionstartswithoneoftheseassignments:
pid=N(whereNisastringrepresentingavalidpacketidentifieroraneightbit
value)
OR
frame=N(whereNisanelevenbitvalueoftheframenumberorthestringsauto
andkeep_alive).
Abusconditiondefinitionstartswithoneoftheseassignments:
reset=N(whereNisapositiveintegerorstring)
suspend=N(whereNisapositiveinteger)
resume=N(whereNisapositiveinteger)
chirp=here