mipi devcon 2016: robust debug and conformance verification ensures interoperability

40
Ross Nelson, Protocol Insight MIPI JEDEC & UFSA Liaisons Test & UniPro Working Groups Robust Debug and Conformance Verification Ensures Interoperability

Upload: mipi-alliance

Post on 13-Jan-2017

133 views

Category:

Mobile


3 download

TRANSCRIPT

Page 1: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Ross Nelson, Protocol Insight MIPI JEDEC & UFSA Liaisons

Test & UniPro Working Groups

Robust Debug and Conformance Verification Ensures Interoperability

Page 2: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

MIPIMobileTechnologies

MIPIISTHEPREDOMINANTINTERFACETECHNOLOGYFOR

HIGH-BANDWIDTHLOWPOWERINTERCONNECTS

Page 3: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Debugging and Verifying Conformance of MIPI Devices

REDUCINGTIMETOMARKET

1lessprototypecycle=2-3months

Page 4: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

New Product

New Product Development Methodology Prototype Debug and Verification Cycle

•  Interoperability testing

•  Conformance/compliance verification

•  Stress and automated testing

•  Margin and corner case testing

•  Link/interface debug

•  Power on/device bring-up

Page 5: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Typical Tx Setup

•  Oscilloscope – 25GHz or higher

•  Probes – N7020A recommanded

•  Switch matrix automates lane switching and test

InfiniiumDSAV254A25GHzOscilloscope

2x6(1x6differenTal)SwitchMatrixKeysightU3020AS26

Page 6: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Typical Rx Setup

Simplifiedset-upwithKeysightJ-BERTM8020AISIconformancechannelintegrated

J-BERT M8020A

N7010A

Page 7: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Typical Protocol Setup

Protocol Insight Test Executive™

•  UniPro •  UFS •  Ara

Keysight Analyzer •  Up to HS-G3 x4 •  UniPro/UFS •  Packet Generator •  SMA probing

Page 8: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Link/Interface Debug Common Challenges

Customer Interactions Challenges Observed

Interop events (IOTs)

UniPro workshops

GoogleProject Ara

•  Ara module initialization •  UFS boot •  Power Mode changes •  Capabilities exchange •  Link Startup Sequence

UniProExample

Page 9: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

UniPro Common Challenges

•  Link Startup Sequence Phase 0 thru 4 •  Invalid Packet Order or Sequence •  Timing violations

•  LSS Capabilities Exchange •  Invalid Packet Order or Sequence •  Non-PACP_CAP packets on link

•  Power Mode Change •  Invalid Packet Order or Sequence •  Device cannot change power modes reliably •  After multiple Power Mode changes device does not respond

Page 10: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Link Startup Sequence

SevenphasesofLinkStartup:

Page 11: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Analyzing Link Traffic

State machine trace analysis •  Evaluate every packet in a trace •  Look for states and subsequent events •  Log messages and attributes •  Flag Failure, Warning, Pass, Info and Debug

Page 12: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Link Startup Sequence Debug

Page 13: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Common LSS Phase 0 thru 4 Failures

•  Invalid Packet Order or Sequence

•  Timing violations

Page 14: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Common LSS Failures – Timing Violations Time between TRG_UPR0 not ≥ 1.6ms

ReferenceUniProv1.6Table28PA_GranularityandPA_TAcFvateandSecFon5.7.8.2,lines1148and1154TheTAcTvateresetvalueis1.6ms,andthedeviceshallwaitPA_TAcTvatebeforebeginningaburst.ThustheTmebetweenTRG_UPRshallbeatleast1.6ms.

Page 15: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Common LSS Capabilities Exchange Failures

•  Invalid Packet Order or Sequence

•  Non-PACP_CAP packets on link

Page 16: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Common LSS Failures – Capabilities Exchange Packets other than EOB, SOB, CAP found before exchange complete

ReferenceUniProv1.6SecFon5.7.8.5“AeerfinishingPhase4oftheLinkStartupSequence,thePALayershallstartaBurstonlogicalLane#0andtransmitsitscapabiliTesandthelocalversioninformaTontothepeerDeviceusingPACP_CAP_EXT1_ind(seeSecTon5.7.7.4)andPACP_CAP_ind(seeSecTon5.7.7.3)inthisorder.”Thusallotherpacketsarenotallowedtobesent.

1.  FoundEOB,transiToningtoPhase52.  FoundPACP_CAP_ind,withnoEOBfollowing3.  FoundAFCTC1beforeCAPExchangefinishedinit4.  FoundAFCTC0beforeCAPExchangefinishedinit5.  FoundEOB,transiToningtoDLiniTalizaTon

1

2345

Page 17: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Power Mode Change

Page 18: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Power Mode Change Debug

Page 19: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Common PMC Failures

•  Invalid Packet Order or Sequence

•  Device cannot change power modes reliably (FAST/SLOW, AUTO/nonAUTO)

•  After multiple Power Mode changes device does not respond

Page 20: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Common PMC Failures – Packet Order Packets other than deskew or another PACP_PWR_req sent while waiting for the PACP_PWR_cnf

ReferenceUniProv1.6SecFon5.7.12LinkConfiguraFonProcedureOtherpacketsarenotallowedtobesentbetweenPACP_PWR_reqandPACP_PWR_cnf.

12345

1.  FoundaPACP_PWR_req2.  Nootherpacketbesidesdeskeworanother

PACP_PWR_reqshallbesentwhilewaiTngforthePACP_PWR_cnf

3.  FoundanotherPACP_PWR_req4.  FoundanotherPACP_PWR_req5.  TherequestorshallnotstartanewburstunTlthe

peerdeviceclosesitsburst6.  PACP_PWRexchangefinished

6

Page 21: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Margin and Corner Case Testing

•  Inject corrupted bits on the link… •  Tx and Rx

•  Mask test margin •  Eye width/height •  Unit interval •  Jitter •  Risetime/falltime

•  Protocol •  Corrupt packet header/payload •  Invalid packet sequences •  Timing violations •  Timeout errors

then verify appropriate response

Page 22: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Example UniPro Error Injection Scripts

AFCParametersCRC-invertsCRCofAFCCREQ_BIT-setsCReqBitofAFCRSVD_BITS-invertsreservedbitsinAFCINCR_SEQ_NUM-increasesthesequencenumberinAFCby1DECR_SEQ_NUM-decreasesthesequencenumberinAFCby1TC0-replacesTC0byTC1SYMB-resultsinsymbolerrorinAFCDISP-resultsindisparityerrorinAFCCREDIT-followedby8bitvalueinhexwithwhichAFCistobereplacedREPLACE-followedby3bitvalueinhexwithwhichAFCistobereplacedEXTRASYMBOL-resultsinextrasymbolinAFC

PACPParametersCRC:-invertsCRCofPACPFrameRSVD_BITS:-invertsReservedbitsofPACPFrameFUNC_ID:-increasesthefuncTonidby1ofPACPFrameSYMB:-resultsinsymbolerrorinPACPFrameDISP:-resultsindisparityerrorinPACPFrameSKIP:-resultsinnotsendingPACP_CAP_indFrame

Page 23: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Stress and Automated Testing

•  Corner case and margin testing

•  Conformance and compliance testing

•  Random order sequencing, traceable deterministic results

•  Test loop management

Page 24: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Automated PHY Tx Testing Stress and Conformance

Configure the Device Under Test

(make sure proper data rate are supported)

Select Tests.

Automatically generate test report.

D-PHYExample

Page 25: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Automated PHY Rx Testing Stress and Conformance

M-PHYExample

Page 26: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Automated Protocol Testing Stress and Conformance

•  Execute any loop order by Speed, Link widths, or individual test cases

•  Each category can be run ascending, descending, or random seed order

•  Stop after a specified number of test case configuration loops, Warnings, Failures or No Result Test Cases

UniProExample

Page 27: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

C-PHYv1.1CSI-2v1.3CSI-3v1.1D-PHY2.0DSIv1.3.1DSI-2v1.0M-PHY4.0UniProv1.61

JEDECUFS2.xArav0.11

Conformance/Compliance Verification

Page 28: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Conformance/Compliance Verification

UFSJESD224CTSforJESD220Bspec UniProv1.1CTSfor

UniProv1.6andv1.61spec BIFv1.0CTSforBIFv1.0andv1.1spec

Page 29: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Signal Access and Design for Testability

•  Board-level signal access •  SMA •  ZIF •  RTB

•  Boot or reset signal access

•  Automatic DUT Link Startup Sequence

Page 30: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

MIPI Product Registry Testing Process

•  New Membership benefit launched August 2016.

•  Allows MIPI Members to showcase commitment to conformance testing

•  Important Documents: •  MIPI Test Policy •  MIPI Product Registry Program

Policy •  Specifications •  Conformance Test Suite (CTS) •  Method of Implementations

(MOI)

30

hlps://members.mipi.org/wg/All-Members/home/registry-faq

Page 31: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Conformance vs. Compliance •  MIPI differentiates between conformance and compliance

•  Conformance means: •  An implementation on Product Registry, confirming it meets the normative

requirements of the relevant Specification or

•  a Member-company verified implementation adheres to a Specification’s requirements

•  Compliance implies that a formal evaluation has been made, e.g. as part of a certification program, which serves as a guarantee of a company’s right to enjoy applicable licenses.

Page 32: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Test Working Group

•  Chartered to support conformance and interoperability activities

•  Works with technical work groups in development of conformance testing resources

•  Developed the Product Registry Program

•  All Contributor or Board-level Members may participate in the Test Working Group

Page 33: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

MIPI Product Registry Testing Process

•  Conformance Test Suites (CTS)

•  Unique to each MIPI Specification.

•  Authored by MIPI Specification Working Group.

•  Reviewed by MIPI Test Working Group.

•  Outlines test procedures and requirements.

33

Page 34: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

MIPI Product Registry Testing Process

•  Method of Implementation (MOI) •  Describes how to perform CTS using specific

Test Equipment

•  Authored by Test Equipment Manufacturer

•  Approved by Test Working Group

•  Outlines how to perform testing using specific test equipment •  Calibration

•  Connecting DUT

•  Automation

34

Page 35: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

MIPI Product Registry Testing Process

•  Contributor Members may perform self testing or use a MIPI approved test lab •  All products noted as self-tested or independently tested

•  Adopter members must use a MIPI approved test lab

•  Member provides results summary to MIPI Product Registry Administrator

35

Page 36: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

•  Products are tested

•  according to test procedures defined in current approved CTS

•  Or using alternate test methodology if no CTS is available

•  Products must pass all applicable tests in CTS

•  If an implementation has optional features, it must also pass those applicable tests

•  Listing by similarity determined by the Administrator and the Test WG

Product Listing Process

Page 37: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

PHY solution for Debug, Analysis, and Conformance

Transmitter Characterization

DSAV334A Infiniium 33 GHz scope

U7238B D-PHY, U7249B M-PHY, N5467B C-PHY UDA

InfiniiMax Probes

Switch matrix N5465A InfiniiSim

N2809A PrecisionProbe

Receiver Characterization

M8020A JBERT

M8190 AWG

N5990A Automated characterization

Impedance/Return Loss Validation

E5071CENAOpTonTDR

DCA 86100D Wideband sampling oscilloscope

N1055A TDR/TDT

54754A TDR/TDT

Page 38: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

KeysightTechnologiesProtocolAnalyzer

ProtocolInsightTestExecuTve™

•  CTStestcaseexecuTon

•  ProtocolsequenceandpacketinspecTon

•  STmulusmode

•  StresstesTng

•  Customtestcasebuilder

Protocol solution for Debug, Analysis, and Conformance

Page 39: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability

Summary •  Effective verification methods shorten

time to market by reducing prototype spins

•  Product registry showcases implementations with a commitment to interoperability

•  Comprehensive tools for Debug, Analysis, and Conformance are available

Page 40: MIPI DevCon 2016: Robust Debug and Conformance Verification Ensures Interoperability