Data Sheet

USBProtocolSuiteUserManual 431
Class/VendorDecodingOptions TeledyneLeCroyCorporation
9.1.1 Audio Decoders
DuetoEntityIDmappingissueswiththisclass,itworksbestifthedescriptorsare
capturedinthetracefile.Then,thesoftwarecanmaptheEntityId'stothecorrect
functions.Itisalsopossibletohand‐edittheAudio1.0CurrentEntityIdMap_EditMe.incor
Audio2.0CurrentEntityIdMap_EditMe.inc
filestoexplicitlyapplythismapping.Thesefilesarefoundin:
\Users\Public\Documents\LeCroy\USB Protocol Suite\Scripts\AudioClass
SettingthevalueinthatfileUseCurrentEntityIdMap=1;
willcauseittousethemappingthatyouprovide,otherwiseitdependsonthemapping
foundinthedescriptors.
Iftheautomaticmappinghasoccurredonatrace,thenthedefaultmappingin
subsequenttraceswillusethosevalues,aslongastheapplicationsessionremains.
Hittingthe"ResetDecoding"buttonwillapplythedecodingtoatraceifitwasnotalready
doneautomatically.
Youcancreateyourown.decfileforaClassorVendorRequest.Formoreinformationon
theformatoftheseScriptDecoderfilesandtheScriptDecodinglanguage,readtheScript
DecoderManual.
9.1.2 HID Decoders
TheHIDclassisbasedonHUTtables.Ifthetracecaptureddoesnotcontainthereport
descriptor,thenyoumusteditthefilesuppliedinthe
\Users\Public\Documents\LeCroy\USBProtocolSuite\Scripts\Hid
foldercalled"HIDReportDescriptor_EditMe.inc".Youwillneedtodefinethereportlayout
inthisfile[therearesomeexamplesandtemplates].Also,youmustsetthevariablein
thatfile"UseHIDReportDescriptorItems"to"1"tobeabletousereportlayoutdefinedin
thisfile.Ifthisflagis"0",softwarewilltrytofindreportfromdescriptorintrace,andif
thedescriptorisnotfoundinthetrace,itusesthemostrecentlyusedreportlayout.
Youmayneedtoselectthe"ResetDecoding"buttonindecodingassignmentforold
traces.
9.2 Class/Vendor Decoding Options
Thesoftwarewillautomaticallyassigndecodersbasedontheenumerationsequenceina
recordedfile.Iftheenumerationsequenceisnotcaptured,orifsoftwareassignsan
incorrectdecoder,youmaymanuallyselectadecoder.
Youcanpermanentlyassignaclassorvendordecodingforanaddressand/orendpointor
interfaceinatracefile.Onceassigned,thedecodingoccursautomaticallywhenyou
displaytransactions.