Documente Academic
Documente Profesional
Documente Cultură
15
Contents
Logic&Logic16UsersGuide........................................................................................................................1
InstallingtheSoftware..................................................................................................................................3
InstallationonWindows&Mac............................................................................................................3
InstallationonLinux..............................................................................................................................3
UsingtheHardware......................................................................................................................................4
Connectingthewireharness................................................................................................................4
Logic16Wireharnesses........................................................................................................................4
TestClips...............................................................................................................................................4
ConnectingdirectlytoIDEheaders.......................................................................................................4
DisconnectLogicfromyourcircuitwhentheUSBisunplugged..........................................................4
SafetyandEquipmentProtection.........................................................................................................4
UsingtheSoftware........................................................................................................................................6
QuickTips..............................................................................................................................................6
UsingtheTrigger...................................................................................................................................6
Navigatingthedatadisplay...................................................................................................................6
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
TimingMeasurements..........................................................................................................................7
PlacingTimingMarkers.........................................................................................................................8
SavingandOpeningaSession...............................................................................................................8
ExportingData......................................................................................................................................8
SavingScreenshots..............................................................................................................................10
SelectingtheDisplayRadix(i.e.Hex,Decimal,etc.)...........................................................................10
UsingProtocolAnalyzers....................................................................................................................11
Hiding,unhiding,andreorderingchannels.......................................................................................12
Resettingthetrigger,channelnames,channelorderingandchannelvisibility.................................12
Hidingthechannellabelsand/ortrigger............................................................................................13
Workingwithtabs...............................................................................................................................13
SwitchingbetweenmultipleSaleaelogicanalyzers...........................................................................15
ChangingtheLogic16channels...........................................................................................................16
Crosstalk(andLogic16inputvoltageselection).................................................................................17
SaleaeCommunitySite...............................................................................................................................19
SDKsDeviceSDKandAnalyzerSDK..................................................................................................19
Forum..................................................................................................................................................19
Betasoftwarereleases........................................................................................................................19
DataIntegrity..............................................................................................................................................20
MaximumSampleRate.......................................................................................................................20
Maximumsamplerate,andlongcapturesLogic16.........................................................................21
SafetyandEquipmentProtection...............................................................................................................22
ContactingUs..............................................................................................................................................23
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
OSXTigerUsers:Theapplicationneedstobeunzippedbeforeitcanbeinstalled.
Installation on Linux
1. Downloadthelatestversionfromoursite,here:here:http://www.saleae.com/downloads.
2. Thereisnoinstaller,youcanunziptheapplicationanywhereyoulike,perhapsyourhome
folder,oryourdesktop.Youcanstartusingitonyourdesktop,andmoveitlaterifyoulike.
3. DoubleclicktheLogicexecutabletostarttheprogram.
4. Ifyoulike,makealinktotheLogicapplicationforyourdesktoporapplicationmenuordock.
5. Notethatwhereveryoudecidetoputthelogicapplication,itmustallstaytogetherinthesame
folderstructure,anditmusthavewritepermissions.
6. WhenconnectingtoLogic,youmaygetamessagefromtheapplicationthatitdoesnthave
permissionstoconnecttoLogic.Ifthishappens,runtheinstall_driverscriptintheapplications
Driverfolder.
32bitvs.64bit:PleasechoosetheversionappropriateforyourLinuxDistribution.
64bitUsers:Pleasenotethatasof1.1.5,youwontbeabletoloadsessionssavedwithother
versions(platformdistributions)oftheLogicsoftware.However,otherLogicsoftwaredistributions
willbeabletoloadsessionsthatyousave.Sorryforthetroublewellgetthisfixed.
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
Thenfindthegraywireonthewireharness.Thisisthegroundwire.ItwillhaveaGROUNDlabelnear
itsend:
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
shortcircuitpathforanynonisolatedMAINsderivedvoltages,viathelogicanalyzersgroundinput(s).
Formoredetails,pleaserefertothesectiononSafetyandEquipmentProtectionneartheendofthis
UsersGuide.
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
Youcanalsospecifythatotherinputsmustbeinparticularstates(highorlow)whentheedge
occurs.
Pretriggerdatawillbecollectedfortheregionoftimebeforethetriggerisfound(totheextent
thetriggerisnotimmediatelyfound).YoucanconfigurethisamountunderOptions
>Preferences
Thetimewherethetriggerisfoundistimezerointhedisplay.
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
Usethescrollwheelonyourmousetozoominandout
Alternatively,usethearrowkeystozoomandpan(The+/keysalsozoom)
Tojumptonext,moveyourmouseto,andclickthebuttonthatwillappearnearattheendsof
thegraphs.YoucanusethekeysN(next)andP(previous)aswell.(thisappliestothechannel
thatwaslastusedbythemouse)
Timing Measurements
Tip:Moveyourmouseovereachmeasurementlabelforadescription.
Width:Thetimebetweentheselectedtwosuccessivesignaltransitions.
Period:Thetimeelapsedbetweentheselectedthreesuccessivesignaltransitions.
Frequency:Thefrequencycomputedbydividingone(1)bythetimeelapsedbetweenthe
selectedthreesuccessivesignaltransitions.
DutyCycle:The%oftimethesignalishigh(1)duringtheselectedthreesuccessivesignal
transitions.
Byte:Thenumericalrepresentationofall8channelscombinedintoonebyte,atthespecified
location.
T1:TheabsolutetimespecifiedbythelocationoftheT1timingmarker.
T2:TheabsolutetimespecifiedbythelocationoftheT2timingmarker.
|T1T2|:Thetimeelapsedbetweenthetimingmarkers.
Toshoworhideparticularmeasurements,usethesettingsbutton.
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
Placing Timing Markers
SingleclicktheT1orT2label.(oruse1and2keysonyourkeyboard)
Moveyourmousetothedesiredlocation.Notethatyoucanstillpanandzoom.
Singleclicktoplacethemarker.Yourmousemustnotbemovingwhenyouplacethemarker.
Tomovethemarkerafterithasbeenplaced,clickit.
Tocancelplacingamarker,rightclickorpresstheescapekey.
Saving and Opening a Session
Tosaveasessionthatincludesdata,pressCTRLS(CMDSonaMac)orselectthisfunctionfrom
theOptionsmenu.
Tosaveasessionthatcontainsonlysettings,pressCTRLSHIFTS(CMDSHIFTSonaMac),or
selectthisfunctionfromtheOptionsmenu.
Toopenasessionofanytype,dragitintothesoftware,orpressCTRLO(CMDOonaMac),or
selectthisfunctionfromtheOptionsmenu.
Exporting Data
Toexportdata,selectOptions>ExportData(CTRLE).
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
ChannelstoExport:Selectwhichchannelsyouwouldliketoexport
SamplestoExport:Selectthetimeperiodoverwhichyouwouldliketoexportsamples
o Tip:Ifyouareusingtimingmarkers,youcanexportjustthedatabetweenthem.This
optionwillonlyappearinthelistiftwotimingmarkershavealreadybeenplaced.
ExportFormatBinary
Youcanselectifyouwantdataoutputtedforeverysample,oronlyforsamplesthatare
differentthanpriorsamples.Notethatifyouexportonlychangesinthedata,a64bit
samplenumberiswrittenbeforeeachsampleinthefile.
Ifyouarentexportingallofthechannels,youcanchoosetoleavethebitsintheir
originalchannellocations,ortohavethemshiftedrighttofillanyunusedpositions.
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
o Youcanchoosetoexporteachsampleasan8,16,32,or64bitword.
ExportFormatVCD
o VCDstandsforValueChangeDump,andisacommonformatfordigitaldata.
ExportFormatCSV
o
o
o
o
o
Choosethisformattoexportdataascommaortabdelimited,humanreadabletext.
Youcanoptionallyincludecolumnheadingsforthedata
Youcanusesamplenumber(i.e.1,2,3,4)ortimestamps(i.e..00123s)tospecifythe
timeasamplerepresents.Thisoccupiesthefirstcolumn.
Youcancombineallthechannelsintoasinglenumber,oryoucanexporteachbitinits
owncolumn.
Youcanexporteverysample,oronlysamplesthathavechanged.
Saving Screenshots
Youcantakeascreenshotofallorpartoftheapplication,andeithersaveittoafile,orcopyit
totheclipboard.YoucanfindthisintheOptionsmenu,orusethekeyboardshortcuts.
10
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
Protocolanalyzerscanshareinputswithotheranalyzers.Thiscanbeusefulinsomecases,such
asSPI.
Afteryouadd(oredit)ananalyzer,itimmediaterunsagainstanydatayouhavecollected.
Toexportdatafromananalyzer,pressthesmallfileiconnexttoit.(Centerbutton).
11
Ifyouneedtochangethedisplayformat(radix)ofaparticularanalyzer,youcandothisfromthe
Analyzersettingsmenu.
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
Resetting the trigger, channel names, channel ordering and channel visibility
Sometimesyoumaywanttostartfromafreshslate,andyoudontwanttodothisoneitematatime.
UsetheResetoptiontodothis.
12
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
13
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
Renaming a tab
Clicktabstexttoeditit.Notethatatabmustbeactivebeforeitcanbeedited.
Pressenter,orclickoutsidethetextareatostopediting.
Reordering tabs
Youcanreordertabshoweveryoulike,bydraggingthem.
14
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
Closing Tabs
Youcanclosetabsbyusingitsmenu.Thiscantbeundone,sobesuretosaveyoursessionifyouneed
to,beforeclosingthetab.
Copying settings between tabs
Occasionallyyoumaymakechangesononetabyoumaywishtopropagatetoanothertab.Fromthe
tabsmenu,chooseCopy.
Forinstance,ifyousetupsomeanalyzersinonetab,andyouwantedtorunthemagainstdataina
differenttab,youcouldcopythem.Notethatthiswillreplaceanyanalyzersthatwerealreadyinthat
tab.
15
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
16
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
Thelowervoltagesettingsshouldworkinmostcircumstances.The5Vsettingisprovidedtoreducethe
likelihoodofchanneltochannelcrosstalkwhenusing5Vsignals.Crosstalkisdeveloped,atleastinpart,
byLogic16slongleadwires,fastrise/falltimes,andisgreatestwhenusing5Vsignals.Logic16sfront
endfiltersnoiselikethis,butonlyuptoapoint.Youshouldbeabletohave8differentsignals
simultaneouslyswitchwithoutseeingcrosstalkonadjacentsignals.
17
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
Ifyouexperiencecrosstalk,besurebothgroundwiresareconnectedtoyourcircuitasthiscanmakea
dramaticdifference.
Unconnected(floating)inputsaremuchmoresusceptibletocrosstalk.Youmaywanttoturnofforhide
unusedsignals.ThisappliestobothLogicandLogic16.
18
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
19
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
Data Integrity
LogicandLogic16maynotbeabletoachieveaparticularsamplerate(seethenextsections)butitwill
neverpresentdatawithsamplesmissing.Bydesignitstopsandnotifiesyouassoonasanydataislost.
Maximum Sample Rate
GenerallyspeakingLogicisabletoachievesampleratesof24MHzwhennootherdevicesareonthe
USBhost,andyourcomputerisrespondingsufficientlyquickly.HoweveriftheUSBisservicingother
devices,orthecomputerisperforminginalatentmanner,asmallersamplerate,suchas16MHzor
12MHzmaybethefastestachievable.Thereasonforthisisasfollows:
LogicusesUSB2.0,andusestheUSBtransfertypeknownasBulk.Whilethistransfertypehasthe
largesttheoreticalaveragebandwidth(significantlylargereventhanthe24MB/sneededbyLogic)it
alsohasthelowestpriority.ThismeansitmaybebumpedforotherUSBtrafficfromotherdevices.
ThesecondissueisthatLogichasverylimiteddevicesidememory.Specificallyithasx4512byte
buffers.ThesebuffersmustbeemptiedbytheUSBinsuchawaythattheyneverallbecomefullatthe
sametime.Ifthishappens,thelogicsoftwarewillreportthatthesampleratecouldnotbemaintained.
Thismeansthatevenifonaverage(whichwouldnormallybethecase)theUSBcangiveLogicatleast24
MB/s,itmustnotprioritizeotherdevicesontheUSBforsomuchtimethatLogicssmallbufferwould
overflow.ForthisreasonLogiccantguaranteethatitwilloperateatitsmaximum24MHz,asthisis
contingentonanumberoffactorsincludingcomputerperformance,USBbandwidthavailabilityand
latency,otherdriversthatmaybeusingtheUSB,etc.
Tomaximizethesampleratepossibleonyourcomputer,trythefollowing:
20
MakesurethatnootherapplicationsareconsumingsignificantCPUtime.
MakesureyouhaveenoughfreeRAMsothattheOSwillnothaveswapramtotheharddrive.
Thiswillbetooslow.
TryconnectingLogicdirectlytoyourcomputerinsteadofthroughaUSBhub.
MakesureotherdevicesontheUSBareminimallyactive.(i.e.notwebcams,harddrives,etc.)
TrydisconnectingotherperipheralsfromtheUSB,orswitchingLogictoaportservicedbya
differenthostcontroller.Youmayevenwanttotryadedicatedhostcontroller,suchasthisone
http://www.newegg.com/Product/Product.aspx?Item=N82E16815166014
IncreasetheprocesspriorityoftheLogicsoftware.
o Windows:FromtheWindowsTaskManager,selecttheProcessestab,andfindtheLogic
process.RightclickonthisitemandselectSetPriority>High.
o Linux:Fromthecommandline,navigatetothefolderwheretheLogicexecutableis.
Typenicen3./Logic.SearchforLinuxniceonGoogleformoreinformation.
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
Maximum sample rate, and long captures Logic16
Logic16hasasignificantlylargerhardwaresidebufferthanLogic,andthereforeismuchmoreimmune
tolatenciesintheUSB.ItisalsomorelikelythanLogictoreliablyoperateatitsmaximumspeedona
givencomputer.
Ifyouneedtocaptureforlongperiodsoftime,especiallytocatchovernighterrorsintheact,we
recommendusingLogic16.
21
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
LogicshouldnotbeusedwithDUTs(devicesundertest)whicharenotelectricallyisolated
fromMAINS(i.e.wallpower).Thereisoneexceptionoutlinedbelow,butitcomeswith
importantcaveatsandmustbefullyunderstood.Pleasecontactusifyouhaveanyconcerns.
o IfyouneedtotestaMAINsconnectedDUT,onepossiblesolutionistouseaLaptop,
runningonbatterypowerandnotconnectedtoanythingelse(suchasalikelygrounded
LCDmonitor).ThiswillpreventLogicfromprovidingashortcircuitgroundreturnpath.
HOWEVERthissetupintroducesanadditionalandveryserioussafetyconcern.The
reasonfortheMAINsearthgroundconnectioninthefirstplaceittopreventahigh
voltagefromconnectingtoachassiswhichcouldcauseelectricshocktoauser.A
groundedchassis,ifconnectedtoalargevoltage,willprovideashortcircuit,whichthen
blowsacircuitbreakerorfuseandremovesthehighvoltage,protectingauserfrom
potentialelectrocution.Ifyouusetheworkaroundpresentedhere,youmustensure
thatitisimpossibleforanyhighvoltagetobeconnectedtoanyofLogicsinputs,and
especiallyLogicsgroundlead.Lowvoltages(asmeasuredrelativetoearthground)
whichwouldnotpresentariskofelectricshockarepermissible.
o Isolationtransformers,suchasthosemadebyTripplite:Thesetransformersprovidea
large1:1transformersothatthatthehotACpowerlinesareelectricallyisolatedfrom
MAINS.However,andcrucially,theyDONOTisolatetheMAINsearthground
connection,andsoarenotusefulforprovidingasolutiontothisissue.
DUTswhicharebatterypowered,orUSBpowered(fromthesamecomputerasLogic)are
acceptable.
o WhenusingUSBpoweredDUTs,specialcareshouldbetakentoavoidconnectingUSB
sourcedpowertoLogic'sground,asthisprovidesashortcircuitreturnpath.
DUTspoweredbyACadapterswhichhaveonly2prongs,anddonothaveanearthground
connection(suchasmost"wallwarts")usuallyprovideMAINSisolatedpowerandaregenerally
acceptable.Theyalsoarelesslikelytobeabletosourceenoughcurrenttocauseserious
destruction.Wehighlyrecommendingtestingforgoodisolation.
o IfinanydoubtastoifLogicsgroundand/orthegroundofyourDUTisisolated
fromMAINsearthground,useaMultimetertomeasuretheresistancetoearthground.
Atthistime,therearenocosteffectiveisolationproductsfor480MbitUSB(HighSpeedUSB)thatwe
areawareof.Therearefiberopticbasedsolutionsthatcostaround$1000.
22
Copyright2012SaleaeLLC.AllRightsReserved.
SaleaeUserGuide1.1.15
Contacting Us
Yourealwayswelcometocontactusaboutanything.support@saleae.comistypicallythebestwayto
reachus,oronlineathttp://www.saleae.com/contact
Weremorethanhappytodiscussanyissueorquestionsyouhaveviaphone,too.Themostreliable
timetoreachusisintheafternoonsandearlyevening(Pacifictime).Ifyoumissus,pleasedoleavea
messageandwellcallyouback.5109842463
23
Copyright2012SaleaeLLC.AllRightsReserved.