Home
        PET User Manual 1.4
         Contents
1.        Export All    C format  0812    Assembler format  12h        Export will generate    text file containing the descriptor you select  Cancel       ou may select the output format for this data           Select the descriptor you wish to export  or click on Export All   To  assist you in deciding which is the appropriate descriptor  the event  number and the device address are displayed  If you had previously  selected a valid descriptor in the capture pane  then this descriptor  will be pre selected when you open this dialog     You should now choose the format in which you wish to export the  descriptor  By default it will be output as a  commented   c  code  structure     When you have made your selection  click on OK and you will be  invited to choose the name and location of the exported file  An  example file is shown below     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    134    GJL ELECTRONICS    ff Device Descriptor  event number 56   static const unsigned char descriptors          i  Oxiz   Oxo   Ox10   Oxo   oxoo   0x00   0x00   0x08   Oxe2   OxoF   0x01   0x10   0x01   0x00   Oxo   0x02   0x00   Oxo     PET User Manual 1 04       bLength   ff blescriptorType  DEVICE   ff HOUSE  ls byte    fy HOUSE  ms byte    ff blevicellass  Defined in Interface   ff bDhevyiceSubClass   ff bbeviceProtocaol   ff bMaxPacketSized   ff idVendor ila byte    ff idVendor ima byte    ff idProduct  ls byte    ff idProduct  me byte    ff bedDevice  ls byte    ff b
2.        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    39    mq  p USER MANUAL  ELECTRONICS    BC1 2 CDP Tests  CT CDP _OVRSHT mpet  CT CDP V Impet       CDP Overshoot and Undershoot Voltage Test  CDP Output Voltage and Current Test    CT CDP HNDSHK mpet CDP Handshaking Test  CT CDP CMO FS mpet CDP Ground Offset Test  Full Speed    CT CDP CMO HS mpet  CT CDP REP  mpet    BC1 2 SDP Tests  CT SDP HNDSHK mpet  CT SDP REP  mpet    CDP Ground Offset Test  High Speed  CDP   Checklist Report    SDP Handshaking Test  SDP   Checklist Report    BC1 2 Multiple Role Port  MRP  Tests    CT_MRP_FUNC mpet  CT_MRP_REP mpet    BC1 2 ACA Dock Tests  CT_ACADK_OVRSHT mpet  CT_ACADK_V_  mpet  CT_ACADK_NOT_POW mpet  CT_ACADK_REP mpet    MRP Handshaking Test  MRP   Checklist Report    ACA Dock Over and Undershoot Voltage Test  ACA Dock Voltage and Current Test  ACA Dock Not powered Tests   ACA Dock Checklist Report    Files containing supporting subroutines and definitions    enum_dev_inc mpet  enum_dev_cmo_inc mpet  enum_host_inc mpet  includes_inc mpet  assert_inc mpet  GetVbusOn_inc mpet    user_entries mpet    CT_OTG REP mpet  CT_PD_REP mpet    Miscellaneous  Calibrate mpet    PetAuth mdat       PET User Manual 1 04    Enumerate as device support   Enumerate as device support   CMO version  Enumerate as host support   General definitions   Assert Defaults    Vbus support    Generated automatically each time the test suite is run  Contains values which  depend on the checklist
3.        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    66    mq  p USER MANUAL  ELECTRONICS    4 3 6 Flags    All flags are automatically cleared to zero at the start of running a  script        4 3 6 1 CPU Flags    Timeout0O Set by hardware when TIMERO expires  Can be cleared using  ClearFlag instruction    Timeout1 Set by hardware when TIMER1 expires  Can be cleared using  ClearFlag instruction    Timeout2 Set by hardware when TIMER2 expires  Can be cleared using  ClearFlag instruction     LessThan This condition flag is set by a CPIA CPAR instruction if the word  contents of A is less than the referenced value    GreaterThan This condition flag is set by a CPIA CPAR instruction if the word  contents of A is greater than the referenced value    Equals This condition flag is set cleared by a CPIA CPAR instruction  depending on whether the referenced value matches the word  contents of A       4 3 6 2 SIE Flags   Control    HsRequired Set this flag to indicate to the SIE that a High Speed connection  should be attempted  This will determine whether chirps are  sent     InhibitCapture This flag  when set to a 1  prevents USB events being included  in the capture file  SendMessage events are still added to the  capture file  The flag is useful to prevent overload when  generating or receiving high speed test packets     BDevice Host  Peripheral and Device Mode  This must be set appropriately at start of script to indicate to the  SIE whether UUT is an A devic
4.      OTG Checklist Report Core  PD Checklist Report Core    User Calibration Check    Authentication file to ensure that the test scripts have not been accidentally  altered     Copyright    2006 2012 MQP Electronics Ltd    40    mq  p USER MANUAL  ELECTRONICS       3 TECHNICAL DATA    3 1 Requirements  The minimum requirements for the Packet Master Host are as  follows   e Pentium 3   600MHZ  e PC with High Speed USB port should be dedicated to the PET     e Windows XP  Service Pack 1 or better   Vista or Windows 7  32 bit  or 64 bit     e CD ROM   DVD Drive  e 1GB RAM  e 100MB space on Hard Disk    Note  A good performance machine is recommended for good  capture rate     3 2 Specifications USB PET    20    80  non condensing       Zero mA from USB when powered  externally    Power  Using the external power supply   included  is the required mode of  operation     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    41    mq  p USER MANUAL  ELECTRONICS       3 3 Maximum Capture File Size   The maximum size of the Capture file is limited by the available  RAM in the Host computer   3 4 Safety   CE compliant     3 4 1 External Power Supply    The Packet Master USB PET must be connected to the provided  external power supply  GraphicUSB will not allow you to run a script  otherwise     The external supply has the following specification     Output Voltage 9V Regulated    Output Current 2A    Polarity Centre Pin Positive    3 4 2 Trigger Specification       The PE
5.      Se Graphe    muse h   mqu   A Ge Ed    ew Gerson  Winco Helo    Bandeddth M berien       Li LI Li  JA CC           Any selected event is  thoroughly analysed in the  details pane  Highlighting an  tem locates tts data in the data  pane helow  I    VOLS monitor display      Wbus  Dius  i  Contral Transfer    Gei Device Desclpion    ooo  a     A deica descnpior dascites general fomation shoul a SE  dece E eludes infoerniaiion Hal applies globally to the dec  and all of the device s configurations     USE deace has ony one  device descnpior      pe TT  a      lfc Descrip iir  er a a  interface Daserip ler  oMaPacketied a  Wa EPOPa Sn      Data Content  TEF    ar    Copyright    2006 2012 MQP Electronics Ltd    98    mq  p USER MANUAL  ELECTRONICS    4 8 Panes    4 8 1 Event Pane    The Event Pane graphically shows every detail of data and timing  on the bus  The example shown below is an IN transaction made up  of two packets  The left hand column contains an event number and a  time stamp  The time stamp has a resolution of 16 66ns for the USB   PET  A vertical line associates the packets within the transaction   Looking in detail at the display for event  24 below  the following  information is displayed        The speed of the transmission  HS is High Speed  480MHZz   FS is full speed   12MHz  and LS is low speed  1 5MHz      The direction of the packet  A right pointing arrow is for host to device and a  left pointing arrow for device to host     The Synchronisation fie
6.     2006 2012 MQP Electronics Ltd    24       mq  p USER MANUAL  ELECTRONICS    2 5   DCP as Unit Under Test  Setup no  6     A Dedicated Charging Port  DCP  must be equipped with a  Standard A receptacle  or a captive cable terminated with a Micro B  plug    When running a test suite relating to a DCP  the first test will  prompt you to connect it to the PET using    Special Test Cable B     This  Micro B plug to Standard A plug cable is provided with the PET  unit and it is essential that this particular cable is used  for the  following reason     e The resistance of this cable has been allowed for in tests  involving large VBUS currents with measurements on VBUS  current and voltage     The other possibility is that the device has a captive cable with a  micro B plug  In this case use this  and check the    Captive Cable     check box  in the  USB PET Test Suites  Dialog     PL    Hostfor PET         High Speed USE Unk    PacketMaster  LISB PET    Special Test  Cable  B     or Captive  Cable    Dedicated    Charging Port    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    25    mq  p USER MANUAL  ELECTRONICS    2 5 8 Micro ACA  Separate Charger  as Unit Under Test   Setup no  7        An Accessory Charger Adapter having a Micro AB receptacle for  its accessory port  Micro ACA  must be equipped with     e acaptive cable terminated with a Micro A plug for its OTG  port    e a Micro B receptacle  or a captive cable with Standard A  plug for its charger port
7.    3147   3148   3149   3150     SEEN O     a  p           4          a   oa   E  a LSLE  a LSA E  at ana      eels  Sie   3156   alae   a LSE E  ILSE     3160   St aL lai  HE  ana  E  3164   SLES    3166   3167     TT    For Help  press F1    ADP29     When the i device is ready to act in host or  peripheral role does VEUS reach VOTS SESS VLP  within TA VEUS ATT of an attachment event  being detected Hy ADP unless an over current  condition is reached     Is the device ready to perform USE activity at  a time no longer than TPWRUP RDY from an  identifiable powering on action or sequence of  actions  e g  switching onj     NWumber of untested checklist items   O  Number of failing checklist items   1        End DI SCElDE       E of lest egue nce        RESULT SUMMARY      Pass   CT    POUT  mpet    Pass  Pass  Pass  Pass  FAIL  Pass  Pass  Pass  Pass  Pass  Pass    CT    VEUS mpet   CT    CAP  mpet   CT A SRP  mpet   CT    ANP  mpet   CT    ADP  mpet   CT A LEG  mpet   CT    ST OTG ADP  mpet   CT    ST OTG ADP NOSRP mpet  CT    ST_OTG mpet   CT    ST_OTG NOSESS mpet  CT A DevNoRes mpet   CT    Unsuples mpet   CT    NoResHnp mpet   CT  amp  OTG REP mpet    of Report       ne Seo ot   2 2  Y C Elam a  amp    pw    USER MANUAL               YES  Pass       Vendor Declaration    wt    E  Ln 3167  Col 0   4    The report ends with a list of checklist items and whether each  passed  failed or was not able to be tested  followed by a summary  indicating which test sequences passed  
8.    6 CRES IDLE  5 045 177 5 poggg00i f osas  0196   0x10 997 29 us  Event   7 CRCS  EOP   IDLE  5 047 177 s Ooo0000dOxAS  0x197 997 27 us   Syne  SOF  Frame   CRCS  EOP    S045 177 s OOOOO001 joas  0x198 997 27 us  Show SOF Packets  5 045 177 5 START OF FRAME    Hide SOF Packets    4 17 Bookmarks   A bookmark allows you to mark an event of interest  allowing you  to locate it quickly when it is not showing in the window    You can add a Bookmark to any event in the display by any of the  following methods     e Click on the event in question to select it  then Menu   View    Add  Bookmark     e Click on the event in question to select it  then use keyboard  Ctrl F 2     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    126    mq  p USER MANUAL  ELECTRONICS       e Right click on the event in question  and choose    Add Remove  Bookmark    from the pop up menu     Bookmarked events are marked with a light blue rectangle  The  following screenshot shows two bookmarked events  one of them is  also selected      G3 GraphicUSB    resume_trigger mqu        File Edit View Operations Window Help    Geh   a unl  p  E             Min  65068    6073 HS Control Transfer Addr Endp Data  0 bytes  Status  D G27 2 FOS 5 SF   Set Configuration  0x0 11 0014 oo    OK   ae fa  t292   0287 Control Transfer Addr Endp Data  0 bytes  Status  re   6 298 799 5 et Port Feature  Huby 0041  oaf   ok      t292   0297 Control Transfer Addr Endp Data  0 bytes  Status    6 299 300 s et Port 
9.    Data Only        Export Event Filtering Ea    From event i to event 9601 All Events      ever      F1 LW   et     1 LJ   F    F   iv   F      Obey Custom Filter   f Plain hex f   Cformat C  Asm format Binary file  Export will generate    test fle containing the capture  events     ou may select which thems to include in your Lancel      export  The filter options have been initially set    according to the display filter options        selecting the    Data Only    option allows data  as selected by the  custom filter  and the event range  to be exported in a number of  useful file formats     4 20 3 Exporting Descriptors    4 20 3 1 Standard Descriptors    With a capture document open  select the item    Create Descriptor  File       from the File menu  The    Export Descriptor    dialog will be  displayed     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    133    mq  p USER MANUAL  ELECTRONICS    Export Descriptor       Event Address Descriptor Type      CEELLELEELEELEELEELEELEECECECEEEELCEEECECCEECECCEEECECCEEECECEELEELCECECECECEECECECECEECECECECECEEECECEEECECEEEECECEELEELCEEEEELEEELCELEEELCELEEECCEEECECEEEEELCEEECECEECEECEELCEECEELCECELEELCECEELCECEELCEECECCEECELCEECECCEECECCEECCC            Device Descriptor       Device Descriptor  246   Configuration Descriptor  306   Sting Descriptor  index 2381   cor 0 Device Descriptor  Fe   2 Device Descriptor  Fol 2 Sting Descriptor  indes 0   Ad 2 Sting Descriptor  indes 2    2    Sting Descriptor findes 0  
10.    If  Do Analyser Capture    was checked  an analyser capture file will  also be created     PET User Manual 1 04    31    Copyright    2006 2012 MQP Electronics Ltd    mq  p USER MANUAL  ELECTRONICS    T  Fe GraphicUSB    Capture_Product_0002 mqu   File Edit View Operations Window Help  alx    ah Sn em PET QQ   p E  E                1              5       Message From Protocol Tester            104 176 584 s    B UUT Initial Power up Tests    104 177 340 s    as  104 177 367 5    e BEM ge        4  Ss       sfer A    Control Transfe Addr Endp Data  5 bytes  Status  Get OTG Descriptor  0x01  0x0  0509070002  OK         No Data To Display    728   767   104 177 578 5    e  104 177 9855    I Event   76735      HAr IK       100  B OUT M IN       0  Bandwidth Utilisation    mil l     BREA   BENI   a i  i I i  I I I I I I I I I    I I I I                   I        I  0 000 000 s  100 000 000 s  200 000 000 5  4           l l l              200 000 000 s  400 000  j    For Help  press F1 199858 events                This file will be useful to help interpret the reasons for any test  failures     The report and capture files should be saved as required   Meaningful file names and folders are suggested  based on the folder  name entered in the USB PET Test Suites dialog     The report file has the extension     PetRpt    and the capture file has  the extension     mqu        PET report files with the     PetRpt extension are actually ASCII files  with 8 bit characters  and may be 
11.    TEST_J button as appropriate  The PET will provide the conditions for the UUT  to enter the TEST _J test state and will then automatically switch in the correct  test termination on the test fixture     Take UUT out of test state by following vendor s instructions for doing so     12  13  14  15  16         N    From the PET Test Suites dialog  select either the Host TEST_K or the Device  TEST_K button as appropriate  The PET will provide the conditions for the  UUT to enter the TEST_K test state and will then automatically switch in the  correct test termination on the test fixture     18 Measure D  to be OV     10mV   19 Measure D  to be 400mV     10         PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    166       mq  p USER MANUAL  ELECTRONICS    The following table outlines the procedure for an Inrush Current  test  For more information see the oscilloscope manufacturer s  operating instructions  and the USB IF Full and Low Speed  Compliance Test Procedure rev 1 3 document     Table 5 4 Procedure for Inrush Current Test     step  Aston  Set the test fixture    Relay ON OFF    switch to the    ON    position     Set the test fixture    Connect OFF Discharge    switch to the    Connect    position   Ensure that the jumper on P1 is connected to the    Normal Operation    position     Check that the banana plug wire loop is inserted into the banana test socket  to  complete the VBUS circuit     Connect PET to the provided power supply  and to an appropr
12.   1               T1   en  co    oo  i  co  DJ    m  Oy       Repot Counta  SO    ak  D Ro         This shows a HID Report Descriptor  and below is the result of  parsing it     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    145    Fe ELECTRONICS       Input Report    Bits       USER MANUAL       Each transfer of a HID report is also analysed  as follows     PET User Manual 1 04    il Interrupt Transfer       Device To Host    This is a HID IN report  An analysis of  the report contents appears below     In Report    Lisaqe Value    Buttont J0  Butona  0  Buttons J0  mwne o  0  Buttons J0    Wheel do    Data Content       OG  FE FF O         Copyright    2006 2012 MQP Electronics Ltd    146    mq  p USER MANUAL  ELECTRONICS    4 23 3 Vendor Class Analysis       4 23 3 1 Introduction    Unlike other USB classes  Vendor Class does not have a  predetermined specification  The class is made up of whatever  control requests and data transfer types a vendor finds useful  For  this reason  it is normally difficult to provide a useful analysis  MQP s  vendor class analysis option attempts to overcome this problem  by  allowing the user to specify characteristics of the vendor class  which  can usefully be displayed on the capture document screens  To do  this  the vendor class analysis option must be registered     The user will need to provide a specification file for their device   The file will have a predetermined file name as follows     vendVVVVPPPP mven    
13.   A UUT Power Up Tests   A UUT Vbus Voltage and Current Measurement  A UUT Bypass Capacitance   4 UUT SAP   4 ULUT HNP   4 UUT ADP   A UUT Leakage   ADP Capable 4 OTG State Transition Test    High speed Electrical Test Modes  Dev     K   Test Packet      wt    Remove All      ej  Calibration    Quick  Check    ea   in         Select the type of unit to be tested using the    Unit Under Test    combo box     PET User Manual 1 04    Copyright    2006 2012 MQP Electronics Ltd    29    mq  p USER MANUAL  ELECTRONICS    Then refer to the completed Compliance Checklist  and ensure  that the other    Unit Under Test  checkboxes and parameters are  correctly entered  see next section for details         The appropriate tests will be loaded into the    Selected Tests    list  box  These tests are now ready to automatically be run in sequence     Decide whether to check  Do Analyser Capture     and specify a  Product name so that the reports can be saved into an appropriate  folder     Click on  Run  to start the test suite     A text report file will be created  into which the test results are  written     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    30    GJL ELECTRONICS    G3 GraphicUSB   Report_Final_Test_0003      Fie Edit View Operations Window Help                           eo tr le   ES    cas               Vous      0  O00V           3129   3130   3131   3132   3133   3134   3135   3136   3137   3136   3139   3140   3141   3142   3143   3144   3145   3146
14.   IN endpoints    Appears in the Data  String to use as the transfer header of the  name of this data event pane to name this  ep desc  Mandatory transfer  Must be single request   line and preferably kept Also used as a sub title in  short  the detail pane for the  Control transfer header     String to use as the  explanation of this  request  May be several  lines of text     Appears in the detail pane  for the Data transfer  header     Desirable       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    154    mq  p USER MANUAL  ELECTRONICS    4 23 3 2 9 Syntax Checking    It would be irritating to have syntax error messages popping up  whenever a syntax error in the user file is encountered  so during  display of a capture file the parsing will fail silently  putting up the best  interpretation it can  We have provided a separate function to check  the legality of the file before attempting to use it     The syntax of the file can be validated by   Operations   Validate Vendor File      The file must be open in GraphicUSB for this option to be available        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    155    mq  p USER MANUAL  ELECTRONICS    The file will be validated and the results will be shown in the lower  output pane        G3 GraphicUSB    vend  Zab34cd mven     File Edit View Operations Window Help    O zkh aai Bl Sly ke      gt  ms  Vbus    4  61W   52 08mA     lt Device gt   VWID O0x12 i8  PID 0x34CD     lt Control Request 
15.   REGType3  Bits 1 0    PET User Manual 1 04    Endpoint to be used by this register group as host or as device   Bit 7     1 IN  O OUT  Bits 3 0   Endp    Type of transfer for use by this endpoint     00   Control  01   Isochronous  10   Bulk       11   Interrupt    Copyright    2006 2012 MQP Electronics Ltd    63    mgp USER MANUAL  ELECTRONICS  REGBytePtr3 Host  Device or Peripheral Mode  Points at start of RAM buffer for IN or OUT transactions on endpoint Group 3     REGBytesLeft3   Simple storage location to keep track of transfer data size    si storage   Simple storage location to keep track of transfer data size    si to keep track of transfer data size     REGCount3 Device or Peripheral Mode  Used by    OUT Transaction circuit      Must be programmed with the maximum number of bytes expected in the transaction   After the transaction  contains the number of bytes received  This cannot exceed the max  number of bytes expected   Used by    IN Transaction circuit     Word containing number of bytes to send   Host  Used by    OUT Transaction circuit     Word containing number of bytes to send   Used by    IN Transaction circuit      Must be programmed with the maximum number of bytes expected in the transaction   After the transaction  contains the number of bytes received  This cannot exceed the max  number of bytes expected     REGCtrl3 Host  Device or Peripheral Mode  Used by    OUT Buffer      Bit 0  Enable  Bit1  STALL  Device or Peripheral   Bit 2  PING  Host and H
16.   Select one item for back panel  measurement terminal  deselects all  others       SW_MEAS_DP Ext measurement O  off   1  on  Select one item for back panel  measurement terminal  deselects all  others   SW_MEAS_DM Ext measurement O  off   1  on  Select one item for back panel  measurement terminal  deselects all  others    4 4 1 2 Supervisory  Write Only     swtenname  rame  rame oooO    SW_INHIBIT UPDATE O  off   1  on  The Disable Switch Update flag  When set it  prevents any writes to switches from being    carried out  on clearing  all the switches get  updated in one operation     SW_INHIBIT READ O  off   1  on  The Disable ADC Read Function flag  When  set  no reads take place  Default is cleared   4 4 1 3 ETB Sense Points    Each watch block contains a latch which remembers whether the voltage or current being  watched rose higher than the selected watch value  since the latch was cleared  These  sense points are read to discover the result     SNS WB VBUS AB 1 RISE Watch block 1 for AB O FALSE Watch block rise  connector VBUS 1 TRUE latch   SNS WB VBUS AB 2 RISE Watch block 2 for AB O FALSE Watch block rise  connector VBUS 1 TRUE latch    SNS_WB_VBUS _IIL_RISE Watch block for AB   Watch block rise  connector VBUS   latch       Current Load current    SNS_WB_VBUS_IVL_RISE Watch block for AB   Watch block rise  connector VBUS   latch  Voltage Load current    SNS_WB_IVBUS_AB RISE Watch block for AB   Watch block rise  connector VBUS   latch  current    SNS WB DP AB RIS
17.   and of course    e aMicro AB receptacle for its accessory port    When running a test suite relating to a Micro ACA  the first test will  prompt you to connect it to the PET using    Special Test Cable C        PL    Hosttfor PET         High Speed LISE Unk    PacketMaster  LISB PET    Special Test  Cable  C     Captive Cable    Micro AC A    2 5 9 Micro ACA  Combined Charger  as Unit Under Test   Setup no  7b     This is the same as Setup 7 except that there is no charger cable  coming from the UUT     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    26    mq  p USER MANUAL  ELECTRONICS    2 5 10 Standard ACA  Separate Charger  as Unit Under Test   Setup no  8     An Accessory Charger Adapter having a Standard A receptacle for  its accessory port  Standard ACA   must be equipped with        e acaptive cable terminated with a Micro A plug for its OTG  port    e aMicro B receptacle  or a captive cable with Standard A  plug for its charger port  and of course    e a Standard A receptacle for its accessory port    When running a test suite relating to a Standard ACA  the first test  will prompt you to connect it to the PET using    Special Test Cable D         Note  This cable is currently an optional extra  An alternative is to  use    Special Test Cable C    and to use a suitable adapter to convert  the Micro B plug on the end of the cable marked    Accessory    to a  Standard A plug           PL    Host for PET  High Speed USB Link    Facket Master  LISA P
18.   bmRequestType Ox40  hbRequest Ox01  bRequest desc  Widget   Set Parameter   bRequest text  This requests the device to accept a specified parameter    The parameter value is included in the setup bytes      vindex  desc   Parameter Nurmber           T  1  l              Tim ne mm mm         f   SE error at line 7    For Help  press F1 Ln 1  Col 17       Double click on the error message in the output pane  to locate the  line in the edit pane  in this case the wrong type of closing bracket  was used      Only the first syntax error found may be shown each time  so run  the checker until no errors are flagged     When satisfied  save the file  using the default filename  and  ensuring that it is being saved in the data folder specified for the  application     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    156    GI USER MANUAL  ELECTRONICS    4 24 Vsus Voltage Measurement    The Packet Master USB PET has continuous Vaus voltage  monitoring circuitry  This is useful to give an early indication of  hardware or software problems related to USB power supply        See Technical Data section for accuracy information     GraphicUSB will continuously display the voltage value on its  toolbar              File View Operations Window Help    EIA EEN oe  a ae eee               Vbus  5 044v                                                                                  1 FileType MOPPET 1  Min   5 ControlMode PERIPHERAL  LU   3  wE 4  PSS SS SSS S55 5555 555555555
19.   called va Lue   This value can then be displayed in SendMessage type comands   by using the Sv5decu   Sv5hex2 or Sv5hex4 templates    VALUE6 The accumulator value accompanying this parameter will be placed in the store  called va Lue 6  This value can then be displayed in SendMessage type comands   by using the Sv6decu  Sv6hex2 or Sv6hex4 templates     VALUE7 The accumulator value accompanying this parameter will be placed in the store  called value    This value can then be displayed in SendMessage type comands     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd       9     mq  p USER MANUAL  ELECTRONICS       Be by using the Sv7decu  Sv 7hex2 or  v hex4 templates     The accumulator value accompanying this parameter will be placed in the store  called va Lue 8  This value can then be displayed in SendMessage type comands   by using the Sv8decu  Sv8hex2 or Sv8hex4 templates     VALUE8    TIME SPEC CLEAR       Prepare the application to perform a special time period and jitter function  This  function exaines a series of consectutive periods  and allows the minimum and  maximum values of this period to be validated  along with the jitter of the periods   The first time period starts when TIME _SPEC START is sent  Each time that  TIME SPEC_END is sent a period ends and a further period begins     The parameters TIME SPEC JITTER MAX  TIME SPEC MIN and  TIME SPEC MAX are used to test the periods     The set of functions is useful to testing the parameters of AD
20.   in the  absence of a B device connecting  The default value is thirty seconds  A vendor  is permitted to specify a longer time  but should be aware that this will have an  impact on the time taken for  and therefore possibly the cost of  compliance  testing     Unknown Dev  No Edit boxes The test will use the VID PID combination specified during tests for error  HNP  messages  when an unknown B device  not capable of HNP  is connected  A    amna a       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    33    mgp USER MANUAL  ELECTRONICS   default value  1A0A 0201  is used  but any other device not on the UUT s TPL   may be defined here     Unknown Dev  HNP  Edit boxes The test will use the VID PID combination specified during tests for error       messages  when an unknown B device  capable of HNP  is connected  A  default value  1A0A 0202  is used  but any other device not on the UUT s TPL  may be defined here        2 7 2 Additional Items from BC Checklist    DCD Current Source Check box Check this if the device under test uses a current source to implement Data  Contact Detect  DCD      DM v VLGC Check box Check this if the device under test  during Primary Detection  compares the   during Prim   voltage on D  with VLGC  and only determines that it is connected to a DCP or  CDP if D  is greater than VDAT_REF but less than VLGC     This is for report information only and has no effect on any test     Secondary Detection Check box Check this if the device 
21.   information see the Data Generator manufacturer s operating  instructions  and the USB IF USB 2 0 Electrical Test Specification  documents        Table 5 8 Procedure for Upstream Port Receiver Sensitivity Test    Check that the banana plug wire loop is inserted into the banana test socket  to  complete the VBUS circuit     Connect PET to the provided power supply  and to an appropriate host PC with  the latest version of the application GraphicUSB installed       Plug test fixture micro A plug into micro AB receptacle on PET front panel    test   Plug test fixture micro A plug into micro AB receptacle on PET front panel    micro A plug into micro AB receptacle on PET front panel     Plug the D connector of the test fixture control cable into the AUX connector on  the PET front panel     Plug the other end of the test fixture control cable into the DC power socket of  the test fixture     Plug the Special Test Cable  A or B as appropriate  into the test fixture micro   AB receptacle  and plug the aa end into the UUT     ii Attach the SMA cables of the Data Generator to SMA1 and SMA2 on the test    fixture     Attach the differential probe of the oscilloscope to S2 on the test fixture   Ensure D  on probe lines up with D  on fixture     From the PET Test Suites dialog  select the Host SEO_NAK or Device   SEO NAK button as appropriate  The PET will provide the conditions for the  UUT to enter the SEO NAK test state and will then automatically switch in the  correct test termin
22.  16_bit_value gt  Logical AND A with the specified immediate value   leaving the result in A      lt label gt  Save the current PC on the hardware CALL stack  and  start execution at the specified label     ClearFlag  lt FLAG gt  Clear the specified flag to 0     ControlMode HOST   DEVICE   This determines what the PET is emulating  Detached  PERIPHERAL   DETACHED and Device modes connect no 15K pull down resistors   Host mode connects pull down resistors on both data  lines  Peripheral mode connects a pull down resistor  only on D   Except in the case of Detached mode  the  appropriate Serial Interface Engine is automatically  enabled     CPAR Compare A with Register and set comparison flags  accordingly  e g  If the word contents of A is less than  the Register the LessThanFlag is set    CPIA  lt 16_bit_value gt  Compare A with the specified immediate value  and set  the condition flags accordingly  e g  If the word contents  of A is less than the immediate value  the LessThanFlag  is set     DATAO_ 1 Tells the Register Group 1 SIE buffer to expect or send a  DATAO packet next  as appropriate    DATA1_ 1 Tells the Register Group 1 SIE buffer to expect or send a  DATA    packet next  as appropriate    DATA2_ 1 Tells the Register Group 1 SIE buffer to expect or send a  DATA2 packet next  as appropriate    DATATOGGLE_1 Tells the Register Group 1 SIE buffer to toggle which    data packet to expect or send next  as appropriate   between DATAO and DATA    DATA1_2 Tells the Regist
23.  4 23 3 Vendor Class Analysis              ccccccccccsecceeeceeeeeeseeeeeeeeees 147   4 24 Veus Voltage Measurement    157   4 25 Firmware Updates nee ae eee sn    158   5 HIGH SPEED ELECTICAL TESTS    163   5 1 Test Fixtures for use with Packet Master USB PET          163  5 1 1 High Speed Signal Quality  Host or Peripheral  plus Inrush  Measurement Test Fixture               ccc ccceccecceceeceeceeseeeeeeceeseeaeeees 164  5 1 2 Termination Impedance Measurement  TDR   J and K  Voltage Levels plus Inrush Measurement Test Fixture                 168  5 1 3 Receiver Sensitivity plus Inrush Measurement Test Fixture   170    5 1 4 Economy Breakout Board plus Inrush Measurement Test  Fixture 172    6 TROUBLESHOOTING          ec eeceeeeeeeeeeeeeeeeeeeeeeees 174  T WARRANTY oise n danse ne 175  NO renee eee eee re eee 175  PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    6    GI USER MANUAL  ELECTRONICS       Te RAS a ne eae 175   7 3 Warranty mi CUI OC ais cen cece ener eaceceecseeseneeeeenneeceseese ease seecose 175   7 4 Obtaining Service    nnnrrnnrrnnrnnnennnennnnnnnnne 175  PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    7    mq  p USER MANUAL  ELECTRONICS       1 INTRODUCTION   PET Architecture    The PET  Protocol and Electrical Tester  is a comprehensive USB tool  capable  of performing compliance testing or assisting in development work leading  towards compliance testing on On the Go  Battery Charging and other general  USB applicatio
24.  4 GRAPHICUSB SOFTWARE   RUNNING SCRIPTS      44    41             400  0 LD  62 1 1 0 1    PP ce sts ee see sae Te 44  42 CC AUIS APE l OCDE a ee 45  4 3 PET Processor Archite Cture         csccccscessecssnesscnnsecscansensnaenees 49  4 3 1 Electrical Test Board     eee eeeeeeeeeeeeaeeeeeneees 50  4 3 2 Alphabetical Command List    51  4 3 3 Parameter Types Used in Command List                            57  PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    3    mq  p USER MANUAL  ELECTRONICS       4 3 4 CPU Registers LL  59  4 3 5 SIE Registers            cc ccccccecccseceeeceeceeceeecsesaseceeeeeesaeeseeeas 59  RS ee ee eee 67  4 3 7 Alert Parameters ss  12  4 4 Communication with Electrical Test Board                            73  4 4 1 Complete List of Control Reads and Writes on ETB           15  4 4 2 Sending Information from the Script to the Application       83  4 5 PET Script Language Syntax Rules    94  4 5 1 Command Sequence sis  94  4 5 2 Case Sensitivity    94  4 5 3 Command Lines    ec cec ec eec eee eeeeeeeeeeueeeeeeeeeeeeeeeeeens 94  BOF 7   0121 SP E E EE E 94  OS tone eeetaesoussucoeseeaaeeneeas 95  4 5 6 COMMentS         ccc ccccececseseeseeseueeeeueeeseusuueueeueeueuueeuensess 95  a a An      ee 95  4 5 8 Data VAS a dan nada aa ad a ia 95  4 5 9 Execution sciecscissccatcsscvtnsnawiunwecaniecessenstasesnsetediaudineceanewewtien 96  4 6 Running a Script from the Command Line                             96  4 6 1 Command Line Syntaxe  96  
25.  42010002 00 00 00 pg     145    162 Control Transfer Addr Endp Data  9 bytes  Status  5 172 196 5 Get Configuration Descriptor  0011 0x0  09 02 22 000101 00 AD     Show Selected Transactions  PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    111    mq  p USER MANUAL  ELECTRONICS       Show Packets    A transaction contains a number of packets  Clicking this button  removes shows the packets within the transactions                                       rol    Control Transfer Addr Endp Data  0 bytes  Status  5 126 195 s Set Address  00002008 00     OK    9 1   93  5 126 195 5 SETUP  oxoo  0x0   00 05 01 00000000 00  Event  51 SETUP  Addr  Endp  CRCS  EOF   IDLE  5 126 196 s gggogogij Ob Poxto  oa  0 02  0 17 us   Event  82 DAT A   Data   bytes  CRCI    EGP   IDLE  5 126 198 s ooo00004 0005 04 00 00 00 00 OO  0x2SEBRT 0 17 us   Event   53  syne  ACK  Er    IDLE  5 126 207 s ooo00004 976 44 us   85   87  5 127 195 5  Event   B5 C Syno   IN  At En eR eor    OE  5 127 1955 oggggggi   o9 000  o0   002  0 15 us   Event   36 DATA Data  0 bytes  CRO  EOF   IDLE  5 127 199 s oggggggij 046  0  ecooo oisu   0 44 us   Event  87  Syne  ACK  cor    IDLE  5 127 202 s oooo00004 981 44 us  Show Packets  Oo 1   07 Control Transfer Addr Endp Data 0 bytes  Status  5 126 196   Set Address  0x0  000  oT   OK   9 1   93  5 126  195 5 SETUP  oxoo  00   00 05 01 00 00 00 00 OO  ACK   OS OT  5 127 196 s PIN oto ow PO A  Hide Packets  PET User Manual 1 04 Copyright    2006 2012 MQP Ele
26.  ADC_WB_VBUS IIL Watch block for 0 4095 Watch block ADC output   AB connector 2mA units Limit current to 6A when  VBUS Current performing loads  and restrict  Load current loads above 500mA to 5  seconds  Thermal shut down  protects PET     ADC_WB_VBUS_IVL Watch block for 0 4095 Watch block ADC output   AB connector 1mA units Limit current to 2A when  VBUS Voltage performing loads  and restrict  Load current loads above 500mA to 5  seconds  Thermal shut down  protects PET     ADC_WB_IVBUS_AB Watch block for High Range Watch block ADC output    AB connector 0 2000 Use SW VBUS   HI   VBUS current 1mA units SW_VBUS_  MID or   Mid Range SW_VBUS   LO to select   0 2000 range    0 1mA units   Low Range   0 2000   0 01mA units    ADC _WB DP AB Watch block for 0 4095 Watch block ADC output  AB connector DP 1mV units   ADC_WB_DM_ AB Watch block for 0 4095 Watch block ADC output  AB connector DM 1mV units   ADC_WB_ID_ AB Watch block for 0 4095 Watch block ADC output  AB connector ID 1mV units       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    82    mq  p USER MANUAL  ELECTRONICS       4 4 2 Sending Information from the Script to the Application  The following script commands are available for this purpose     SendMessage  message   lt message parameter gt  Sends message to application which will appear  both in text report  and in capture     Unless the parameter ALERT NONE or no  parameter is used  the message will also appear in a  pop up dialog    While this mo
27.  DM   Spare  do not use   200R to DP   1k5 to DP   15k to DP   100k to DP    1nF to DP  used for DCP data line  capacitance measurement     Miscellaneous controls for ACA testing    SW_VBUS ACC _LD1  SW_VBUS_ACC_LD2  SW_VBUS_ACC  SW_ID_ACC_LOW  SW_VBUS_CHG  SW_DCD_RES_CHG                 O        _     O             G  O  mm OO      3        O            off   1  on   O  off   1  on     O   olo   R       lt                         D gt   gt          wm    O        Connect 625 Q to ground   Connect 10 Q to ground   Connects VBUS to VBUS_ACC  Connects 00 from ID_ACC to ground  Connects VBUS to VBUS_ CHG   200 Q DP to DM on charger port    Inserts a common mode voltage offset into the USB ground  to simulate the effect of large charging port current  Used in    conjunction with DAC_CMO   SW_CMO_SRC    SW_CMO LD    Common Mode Offset  Common Mode Offset    O  off   1  on     O  off   1  on     Switch common mode circuit to work when  tester sources VBUS    Switch common mode circuit to work when  UUT sources VBUS    Eight signals to clear the watch block RISE and FALL condition latches    SW_WB_VBUS_ AB 1 CLR    SW_ WB_VBUS AB 2 CLR    SW_WB _VBUS _IIL_ CLR    SW WB_VBUS _IVL CLR    SW_ WB_IVBUS AB CLR    PET User Manual 1 04    Watch block for AB connector  VBUS   Watch block for AB connector  VBUS   Watch block for AB connector  VBUS Current Load current  Watch block for AB connector  VBUS Voltage Load current  Watch block for AB connector  VBUS current    76    1    1    1    
28.  Identifies the filetype and  version    Specifies the Setup packet  field which identifies this  request    Specifies the Setup packet  field which identifies this  request    Appears in the Control  transfer header of the  event pane to name this  request     Also appears in the Setup  transaction header table  in  the detail pane  and used  as a sub title in the detail  pane for the Control  transfer header     Appears in the detail pane  for the Control transfer  header     Appears in the detail pane  table when a Setup  transaction header is  selected in the event pane     mgp USER MANUAL  ELECTRONICS    instead of it when the  parameter only  occupies a single byte        Minimum number of   bytes which may be  wLength Min  Optional transferred in the Data   Stage of the control    Used to validate the  number of bytes  transferred in the Data    transfer  Defaults to 0  Stage     Maximum number of  bytes which may be Used to validate the  wLength Max  Optional transferred in the Data number of bytes    Stage of the control transferred in the Data  transfer  Defaults to Stage   65535     4 23 3 2 8   lt Endpoint   lt  Endpoint gt        Each defined endpoint must be introduced by the   lt Endpoint gt   tag   and ended with   lt  Endpoint gt    Between the tags you should define  the parameters of the endpoint by specifying the following     Number from 0x01    eo code  Wiandater OxOf for OUT endpoints  Specifies the endpoint  p  y or from 0x81   Ox8f for being described
29.  Ltd    161    mq  p USER MANUAL  ELECTRONICS    GraphicUSB    4 Re conn  ct unit and click OK again          On clicking OK  the    Update Analyser Firmware    dialog will close     leaving the Select dialog  which should now show the new firmware  version     Select Unit s  to Use    Function Current FA Latest Fs   RENE Analyser 0 01 0 01      Voltage Current Measurement Fron    3 Change Function     Advanced      Analyser   Generator nes       ou may select up to one Analyser  and up to one Generator   i simultaneously  Some units have    dual function  In this case to  change the function of a unit  first select just that one unit and  click on the Change Function button  Then if required  select a  unit with a different function     The 4dvanced    Button allows access to firmware updating Lancel    functions  which should only be undertaken with caution  ae         PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    162    mq  p USER MANUAL  ELECTRONICS    5 HIGH SPEED ELECTICAL TESTS       5 1 Test Fixtures for use with Packet Master USB PET    These fixtures are designed to allow the connection of third party  test equipment such as oscilloscopes and data generators  to the  cable between the USB PET and the Unit Under Test  UUT   They  are particularly designed for OTG 2 0  in that they include a fifth  signal for controlling the resistance to ground on the ID pin of the  UUT     Each fixture  except for the Economy Breakout Board  is supplied  with a 
30.  Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    52    EGP USER MANUAL  ELECTRONICS  Load low byte of A from data RAM byte indexed by  REGIndex  high byte of A becomes 0     PLDAXW PLDAXW o Load A from word in data RAM indexed by REGIndex   LDIA  lt 16_bit_value gt  Load the specified immediate value into A     MDATA 1 Tells the Register Group 1 SIE buffer to send an MDATA  packet next    MDATA 2 Tells the Register Group 2 SIE buffer to send an MDATA  packet next    MDATA 3 Tells the Register Group 3 SIE buffer to send an MDATA  packet next    MDATA 4 Tells the Register Group 4 SIE buffer to send an MDATA  packet next    ORIA  lt 16 bit value gt  OR A with the specified immediate value  leaving the  result in A    OutbufData0 0 Tells the Register Group 0 SIE OUT buffer to transmit a  DATAO packet next    OutbufData1 0 Tells the Register Group 0 SIE OUT buffer to transmit a  DATA1 packet next     OutbufDataToggle_0 Tells the Register Group 0 SIE OUT buffer to toggle  which data packet to transmit next  between DATAO and  DATA           POP the last 16 bit value PUSHed onto the data stack   back into the accumulator A    PullupOff DEVICE or PERIPHERAL mode only  Disconnect pull up resistor from data line    PullupOn FULLSPEED   LOWSPEED  In high speed test mode  sets data lines to high speed J  or K condition    PUSH The content of the accumulator A is pushed onto the  hardware data stack  This stack has space for 128  words  A is not affected  and the data can later 
31.  The accumulator value accompanying this parameter  assuming units of 1ms  is  compared with duration4  lf duration4 is greater than or equal to the    accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set     MAXDURATION4_1MS The accumulator value accompanying this parameter  assuming units of 1ms  is  compared with duration4 lfdurationd is less than or equal to the    accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set     VALUE The accumulator value accompanying this parameter will be placed in the store  called valuel  This value can then be displayed in SendMessage type comands   by using the Svldecu   vlhex2  Svlhex4  vl ImV or  Svl 1mV templates    VALUE2 The accumulator value accompanying this parameter will be placed in the store  called value2  This value can then be displayed in SendMessage type comands   by using the Sv2decu  Sv2hex2 or Sv2hex4 templates    VALUE3 The accumulator value accompanying this parameter will be placed in the store  called value3  This value can then be displayed in SendMessage type comands   by using the Sv3decu  Sv3hex2 or Sv3hex4 templates    VALUE4 The accumulator value accompanying this parameter will be placed in the store  called va Lue 4  This value can then be displayed in SendMessage type comands   by using the Sv4decu  Sv4hex2 or Sv4hex4 templates    VALUES The accumulator value accompanying this parameter will be placed in the store
32.  Widget   Set Parameter   bRequest text  This requests the device to accept a specified parameter       i          Tee _            nn m        la   un Tom                 For Help  press F1 Ln 1  Col 3   2    The vendor info file opens in an editing window  Below it is an    output pane  used by the built in validation function     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    150    mq  p USER MANUAL  ELECTRONICS    The template file will have this typical appearance           in this example we define 2 control requests and 1 endpoint     for our vendor device  Widget     FileType MQPVEN 1     lt Device gt   VID 0x12AB    the Vendor ID  PID 0x34CD    the Product ID     lt Control Request gt   bmRequestType 0x40  bRequest 0x01  bRequest desc  Widget   Set Parameter   bRequest text  This requests the device to accept a specified    parameter  nThe parameter value is included in the setup bytes    windex desc  Parameter Number   wValue desc  Parameter Value   wLength Min 0  wLength Max 0   lt  Control Request gt      lt Control Request gt   bmRequestType 0xC0  bRequest 0x01  bRequest desc  Widget   Get Parameter   bRequest text  This requests the device to return a specified parameter   n    The value is 2 bytes sent in a data packet     windex desc  Parameter Number   wValue desc  Parameter Value   wLength Min 0  wLength Max 0    lt  Control Request gt      lt Endpoint gt   ep code 0x82  ep desc  Data Stream from Widget   ep text  Responses in the  Widge
33.  Windex wLength    Either T Ary T Any  Ary i   Any i  Any i   Any    i ToDev   M Standard  M Device  os h  oh  h    h    M ToHost   Class T Interface  Mask  Mask  Mask Mask    PF Yendor T Endpoint   FF h FFFF h  IFFFF h FFFF  T Other   Reserved i    Destination  Device Addr Endpoint Addr    M Any M Ary    O h O h              il Select the details of the Setup    pau wish to find   Find First         ou can use the find buttons  here  or close this window and Find Next    use the find buttons on the    toolbar  FT Upwards       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    124    mq  p USER MANUAL       ELECTRONICS       4 15 5 Error Search    Errors such as Invalid PID  Invalid CRC etc may be found by  selecting the appropriate boxes  A more detailed explanation of these  errors is given in the Errors Chapter     Search Settings       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    125    mq  p USER MANUAL  ELECTRONICS    4 16 Multiple Event Headers    Numerous consecutive Start of Frame packets or Keep Alive  events make the display difficult to read  GraphicUSB inserts multiple  Event Headers before such sequences  The packets can be hidden  by clicking on the    Show Packets    button with the multiple Events  Header still being visible  The multiple Events Headers can be hidden  by clicking on the    Show SOFs    button  The example below shows 41  SOF   s grouped together                                GUERRE START OF FRAME  Event
34.  case the file will be saved in the Application Data folder for  GraphicUSB  You can also specify a full pathname in order to save  the file in a folder of your choice        GraphicUSB returns an exit code  This has the value O for no error   1 if the script used the command SendValue TESTFAILEDNONFATAL   or 2 if the script used the command SendValue TESTFAILEDFATAL     Before and after the script is run  all ETB switches are cleared     A typical implementation in a C program is      gt   WinExec  c   Program Files  MOP  Electronics  GraphicUSB  GraphicUSB  ps scriptl mpet  pr  reportl petrpt  pe  Capturel  lt mqu   SN SHOW       All on one line in the actual code       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    97    GJL ELECTRONICS    USER MANUAL       GraphicUSB SOFTWARE   ANALYSER    4 7 Overview    The PET shares the Capture File format with the other Packet   Master Analysers  A simple  yet information rich display allows you  to view every detail of a capture     This shows the organization of the screen after a typical capture     Fiter out less  significant  events    Precise    iby      timing for    every event    Custom filter    Bookmarks  for fast event    location           Bandwidth  Usage at any  point in time    Timeline view  pinpoints      fe  every packet    PET User Manual 1 04    a   aa  T      e  a  E    Event pane reveak every detail of data and    timing which occurs on the LE  You see  exacth what happened in graphic detail
35.  clicking on the event in the event pane   making it the    Current Event      Then select the item    Create Current  Data File       from the File menu  The    Export Current Event Data     dialog will be displayed     Export Current Event Data    Selection Format    All data from this event    C format  0812   C Assembler format  12h   C Plain Hex   C Interpret as ASCII Text  Binary    Uptions  W Comment with ASCII    Export will generate    test fle containing  the current event data  You may select pes    the output format for this data        Select the format in which you wish to export the data  When you  have made your selection  click on OK and the text file will be  displayed  ready for you to edit  or save to your chosen location     If a binary format is selected  you will be invited to choose the  name and location of the exported file     An example text file is shown below     OxE2  OxO00  OxE    Ox00  OXEA  0x00  OXEA  0x00  OxED  0x00  OxED  0x00  OXEA  Ox00  OXEA  0x00  OxDC  0x00  OxDC  0x00  OxC    0x00  OxC    0x00  Ox9C  OxO0  Ox9C  0x00  Ox6c  0x00  Ox6C  0x00  Ox34  Ox00  Ox34  Ox00  OxF6  OxFF  OxF6  OxFF  OxB2  OxFF  OxB2  OxFF  Ox6D  OxFF  Ox6D  OxFF  Ox2C  OxFF  OxZC  OxFF  OxFO  OxFE  OxFO  OxFE  OXEA  OxFE  OxBa  OxFE  Ox89  OxFE  0x89  OxFE  0x60  OxFE  Ox60  OxFE  Ox4i  OxFE  Ox4i  OxFE  Ox2D  OxFE  OxZD  PTT oc  R  OXFE  Or  7 Tr     a m T    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    137    mq  p USER MANUAL  ELECTRON
36.  equal to the  accumulator value  then the PET RESPONSE _ YES flag is set  otherwise the PET  RESPONSE_NO flag is set     MINDURATION2_1MS The accumulator value accompanying this parameter  assuming units of 1ms  is  compared with duration2  lf durationz2 is greater than or equal to the  accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set     MAXDURATION2_1MS The accumulator value accompanying this parameter  assuming units of 1ms  is  compared with duration2  If durationz2 is less than or equal to the  accumulator value  then the PET RESPONSE _ YES flag is set  otherwise the PET  RESPONSE_NO flag is set     TIMESTART3 The accompanying timestamp  automatically generated  defines the start time for the  store called duration3   TIMEEND3 The accompanying timestamp  automatically generated  defines the end time for the  store called duration3  and causes the duration to be calculated   MINDURATION3_10US The accumulator value accompanying this parameter  assuming units of 10us  is  compared with duration3  If duration3 is greater than or equal to the       accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set     MAXDURATION3_10US The accumulator value accompanying this parameter  assuming units of 10us  is  compared with duration3  If duration3 is less than or equal to the    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd       90    mgp USER MANUAL  ELECTRONICS  accu
37.  files and ASM files are usually generated by  opening    Capture file and selecting Menu    File   Create Descriptor File     or    Create current  Data File        The only way to make    new Device Info file iz  to open    Capture file and select Menu   File    Create Device Into File           Click on the PET Script button  then OK  A barebones script is  created for you to add to  This section describes only the mechanism  of creating and compiling scripts  Later sections provide the  information required to understand what to put in a script     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    45       mq  p USER MANUAL  ELECTRONICS    EE  GraphicUSB    Script1    5  File Edit View Operations Window Help    FileType MOPPET 1  r PET Script File  ControlMode HOST   or DEVICE  PERIPHERAL or DETACHED    64 2  M h RS       For Help  press F1    Notice that the document has a separate output pane beneath for  compiler information to be displayed in     The easiest way to add a command is menu item     Edit  Insert Command     or Ctrl I     Add PET Script Command    Command Set  f Detached Mode    Host Mode Device Mode  Peripheral Mode    SendMeszage  message   ALERT_NONE       Command    Message Embedded Parameters    vact mi       Copy      Accumulator value as voltage  Tm steps     Sends    message which appears in test report and capture file  IF an Alert parameter is added the message also  appears In a modal message bos  This bos must be acted on befor
38.  leading zeros     v5hex2 values as 2 character wide hexadecimal with  leading zeros    v5hex4 values as 4 character wide hexadecimal with  leading zeros     v6hex2 value6 as 2 character wide hexadecimal with  leading zeros    v6hex4 value6 as 4 character wide hexadecimal with  leading zeros     v7hex2 value7 as 2 character wide hexadecimal with  leading zeros    v7hex4 value7 as 4 character wide hexadecimal with  leading zeros     v8decu values as unsigned decimal     v8hex2 value8 as 2 character wide hexadecimal with  leading zeros    v8hex4 value8 as 4 character wide hexadecimal with  leading zeros    Templates to display Special  ADP  Timer Values   tmspcr calculated special timer current value Automatically formatted as    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    86    mgp ELECTRONICS    calculated special timer min value     tmspmn     tmspmx     Stmspit     tm1us   tm10us   tm100us     tm1ms    calculated special timer max value    calculated special timer jitter percentage    accumulator value as time    accumulator value as time  accumulator value as time  accumulator value as time    required    Automatically formatted as  required    Automatically formatted as  required    ius  10us  100us    ims       Templates to display pass fail counts from ASSERT mechanism    Sassert     pass_cnt     fail_ cnt     not_test_cnt     not_appl    Display  as appropriate    YES  PASS   NO  FAIL   NOT TESTED  NOT APPLICABLE  YES  NO    In relation to the as
39.  on the toolbar will be    enabled           Green for    Go To Trigger Start Event and red for     Go To Trigger Stop Event        Clicking the icon will take you to the event in question  which is  marked with an arrow of the appropriate colour     G3 GraphicUSB    Capture   File Edit View Operations Window Help    6  amp  D Sn we  l  GE                gt                        CE  Hax  PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    108    mq  p USER MANUAL  ELECTRONICS    4 13 Display Filters    Toolbar buttons allow the filtering out of events that you do not  wish to display  The following filters are available            Show SOF    Start of Frame packets on high and full speed devices and Keep  Alive events on low speed devices come at approximately one  millisecond intervals  125 us for high speed   Clicking this tool bar  button removes shows these events     AL Show Bus States  Clicking the Bus States button removes shows the following events   e Plugged in  e Unplugged  e Reset  e Suspend  e Resume      t Show Chirps    Clicking the Show Chirps button removes shows chirp events  within a High Speed Detection Handshake  Chirps are only used on  high speed links     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    109    mq  p USER MANUAL  ELECTRONICS         Show Transactions    A Control Transfer contains a number of transactions starting with  a SETUP  Clicking this button removes shows the transactions within  a Control Trans
40.  single line of message for display in the report file  and in some cases in the capture file   It is currently recommended that the length of this text be limited to 80 characters for best results      lt alert_param gt  The available A ert parameters are listed in a section below   The parameter describes the buttons which will be displayed along with the message box  to  allow the user to select the appropriate action   Clicking on a button results in the setting of the appropriate response flag as defined in a section  below   All response flags are automatically cleared when the SendMessage command is executed      lt 16 bit value gt  A decimal number from 0 to 65535  or a hexadecimal number from 0x0000 to OxFFFF   lt 60MHZCIKs gt  A decimal number from 0 to 2147483647  corresponding to a time of ca  35 seconds     A decimal number from 0 to 255  or a hexadecimal number from 0x00 to OxFF      lt ETB_addr gt  The address of an Electrical Test Board element     complete list of addresses is listed in a  section below     lt FLAG gt  The name of a flag     complete list of flags is listed in a section below     lt label gt  A label is defined as a sequence of alphanumeric characters finishing with a         It must appear on  its own line of text  and should not match any keywords used by the compiler  A label is used as  the target of a Jump command or a DINZCount command     lt RamAddr gt  A number from 0x000 to OxFFF    The name of a register  A complete list of register
41.  string from accumulator  value  based on list of valid classes defined by  the USB IF         str1 String built up using SendValue STR1CLEAR  and SendValue STR1CHAR      protocol Protocol description string from accumulator  value  based on list of valid classes defined by  the USB IF    str2 String built up using SendValue STR2ZCLEAR  and SendValue STR2CHAR        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    88    mq  p USER MANUAL  ELECTRONICS    4 4 2 2 SendValue Parameters    TESTFAILEDFATAL Tells the a to report a fatal failure at the end of the script  In standard test  scripts this will prevent further scripts being run    TESTFAILEDNONFATAL Tells the application to report a non fatal failure at the end of the script  In standard  test scripts this will still allow further scripts to be run    PREPARETOAVERAGE Primes the application to average a series of values  clears any previous averaging  result in calculatedAverage     VALUETOAVERAGE The accompanying accumulator value  a 16 bit value  is added to those being  averaged     PERFORMAVERAGE The values to be averaged are averaged at this point  and the result is placed in a  store called calculatedAverage    MINAVERAGE The accumulator value accompanying this parameter is compared with  calculatedAverage  If calculatedAverage is greater than or  equal to the accumulator value  then the PET RESPONSE_ YES flag is set   otherwise the PET RESPONSE_NO flag is set    MAXAVERAGE The accumulator value ac
42.  the  external power supply  included with the unit  so that sufficient  voltage and current are available to the device under test    e A High Speed USB  480 Mbit s  provides the connection to the  Host PC    A trigger output for external equipment is provided on a BNC  connector    A further BNC connector provides the ability to monitor one of the  following  VBUS OTG  VBUS ACC  VBUS CHG  D   test mode    D   test mode      PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    13       mq  p USER MANUAL  ELECTRONICS    2 4 Test Cables    The following test cables are specified for use with the PET   Special Cables A  B and E are provided as standard  Cables C and D  are available as optional extras     Special Test Cable A   Micro B plug to Micro B plug        This cable is supplied as standard      This cable has been specially manufactured to allow control of the  ID pin of the unit under test  It is important to use this cable when the  test specifies it  The particular resistance of the cable has also been  allowed for in the test suite     Note  The original version of this cable was 1m in length  and was  not suitable for testing PDs in situations where the PET was acting as  an ACA  and the PD was drawing more than ICFG MAX  The cable  now supplied is 200mm in length and has a GND resistance of less  than 100mQ     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    14    GI USER MANUAL  ELECTRONICS    Special Test Cable B   Micro B plug t
43.  the UUT resumes the tester  The flag must be  cleared by software     Device or Peripheral Mode    This flag is set by the SIE if the tester gets resumed by the  UUT  The flag must be cleared by software     Copyright    2006 2012 MQP Electronics Ltd    70    mq  p USER MANUAL  ELECTRONICS    DPlusHigh Host Mode  Shows the state of D  in host mode   Host  Device or Peripheral Mode  Shows the state of D  if high speed terminated state if  EnableLineStateDetect has been set    Used for USB Test Mode Support    DMinusHigh Host Mode  Shows the state of D  in host mode   Host  Device or Peripheral Mode  Shows the state of D  if high speed terminated state if  EnableLineStateDetect has been set    Used for USB Test Mode Support         Host Mode    True when D  and D  are low     SessionValid VBUS is above a voltage between 0 8V and 4V     ChirpSequenceError Host Mode    Set by hardware if something about a chirp sequence is out of  spec     Cleared by script   not currently implemented     Test Mode Status Flags    Inactivity Peripheral or Device Mode  This flag is set by the SIE after 3ms of inactivity    DataORcvd This flag is set whenever a packet with a PID of DATAO is  received  Used to detect high speed test packets  these have a  PID of DATAO      InTestMode Peripheral or Device Mode    Indicates that the SIE has detected that the UUT host is  sending high speed conditions J  K or SEO     The logic is that if EnableTestMode is set  and we are in a High  Speed state  and th
44. 1    1    Clear Watch block RISE and FALL latches    Clear Watch block RISE and FALL latches    Clear Watch block RISE and FALL latches    Clear Watch block RISE and FALL latches    Clear Watch block RISE and FALL latches    Copyright    2006 2012 MQP Electronics Ltd    mq  p USER MANUAL  ELECTRONICS    SW_WB_DP_AB CLR Watch block for AB connector Clear Watch block RISE and FALL latches  DP   SW_WB_DM_AB_CLR Watch block for AB connector Clear Watch block RISE and FALL latches  DM   SW_WB_ID_AB CLR Watch block for AB connector Clear Watch block RISE and FALL latches  ID    SW_VBUS _IL_ HI VBUS Current Load  off   1  on  High current range  SW_VBUS_VL_EN VBUS Voltage Load  off   1  on  Enable Voltage Load     off SW_VBUS_  MID and    SW_VBUS_I HI Vbus current measurement  O  off   1  on   SW_VBUS_ _LO automatically   SW_VBUS   MID VBUS current measurement  O  off   1  on  Mid Range  0 2000  0 1mA units  Switching SW_VBUS 1 MID on  switches  off SW_VBUS   Hi and SW VBUS   LO  automatically   SW_VBUS   LO VBUS current measurement  O  off   1  on  Low Range  0 2000  0 01mA units  Switching SW_VBUS_ _LO on  switches  off SW_VBUS_ _MID and  SW_VBUS_I _HI automatically     Signals to select the sources of the positive and negative inputs to the VBUS voltage watch block       1  1  1  0  0    High Range  0 2000  1mA units    Switching SW_VBUS_I_HI on  switches             Switching on one of the next four switches  has the effect of switching the other three off  though it is good pra
45. 557  Fr  z OT G Device   E  D la    Copyright    2010 2011       7      8   This script emul   9    the OTG and    l LO    When w   ET 11    a      PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    157    mq  p USER MANUAL  ELECTRONICS    4 25 Firmware Updates    It is occasionally necessary to modify the firmware within the PET  unit  GraphicUSB has the capability of performing this function in the  field        Caution    Updating firmware is not without its risks  If the update process is  interrupted by a power failure  USB cable disconnection or any other  similar problem  then it is possible to leave the analyser unit in a non   working state  So the firmware should only be updated for a valid  reason     The website www mqp com contains software revision information   which includes details on firmware revisions  and the reasons for  them  Please check there before attempting an update  and contact  us beforehand if uncertain     If the process does fail  for one of the above reasons  then you will  have to return the analyser to us for re programming  Please contact  us in advance for a returns number in this case        Firmware updates are controlled from the Operations   Select  Analyser or Generator    menu item     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    158    mq  p USER MANUAL  ELECTRONICS    Select Unit s  to Use       Serial Number Function Current FA Latest FAN    Analyser 0 00       ou may select up to one Analyse
46. A Se Shifts A left one bit  Zero bit enters from right   SHRA Pe Shifts A right one bit  Zero bit enters from left        SMIAR  lt REG gt  If Register is less than A  swap A and Register     SOFs  lt 16 bit value gt  HOST mode only   Peform no transactions until the specified number of  SOFs has been sent      lt RamAddr gt  Store low byte of A into data RAM byte specified     StartPeriodO_1us Starts the PERIODO timer using a 1us clock  The timer  can be stopped using EndPeriod0  The time measured  can be acquired from register PERIODO  The maximum  time count is 65535     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd       STA       K    5    mq  p USER MANUAL  ELECTRONICS       StartPeriod1    us Starts the PERIOD1 timer using a 1us clock  The timer  can be stopped using EndPeriod1  The time measured  can be acquired from register PERIOD1  The maximum    time count is 65535     StartPeriod2_1us Starts the PERIOD2 timer using a 1us clock  The timer  can be stopped using EndPeriod2  The time measured  can be acquired from register PERIOD2  The maximum    time count is 65535     StartPeriod3_1us Starts the PERIOD3 timer using a 1us clock  The timer  can be stopped using EndPeriod3  The time measured  can be acquired from register PERIOD3  The maximum    time count is 65535     StartPeriod4_1us Starts the PERIOD4 timer using a 1us clock  The timer  can be stopped using EndPeriod4  The time measured  can be acquired from register PERIOD4  The maximum    time c
47. E Watch block for AB O FALSE Watch block rise  connector DP 1 TRUE latch   SNS WB DM AB RISE Watch block for AB O FALSE Watch block rise  connector DM 1 TRUE latch    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd       78    mgp USER MANUAL  ELECTRONICS  SNS WB ID AB RISE Watch block for AB O FALSE Watch block rise   connector ID 1 TRUE latch    Each watch block contains a latch which remembers whether the voltage or current being  watched fell lower than the selected watch value  since the latch was cleared  These sense  points are read to discover the result     SNS WB VBUS AB 1 FALL Watch block 1 for AB O FALSE Watch block fall  connector VBUS 1 TRUE latch   SNS WB VBUS AB 2 FALL Watch block 2 for AB O FALSE Watch block fall  connector VBUS 1 TRUE latch    SNS WB VBUS IIL FALL Watch block for AB Watch block fall  connector VBUS latch  Current Load current    SNS WB_VBUS IVL FALL Watch block for AB Watch block fall  connector VBUS latch  Voltage Load current       SNS WB IVBUS AB FALL Watch block for AB Watch block fall  connector VBUS latch  current    SNS WB DP AB FALL Watch block for AB O FALSE Watch block fall  connector DP 1 TRUE latch   SNS WB DM AB FALL Watch block for AB O FALSE Watch block fall  connector DM 1 TRUE latch   SNS WB ID AB FALL Watch block for AB O FALSE Watch block fall  connector ID 1 TRUE latch    Each watch block can be directly read to discover whether the voltage or current being  watched is currently higher than the selected wa
48. ET    Special Test  Cable  D     Captive Cable        OT CHG    Standard ACA    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    24    mq  p USER MANUAL  ELECTRONICS    2 5 11 Standard ACA  Combined Charger  as Unit Under   Test  Setup no  8b     This is the same as Setup 8 except that there is no charger cable  coming from the UUT        2 5 12 ACA Dock as Unit Under Test  Setup no  9     An ACA Dock must be equipped with a Micro A plug  for  connecting to the Micro AB receptacle of a PD  It is represented here  as a Captive cable  In practice it may comprise part of a fixture  which  may be difficult to connect to the PET front panel  In this case it is the  responsibility of the vendor to provide a suitable means to connect  the ACA Dock to the Micro AB receptacle of the PET     When running a test suite relating to an ACA Dock  the first test  will prompt you to connect it to the PET using its captive cable     PL    Hosttor PET         High Speed LISE Link    Packet Master  LISB PET    Captive Cable    Wall Socket AC A Dock    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    28    GJL ELECTRONICS    2 6 Running Standard Compliance Tests    To run the standard tests  click on    Operations    Pet Compliance  Tester    on the menu bar  or on the    PET    icon on the Tool Bar  The  Test Suite dialog appears     USB PET Test Suites    OTG 20 and EC 1 2   Device Emulator    W Supports Sessions    FS Not Available      DCD Current Source  H
49. Feature  Hubyf gs01  0x0  OK     302   A307 Control Transter Addr Endp Data  0 bytes  Status           _ 6 299 03     f Set Port Feature  Hubil 0041  oof oO      ok    ae FoS12   6377 Control Transfer Addr Endp Data  0 bytes  Status   6 300 300 s et Port Feature  Hub oif oo    OK    Hax   wi SOG    7314 Control Transfer Addr Endp Data  0 bytes  Status  Ye 6 423  8245 lear Port Feature  Hub 01  oo    OK   au r317  T322 Control Transfer Addr Endp Data  0 bytes  Status  R 6 424 459 5 lear Port Feature CHubil  04 oof   OE   0 ESAT  EC IC Control Transfer Addr Endp Data  0 bytes  Status  mg 6 424 966 5   Clear Port Feature  Hubi oif oo    OF    Eg TSS  agt HE Control Transfer Addr Endp Data  0 bytes  Status   6 425 459 5 SF   Clear Port Feature  Hubal odil oof   OK     You can locate the next or the previous Bookmark by     e clicking on the tool bar icons     or       e Menu   View    Go to Next Bookmark or Go to Previous Bookmark  respectively  or    e Using keyboard F2 or Shift F2 respectively    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    127    mq  p USER MANUAL  ELECTRONICS    4 18 Printing    Any of the panes may be printed  To select a pane to print  click on    that pane  or click on the Select Print Pane icon LE on the tool bar  until the required pane is indicated  Then print in the usual way  either    from the file menu  or using the print icon   on the tool bar     4 19 Option Settings    Select Options in the Edit menu to open the Option Setti
50. ICS       4 21 Text Editing    4 21 1 Introduction    A number of GraphicUSB document types are basically normal  text files  sometimes with special extensions  These include     e PET script file    mpet    e exported event file    txt    e exported data file    txt    e exported descriptor file    c    asm    e exported current event data file    c    asm   e vendor class information file    mven    e device information file    mdev     These file types are all opened in the GraphicUSB built in text  editor  The editor has the following features     e contextual colouring   e bookmark capability   e goto line number   e printing and selection printing   e find and replace functions   e word selection by double mouse click  e dragging of selected blocks    Additionally a second     output    pane is associated with certain file  types     e PET script file    mpet    e generator script   e vendor class information file  e device information file    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    138       GI USER MANUAL  ELECTRONICS    This is used to display validation or compilation output     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    139    mq  p USER MANUAL  ELECTRONICS    4 21 2 Editing    All the normal text editing functions are implemented in an industry  standard way  so that using the editor should be instinctive  therefore  not requiring much description here        Available keyboard accelerators are shown against the f
51. IONO_1MS The accumulator value accompanying this parameter  assuming units of 1ms  is  compared with durationO  If duration0 is less than or equal to the  accumulator value  then the PET RESPONSE _ YES flag is set  otherwise the PET  RESPONSE_NO flag is set     TIMESTART 1 The accompanying timestamp  automatically generated  defines the start time for the  store called durationl    TIMEEND1 The accompanying timestamp  automatically generated  defines the end time for the  store called durationl  and causes the duration to be calculated    MINDURATION1_10US The accumulator value accompanying this parameter  assuming units of 10us  is    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd          89    mq  p USER MANUAL  ELECTRONICS    compared with durationl  If duration1 is greater than or equal to the  accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set        MAXDURATION1_10US The accumulator value accompanying this parameter  assuming units of 10us  is  compared with durationl  If duration  is less than or equal to the  accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set     MINDURATION1_1MS The accumulator value accompanying this parameter  assuming units of 1ms  is  compared with durationl  If duration  is greater than or equal to the    accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set     MAXDURATION1_1MS The 
52. MQP Electronics Ltd    94    mq  p USER MANUAL  ELECTRONICS    4 5 5 Symbols    A symbol is defined as a sequence of alphanumeric characters   including  _   starting with an alphabetic character or  _   It must be  defined somewhere in the script  using an    Equate     and should not  match any keywords used by the compiler  A symbol is used in place  of an immediate value        An example of a symbol is     _msAvailable    4 5 6 Comments    Comments are introduced by a      character and continue till the  end of the current line     comment may appear to the right of any  command or part command  e g     DnLdToRam DevStatusAddr    0x01   self powered    0x00    remote wakeup not enabled    Comments are completely ignored by the compiler     4 5 7 Tabs   Tab characters may be used to make the script tidier  a tab will be  interpreted as white space   4 5 8 Data Values    Data values may be expressed in decimal or hexadecimal  or by a  pre defined value     A hexadecimal number is prefixed with    Ox        e g  After  Equate bMaxPower 50    the following   50  0x32 and bMaxPower    all represent the same value     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    95       mq  p USER MANUAL  ELECTRONICS    4 5 9 Execution    The script instructions are executed in turn starting at the  beginning and continuing till the end     In the case of a user specified loop  execution will continue till the  user halts it from the application     lf a problem is enco
53. NF Polling as 4 dey    DM v  LGC  during Prim      Secondary Detection     ACA Detection    IL FIL    Weak Battery    SAP as 4 device  HNP as 4 device    ADP as 4 device  SAP as B device  HNF as B device  ADF as B device El    Test Selection    Command Werifier  Options   W Do Analyser Capture  bMaxPower   100 rr    Debug    IS VBUS RATED   100 mA    USER MANUAL       TEST        Save Info Only    TA WAIT_BCON max 30 sec    Unka Dev  No HNP   1404 0201 h    Unkn Dev  HMF  ET   0202 h    TPAUP_ADY 30 SEC Cable       375 mL him    Cable B 500 mol Finn    Product  Folder Hame    Final Test  Versions   Auth   Encrypt      Script Folder  C  Documents and Settings4dministrator 4oplication Data GraphiclSB PET Scripts   Official OTG 2 0 BC 1 24 a    Available Tests    CT_ amp  PUT mpet   CT_4 VBUS mpet   CT_4 CAP mpet   CT_4 SAP  mpet   CT_4 amp  HNP  mpet   CT_4 ADP  mpet   CT _    LEG  mpet  CT_4_5T_OTG_ADP mpet    CT A CT ATE AMD MAOCOD ont    Selected Tests    CT_ amp  PUT mpet   CT_4 VBUS mpet   CT_4 CAP mpet   CT_4 SAP  mpet   CT _    HNP  mpet  CT    ADP mpet   CT _    LEG mpet  CT_4_5T_OTG_ADP mpet    CT A CT ATE AMD ACO et    High speed Electrical Test Modes  Host     SEO NAK    J   k    Test Packet   SEQ NAK    J    Suspend   Dey Desc   Dev_Desc_Data     Description    A UUT Power Up Tests   4A UUT Vbus Voltage and Current Measurement  A UUT Bypass Capacitance   4 UUT SAP      UUT HNP   4 UUT ADP   4 UUT Leakage   ADP Capable 4 OTG State Transition Test    Description      
54. OTG Peripheral Only device  a Charging  Downstream Port  or a Dedicated Charger Port  It can also perform a  series of compliance tests on a Micro ACA or Standard ACA     The PET is controlled by a script  which is flexible enough to allow  complete emulation as a host or peripheral  A set of standard scripts  is provided for confirming the operation of devices designed to meet  the OTG 2 0 and or Battery Charging 1 2 specifications     The normal output from the PET ts a text based report file   Originating from specific SendMessage commands in the scripts     An additional output file may also be selected for output  This is a     Capture    file  identical to one output by one of our analysers  such as  the USB500 AG  The capture file reveals the exact sequence of  events     An alternative to using the standard scripts is to write your own   The following sections describe the procedure     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    44    GI USER MANUAL  ELECTRONICS    4 2 Creating a PET Script  Start by selecting menu item     File   New          select New Document Type    C Generator Script      TextFile   t C File   C Asm File    Cancel    The only way to create    Capture file is to  perform a capture     The easiest way to make a new Generator file  is to open a Capture file and select    Menu   File    Create Generator File        The best way to make a new Vendor file 1s     Menu   Operations   Create Vendor File  Template                 C
55. P probes    The SendMessage templates Stmspcr  current period value   Stmspmn   minimum period value   Stmspmx  maximum period value   and  Stmsp jt  jitter percentage   can be used to display the appropriate values        DUR1_MINUS_DURO_TO_DUR2   Sets duration2   durationl   duration0     ADPCHANGEVAL    The accumulator value accompanying this parameter is used to set the assumed  change in ADP probe period caused by a change in capacitance of 500nF  The  default period is 6120 clocks  Modify this to match the ADP generation technique  used        ADPINIT Initialises the three ADP period samples  TIMESTARTADP Indicates that an ADP probe starts     TIMEENDADP    Indicates that an ADP probe ends  Transfers the sample time into  n   shifting  previous  n  to  n 1  and previous  n 1  to  n 2   If  n  differs by more than  ADPCHANGEVAL from  n 2   the ResponseYes flag is set  otherwise the  ResponseNo flag is set  Note that the first TIMEENDADP after ADPINIT will set all  three samples to the same value  Also if a capacitance change is detected  then the  most recent sample will be copied to the other two samples        ADPEQUALISE Sets samples  n 2  and  n 1  equal to sample  n        ASSERTPASS  ASSERTFAIL    Indicates that the assertion indexed by the accumulator has passed a test  This  result may still be mofified if on a later occasion the same assertion fails a test     Indicates that the assertion indexed by the accumulator has failed a test  Once  failed  no further mod
56. Period4_1ms Starts the PERIOD4 timer using a 1ms clock  The timer  can be stopped using EndPeriod4  The time measured  can be acquired from register PERIOD4  The maximum    time count is 65535        StartTimerO  lt 60MHzClks gt  Sets Timer0 to the number of 60MHZ clock cycles  specified and clears the TIMEOUTO flag  When the timer    expires it sets the TIMEOUTO flag     Maximum permitted value is 2147483647 corresponding  to a time of ca  35 seconds    StartTimerOSec  lt Seconds gt  Sets Timer0 to the number of 60MHZ clock cycles  specified and clears the TIMEOUTO flag  When the timer    expires it sets the TIMEOUTO flag     Maximum permitted value is 6000 corresponding to a  time of 100 minutes        StartTimer1  lt 60MHzClks gt  Sets Timer1 to the number of 60MHZ clock cycles  specified and clears the TIMEOUT 1 flag  When the timer    expires it sets the TIMEOUT    flag     StartTimer1Sec  lt Seconds gt  Sets Timer1 to the number of seconds specified and  clears the TIMEOUT1 flag  When the timer expires it    sets the TIMEOUT    flag        StartTimer2  lt 60MHzClks gt     Sets Timer2 to the number of 60MHZ clock cycles  specified and clears the TIMEOUT 2 flag  When the timer  expires it sets the TIMEOUT2 flag     StartTimer2Sec  lt Seconds gt  Sets Timer2 to the number of seconds specified and  clears the TIMEOUT2 flag  When the timer expires it    sets the TIMEOUT2 flag        STAW  lt RamAddr gt  Store both bytes of    into data RAM word specified  Low    byte goes in
57. S OUT only   Bits 3 6  reserved  0   Bit 7  Don   t Respond     REGPacketSize3 Simple storage location for this Register Group packet size     REGResult3 Host  Device or Peripheral Mode  Bits 15 2   reserved   Bits 1 0  00   DATAO received  01   DATA1 received  10   DATA2 received  11   MDATA received    Endpoint Group 4 Registers    REGEndp4 Endpoint to be used by this register group as host or as device   Bit 7     1 IN  O OUT  Bits 3 0   Endp    REGType4 Type of transfer for use by this endpoint   Bits 1 0                   00   Control  01   Isochronous  10   Bulk    11   Interrupt       REGBytePtr4 Host  Device or Peripheral Mode  Points at start of RAM buffer for IN or OUT transactions on endpoint Group 4     REGBytesLeft4 Simple storage location to keep track of transfer data size     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    64    mq  p USER MANUAL  ELECTRONICS    REGCount4    REGCtrl4       Device or Peripheral Mode  Used by    OUT Transaction circuit      Must be programmed with the maximum number of bytes expected in the transaction     After the transaction  contains the number of bytes received  This cannot exceed the max  number of bytes expected     Used by    IN Transaction circuit     Word containing number of bytes to send   Host  Used by    OUT Transaction circuit     Word containing number of bytes to send     Used by    IN Transaction circuit       Must be programmed with the maximum number of bytes expected in the transaction   A
58. Status  The flags are also available in REGStatus  along with the relevant  endpoint number  The queue is advanced by clearing the flag at the top of the queue     See also the description of word wide register REGStatus     In Host mode  any flags valid in that mode are not queued  as only one transaction can be initiated at a  time  and its details are known     Device and Peripheral ModeTransaction Status Flags    SetupRcvd Device or Peripheral Mode  Flag set by the SIE to indicate that a Setup transaction has  been received  The flag must be cleared in software after  processing its occurrence  See REGStatus Flags description  above   When this flag is placed in the queue  the registers REGInCtrlO  and REGOutCtrl0 are automatically cleared  to cancel any  pending control transfer transactions     InSent Device or Peripheral Mode  Flag set by the SIE to indicate that an IN transaction has been  successfully sent  The flag must be cleared in software after  processing its occurrence  See REGStatus Flags description  above    OutRcvd Device or Peripheral Mode  Flag set by the SIE to indicate that an OUT transaction has  been successfully received  The flag must be cleared in  software after processing its occurrence  See REGStatus Flags  description above    LpmRevd Device or Peripheral Mode  This flag is set by the SIE to indicate that an LPM transaction  has been successfully completed  The flag must be cleared in  software after processing its occurrence  See REGStatus Fl
59. T has a BNC trigger output which can be controlled by the  appropriate script command     WriteToETB SW TRIGGER O  or 1     This sets the state of the signal to the corresponding logic level  for  use in triggering an item of test equipment  also connected to the  Signal Out BNC     Characteristic    Output ov   Q     VOH min V Toa oor current        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    42       mq  p USER MANUAL  ELECTRONICS    3 5 Setting and Measurement Accuracy    Setting and measurement accuracy is currently specified at better  than 0 5  at full range values  In practice 12 bit A D and D A  converters together with individual digital calibration on all settings  and measurements means that much better accuracy is achieved   The actual accuracy obtained will be presented in the next version of  the user manual     Measurement Amplifier Parameters    Measurement Circuit Time Constant   ms     DP_AB    ID_AB  IVBUS_AB  low   IVBUS_AB  mid   IVBUS_AB  high   VBUS _IIL  VBUS_IVL       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    43    mq  p USER MANUAL  ELECTRONICS    4 GraphicUSB SOFTWARE   Running Scripts       Aux Connector           Power Pass   Fail Running         sn   Unit Under Test       4 1 Introduction    The USB PET is a comprehensive compliance tester  capable of  emulating  and measuring  all the electrical conditions and protocol  requirements of a USB host  a USB device  an OTG device  an  Embedded Host  an 
60. TON OV a a a ee da eee nd ne 98  48 FINOS a PR eee 99  Aol JEVEN ANE sas O EE 99  4 8 2 Analysis and Data Pannes    100  4 8 3 Timeline and Bandwidth Panes                                     101  49 Fale ed 00  0   21    1 Le E ee eer 103  4 9 1 Event Pane Properties                ccccceccecseceeceeseseeteeeneneeeenes 103  4 9 2 Detail Pane Properties              cc ceesecseceeceeeeeeeteeeeeneeeeees 103  4 9 3 Data Pane Properties    103  4 9 4 Timeline Pane Properties    103  4 10 Capture Summary cacao cece ere ne en ea a 104  ROIS E E ae    beta 105  4 11 1 File Functions Toolbar               ccccccccecceeeeceeeeeeeeeeeeeeees 105  PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    4    mq  p USER MANUAL  ELECTRONICS       4 11 2 View Filter Toolbar    107  ri me COIN eRer errr eer eee ener ene ene ne eee eee ner ne 108  4 12 1  Finding the Trigger Points                                             108  4 13 Display Filters          ccc csscssccsccsenseneecnensnsenecescnessnseesseneeneenees 109  4 14 CUS  0  08 PO ee ee 116  4 14 1 Custom Filter Settings    116  4 14 2 Custom Filter Enable              cc ceceeceeceeeeeeeeeeeeeeeeeees 120  7 Ay ho OO ee eee ee 121  4 15 1 Event Search    121  4 15 2 Transaction Search    122  4193 Data SAR a 123  4 15 4 Setup Search    124  4 15 5 Error Search    125  4 16 Multiple Event Headers                                                       126  VE NOOK I QUIS vars ecg cscs ae vec eam ncer EE 126  418 PO ee errr e
61. Unit Under Test  Setup no  5     24  2 5 7 DCP as Unit Under Test  Setup no  6     25    2 5 8 Micro ACA  Separate Charger  as Unit Under Test  Setup  no     26   2 5 9 Micro ACA  Combined Charger  as Unit Under Test  Setup  no   b  26    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    2    mq  p USER MANUAL  ELECTRONICS    2 5 10 Standard ACA  Separate Charger  as Unit Under  Test        OCUP NO O  a een see ste onereer EE E ES 2   2 5 11 Standard ACA  Combined Charger  as Unit Under Test  CUI D EEEE 28  2 9 12   ACA Dock as Unit Under Test  Setup no  9                  28  2 6 Running Standard Compliance Tests                                 29  2 7 Compliance Checklist Entries in the Test Suite Dialog     33  2   1 Items from OTG Checklist                                              33  2   2 Additional Items from BC Checklist                                    34  2 1 3 Options Items    ss  34  2 8 High Speed Electrical Tests                                                   35  2 9 Standard Compliance Tests Supplied with PET    36  3  L  CANSAEDARRS a ns 41  LR OQUITOMONES  ane ed ae es teens ee    41  3 2 SOCCIHICANONS USB PET a a n 41  3 3 Maximum Capture File Size                                                  42  34 SIO eee ne ee eee ee eee 42  3 4 1 External Power Supply    42  3 4 2 Trigger Specification           cece cecc cece eecceeeeeeceeeseeeeeeeeeeeeeseess 42  3 5 Setting and Measurement Accuracy                                     43   
62. accumulator value accompanying this parameter  assuming units of 1ms  is  compared with durationl  If duration  is less than or equal to the  accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set     TIMESTART2 The accompanying timestamp  automatically generated  defines the start time for the  store called duration2    TIMEEND2 The accompanying timestamp  automatically generated  defines the end time for the  store called duration2  and causes the duration to be calculated     MINDURATION2_1US The accumulator value accompanying this parameter  assuming units of 1us  is  compared with duration2  lf duration 2 is greater than or equal to the  accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set        MAXDURATION2_1US The accumulator value accompanying this parameter  assuming units of 1us  is  compared with duration2  lf durationz2 is less than or equal to the  accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set     MINDURATION2_ 10US The accumulator value accompanying this parameter  assuming units of 10us  is  compared with duration2  lf durationz2 is greater than or equal to the  accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set     MAXDURATION2_10US The accumulator value accompanying this parameter  assuming units of 10us  is  compared with duration2  If durationz2 is less than or
63. actions only   Set by hardware if an IN transaction is timed out     If NoRetryOnTimeout is set  only one of the flags InSent   TransactionTimedOut Stalled or IllegalNak will be set by the  SIE     See REGStatus Flags description above     DeviceConnected       Suspended    PET User Manual 1 04       This flag is set by the SIE when a device connects using its  data line pull up resistor  and is cleared when the SIE detects  that the device disconnects  or VBUS falls below session valid     This flag should not be used to determine when the device  releases D   when the state of VBUS is in question  Use  DPlusHigh for that purpose     This flag is set by the SIE  when ControlMode   DEVICE   when a bus reset start is detected  It must be cleared using the  ClearFlag instruction     This flag is set by the SIE  when ControlMode   DEVICE   when a bus reset end is detected  It must be cleared using the  ClearFlag instruction     This flag is set or cleared by the SIE  ControlMode   HOST   during a reset  to indicate whether a high speed connection  was established     This flag is set or cleared by the SIE  ControlMode   HOST   during a reset  to indicate whether a low speed connection was  established     Host Mode    Set by SIE if it enters suspend state  by SuspendStart  command  or by a successful LPM transaction      Device or Peripheral Mode   This flag is set by the SIE if it gets suspended by the UUT  The  flag must be cleared by software    Host Mode    Set by the SIE if
64. ags  description above     Mixed Mode Transaction Status Flags   Stalled Host Mode  Set by the SIE to indicate that a SETUP  IN or OUT transaction  has been stalled  This is set instead of SetupSent  InRcvd or  OutSent  The flag must be cleared by software before enabling  the transaction which may cause the flag to be set   Device or Peripheral Mode  Flag set by the SIE to indicate that an IN transaction has been  illegally stalled  The flag must be cleared in software after  processing its occurrence  See REGStatus Flags description  above     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd       69    mq  p USER MANUAL  ELECTRONICS    IllegalNak    TransactionTimedOut       Bus State Flags          Host Mode    Set by hardware instead of SetupSent  if a SETUP transaction  is NAKed  The flag must be cleared by software before  enabling the transaction which may cause the flag to be set     Device or Peripheral Mode    Set by hardware instead of InSent  if an IN transaction is   illegally  NAKed  See REGStatus Flags description above     Host Mode  Set by hardware if a transaction is timed out     If NoRetryOnTimeout is set  only one of the flags SetupSent   InRcvd  OutSent  Stalled  IllegalNak  TransactionTimedOut or  DataToggleError will be set by the SIE     If NoRetryOnTimeout is not set  then SetupSent  InRcvd   OutSent Stalled or IllegalNak as appropriate must be true  before testing TransactionTimedOut     Device or Peripheral Mode  Applies to IN trans
65. anced by clearing the SETUPRCVD  INSENT  OUTRCVD   STALLED  ILLEGALNAK  TRANSACTIONTIMEDOUT or LPMRCVD flag as appropriate   Note that some of these flags are used in HOST mode as well  but that REGStatus has no  meaning during HOST mode  and should not be read     Writing any value to REGStatus will clear the queue completely  This should always be  done after a USB reset  to ensure that previous transaction information has been cleared     If NoRetryOnTimeout flag is not set  then clearing TRANSACTIONTIMEDOUT has no effect  on the queue     Bit 10     1 if LPMRCVD  else 0  If NoRetryOnTimeout flag set    Bit 9     1 if TRANSACTIONTIMEDOUT  else 0  If NoRetryOnTimeout flag not set    Bit 9 0   Bit 8     1 if ILLEGALNAK  else 0   Bit 7     1 if STALLED  else 0   Bit 6     1 if SETUPRCVD  else 0   Bit 5     1 if OUTRCVD  else 0    Bit 4     1 if INSENT  else 0  Bits 3 0     Endpoint number       Endpoint Group 0 Registers    REGBytePtrOut0    Host  Device or Peripheral Mode  Points at start of RAM buffer for OUT transactions on control endpoint 0   Used by host or device for OUT direction transaction        REGPacketSize0 Host  Device or Peripheral Mode   Simple storage location for endpoint 0 packet size   REGLength Host  Device or Peripheral Mode   Simple storage location for length word read from SETUP    REGBytePtrSetup    REGBytePtrinO    Host  Device or Peripheral Mode   Points at start of RAM buffer for SETUP transactions on control endpoint 0  Default value is  zero  T
66. ation    The Class Analysis Options are supplied as software add ons for  GraphicUSB  The options are available for individual classes  so you  only need to purchase the functionality you actually require  The  options are provided in the form of 16 digit hexadecimal registration  codes     To enable a particular option  first ensure the analyser is  connected to the host  and then click in the menu bar on Edit   Class  Analysis   Register    and the following dialog will appear     Optional Feature Registration  Registered Class Analysis Options  MW Audio i HUE W Printer  W Comms and CDC W Image   Smart Card  W COC Data W Mass Storage W Vendor  W HID W Test and Measurement i Wideo    Refresh         Wireless Controller    Miscellaneous Options    iw Devi    Serial Number Registration code  16 hes digita     mess      i To register a new option  check that the analyser is  connected  and that its senal number appears above  Then  enter the 16 digit registration code provided     E mit      Enter the registration code provided and the corresponding option  should become checked  Please store the registration code carefully  in case you need to install the option on another host computer        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    143    mq  p USER MANUAL  ELECTRONICS    4 23 2 Analysis Overview       The Class Analysis option you have enabled will enhance all  captures performed on the analyser in question  If you use the  analyser on a different 
67. ation on the test fixture     Cause Data Generator to generate IN packets of minimum receivable  amplitude  must meet appropriate receiver sensitivity template   with common  mode voltage components ranging from  50mV to 500mV and with bit rate  ranging from 480Mb s  0 05  to 480Mb s  0 05      Verify that all packets are NAKed while signalling is above the required voltage  threshold    Verify that no packets are NAKed when signalling amplitude is below the  squelch level     Generate IN packets  of compliant amplitude  with a 12 bit sync field   Verify that device responds        For the Inrush Current Measurement Test see Table 5 4     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    171    mq  p USER MANUAL  ELECTRONICS    9 1 4 Economy Breakout Board plus Inrush Measurement Test       Fixture  4mm Banana    Test Socket  SK1 SK2  Arrow denotes  Vbus pin  Arrow denotes  D  pin  J   Micro AB  USB    10cm p   Receptacle    Arrow denotes  Shorter Pins    For Links ee       The following table defines the pin numbering on the fixture header     Table 5 9 Differential Probe Connector S2     Pin  Function  Comment    1 Ground Alternative ground positions are  provided for compatibility with different  differential probes  Either ground pin at  each end of the connector may be cut  short in required     es  wae       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    172    mq  p USER MANUAL  ELECTRONICS    This fixture allows third part equipmen
68. be  restored using a POP command    ReadFromETB  lt ETB_addr gt  Read 16 bit value from specified location on Electrical  Test Board into A    This command is not available to the Packet Master  USB500 AG      ResetStart HOST mode only   Tells SIE to start a USB reset  This will complete  automatically  performing a HS handshake if the  HsRequired flag is set  The flags HighSpeedSet and  LowSpeedSet will be adjusted appropriately as a result  of this operation  and should be tested to determine the  speed negotiated     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    In High Speed  also cancel High Speed termination     DEVICE or PERIPHERAL mode   Apply specified pull up resistor to data line   TEST Mode     HOST  DEVICE or PERIPHERAL Mode        53    mq  p USER MANUAL  ELECTRONICS       HOST mode  Tells SIE to start a USB resume     Apply K for 23 24 ms followed with LSEOP for correct  completion  applies SEO for 2 low speed bit times     Resume    followed by 1 bit time of J    Device or Peripheral       Apply K for 2 3 ms     Retries SAMEFRAME   NEXTFRAME HOST mode only   Specifies when a NAKed packet should be retried   RETURN Recover a saved PC from the hardware CALL stack  and  continue execution at that address   SBAR Subtract Register from A   SBIA  lt 16 bit value gt  Subtract the specified immediate value from A     Sendinfo   lt message gt   Sends a message which appears in text report and  capture file  It has the advantage that it will not dis
69. cket  in the appropriate direction    and completed by an ACK  NAK or STALL  Either the last or the last  two packets may be missing  If this sequence is not correct then an  Invalid Transaction error is reported        SETUP transaction must contain a DATAO packet  If this  polarity is not correct then an Invalid Transaction error is reported        4 22 6 Bit Stuffing Error    In order to ensure adequate signal transitions  bit stuffing is  employed by the transmitting device when sending a USB packet  A  zero Is inserted after every six consecutive ones in the data stream  before the data is NRZI encoded  If more than six consecutive ones  are detected a Bit Stuffing Error is reported     4 22 7 Byte Error  All packets must have an integral number of bytes  If this is not the  case a Byte Error is reported     4 22 8 Spurious Data    If data is detected but doesn t begin with a synchronization pattern  then the display will report Spurious Data     4 22 9 Both Lines High    The data encoding scheme is such that the D  and D  lines should  never both be high at the same time  If this condition is encountered  an error is reported     4 22 10 Spurious End of Packet    An End of Packet condition should only appear at the end of a data  packet  If the condition appears at any other time it will be reported as  an error     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    142    mq  p USER MANUAL  ELECTRONICS    4 23 Class Analysis Options       4 23 1 Registr
70. companying this parameter is compared with  calculatedAverage  If calculatedAverage is less than or equal  to the accumulator value  then the PET RESPONSE_YES flag is set  otherwise the  PET RESPONSE NO flag is set     AVERAGESUBTRACT The accumulator value accompanying this parameter is subtracted from the  calculatedAverage  The result is constrained to not be less than zero    TIMESTARTO The accompanying timestamp  automatically generated  defines the start time for the  store called duration0    TIMEENDO The accompanying timestamp  automatically generated  defines the end time for the  store called duration0  and causes the duration to be calculated    MINDURATIONO_ 10US The accumulator value accompanying this parameter  assuming units of 10us  is  compared with durationO  If duration0 is greater than or equal to the    accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set           MAXDURATIONO_10US The accumulator value accompanying this parameter  assuming units of 10us  is  compared with durationO  If duratiomn0 is less than or equal to the  accumulator value  then the PET RESPONSE _ YES flag is set  otherwise the PET  RESPONSE_NO flag is set     MINDURATIONO_1MS The accumulator value accompanying this parameter  assuming units of 1ms  is  compared with durationO  If duration0 is greater than or equal to the  accumulator value  then the PET RESPONSE _ YES flag is set  otherwise the PET  RESPONSE_NO flag is set     MAXDURAT
71. conditions  for the UUT to enter the SEO NAK test state and will then automatically switch  in the correct test termination on the test fixture     Measure D  and D  to be OV     10mV   Drive a 400ps  nominal  edge rate step to the device     Observe the resulting waveform  making sure that the termination impedance  and through impedance meet the spec requirements        For the Inrush Current Measurement Test see Table 5 4     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    169    GI USER MANUAL  ELECTRONICS    5 1 3 Receiver Sensitivity plus Inrush Measurement Test Fixture  Reference  EL 11  12  13  14  15  16  17 and 18  B 4       4mm Banana    Test Socket  SK1 SK2  RECEIVER p  SENSITIVITY  SW2 SPDT  DC Power Centre off  Socket toggle  SW1 SPDT RE  On   Off    toggle  Micro AB  i 7  Receptacle         Arrow denotes       Arrow denotes  pin    USB PET Test Fixture RECEIVER SENSITIVITY    The following table defines the pin numbering on the fixture header     Table 5 7 Differential Probe Connector S2    Pin  Function  Comment    1 Ground Alternative ground positions are  provided for compatibility with different  differential probes  Either ground pin at  each end of the connector may be cut  short in required     o  omma  aa       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    170    mq  p USER MANUAL  ELECTRONICS    The following table outlines the procedure for a high speed  upstream or downstream receiver sensitivity test  For more
72. ctice to switch any other    0    on  Connect Watch block positive input to  Vbus on AB connector  0  off   1  on  Connect Watch block positive input to  VBUS on accessory connector   off   1  on  Connect Watch block positive input to  VBUS on charger connector    switch in use off first        off   1    SW_VBUS VP AB VBUS voltage measurement  SW_VBUS VP ACC VBUS voltage measurement  SW_VBUS VP CHG VBUS voltage measurement 0    SW_DP_VP_CHG Voltage measurement O  off   1  on  Connect VBUS Watch block  ve to  DP_CHG    Switching on one of the next four switches  has the effect of switching the other three off  though it is good practice to switch any other    switch in use off first            SW_GND_VM_GEN VBUS voltage measurement O  off   1  on     Controls external measurement connections on back panel    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd       off   1  on  Connect Watch block negative input to    VBUS on AB connector    0    0  off   1    on  Connect Watch block negative input to    VBUS on accessory connector    Connect Watch block negative input to  GND on AB connector    Connect Watch block to GND_GEN    on  Sets level of back panel trigger output    Select one item for back panel    77    mgp USER MANUAL  ELECTRONICS   measurement terminal  deselects all   others    SW_MEAS_VBUS_ACC Ext measurement 0  off   1  on  Select one item for back panel  measurement terminal  deselects all  others    SW_MEAS_VBUS_CHG Ext measurement O  off   1  on
73. ctronics Ltd    112    mq  p USER MANUAL  ELECTRONICS    If packets have been filtered out  then double clicking on a  particular transaction will reveal the packets within it  as shown below      127   145  5  166 196 5     127   129  5 166 196            Control Transfer Addr Endp Data  15 bytes  Status    Get Device Descriptor 04011 00  42010002 00 000008          SETUP  Oxdd  0x0  80 06 00010000 12 00                    131   133  5 167 195 5 IN  O01  0x0  12 04 00 0z 00 O   00 Os  ACK    Event  121  Syne   IN  Add En Cres  ecr    IDLE  5 167 196 s gogoogo1fox69  0 01 Oxo  010  0 15 us   Event  132 DATAT Data   bytes  CRCI    EOP   IDLE  5 167799 5 oo000004 1204100 02 00 00 00 08  0xETS57  Event  133  Syne  Ack  cor    OLE  S167 207 s 0000004 OS0 0    us   435457  5 168   195 5    O1  Oxo  DS 04 00 00 01 00 01 02  ACK     4394441  5 169 795 5 IN foi  0x0 oo 04 ACK   4145145  S 170 195 5    aij oof D ack  Show Selected Packets  PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    113    mq  p USER MANUAL  ELECTRONICS       Show NAKs    Clicking this button removes shows any NAKed transactions  This  differs from filtering NAKs during capture where NAKed control  transactions will always be included     ET Show NYETs    Clicking this button removes shows any NYETed transactions   Note that successful transactions responded to by NYET are not  hidden  NYET is only used on high speed links     a Show Spurious Data    Clicking this button removes shows any spurio
74. d by clicking   Re enable all warnings        Previous captures can be abandoned without asking by checking Abandon previous  file on new capture       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    129    mq  p USER MANUAL  ELECTRONICS    4 19 3 Capture    The size of the Capture file may be minimized by filtering Start of  Frame or Keep Alive events or NAKed transactions or NYETed  transactions  Please note that NAKed control transactions will always  be included in the capture        Option Settings  File Locations   Misc settings Capture    Maximum Butter Size     Filter out Keep lives 43793075      Filter out NAKs Recommend Size        Filter out HYETs    i 5 OmME frequentl  occuring events can be filtered out during capture in order to reduce file   ZZE    The maximum buffer size can be set to prevent capture files becoming too large for the  sistem RAM to handle  The best way to choose this size 16 to click the Recommend Size  button     larger limit may allow acceptable performance if the USE data does not occupy  the full bandwidth of the link        Cancel     Help      The size of the capture buffer defaults to a safe value  which  should guarantee a reliable capture under most circumstances  You  may increase this size as required  but you should be prepared to  decrease it again if you start to have poor response caused by the  system using virtual memory to satisfy your requirement  The     Recommend Size    button returns the buffer size to 
75. dal dialog is visible  no further  messages will be processed by the application   Therefore the script must wait until a response flag is  set by clicking one of the dialog buttons     SendReport  message   lt  message parameter gt  Sends message to application which will appear in  the text report  but not in the capture     SendPrompt  message   lt  message parameter gt  This command  must be used with a  lt message  parameter gt  which invokes a dialog  This dialog is  non modal  in the sense that further script  processing may take place  and any further  SendMessage will dismiss the dialog  If the dialog  needs not to be dismissed by a further message  then that furter message should be sent using  Sendinfo     Sendinfo  message  This command is the only way to send a message to  appear in the text report  and the capture  without  dismissing the non modal dialog created by  SendPrompt  It is illegal to use a parameter with  Sendinfo  as a dialog is already assumed to be  present     SendValue  lt value parameter gt  This is a method used to send a value to the  application for processing  No visible message is  associated with the command  The  lt value  parameter gt  specifies what the application is required  to do with the value in the accumulator at the time        SendMessage is the means of conveying information from the  running script back to the GraphicUSB application  It can be used     e to display an informative message in the report at the actual time an e
76. e display filter options     to event  9601    Show top level plus bus states    Show everthing      USER MANUAL        x     Cancel    En  OK          All Events      Select the event range  and the level of detail you wish to export  then  click on OK  A typical output text file  showing just top level events  is  shown below      3      3     3     3     3     3     742 754     s tira    2956  515     2450  510      839 614     842 658     LES    lz  OO    Lat    Control  O1 10 O1  O1   Control    Transter  O0 O0 O      Transrter     zero Data Bytes     La     lz  OO    LS     ags    Lo     as  Oe  OO    LS     0c    Control  O1 10 O1  O1   Control  O2 22 O     Control  O2 22 O    OO 09 41  Of   Control  O3 41 00    PET User Manual 1 04    Transter  00 O0 OOQ    Transfer  01 O1 O    Transfer  01 O01 00  10 O1 OO    Transter  42 00 43    Addr 00 Endp 0  OS 624 OF O1 10    Ldar   O   Endp 0    Ldadr   01 Endp 0  OS 62 OF O1 10    Lddr   01 Endp 0  AO 34   ddr   01 Endp 0  40 32 09 04 O    O1 22 34 O   07    Addr O1 Endp 0  OO 44 00 41 oO        Get  O1 O          Set        Get  O1 O0        Get      Get  00 O1  05 681        Get    Device Descriptor  0i 02  Address  Ox01     Device Descriptor  O1 Oe    configuration Descriptor  Configuration Descriptor  03 01  03 04    string Descriptor 236    Copyright    2006 2012 MQP Electronics Ltd    132    GI USER MANUAL  ELECTRONICS       4 20 2 Exporting Capture Events     Data Only    A useful option in the Export events dialog is 
77. e ee ore eee eee ene 128  4 19 Option Settings 1      cccsccsscesccncceneenscescnncnssesenecnesensensseneenenes 128  4 19 1 File Locations    128  4 19 2 Miscellaneous Settings                cc eecceecceeeeeeeeeeeeeeees 129  4 19 3 Capture accion TE 130  AZO EXDOIL FUN CHON S corine ee een 131  4 20 1 Exporting Capture Events                ccceccecceeeeeceeeeeeeeeeees 131  4 20 2 Exporting Capture Events     Data Only                           133  4 20 3 Exporting Descriptors              ccc ceccecceeceeeeeeeeeeeseeeeeees 133  4 20 4 Exporting Data from a Specific Event                             137  ALT TOK EC ee ee ee en eee 138  4 21 1 Introduction    138  A2 EUN eE EA E E S 140  4 21 3 Bookmarks    140  4 21 4   8  G0  ohcy  0    lt  lt  ee ee ee eer ee 140  PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    5    mq  p USER MANUAL  ELECTRONICS       ALe OSEO ee 141  4 22 1 Invalid PID               ccccecceeeeeeeeeeeseeeeeeseeneeeeeeeeees 141  7 22 ANVANG      Re 141  4 22 3     Invalid SOF SR teva iesscseoustaneerteancasens 141  4 22 4 Invalid Control Transfer    141  4 22 5 Invalid Transaction    142  4 22 6 Bit Stuffing Error    142  D BYO ETO einsa EE e 142  4 22 8 Spurious Data    iii 142  4 22 9 Both Lines High    142  4 22 10 Spurious End of Packet                ccccccecceeceeeeeeeeeeeeeeeeeees 142   4 23 Class Analysis Options       ccssccsscsscsesesecssecnensnensnseensseneees 143  4 23 1 Registration    143  4 23 2 Analysis Overview    144 
78. e of addresses to show or hide  Uptionally select specific  endpoints in this address range to show or hide  At least one endpoint must be  selected        Cancel   Spp   Help         There are two tabs to select the conditions for your rule  Both tabs  can contribute to the rule if required  The first tab defines device  address and endpoint  The default settings include all possible  addresses and endpoints  so if you do not make a change the rule  will have no effect  and you will not be allowed to create it  Similarly  you will not be able to generate a rule which excludes all events     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    117    mq  p USER MANUAL  ELECTRONICS       As an example we specify here that we do not wish to see  transactions using  address 3  AND    endpoint 1 in  OR  endpoint 2  out        Add Filter Rule 1  Address Endpoint   Speed      Device Address Endpoints  From  To  IN    a nf h            a OO A w M Oo  hh ee ee  amona tre wo co   J J OO Oo  amp  wifi          F         Fr                   TT tt ttt     TT tt ttt  amona wo    Select an address or range of addresses to show or hide  Uptionally select specific  endpoints in this address range to show or hide  Atleast one endpoint must be  selected       Cancel   Apply Help         PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    118    mq  p USER MANUAL  ELECTRONICS       When we click on OK we find that the rule has been added to the  filter rules box  t
79. e or a B device   Cleared   A device  Set   B device  The flag is used to ensure the correct duration for the connect  debounce timing during HNP     NoRetryOnTimeout Host Mode    Prevents SIE from retrying any transaction  if the transaction  times out     Prevents SIE from leaving IN engine enabled if the transaction  times out        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    67    GI USER MANUAL  ELECTRONICS    Test Mode Control       EnableTestMode Device and Peripheral Mode    When set to a 1  if chirp handshake fails  enters permanent test  mode state  with HS termination     Host  Peripheral and Device Mode   When set to a 1  during HS connected state  allows the  commands PullupOn FULLSPEED and PullupOn LOWSPEED  to set the high speed terminated J and K conditions  respectively     SuppressSOFs Host Mode  When set to a 1  this prevents generated SOFs from being sent  to the bus  whilst retaining a terminated high speed state     StartSOF Test Device or Peripheral Mode  See REGSofsRcvd register description for details     EnableLineStateDetect Host  Device and Peripheral Mode    When set to a 1  during HS connected state  allows the flags  DplusHigh  DminusHigh and SEO to indicate the presence of J   K and SEO states on the bus     It sets the transceiver to a state  also used for chirps  which  disables bit stuffing and NRZI to allow the detection of line  state        This flag has no effect unless EnableTestMode is also set     4 3 6 3 SIE F
80. e result is not zero  jump to  the specified label     DnidToRam  lt RamAddr gt    lt byte gt      Store the specified sequence of bytes into successive             data RAM locations  starting with the one specified  This  command is allowed to span more than one line        mw OOOO  ste simon ocana O  mere OOOO T SSP accor  mer OOOO T seeme sua norcommants  mers OOO O T SSP econ  ES EE SIN    FileType MQPPET 1 Defines file type and version number  Must be set to  MQPPET 1    Do nothing for number of 60MHZ clock cycles specified   Note  SOFs continue    IdleSec Do nothing for number of seconds specified  Note  SOFs  continue    InbufDataO_0 Tells the Register Group 0 SIE IN buffer to expect a  DATAO packet next    InbufData1_0 Tells the Register Group 0 SIE IN buffer to expect a  DATA1 packet next    InbufDataToggle_0 Tells the Register Group 0 SIE IN buffer to toggle which  data packet to expect next  between DATAO and DATA    Include  filename mpet  Includes the text of a specified file at this point in the    script  The file is assumed to be in the same directory as  the script file  and should have the extension  mpet    Jump  lt label gt  Unconditionally continue execution at the address of the  specified label     JumplfFalse  lt FLAG gt   lt label gt  Jump to the specified label  if the specified flag is 0  else       continue with the next instruction        Jump to the specified label  if the specified flag is 1  else  continue with the next instruction    PET User
81. e the script will proceed     Command will be inserted at start of line with caret   Cancel   Insert Command       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    46    mq  p USER MANUAL  ELECTRONICS    The procedure is   e Before entering the dialog  ensure that your caret is located at the  Start of the line you want to insert the command in front of     e Then select the command required from the command selection  box  The purpose of the command is explained underneath     Now make appropriate selections in the other boxes to the right of  the command  When happy with your selection  click on    Insert  Command        Using this method helps to get the correct number of parameters  and the correct spelling for commands  All the available keywords are  offered in this dialog  together with brief descriptions of the  functionality of each command     Continue to add commands until you have enough to perform the  required task     It is a good idea to save this file at this point  You may now try  compiling the file using menu item File   Compile  or click on the       Compile    icon in the toolbar 2           PET Script File  ControlMode HOST   or DEVICE  PERIPHERAL or DETACHE     FileType MOPPET 1          WriteToETB SW VBUS AB 1    Start   WriteToETB DAC VBUS 2500    i           a  4   oa fie  5   a   8         oO  LE    t    ae Compilation Complete   32 bytes     error s   O warning z        For Help  press F1 Ln 1  Col      PET User Manual 1 04 Copyr
82. edDevice  me byte    ff iManufacturer   ff iProducte   ff iSerialNumber   ff bMNumContiguration    Copyright    2006 2012 MQP Electronics Ltd    135    USER MANUAL       GI USER MANUAL  ELECTRONICS    4 20 3 2       Class Specific Descriptors    In some cases  where class analysis options have been installed   specific class descriptors are annotated  e g          HID Report Descriptor fevent number 6165   static const unsigned char descriptor6lss        0x05   0x01   0x0   DEUX   Uxal   0x01   OU   0x01   DEA   0x0   0x05   0x03   0x159   0x01   0x29   0x05   0x15   Ox00   0x25   0x01   0x95   0x05   0x75   0x01   Uxel   DEUX   0x95   0x01   0x75   Ors         Usage Page  Generic Desktop Controls     oe       Usage  House    oe   A Collection  Application   oF   oe Usage  Pointer    oe   ca Collection  Physical   oe   of Usage Page  Button   oe   ia Usage Minimum  13   oF   oe Usage Maximum  5    oe   ca Logical Minimum  03  oe   FA Logical Maximum  1   ae   oe Report Count  61   oe   ae Report Size  13   ae   oe Input  Data  Variable  Absolute  Bit Field   oe   ae Report Count  1    ee   oe Report Size  31   oe    Ton   Apr Ahact te M Fictai    Other class descriptors can still be exported  but without the  comment annotation     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    136    mq  p USER MANUAL  ELECTRONICS    4 20 4 Exporting Data from a Specific Event       With a capture document open  select the event from which you  wish to export the data  by
83. eep track of transfer data size     REGCount1 Device or Peripheral Mode  Used by    OUT Transaction circuit      Must be programmed with the maximum number of bytes expected in the transaction     After the transaction  contains the number of bytes received  This cannot exceed the max  number of bytes expected     Used by    IN Transaction circuit     Word containing number of bytes to send    Host   Used by    OUT Transaction circuit     Word containing number of bytes to send    Used by    IN Transaction circuit       Must be programmed with the maximum number of bytes expected in the transaction   After the transaction  contains the number of bytes received  This cannot exceed the max  number of bytes expected     REGCtrl1 Host  Device or Peripheral Mode  Used by    OUT Buffer       Bit 0  Enable   Bit1  STALL  Device or Peripheral   Bit 2  PING  Host and HS OUT only   Bits 3 6  reserved  0     Bit 7  Don   t Respond     REGPacketSize1 Simple storage location for this Register Group packet size     REGResult1 Host  Device or Peripheral Mode  Bits 15 2   reserved        Bits 1 0  00   DATAO received  01   DATA received  10   DATA2 received  11   MDATA received       Endpoint Group 2 Registers       REGEndp2 Endpoint to be used by this register group as host or as device   Bit 7     1 IN  O OUT       Bits 3 0   Endp    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    62    mq  p USER MANUAL  ELECTRONICS    REGType2       Type of transfer for use by this end
84. er  value is switched on  the SW_ID_RES_8 will be switched off     i   1            SW_ID_RES 7 ID pin resistors O  off   1  on  RID_A max  126k     SW ID RES 8    RID_FLOAT min  220k   This switch is  automatically on when SW_ID_ RES 1 to       7 are all off     SW_ID_GND ID pin resistors O  off   1  on  Connect ID_AB pin to ground    The following two resistor switches are provided to allow the measurement of ID pin resistance in the UUT        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    75    mgp ELECTRONICS    SW ID RES M 1  SW _ID_ RES M 2    ID measurement  ID measurement    off   1  on     0      O  off   1  on     USER MANUAL       1K pullup  82K pullup    DCD and charger detect circuit elements    SW_DMDP_TEST    SW_DCD_RES_ AB  SW_DCD_RES_1  SW_DCD_RES 2  SW_DCD_RES 3  SW_DCD_RES 4  SW_DCD_RES 5  SW_DCD_RES 6  SW_DCD_RES _7  SW_DCD_RES 8  SW_DCD_RES 9  SW_DCD_RES_10  SW_DCD_CAP    Data line test circuit    DCD and charger detect    O  off   1  on     i     off   1  ff   1  ff   1  ff   1  ff   1   off   1   off   1  ff   1  ff   1  ff   1  ff   1    on     o  olo  jo  Cololololo  o                 gt   gt   gt  D gt    x   x     r    or    O   O              olojo  O O O   gt  D gt      x    r    r    O   O    gt   wa    O    O        DU UM Um ee ee          O  a   AmA  O   gt          Switches data lines to measurement  circuit instead of transceiver     200R DP to DM  to simulate DCP   1k5 to DM   200R to DM   3k9 to DM   15K to DM   100k to
85. er Group 2 SIE buffer to expect or send a  DATA1 packet next  as appropriate        Tells the Register Group 2 SIE buffer to expect or send a  DATAO packet next  as appropriate    DATA2_2 Tells the Register Group 2 SIE buffer to expect or send a  DATA2 packet next  as appropriate    DATATOGGLE_2 Tells the Register Group 2 SIE buffer to toggle which  data packet to expect or send next  as appropriate   between DATAO and DATA    DATAO 3 Tells the Register Group 3 SIE buffer to expect or send a  DATAO packet next  as appropriate    DATA 3 Tells the Register Group 3 SIE buffer to expect or send a  DATA1 packet next  as appropriate    DATA2_3 Tells the Register Group 3 SIE buffer to expect or send a  DATA2 packet next  as appropriate    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd       51    mq  p USER MANUAL  ELECTRONICS    DATATOGGLE 3 Tells the Register Group 3 SIE buffer to toggle which  data packet to expect or send next  as appropriate   between DATAO and DATA    DATAO 4 Tells the Register Group 4 SIE buffer to expect or send a  DATAO packet next  as appropriate    DATA 4 Tells the Register Group 4 SIE buffer to expect or send a  DATA packet next  as appropriate    DATA2 4 Tells the Register Group 4 SIE buffer to expect or send a  DATA2 packet next  as appropriate    DATATOGGLE 4 Tells the Register Group 4 SIE buffer to toggle which  data packet to expect or send next  as appropriate   between DATAO and DATA    DJNZ  lt label gt  Decrement Count and if th
86. ere is no activity  then the InTestMode flag  gets set by the SIE and the PHY mode is changed to a state   also used for chirps  which disables bit stuffing and NRZI to  allow the detection of line state     SOF TestComplete See REGSofsRcvd register description for details        4 3 6 4 Messaging Flags    ResponseYes Set by communication from application in response to dialog creating  ResponseOk SendMessage  SendPrompt or SendReport  Cleared by software  These three flag  ResponseRetry names are alternative names for the same flag     ResponseNo Set by communication from application in response to dialog creating    Responselgnore SendMessage  SendPrompt or SendReport  Cleared by software  These two flag  names are alternative names for the same flag     ResponseCancel Set by communication from application in response to dialog creating  ResponseAbort SendMessage  SendPrompt or SendReport  Cleared by software  These two flag  names are alternative names for the same flag        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    71    mq  p USER MANUAL  ELECTRONICS       4 3 7 Alert Parameters    ALERT_NONE  ALERT_OK    ALERT_OKCANCEL    ALERT_YESNO    ALERT_ABORTRETRYIGNORE    ALERT_RETRYCANCEL    ALERT_YESNOCANCEL       PET User Manual 1 04    The message defined will be sent to the text report in the GraphicUSB application   and also to the Capture report if any  The parameter keyword ALERT NONE may  be omitted     In addition to the report message  a moda
87. eturned to the authorized distributor  from whom you purchased the product   Defective product may be returned direct to MQP Electronics  Please  call  44  0 1666 825 666 and request a Return Material Authorization   RMA  number from customer services     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    175    
88. f the event is a NAK packet  and  NAKed transfers are not currently being displayed  then the first  unfiltered transfer to the left will be selected  If SOFs are currently  filtered then they will not be selected by this method     To be certain of identifying a particular packet  first click the Max  button to the left of the event pane     The selected event in the event pane will always be the same as in  the timeline pane     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    102    mq  p USER MANUAL  ELECTRONICS    4 9 Pane Properties    If you right click in any of the panes  an appropriate properties  menu will appear  This menu allows you to perform functions  particularly relevant to the pane clicked on        4 9 1 Event Pane Properties    4dd Renove Bookmark    Select event   Properties   Capture Summary   Change Timeline view Ctrl Shifk  T  Set Time Origin at Selection Ctri4T  Reset Time Origin   Create Events or Data File       These are mostly self explanatory     Capture Summary    is  described below     4 9 2 Detail Pane Properties    Create Descriptor File          Create Descriptor File    allows you to produce a text file output of  any selected descriptor     4 9 3 Data Pane Properties    Create Current Data File     Select All Ctrl 4        Create Current Data File    allows you to export some or all of the  data in the data pane in a variety of formats     4 9 4 Timeline Pane Properties    Change Timeline view CErl SRiFE T  Set Time Ori
89. fer  The example below shows the effect of filtering  out the transactions                       Mo 1   S 7 Control Transfer Addr Endp Data  0 bytes  Status  5 126 196 5 Set Address  oO 1pOo00  oP Lo   o 1 85  5 126 195 5 SETUP  oxoo  0x0   00 06 01 00 00 00 00 oo  ACK   o5  oF  5 127195 s N  oaf 0x0 ee  127   145 Control Transfer Addr Endp Data  15 bytes  Status  5 166 196 s Get Device Descriptor 001  00  120100 02 00 000008      127   129  5 166 196 5 SETUP  0201  Ox0  80 06 00 01 0000 12 00  ACK    Show Transactions  Fo 1 07 Control Transfer Addr Endp Data    bytes  Status  5 126 195 5 Set Address  ed 1pO00  ox PO   127   145 Control Transfer Addr Endp Data  18 bytes  Status  5 166 196 5 Get Device Descriptor Oxd1  00  1204 0002 00 00 0008     Hide Transactions  PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    110    mq  p USER MANUAL  ELECTRONICS    lf transactions within control transfers have been filtered out  then  double clicking on a particular control transfer will reveal the  transactions within it  as shown below              re  oS Control Transter Addr Endp Data   bytes  Status  5 086 19 5 Get Device Descriptor 000  00  1204 0002 00 00 0008  Oo 1   07 Control Transfer Addr Endp Data    bytes  Status  5 126 195 s Set Address  0010  000  0x0 PK   e 1 85  5 126  195 5 SETUP  oxo  0x0   00 06 01 00 00 00 00 00  ACK     85   87  5 127 195 5  e127    145 Control Transter Addr Endp Data  15 bytes  Status  5 166   196 5 Get Device Descriptor  0011 00 
90. file above for examples of long strings     4 23 3 2 5    lt Device gt    lt  Device gt     The whole file is the description of a device  and so must start with  the   lt Device gt   tag  and end with   lt  Device gt       4 23 3 2 6 VID   PID     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    152    mgp ELECTRONICS    USER MANUAL       Following the   lt Device gt   tag  the next two lines must define the    Vendor ID and the Product ID of the device     4 23 3 2 7   lt Control Request gt    lt  Control Request gt     Each defined control request must be introduced by the   lt Control  Request gt   tag  and ended with   lt  Control Request gt    Between the  tags you should define the parameters of the request by specifying    the following     Mandatory    FileType  bmRequestType     Mandatory oe from 0x00    bRequest  Mandatory hl from 0x00      String to use as the   name of this request   bRequest desc  Mandatory Must be single i and   preferably kept short     String to use as the  Desirable explanation of this   request  May be   several lines of text     String to use to name  the purpose for this  setup packet   As parameter field    required Preferably kept short   Note that e g  windexH  is the high byte of  windex to be used    Copyright    2006 2012 MQP Electronics Ltd    bRequest text     windex desc   windexH desc   windexL desc   wValue desc   wValueH desc   wValueL desc        PET User Manual 1 04    153    MQPVEN 1    Must come first    
91. first test  will prompt you to connect it to the PET using    Special Test Cable A      This Micro B plug to Micro B plug cable is provided with the PET  unit and it is essential that this particular cable is used  for the  following reasons     e  thas 5 cores  instead of the usual 4  This allows the PET to  control the ID pin of the UUT     e The resistance of this cable has been allowed for in tests  involving large VBUS currents with measurements on VBUS  current and voltage              PL    Hosttor PET    High Speed WS Link    PacketMaster  LISB PET    Special Test  Cable          OTG Device    Under    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    20    mq  p USER MANUAL  ELECTRONICS    2 5 3 Embedded Host as Unit Under Test  Setup no  2        When running a test suite relating to an Embedded Host  the first  test will prompt you to connect it to the PET using    Special Test Cable  B     This Micro B plug to Standard A plug cable is provided with the  PET unit and it is essential that this particular cable is used  for the  following reason     e The resistance of this cable has been allowed for in tests  involving large VBUS currents with measurements on VBUS  current and voltage     PC    Host for PET         High Speed USB Link    Packet Master  USB PET    special Test  Cable    B       Embedded Host    Under  Test    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    21    mq  p USER MANUAL  ELECTRONICS    2 5 4 Peripheral On
92. fter the transaction  contains the number of bytes received  This cannot exceed the max  number of bytes expected    Host  Device or Peripheral Mode   Used by    OUT Buffer       Bit 0  Enable   Bit1  STALL  Device or Peripheral    Bit 2  PING  Host and HS OUT only    Bits 3 6  reserved  0    Bit 7  Don   t Respond        REGPacketSize4 Simple storage location for this Register Group packet size     REGResult4    Host  Device or Peripheral Mode  Bits 15 2   reserved   Bits 1 0  00   DATAO received  01   DATA received  10   DATA2 received  11   MDATA received          Extension Group Registers    REGExtCtrl  REGExtCount    Host  Device or Peripheral Mode  Used by    Extension Transaction Buffer      Bit 0  Enable  Bit1  STALL  Device or Peripheral   Bit 2  NYET  Device or Peripheral   Bits 6 3  reserved  0   Bit 7  Don   t Respond  fot testing behaviour on non response   Bits 10 8   000   LPM  Others Reserved    Host  Used by    Extension Transaction Buffer      Word containing number of bytes to send     Device or Peripheral Mode  Used by    Extension Transaction Buffer      Must be programmed with the maximum number of bytes expected in the transaction     After the transaction  contains the number of bytes received  This cannot exceed the  number of bytes expected        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    65    mgp USER MANUAL  ELECTRONICS  REGExtBytePtr Host  Device or Peripheral Mode  Points at start of RAM buffer for Extension Transaction 
93. ggest that you  disable the capture of NAKs in the Edit   Options   Capture dialog   which will reduce the amount of data captured  limiting it to transfers  which are not NAKed  NYETed split transactions to a high speed hub  can also be omitted     If necessary  a further reduction in captured data can be achieved  by disabling the capture of SOFs or Keep Alive events     You can also increase the buffer size in the same dialog  If doing  this causes system slowdown problems  caused by the system using  virtual memory   then consider adding RAM to your computer     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    174    mq  p USER MANUAL  ELECTRONICS       7 WARRANTY    7 1 Warranty    MQP Electronics guarantees that its products are free from defects  in materials and workmanship for the warranty period  subject to the  limitations below  MQP Electronics will at tts discretion either repair or  replace any part that proves defective because of faulty materials or  workmanship     7 2 Limitations    This warranty does not cover any damage that results from any  accident  misuse or unauthorized disassembly or repair  This product  is not authorized for use as a critical component in life support  equipment or any application where failure would result in any loss   injury or damage to persons or property     7 3 Warranty Period  The warranty starts on the day of purchase and covers a period of  one year     7 4 Obtaining Service    Defective product may be r
94. gin At Selection Ctrl4 T  Reset Time Origin       Change Timeline View     or Ctrl Shift T  allows you to show or  hide parts of the timeline view     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    103    mq  p USER MANUAL  ELECTRONICS    4 10 Capture Summary    When viewing a capture  a summary of file statistics is available  from menu item    View   Capture Summary        The same summary is available by right clicking in the event pane     The summary produces a text file giving statistics of each event  type  of how many errors were detected  and of the devices  encountered in the capture  This file may be saved or printed     G3 GraphicUSB    mouse_hid    File Edit View Operations Window Help    Seth          2 on    haa A Le       co oi ci TTT TTT a    iim vurmar y of Capture File    mouse hid maqu   Cr TTT TTT TTT APPT Pa aa ao  ue  Fr Number of events  26156    Duration of capture  595 035 073 s    TRANSFERS  c a a a a a r r r   e       Control  15  En Interrupt  2549  pu Isochronous  0  Max Bulk  0  iTi      TRANS ACTIONS  Td TEEPE TEE ET EE  Normal Transactions  aa 4  split Transactions  E  Setup Transactions  15  In Transactions  2697  Out Transactions  LE  Ping Transactions  E  BUS STATES  co a OS TATA a  PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    104    mq  p USER MANUAL  ELECTRONICS    4 11 Toolbars       4 11 1 File Functions Toolbar     Start Capture      Open an existing Capture file    Save the currently active Ca
95. he data field  the Device Address  and Endpoint Address can also be specified  The example below  shows a search for Hex bytes    A3 00    in an 8 byte Data field with  Device Address 1 and Endpoint 0  If no selection is made in any  particular column then any transaction meeting the requirements of  the other columns will be found             Search Settings  Events   Transaction Data   Setup   Errors      Size Pattern Device Addr Endpoint Addr  M Any T Any M Ary M Any    je decimal  a3 00 h Po h ja h    This will fnd data in Control Transters or Transactions  Select the  i content of a data field you wish to find  ou can specify    seres      of hes bytes  separated by spaces  or you can specify the total Find First    length of the data field you wish to find   Find Next       ou may use the find buttons here  or close this window and    use the find buttons on the toolbar  T Upwards        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    123    mq  p USER MANUAL  ELECTRONICS       4 15 4 Setup Search    The example below demonstrates a search for a bRequest of 05h  in a standard Setup to a device having Address 0 and Endpoint 0   Masks are available if you wish to test for only a part of a field  If no  selection is made in any particular column then any transaction  meeting the requirements of the other columns will be found        Search Settings               Events   Transaction   Data setup   Errors      Direction  Type  Recipient  bReguest   wWalue
96. he filter was also automatically enabled      Custom Display Filter    W Enable Filter     Show Unless    Edit Rule    Show Unless kd  Filter Rules Delete Fule         ou can create rules for showing or hiding events according to  various criteria  Choose    Show Unless    or Hide Unless    to allow the  simplest rules to achieve your requirement  The elements within a  rule are AN Ded together  and the rules are DRed together to    determine whether an event should be shown or hidden  OF          PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    119    mq  p USER MANUAL  ELECTRONICS    The other tab of the Add Rule dialog allows event speed to be  included in the filter rule        Add Filter Rule 1    Address Endpoint Speed    M Low Speed  M Full Speed       4 14 2 Custom Filter Enable    T Custom Filter Enable    The filter rules are global to the application  and can quickly be  turned on and off using the custom filter enable button  The Menu  item in the View Menu can also be used     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    120       mq  p USER MANUAL  ELECTRONICS    4 15 Search    The Search function is used to locate particular events within the  captured data  Events which are not currently being displayed will still  be found by the search function and the display filter settings will be  adjusted accordingly  Select the Search Settings by either clicking the    Tool Button  4 or selecting the item on the Edit menu  Items 
97. he first test will prompt  you to connect it to the PET using    Special Test Cable A     This Micro   B plug to Micro B plug cable is provided with the PET unit and it is  essential that this particular cable is used  for the following reason     e The resistance of this cable has been allowed for in tests  involving large VBUS currents with measurements on VBUS  current and voltage     The other possibility is that the device has a captive cable with a  micro A plug  In this case use this  and check the    Captive Cable     check box  in the  USB PET Test Suites  Dialog     PL    Hostfor PET         High Speed USE Link    PacketMaster  LISB PET    Special Test  Cable          or Captive  Cable    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    23    mq  p USER MANUAL  ELECTRONICS    2 5 6 CDP as Unit Under Test  Setup no  5     A Charging Downstream Port  CDP  must be equipped with a  Standard A receptacle        When running a test suite relating to a CDP  the first test will  prompt you to connect it to the PET using    Special Test Cable B     This  Micro B plug to Standard A plug cable is provided with the PET  unit and it is essential that this particular cable is used  for the  following reason     e The resistance of this cable has been allowed for in tests  involving large VBUS currents with measurements on VBUS  current and voltage          High Speed USE Link    Packet Master  USB PET    special Test  Cable    E    PET User Manual 1 04 Copyright
98. he script     In addition to the report message  a modal dialog will be displayed containing the  message  plus a YES button  a NO button and an CANCEL button  Until one of  the buttons is pressed  the script will be paused     Pressing Yes  No or Cancel results in the ResponseYes  ResponseNo or  ResponseCancel flag being set  for testing by the script     Copyright    2006 2012 MQP Electronics Ltd    72    mq  p USER MANUAL  ELECTRONICS       4 4 Communication with Electrical Test Board    The Electrical Test Board  ETB  is accessed using two script  commands     WriteToETB  lt addr gt   lt value gt   ReadFromETB  lt addr gt     Addresses for the ETB elements are usually represented by  keywords  All the available keywords are defined in the tables on the  following pages  For example  to connect the VBUS generator to the  front panel micro AB test socket  use     WriteToETB SW VBUS AB 1  Or because the keyword  ON  has the value 1     WriteToETB SW VBUS AB ON    To set the VBUS generator to 5V  use     WELCeTOETE DAC VBUS 2500    The value 2500 represents 5V because this DAC has a unit size of  2mV  For any given DAC  or ADC  the unit size is defined in one of  the following tables     An example of reading the ETB follows  To read the ADC in one of  the VBUS voltage watch blocks  to determine what the VBUS voltage  actually is  use     ReadFromETB ADC VBUS AB    After executing this command  the voltage in question is placed in  the  16 bit wide  accumulator  In this case 
99. his results in unexpectedly early data  device or peripheral mode  being placed ina  known location  Remember that SETUPs cannot be NAKed or STALLed    Host  Device or Peripheral Mode   Points at start of RAM buffer for IN transactions on control endpoint 0    Used by host or device for IN direction transaction        REGBytesLeftln0 Host  Device or Peripheral Mode  Simple storage location for number of untransmitted or unreceived bytes     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    60    mgp USER MANUAL  ELECTRONICS  REGCountIn0 Host Mode  Used by    IN Transaction circuit      Must be programmed with the maximum number of bytes expected in the transaction   After the transaction  contains the number of bytes received  This cannot exceed the max  number of bytes expected   Device or Peripheral Mode  Used by    IN Transaction circuit     Word containing number of bytes to send   REGInCtrl0 Host  Device or Peripheral Mode  Used by    IN Buffer      Bit 0  Enable  Bit1  STALL  Device or Peripheral   Bit 2  reserved  0   Bit 3  Split  not yet implemented   Bit 4  SC  not yet implemented   Bit 5  Speed  not yet implemented   Bit 6  End  not yet implemented   Bit 7  Don   t Respond   REGOutCtrl0 Host  Device or Peripheral Mode  Used by    OUT Buffer      Bit 0  Enable  Bit1  STALL  Device or Peripheral   Bit 2  PING  Host and HS only   Bit 3  Split  not yet implemented   Bit 4  SC  not yet implemented   Bit 5  Speed  not yet implemented   Bit 6  End  not ye
100. host  remember to register the option on that  computer as well     The option will not allow the analysis of classes on captures  performed with the analyser before the option was registered   However the captured files can later be viewed in their analysed form  on any computer with or without the analyser present     A typical class analysis example is shown below     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    144    mq  p USER MANUAL  ELECTRONICS    C Control Transfer    Get HID Report Descriptor       Meaning Value  Usage Page  Generic Desktop Controls  05 01  Usage  Mouse  0  Collection  Application   Usage  Pointers  Collection Physical  Usage Page  Button   Usage Minimum  14  Usage Maximum  5   Logical Minimum  0   Logical Maximum  1   Report Count 5   Report Size  1   Input  Data  Variable  Absolute  Bit Field   Report Count  14  Report Size  3   Input  Constant  Array  Absolute  Bit Field      Usage Page  Generic Desktop Controls   05  Usage tai  Usage  ri  Usage wheel  Logical Minimum   127    Logical Maximum  127   Report Size  8   Report Count  31  Input  Data  Variable  Relative  Bit Field  181  End Collection  End Collection    CT   IL  he    T   ax           mm  mo  I         T                    a f on  cy co           re  co  I  Ti    rea      nm in  Cy co  ce  oi    La  im  co  iT               i  D Lo  F           g               in  Cc          J    D j oa  Za    cy co  mo Re  Lo Lo    j       oo  D  oo    ro        cm yon  J 7 oo 
101. iate host PC with  the latest version of the application GraphicUSB installed     Plug test fixture micro A plug into micro AB receptacle on PET front panel     Plug the Special Test Cable  A or B as appropriate  into the test fixture micro   AB receptacle  and plug the other end into the UUT     Apply the current probe from the oscilloscope to the wire loop provided on the  test fixture     From the PET Test Suites dialog  select the Inrush Test button  The PET will  turn on VBUS     Follow the instructions in Section B4 of the    USB IF Full and Low Speed  Compliance Test Procedure rev 1 3        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    167       mq  p USER MANUAL  ELECTRONICS    5 1 2 Termination Impedance Measurement  TDR   J and K  Voltage Levels plus Inrush Measurement Test Fixture    Reference  EL_ 10  19 and 20  B 4    4mm Banana       Test Socket  SK1 SK2  IMPEDANCE 7   TDR   SW2 SPDT  DC Power Centre off  Socket   toggle  Arrow denot  SW1 SPDT CREE  On   Off  toggle  Micro AB  7 USB  Receptacle  Arrow denotes  D  pin       Arrow denotes  ID pin    USB PET Test Fixture IMPEDANCE  TDR   The following table defines the pin numbering on the fixture header     Table 5 5 Differential Probe Connector S2     Pin  Function  Comment    1 Ground Alternative ground positions are  provided for compatibility with different  differential probes  Either ground pin at  each end of the connector may be cut  short in required     o  oon  woe       PET User Ma
102. ification is possible        ASSERTYES Indicates that the assertion indexed by the accumulator was a question to which the  answer is    yes       ASSERTNO Indicates that the assertion indexed by the accumulator was a question to which the  answer is    no       ASSERTNOTAPPLICABLE Indicates that the assertion indexed by the accumulator is not applicable in the  current circumstances     STYLEPASS    PET User Manual 1 04    If the accumulator value is 1  then the SendMessage template  assert will be       replaced with YES    instead of  YES  PASS      or    NO    instead of NO  FAIL         TIMESTAMPOFF Prevents the timestamp from being displayed on each message displayed in the  report     Copyright    2006 2012 MQP Electronics Ltd    92    mgp USER MANUAL  ELECTRONICS  TIMESTAMPON Enables the timestamp to be displayed on each message displayed in the report     TABSIZE Sets the tab size used in the report to be the number of columns indicated by the  accumulator value    ROWSIZE Sets the maximum characters per row used in the report to be the number indicated  by the accumulator value     CHECKVID If the Vendor ID value in the accumulator matches one found in the USB IF official  file  this sets the ResponseYes flag  otherwise it sets the ResponseNo flag  Until the  application has had time to process this  neither flag will be set    STRICLEAR string is a string which is stored in the application  but can be defined by the  running script  one character at a time The stri
103. ight    2006 2012 MQP Electronics Ltd    47    mq  p USER MANUAL  ELECTRONICS    lf there is an error  it will be announced in the lower pane  Double  click on the error message to point at the line in the script containing  the error  Alternatively press the F4 key to highlight the errors one at  a time        Edit your file  as required  checking its validity with frequent  compilations  Then you are ready to run your PET script  Do this by    using menu item File   Run  or click on the    Run    icon in the  toolbar     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    48    mq  p USER MANUAL  ELECTRONICS    4 3 PET Processor Architecture          GraphicUSB  Application                          Messaging    USB Analyser  Comms y             Messaging Flags          Electrical Test      Board  ETB  yP          Script Memory   32MB                 CPU Flags and    i CPU Data RAM  4KB   Registers                           SIE Flags and  Registers    Serial Interface PHY Micro   Engine  SIE  AB             PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    49    USER MANUAL    ELECTRONICS BE    ical Test Board    4 3 1 Electr    T1 erebr 21    FINOUTIT 4591 Te9tyvqoe Ts Lad aSn    P37  S91U0499913 JOW    de dU gM  CR    A49014499enm    ANT    a  W EN    490 14497 M    ein I aD SUe      48871 974997 SN MS  N397 SN    SNA 980  U97 410  NE V  av  SN  gM    EU SNA Ms    TAI SNA EM    A907 4u93en  tez UieB  DT7  5NEn MS   ag UTeB gd  Ww  I SsngA  M
104. l dialog will be displayed containing the  message  plus an OK button  Until the OK button is pressed  the script will be  paused     Pressing OK results in the ResponseOk flag being set  for testing by the script     In addition to the report message  a modal dialog will be displayed containing the  message  plus an OK button and a CANCEL button  Until one of the buttons is  pressed  the script will be paused     Pressing Ok or Cancel results in the ResponseOk or ResponseCancel flag being  set  for testing by the script     In addition to the report message  a modal dialog will be displayed containing the  message  plus a YES button and a NO button  Until one of the buttons is pressed   the script will be paused     Pressing Yes or No results in the ResponseYes or ResponseNo flag being set  for  testing by the script     In addition to the report message  a modal dialog will be displayed containing the  message  plus an ABORT button  a RETRY button and an IGNORE button  Until  one of the buttons is pressed  the script will be paused   Pressing Abort  Retry or Ignore results in the ResponseAbort  ResponseRetry or  Responselgnore flag being set  for testing by the script     In addition to the report message  a modal dialog will be displayed containing the  message  plus a RETRY button and a CANCEL button  Until one of the buttons is  pressed  the script will be paused     Pressing Retry or Cancel results in the ResponseRetry or ResponseCancel flag  being set  for testing by t
105. lags     Status    Flag Name    Host Mode Transaction StatusFlags    SetupSent Host Mode  Flag set by the SIE to indicate that a Setup transaction has  been sent    InRcvd Host Mode  Flag set by the SIE to indicate that an In transaction has been  received  Not set if Stalled    OutSent Host Mode  Flag set by the SIE to indicate that an Out transaction has been  sent     LpmSent Host Mode  Flag set by the SIE to indicate that an LPM transaction has  been sent     DataToggleError Host Mode    Set by hardware if an IN transaction received the wrong data  toggle  The InRcvd flag will not be set in this case     Host Mode    Set by hardware if legally NAKed  and the behaviour for the  current transaction is not to retry     In this case then the completion flag such as OutSent or  InRcvd or SetupSent will not be set        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    68    GI USER MANUAL  ELECTRONICS    Host Mode    Set by hardware if ERR received as the result of a complete  split transaction        In this case then the completion flag such as OutSent or  InRcvd or SetupSent will not be set     REGStatus Flags     In Device or Peripheral modes  the next seven flags are presented to the controller in the order received to  prevent transaction synchronization problems  This queuing mechanism is invisible to the user  It is good  practice to clear the queue immediately after a USB reset  when operating as a device or peripheral  by  writing  any value  to REG
106. ld  The bit pattern received is shown   The Packet ID  PID   In this case it is an IN token    The Address field    The Endpoint field     The CRC field  Token packets have a five bit CRC while data packets have a  sixteen bit CRC     End of Packet  EOP   An EOP is made up of a single ended zero for  approximately two bit times followed by a J state  The time shown is the length  of the single ended zero  For High Speed  an EOP is signalled by a byte of  01111111  which contains a deliberate bit stuffing error      Finally the idle time before the next event                  24  25   0 022 248     Event   24  syne  IN  Atar Ena eR ecr    IDLE  0 022 246 s 0000000 1 0 45 us  Event  25  Syne _ NAK  EOP    IDLE    An error e g  an incorrect CRC is indicated by the appropriate field  being highlighted in red  A field highlighted in orange indicates a  potential problem or warning     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    99    GI USER MANUAL  ELECTRONICS       4 8 2 Analysis and Data Panes    By clicking on an event row in the event pane  a complete analysis  of the event is displayed in the analysis pane  and the data content is  shown in its entirety in the data pane  Where appropriate  any  information selected in the analysis pane is highlighted in the data  pane for easy identification  All standard requests and descriptors are  analysed in detail  Any discrepancies are described       Control Transfer  Get String Descriptor 1    string descripto
107. le  oscilloscopes  and test probes for use with these fixtures  Using such  equipment  it is possible to observe and measure various signal  quality characteristics     Test Fixtures available include     e High Speed Signal Quality  Host or Peripheral  plus Inrush  Measurement Test Fixture    e Impedance Measurement  TDR  plus Inrush Measurement  Test Fixture    e Receiver Sensitivity plus Inrush Measurement Test Fixture    e Economy Breakout Board plus Inrush Measurement Test  Fixture    The available High Speed Electrical Tests are listed in the  following section  and detailed in the USB 2 0 core specification  and  in the OTG 2 0 Supplement  The major section    HIGH SPEED  ELECTRICAL TESTS details use of the fixtures available from MQP  Electronics     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    35    mq  p USER MANUAL  ELECTRONICS    2 9 Standard Compliance Tests Supplied with PET       The standard test scripts listed below appear in the folder     wet SCrIpts   Official  OIG 2 0 Be 1 2    It is important that these files not be edited  otherwise the test suite  can only be run with accompanying warnings  which will also be  embedded in the text report  An authentication file confirms that the  files are original     It is possible to copy the files into a different folder and run the  scripts individually in this new folder  In this case modifications are  not reported  to allow changes to be made while investigating a UUT  problem     Files su
108. ly as Unit Under Test  Setup no  3        When running a test suite relating to a Peripheral Only OTG  device  the first test will prompt you to connect it to the PET using     Special Test Cable A     This Micro B plug to Micro B plug cable is  provided with the PET unit and it is essential that this particular cable  is used  for the following reason     e The resistance of this cable has been allowed for in tests  involving large VBUS currents with measurements on VBUS  current and voltage     Another possibility is that the device has a captive cable with a  Micro A plug  In this case use this  and check the    Captive Cable     check box  in the  PET Test Suites    Dialog     Finally  the device may have a captive cable with a Standard A  plug  In this case  use a suitable adapter to attach the Standard A  plug to the Micro AB receptacle of the PET  and check the    Captive  Cable    check box  in the  PET Test Suites    Dialog     PL    Hosttor PET         High Speed WS Link    Packet Master  LISH PET    Special Test  Cable    4    or Captive  Cable    Peripheral Only    OTG Device    Under  Test    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    22       mq  p USER MANUAL  ELECTRONICS    2 5 5 PD as Unit Under Test  Setup no  4     A Portable Device  PD  is assumed to have a Micro B receptacle  or a Micro AB receptacle  A PD that mates with an ACA Dock or ACA  is required to have a Micro AB receptacle     When running a test suite relating to a PD  t
109. may be  searched for by Event  Transaction  Data  Setup or Error    Once a search has been defined the Search Settings Window may be  closed and the Toolbar Search buttons            used instead   This provides a clearer view of the data     4 15 1 Event Search    The events search allows you to find such items as Reset   Preamble etc                Search Settings    Everts   Transaction   Data   Setup   Errors      F Start of Frames Select the type of event you wish to  find     ou may search for more than    one event type at the same time  You         Transaction  ww   may use the find buttons here  or    close this window and use the find    Control Transfer buttons on the toolbar     Reset  M SRE Find First    M Resume    Find Next    Keep Alive __Find Newt      T Power Event T Upwards       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    121    mq  p USER MANUAL       ELECTRONICS       4 15 2 Transaction Search    Transactions may be searched for according to their Type  IN   OUT  or SETUP   the Response  ACK  NAK  STALL or NONE   the  Device Address and or Endpoint  If no selection is made in any  particular column then any transaction meeting the requirements of  the other columns will be found     search Settings       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    122       GI USER MANUAL  ELECTRONICS    4 15 3 Data Search    The data to be searched for is entered as a sequence of Hex bytes  separated by spaces  The size of t
110. miss a  modal dialog  No Alert parameter is permitted     SendMessage   lt message gt     lt alert_param gt   Sends a message which appears in text report and  capture file  If an Alert parameter is added the message  also appears in a modal message box  This box must be    acted on before the script will proceed     SendPrompt   lt message gt    lt alert_param gt  Sends a message which appears in text report and  capture file  The message also appears in a modeless  message box  This type of message box does not  prevent the script from proceeding  and will automatically    be dismissed if a further message or prompt is received     SendReport   lt message gt     lt alert_param gt   Sends a message which appears only in text report  If an  Alert parameter is added the message also appears in a  modal message box  Such a box must be acted on    before the script will proceed        SendReportinfo   lt message gt   Sends a message which appears only in text report  It    has the advantage that it will not dismiss a modal dialog   No Alert parameter is permitted     SendValue  lt value_param gt  Sends a value  or an operation request relating to a  value or values  This type of  message  does not appear  in the text report or the capture file  although parameters  set by this operation can subsequently in normal  messages     SetCount  lt 16 bit value gt  Sets the counter used by DNJZ command to a count  from 1 to 65535     SetFlag  lt FLAG gt  Set the specified flag to 1   SHL
111. mq  p USER MANUAL  ELECTRONICS          Packet Master USB PET  User Manual    MQP Electronics Ltd   Unit 2  Park Road Centre   Malmesbury   Wiltshire SN16 OBX   United Kingdom   e mail  sales mqp com Website  www mqp com    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    l    mq  p USER MANUAL  ELECTRONICS       Contents  1 INTRODUCTION   PET ARCHITECTURE    8  1 1 Serial Interface Engine  SIE           ccsscssccsscssenssecsesesneeecnensensees 8  1 2 Electrical Test Board  ETB                                                   8  13 SCID FPIOCCS SOM ee eee ee eee a os 8  1 4 High Speed   Full Speed  Low Speed USB Analyser             8  2 GETING STARTED arcsec a 9  2 1 Installing the Software and Driver                                            9  2 1 1 Install the Software from CD    9  2 1 2 Installing the Driver              cece cecceeceeeeeeseeseeeeeeeeeseeeeeeeeeaes 9  2 1 3 Updating the Driver                 cccccccecceeceeceeceeseeseeeceesenseeeaees 10  2 1 4 Updating the Software    10  2 2 Sample Capture Files    nn 11  2 3 Front and Back Panels     Packet Master USB PET              12  LA TOS CDS ener ee eee eee ee eee 14  R3 TOS SCE OD acre ee 19  2 PETOS eee ne ee eee eee 19  2 5 2 OTG Device as Unit Under Test  Setup no  1                  20  2 5 3 Embedded Host as Unit Under Test  Setup no  2             21  2 5 4 Peripheral Only as Unit Under Test  Setup no  3              22  2 5 5 PD as Unit Under Test  Setup no  4     23  2 5 6 CDP as 
112. mulator value  then the PET RESPONSE _ YES flag is set  otherwise the PET  RESPONSE_NO flag is set        MINDURATION3_1MS The accumulator value accompanying this parameter  assuming units of 1ms  is  compared with duration3  lf duration3 is greater than or equal to the  accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set     MAXDURATION3_1MS The accumulator value accompanying this parameter  assuming units of 1ms  is  compared with duration3  If duration3 is less than or equal to the    accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set     TIMESTART4 The accompanying timestamp  automatically generated  defines the start time for the  store called duration4    TIMEEND4 The accompanying timestamp  automatically generated  defines the end time for the  store called duration4  and causes the duration to be calculated     MINDURATION4 10US The accumulator value accompanying this parameter  assuming units of 10us  is  compared with duration4  lf duration 4 is greater than or equal to the    accumulator value  then the PET RESPONSE _ YES flag is set  otherwise the PET  RESPONSE_NO flag is set        MAXDURATION4_10US The accumulator value accompanying this parameter  assuming units of 10us  is  compared with duration4  If duration 4 is less than or equal to the    accumulator value  then the PET RESPONSE_YES flag is set  otherwise the PET  RESPONSE_NO flag is set     MINDURATION4_1MS
113. ng a 100us clock  The  timer can be stopped using EndPeriod2  The time  measured can be acquired from register PERIOD2  The    maximum time count is 65535     StartPeriod3_100us Starts the PERIODS timer using a 100us clock  The  timer can be stopped using EndPeriod3  The time  measured can be acquired from register PERIOD3  The    maximum time count is 65535     StartPeriod4 100us    Starts the PERIOD4 timer using a 100us clock  The  timer can be stopped using EndPeriod4  The time  measured can be acquired from register PERIOD4  The  maximum time count is 65535        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    55    mq  p USER MANUAL  ELECTRONICS    StartPeriodO_ 1ms       Starts the PERIODO timer using a 1ms clock  The timer  can be stopped using EndPeriod0  The time measured  can be acquired from register PERIODO  The maximum  time count is 65535     StartPeriod1_1ms Starts the PERIOD timer using a 1ms clock  The timer  can be stopped using EndPeriod1  The time measured  can be acquired from register PERIOD1  The maximum    time count is 65535     StartPeriod2_1ms    Starts the PERIOD2 timer using a 1ms clock  The timer  can be stopped using EndPeriod2  The time measured  can be acquired from register PERIOD2  The maximum  time count is 65535     StartPeriod3_1ms Starts the PERIOD3 timer using a 1ms clock  The timer  can be stopped using EndPeriod3  The time measured  can be acquired from register PERIOD3  The maximum    time count is 65535     Start
114. ng can be displayed by using the  SendMessage template  str1  This parameter clears the string    STRICHAR string1 is a string which is stored in the application  but can be defined by the  running script  one character at a time  The string can be displayed by using the  SendMessage template  str1  This parameter concatenates one character to the  string    STR2CLEAR String2 is a string which is stored in the application  but can be defined by the  running script  one character at a time The string can be displayed by using the  SendMessage template  str2  This parameter clears the string    STR2CHAR String2 is a string which is stored in the application  but can be defined by the  running script  one character at a time The string can be displayed by using the  SendMessage template  str2  This parameter concatenates one character to the  string    STRLANG This sets the value nStrLang in the application from the accumulator value  The  SendMessage template  strlang can then be used to display the name of the  language    CLASS This sets the value nClass in the application from the accumulator value  The  SendMessage template  class can then be used to display the name of the class    SUBCLASS This sets the value nSubclass in the application from the accumulator value  The  SendMessage template  subclass can then be used to display the name of the  protocol    PROTOCOL This sets the value nProtocol in the application from the accumulator value  The  SendMessage template  prot
115. ngs  Window        4 19 1 File Locations  Use this to specify the locations of the Capture and temporary files     Option Settings    File Locations   Misc settings   Capture      Data Directory    CAD ocuments and Settings 4drministrator 4oplication Data GraphicllSB     Temporary File Directory    CADOCUME 1 4DMINI   TSLOCALS 1 Temp a      Picture Viewer Path    CAWINDOWS explorer exe a      Default file locations may be set here       ou may also specify    text fle editor path for use with some functions   we recommend Program Files Windows AT Waccessones wordpad  exe    Similarly vou may specify    picture viewer path for use with some functions    we recommend Windows esplorer  exel     Ok    Cancel     Help         A Picture Viewer may also be specified  to assist with certain  functions  such as showing images transferred in Image Class  devices     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    128    mq  p USER MANUAL  ELECTRONICS       4 19 2 Miscellaneous Settings  e User warnings e g  concerning the test set up  may be re enabled     e  f several captures are to be done in a row without the need to save  each capture  then it can be beneficial to check the box  Abandon  previous file on new capture     This will save RAM and make  shutting down GraphicUSB quicker     Option Settings    File Locations Misc settings   Capture      i Abandon previous file on nes capture    Warings  hidden by clicking    Do not show me this again     can be restore
116. ns  It can best be described in terms of a number of functional  blocks  as follows     1 1 Serial Interface Engine  SIE     A fully functional SIE  with both host and peripheral capabilities  connected via a  PHY to the UUT micro AB receptacle on the front panel  It is under the control of  the Script Processor     1 2 Electrical Test Board  ETB     This contains circuitry to allow control and measurement of the electrical  parameters for USB  OTG and BC specifications  It includes VBUS Generator  ID  pin circuitry  data line test mode circuitry  VBUS current and voltage loads  and a  variety of voltage and current measuring blocks  Extra connections are provided  on the front panel to enable the testing of Accessory Charger Adapters  ACAs      1 3 Script Processor    Scripts are downloaded to this processor to control the sequence of operations  required for a particular test  The processor controls the SIE and ETB as required  by the operator  Scripts for all the OTG and BC compliance tests are provided by  the GraphicUSB application which accompanies the PET  GraphicUSB also  supports user written scripts  to allow particular test situations to be set up     1 4 High Speed   Full Speed  Low Speed USB Analyser    The PET also provides full USB analyser functionality  Of particular interest is the  fact that this analyser has zero impact on the data line transmission quality   Messages generated by a running script can be inserted into the analyser  capture  The analyser al
117. nual 1 04 Copyright    2006 2012 MQP Electronics Ltd    168    mq  p USER MANUAL  ELECTRONICS    The following table outlines the procedure for a high speed  termination impedance measurement test  For more information see  the TDR Measurement Equipment manufacturer s operating  instructions  and the USB IF USB 2 0 Electrical Test Specification  documents        Table 5 6 Procedure for High Speed Termination Impedance Measurement Test    Check that the banana plug wire loop is inserted into the banana test socket  to  complete the VBUS circuit     Connect PET to the provided power supply  and to an appropriate host PC with  the latest version of the application GraphicUSB installed       Plug test fixture micro A plug into micro AB receptacle on PET front panel    test   Plug test fixture micro A plug into micro AB receptacle on PET front panel    micro A plug into micro AB receptacle on PET front panel     Plug the D connector of the test fixture control cable into the AUX connector on  the PET front panel       Plug the other end of the test fixture control cable into the DC power socket of    the test fixture     Plug the Special Test Cable  A or B as appropriate  into the test fixture micro   AB receptacle  and plug the ae end into the UUT     Attach the SMA cables of the TDR Measuring Equipment to SMA1 and SMA2  on the test fixture     From the PET Test Suites dialog  select either the Host SEO _NAK or the  Device SEO _NAK button as appropriate  The PET will provide the 
118. o Standard A plug  Standard A plug  UUT            This cable is supplied as standard      Although this is a standard cable configuration  it is important to  use this cable when the test specifies it  as the particular resistance  of the cable has been allowed for in the test suite     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    15       mq  p USER MANUAL  ELECTRONICS    Special Test Cable C     9 pin D type Assembly    D type  PET  Standard A Micro B Plug Purpose  Receptacle  ACA Accessory Port    ACA Charger Port      linked to 4     ee ID    Charger VBUS    Charger D     7   o a  oo Charger D   De     loren     Available as an optional extra         This cable is used when testing a Micro ACA     Note  This is correct for a Micro ACA with a captive charger port  cable  For a Micro ACA with a Micro B receptacle as the charger port   connect Special Test Cable B to the Standard A receptacle of Special  Test Cable C  and plug the other end into the charger port of the ACA     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    16       mq  p USER MANUAL  ELECTRONICS    Special Test Cable D     9 pin D type Assembly    D type  PET  Standard A Standard A Plug Purpose  Receptacle  ACA Accessory Port    ACA Charger Port     1 Cable Sense    2 tf Accessory Vous  pf Accessory ID     linked to 4     rr ee ND o ooo  S E E S Ca      6   2    chargerD  7 8     chargerDt  8   ores ves  nc      Available as an optional extra         This cable is u
119. o the banana test socket  to  complete the VBUS circuit     Connect PET to the provided power supply  and to an appropriate host PC with  the latest version of the application GraphicUSB installed       Plug test fixture micro A plug into micro AB receptacle on PET front panel    test   Plug test fixture micro A plug into micro AB receptacle on PET front panel    micro A plug into micro AB receptacle on PET front panel     Plug the D connector of the test fixture control cable into the AUX connector on  the PET front panel     Plug the other end of the test fixture control cable into the DC power socket of  the test fixture     ou Plug the Special Test Cable  A or B as appropriate  into the test fixture micro     AB receptacle  and plug the aa end into the UUT     Attach the differential probe of the oscilloscope to S2 on the test fixture   Ensure D  on probe lines up with D  on fixture     From the PET Test Suites dialog  select either the Host Test Packet or the  Device Test Packet button as appropriate  The PET will provide the conditions  for the UUT to start producing the test packet  and will then automatically  switch in the correct test termination on the test fixture     Measure transmitted waveform with high speed oscilloscope and differential  probe     Generate eye pattern diagrams from data   Compare with USB 2 0 Specification eye diagrams     Check rise fall times to make sure they are not faster than minimum set in USB  2 0 Specification     Check for non monot
120. ocol can then be used to display the name of the  protocol     DESCTYPE This sets the value btDescType in the application from the accumulator value  It is  used to specify the descriptor type containing class  subclass and prototype  so that  its desrcription can be adjusted according when using the SendMessage templates   class   subclass or  protocol     BEEP Causes a sound be be emitted           PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    93    mq  p USER MANUAL  ELECTRONICS       4 5 PET Script Language Syntax Rules    4 5 1 Command Sequence  The first two commands must appear as follows  in this order   Filetype MQPPET 1  ControlMode HOST   PERIPHERAL   DEVICE   DETACHED    4 5 2 Case Sensitivity  All commands and parameters are case insensitive  Thus  SendMessage IS the Same aS SENDMESSAGE   Scripts tend to use mixed case for commands and all upper case  for pre defined values  for clarity   4 5 3 Command Lines    All commands must start on a new line  Command   DnldToRam    may take up as many lines as are necessary to specify all the data  to be sent     Blank lines are allowed     4 5 4 Labels    A label is defined as a sequence of alphanumeric characters  finishing with a      It must appear on its own line of text  and should  not match any keywords used by the compiler  A label is used as the  target of a Jump command or a DJNZCountn command  without the    An example of a label is   Labell2     PET User Manual 1 04 Copyright    2006 2012 
121. ols  B Device State Transition Test  B UUT Device No Response   B UUT Unsupported Device   B UUT Dev No Resp for HNP En   B UUT Checklist Report    Test_SEO_NAK  Host    Test_J  Host    Test_K  Host    Test_Packet  Host    HS HOST _PORT_SUSPEND_RESUME  Host   SINGLE_STEP_GET_DEV_DESC  Host   SINGLE_STEP_GET_DEV_DESC_DATA  Host   Test SEO NAK  Device     Test _J  Device     Test_K  Device     Test Packet  Device     Copyright    2006 2012 MQP Electronics Ltd    37    GJL ELECTRONICS    USER MANUAL       BC1 2 Portable Device Tests  with Almost Weak Battery     CT_PD_WEAK_PREP mpet  CT PD DCD CS  mpet  CT PD DCD TO mpet  CT PD DCP Detmpet  CT PD CDP Detmpet  CT PD SDP Det mpet  CT PD Dock Det mpet  CT PD ACA A Det mpet  CT PD ACA B Det mpet  CT PD ACA C Det mpet    CT_PD ACA GND Det mpet    CT PD WEAK_REP mpet    PD     Test Preparation     Almost Weak Battery  PD   Data Contact Detect Test with Current Source  PD   Data Contact Detect Test  Timer Only  PD   DCP Detection Test   PD   CDP Detection Test   PD   SDP Detection Test   PD   ACA Dock Detection Test   PD   ACA A Detection Test   PD   ACA B Detection Test   PD   ACA C Detection Test   PD   ACA GND Detection Test   PD   Checklist Report    BC1 2 Portable Device Tests  with Good Battery     CT_PD_GOOD_PREP mpet  CT PD CMO FS mpet  CT_PD_CMO_HS mpet  CT_PD_GOOD_REP mpet    PD     Test Preparation     Good Battery  PD   Common Mode Test Full Speed  PD   Common Mode Test High Speed  PD   Checklist Report    BC1 2 Portable De
122. on   however we now use an extension of  mven  Additionally a    FileType MQPVEN 1    command is now required at the start of the file     Otherwise the format has not changed  The editor is now  integrated with GraphicUSB  so it is no longer necessary to use an  external text editor     On running the new GraphicUSB for the first time  the application  will offer to make these changes automatically for you     The files can then be opened for editing if required  in GraphicUSB  by selecting menu item File   Open    and choosing Files of Type   Vendor Files    mven  in the file select dialog     Note also that the validation function now works on the open file  displayed in the editing window  rather than by locating the file on the    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    148    mq  p USER MANUAL  ELECTRONICS    disk  so the validation option is only available in the menu when the  file is displayed        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    149    mq  p USER MANUAL  ELECTRONICS    On clicking the Create button  the template file is generated        G3 GraphicUSB    vendi ab34cd   BE File Edit View Operations    Window Help    elle t Bjal n  lt  gt    2  12  S8E4 1t B    vbus    4 61v   52  08mA    f  in this example we define 2 control requests and 1 endpoint  ff for our vendor device  Widget    lt Device gt    VID 0x12 35   PID O0x34CD     lt Control Request gt   bmRequestType  0x40  hbRequest 0x01  bRequest desc 
123. onic transitions        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    165    mq  p USER MANUAL  ELECTRONICS       The following table outlines the procedure for a high speed J and K  Voltage Level test  For more information see the USB IF USB 2 0  Electrical Test Specification documents     Table 5 3 Procedure for High Speed J and K Voltage Level Measurement Test    1 Set the test fixture    Relay ON OFF    switch to the    ON    position    Set the test fixture    Connect OFF Discharge    switch to the    Connect    position     Ensure that the jumper on P1 is connected to the    Normal Operation    position    Check that the banana plug wire loop is inserted into the banana test socket  to  complete the VBUS circuit    Connect PET to the provided power supply  and to an appropriate host PC with  the latest version of the application GraphicUSB installed     Plug test fixture micro A plug into micro AB receptacle on PET front panel     7 Plug the D connector of the test fixture control cable into the AUX connector on  the PET front panel   Plug the other end of the test fixture control cable into the DC power socket of  the test fixture     Plug the Special Test Cable  A or B as appropriate  into the test fixture micro   AB receptacle  and plug the other end into the UUT     Attach the negative lead of the voltmeter to a suitable ground point on the test  fixture     10  1    1 From the PET Test Suites dialog  select either the Host TEST_J or the Device 
124. ount is 65535     StartPeriodO 10us Starts the PERIODO timer using a 10us clock  The timer  can be stopped using EndPeriodO  The time measured  can be acquired from register PERIODO  The maximum    time count is 65535     StartPeriod1 10us Starts the PERIOD1 timer using a 10us clock  The timer  can be stopped using EndPeriod1  The time measured  can be acquired from register PERIOD1  The maximum    time count is 65535     StartPeriod2 10us Starts the PERIOD2 timer using a 10us clock  The timer    can be stopped using EndPeriod2  The time measured    can be acquired from register PERIOD2  The maximum  time count is 65535     StartPeriod3 10us    Starts the PERIOD3 timer using a 10us clock  The timer  can be stopped using EndPeriod3  The time measured  can be acquired from register PERIOD3  The maximum  time count is 65535     StartPeriod4 10us Starts the PERIOD4 timer using a 10us clock  The timer  can be stopped using EndPeriod4  The time measured  can be acquired from register PERIOD4  The maximum    time count is 65535     StartPeriodO_100us Starts the PERIODO timer using a 100us clock  The  timer can be stopped using EndPeriodO  The time  measured can be acquired from register PERIODO  The    maximum time count is 65535     StartPeriod1 100us Starts the PERIOD1 timer using a 100us clock  The  timer can be stopped using EndPeriod1  The time  measured can be acquired from register PERIOD1  The    maximum time count is 65535     StartPeriod2_100us Starts the PERIOD2 timer usi
125. point   Bits 1 0  00   Control    01   Isochronous  10   Bulk  11   Interrupt       REGBytePtr2 Host  Device or Peripheral Mode    Points at start of RAM buffer for IN or OUT transactions on endpoint Group 2     REGBytesLeft2 Simple storage location to keep track of transfer data size     REGCount2    Host    REGCtrI2    Device or Peripheral Mode  Used by    OUT Transaction circuit      Must be programmed with the maximum number of bytes expected in the transaction     After the transaction  contains the number of bytes received  This cannot exceed the max  number of bytes expected     Used by    IN Transaction circuit     Word containing number of bytes to send     Used by    OUT Transaction circuit     Word containing number of bytes to send    Used by    IN Transaction circuit       Must be programmed with the maximum number of bytes expected in the transaction   After the transaction  contains the number of bytes received  This cannot exceed the max  number of bytes expected    Host  Device or Peripheral Mode   Used by    OUT Buffer       Bit 0  Enable   Bit1  STALL  Device or Peripheral    Bit 2  PING  Host and HS OUT only    Bits 3 6  reserved  0    Bit 7  Don   t Respond        REGPacketSize2 Simple storage location for this Register Group packet size     REGResult2    Bits 1 0    Host  Device or Peripheral Mode  Bits 15 2     reserved     00   DATAO received  01   DATA received  10   DATA2 received    11   MDATA received          Endpoint Group 3 Registers  REGEndp3  
126. pplied are     CO    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd       36    GJL ELECTRONICS    CT_A_UnsupDev mpet    CT A NoResHnp mpet  CT A OTG REP mpet    OTG 2 0 B UUT Tests  CT B PUT mpet  CT B VBUS mpet  CT B CAP  mpet  CT B SRP mpet  CT B HNP mpet  CT B ADP  mpet  CT B LKG mpet  CT B_ ST OTG ADP HNP_SRP  mpet  CT B_ ST OTG HNP_SRP mpet  CT B_ ST OTG ADP _SRP mpet  CT B_ ST OTG SRP mpet  CT_B ST OTG NONE mpet  CT B_ ST PER ADP_SRP  mpet  CT B_ ST PER SRP mpet  CT B_ ST PER NONE mpet  CT B DevNoRes mpet  CT B UnsupDev mpet  CT_B_NoResHnp mpet  CT_B OTG _REP mpet    High Speed Electrical Tests  HsEtm_0101 mpet  HsEtm_0102 mpet  HsEtm_0103 mpet  HsEtm_0104 mpet  HsEtm_0106 mpet  HsEtm_0107 mpet  HsEtm_0108 mpet  HsEtm_01 mpet  HsEtm_02 mpet  HsEtm_03 mpet  HsEtm_04 mpet       PET User Manual 1 04    USER MANUAL       A UUT Unsupported Device  A UUT Dev No Resp for HNP En  A UUT Checklist Report    B UUT Power Up Tests   B UUT Vbus Voltage and Current Measurement   B UUT Bypass Capacitance   B UUT SRP   B UUT HNP   B UUT ADP   B UUT Leakage   B OTG  Capable of ADP HNP SRP  State Transition Test  B OTG  Capable of HNP SRP  State Transition Test   B OTG  Capable of ADP SRP  State Transition Test   B OTG  Capable of SRP only  State Transition Test   B OTG  Capable of no Protocols  State Transition Test  Peripheral Only  ADP Capable  B Device State Transition Test  Peripheral Only  SRP Only Capable  B Device State Transition Test  Peripheral Only  no Protoc
127. pture document    LH Select Print Pane    Show Hide Timeline Bandwidth      Print the selected Pane     About GraphicUSB  El Help on GraphicUSB        1 Search settings         Find First      Find Previous    Find Next    oy    Find Last    Goto Trigger Start    Goto Trigger Stop      Trigger Settings    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    105    mq  p USER MANUAL  ELECTRONICS    S Compile  PET Script        Run  PET Script     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    106       mgp USER MANUAL  ELECTRONICS    4 11 2    I   LE    F        fa El         Jx    Jel    Yi M ypg    View Filter Toolbar    Show Top Level Events Only  Show Start of Frame events  Show bus events   Show Chirps   Show Transactions in Control Transfer  Show Packets   Show NAKed Transactions  show NYETed Transactions  Show Spurious Data   Show All Events   Custom Filter Settings  Custom Filter Enable   Go to Event number   Go to selected Event    Go to Previous Bookmark    Go to Next Bookmark    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    107    GI USER MANUAL  ELECTRONICS    4 12 Capturing       Capturing is enabled by checking the    Do Analyser Capture    check  box in the dialog used to run the script s   The capture file wil be  generated underneath the report text file     4 12 1 Finding the Trigger Points    If the capture file contains a Trigger Start or Trigger Stop event   does not apply to PETs  the appropriate icon
128. r  and up to one Generator  simultaneously  Some units have    dual function  In this case to  change the function of a unit  first select just that one unit and  click on the Change Function button  Then if required  select a  unit with a different function     The 4dvanced    Button allows access to firmware updating Lancel      functions  which should only be undertaken with caution        Each connected unit will be displayed  In the example above  the  current version  in the unit  is 0 00 and the latest available version is  0 01  Checking on our website will reveal that this update is required  from GraphicUSB V3 00 onwards  so we advise proceeding with the  update     Ensure that only the unit you wish to update is selected  then click  on the Advanced    button to see the firmware update dialog     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    159    mq  p USER MANUAL  ELECTRONICS    Update Analyser Firmware       Model Serial Number Curr Vers Latest Vers  USB12 10693138 0 00 40 01    WARNING  Updating firmware canes a nek  s0 vou should only update if really  necessary  Check the firmware version log on our website for the versions  and  the reasons for updating     Updating firmware must be allowed to run to completion with no interruption of  power The process takes upto 20 seconds  If the process does not complete  then you will need to return the analyser to us for r   programming     Please follow the instructions carefully to avoid problem
129. renamed to   txt files if required  If  opened later in GraphicUSB  the context colouring feature will be lost  if the file has been renamed     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    32    mq  p USER MANUAL  ELECTRONICS    2 7 Compliance Checklist Entries in the  Test Suite Dialog    Using the Compliance Checklist s  provided by the vendor  modify  the check boxes and edit boxes as required        2 7 1 Items from OTG Checklist    finpst  toe Pues  OTG Device Mutually Automatically selected by UUT items OTG A or OTG B   exclusive   Embedded Host check Automatically selected by UUT item Embedded Host    Peripheral Only boxes Automatically selected by UUT item Embedded Host    Supports Sessions Check box Check this box if the OTG A UUT does not keep VBUS enabled all the time that  the ID pin is held low  or if the EH does not keep VBUS high all the time it is  powered up  In either case it is assumed that SRP or ADP is available to detect  the presence of a device     SRP as A device Check box Check this box if the UUT  as an A device  supports detecting  and acting on   an SRP pulse generated by a connected device    HNP as A device Check box Check this box if the UUT  as an A device  supports HNP to enable the  connected B device to become host if it so requires    HNP Polling as A  Check box Check this box if the UUT  as an A device  supports HNP polling  If it does it is   device allowed to remain as host  for as long as the other device does no
130. rs use UNICODE encodings     Field Value Weaning    bLength 16 Valid Length    bDescriptorlype tring Descriptor       Data Content       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    100    mq  p USER MANUAL  ELECTRONICS    4 8 3 Timeline and Bandwidth Panes                               1i   203   236 LS Control Transfer Addr Endp Data 4 bytes  Status  re 34 402 135 s     Get String Descriptor 24  0 01 0 0  22 03 550053004200    OK      205    205   a 34 492 133 5   SETUP  0o01  00  60 06 22 03 09 04 FF O0  ACH     Event   293 SETUF Addr  Endp  CRCS  EOF   IDLE  34 402 133 s   poooonodd  eb  001  00  010  2 00 us   al    DAT AG Data  6 bytes  CRCI    EOF    oo000004 80 06 22 03 09 04 FF OO  06690        C Event   294  34 497 159      LS  Z           Hax  Event   205 BE LE  nil 34 402 228    lt  fooooooo1foxbe  192 us   19 25 us  ive  RE eer  Te D  Bandwidth Utilisation  ma TT DOI ee   LE HUET SO   CG een bd ia TE Le i    1yedtetttettety te ttt te to tet bt ypotporeorte tote tet bt pot bt te bob bb dt   24 400 000 5  24 401 O00   34 9492 000    24 403 000 5      lt     For Help  press Fl 26155 events       Across the bottom of the window is the timeline and bandwidth  utilization pane  The bandwidth utilisation  or both displays can be    hidden  using the   toolbar icon     Initially  on opening a capture file  the timeline will span the  complete duration of the capture     The zoomable timeline pane shows actual bus activity down to  packet level  allo
131. s    c   web  JH  1 Sngn Ms ee epee eer    AIT MS    AST  AT    7S347490     dD  6  g   2    AGT  J  SIA CIT MS     a   S34 TIC MS    aAgat       MS    wo w  FF       D D  P P  4 a  m mMm  P p   b    E  saa dg    S    E sbejjon      G T 03 dn  Wh SN EU    71117504 gM    490 QUST EM    wage    agge  L     2 938 IT MS    Saad IT MS           a    SAT    qv OND  1007 43991417 MS     ag OI an    91507 1043U079 WOU     EU OND 10071531    dT S93U MS  UT    SYS MS  497 SNA SU MS    JHI SNTA Saw MS  JIN SLA Sys TMS    del    a9 2 07 398  SNA Ms    280 WO     saa TIT MS    15317 40W MS    N39 UNJ    TUW SIA TI MS    AGP B OF dn  395350 spo  Uowwo7    Jud    J4S DWI MS    aT OW  MS    zaz  avez 1Y SNENA       938 dB MS 175387 dit   z av  snar aM    MS    100714  TI    S ddI SNIA MS  Pod SNA MS    IMGT  Jags    N39 WAT OND MS    T 8v SN gM    t S3 qI MS  VS QI MS      F       d9DSNdA MS  duJ SNA MS    144996 2   dD SNAA MS    AT  AUGST  Cd SNA MS    SO HA OND MS  D 0    JIT WA SNA MS      8   EU WA SNIA MS  L B  qo dA SNA MS  2  ih  2907 dA SNA MS    DHJ dA SOE ATMS  DHJ  d  d0 MS      A m TiNWh Q M     U tin    ag    I   ay Sngn  JHJ d    JHJ WO  JHJ  SN  gb OND  JOE OI  9997 SNan  3SN3S       Copyright    2006 2012 MQP Electronics Ltd  50    PET User Manual 1 04    mq  p USER MANUAL  ELECTRONICS    4 3 2 Alphabetical Command List    ADAR Add Register to A leaving the result in A     ADIA  lt 16_bit_value gt  Add the specified immediate value to A  leaving the  result in A    ANDIA  lt
132. s  After programming you  will be prompted to unplug the analyser     Cancel         It is important to follow the instructions very carefully  step by step   First click on the Update Firmware button  The progress of the update  process  which takes around 20 seconds  will be indicated on the  progress bar     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    160    mq  p USER MANUAL  ELECTRONICS       Update Analyser Firmware    Model Serial Number Curr Vers Latest Vers  USB12 10693138 0 00 VOLO    WARNING  Updating firmware carmes    risk  s0 you should only update if really  necessary  Check the firmware version log on our website for the versions  and  the reasons for updating     Updating firmware must be allowed to run to completion with no interruption of  power The process takes upto 20 seconds  If the process does not complete  then you will need to return the analyser to us for r   programming     Please follow the instructions carefully to avoid problems  After programming you  will be prompted to unplug the analyser      a    CLLLLLLLLLLLLLLLLLLLLLLLLLL  Cancel         When updating is complete  you will be requested to unplug any  connections to the analyser  and then click OK     GraphcUSB    Successful download     Please unplug the USE cable AND any external power supply    From the unit     THEN click OK       You will then be asked to reconnect the USB cable  and then click  OK     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics
133. s is listed in a section below   A decimal number from 0 to 6000    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd       57    mgp USER MANUAL  ELECTRONICS  Symbols are defined in the Syntax section  They are names for values defined by an  Equate             lt value_param gt  See section  SendValue Parameters    for a complete list     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    58    mq  p USER MANUAL  ELECTRONICS    4 3 4 CPU Registers    16 bit accumulator   REGB 16 bit register which can be used in conjunction with A to assist with data manipulation     REGIndex Points at a RAM buffer address  Used in conjunction with commands ADAR  CPAR  LDAR   SBAR  SMIAR and STAR     REGPeriod0 16 bit timer accessed by commands StartPeriodO xxx and EndPeriod0O  Stops counting at 65 535  if not stopped before    REGPeriod1 16 bit timer accessed by commands StartPeriod1_xxx and EndPeriod1  Stops counting at 65 535  if not stopped before    REGPeriod2 16 bit timer accessed by commands StartPeriod2_xxx and EndPeriod2  Stops counting at 65 535  if not stopped before     REGPeriod3 16 bit timer accessed by commands StartPeriod3_xxx and EndPeriod3  Stops counting at 65 535  if not stopped before     REGPeriod4 16 bit timer accessed by commands StartPeriod40_xxx and EndPeriod4  Stops counting at  65 535 if not stopped before     Counter accessed by commands SetCount and DJNZ           4 3 5 SIE Registers    General Purpose Registers    REGState Simple 
134. s time        e Ensure that you have the Installation CD in a CD drive   if the CD  auto runs and starts the GraphicUSB installation screen  then click     Exit    to leave it before continuing with the driver installation      PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    9       mq  p USER MANUAL  ELECTRONICS    e For your information  If the CD drive is drive    D      the driver files are  located in    D  drivers     and the installation file is called    maqpuba  inf        2 1 3 Updating the Driver    e If there is a requirement to update the USB Driver for the Packet   Master USB PET  it will automatically be updated when you install  the new version of the application  See the details above for  differences between XP and Vista     e For your information  the driver package is located in      C  Program Files MQP Electronics GraphicUSB usb drivers    Assuming a default location for the GraphicUSB installation     e On 64 bit versions of Windows the pathname will be      C  Program Files  x86  MQP Electronics GraphicUSB usb drivers     2 1 4 Updating the Software    If at a later date you wish to make use of an update from our  website  Please follow the instructions below     e Download the file     e Run the downloaded  exe file straight from your hard disk and  follow the on screen instructions     e The latest version of the software is available at  http   www map com     We make frequent improvements and enhancements to our  software so it i
135. s well worth checking on our website for new versions     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    10       mq  p USER MANUAL  ELECTRONICS    2 2 Sample Capture Files    During installation of the software a number of sample capture files  will be placed in the folder    Samples    in the application s data  directory  This is the default location when opening a file from the File  menu     The sample files have the extension   mqu  You may find it helpful to open one of these sample files to become  familiar with the analyzer capabilities of GraphicUSB     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    11    mq  p USER MANUAL  ELECTRONICS       2 3 Front and Back Panels     Packet Master USB PET       e The Power indicator illuminates red when the PET is powered  it  turns green when the PET has been configured by the driver    e The Running indicator illuminates yellow while a script is running    The Pass Fail indicator illuminates steady green for a pass  slow   flashing red for a non fatal test failure  and fast flashing red for a   fatal test failure    The micro AB USB connector is used for connection to the unit    under test  UUT     e The 9 pin D Type connector is used for the additional connections  required to test an Accessory Charger Adapter  ACA      PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    12    mq  p USER MANUAL  ELECTRONICS          The Packet Master USB PET must be powered externally by
136. sed when testing a Standard ACA     Note  This is correct for a Standard ACA with a captive charger  port cable  For a Standard ACA with a Micro B receptacle as the  charger port  connect Special Test Cable B to the Standard A  receptacle of Special Test Cable C  and plug the other end into the  charger port of the ACA     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    17    mq  p USER MANUAL  ELECTRONICS       Special Test Cable E   Micro A plug to Standard A receptacle    Micro A plug  PET  Standard A receptacle Purpose    pat     2   2  8   3        This cable is now supplied as standard      This is a short adapter cable  which may be used to connect a PD  with a standard A plug to the PET     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    18       GI USER MANUAL  ELECTRONICS    2 5 Test Set Up  2 5 1 PET Host    To achieve a good capture rate it is important to provide a suitable  test environment  The Packet Master unit should preferably be  hosted by a good performance PC with a high speed USB connection   The USB host controller should not be shared by any other high data  throughput USB device while doing the testing          PL    Host for PET    High Speed WS Link    PacketMaster  LISB PET    Test Cable       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    19    mq  p USER MANUAL  ELECTRONICS    2 5 2 OTG Device as Unit Under Test  Setup no  1        When running a test suite relating to an OTG device  the 
137. sertion indexed by the  accumulator value     The last two results YES or NO appear in  place of YES  PASS  or NO  FAIL   if the  SendValue parameter STYLEPASS has been    previously sent    Number of passing results displayed in  SendMessage strings during the current script  suite     Number of failing results displayed in  SendMessage strings during the current script  suite     Number of    not tested    results displayed in  SendMessage strings during the current script  suite     Number of    not applicable    results displayed in  SendMessage strings during the current script  suite        Templates to display values useful when decoding descriptors used during enumeration        viddec     vidhex     vidstr     strlang    PET User Manual 1 04    Vendor ID from accumulator value expressed  in decimal    Vendor ID from accumulator value expressed  in hexadecimal    Vendor ID from accumulator value expressed  as a string  based on USB IF file usb if  Note  that this file currently contains only current  members instead of vendors who have legally  purchased a Vendor ID from the USB IF     Language description string from accumulator  value  based on list of languages defined by  the USB IF in relation to string descriptors        87    USER MANUAL       Copyright    2006 2012 MQP Electronics Ltd    GI USER MANUAL  ELECTRONICS     class Class description string from accumulator  value  based on list of valid classes defined by  the USB IF     subclass Subclass description
138. so displays a continuous accurate monitoring of the  VBUS voltage value     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    8    mq  p USER MANUAL  ELECTRONICS    2 GETTING STARTED    2 1 Installing the Software and Driver    We suggest that you first install the software from the CD  or  download   before plugging in your PET  This leads to the simplest  procedure  as the installer will also pre install the driver        2 1 1 Install the Software from CD   e Insert the Installation disk into the CD drive   e The disk should auto start    e Follow the on screen instructions     e  f the disk doesn t auto start  then run the file  GraphicUsb_ setup exe in the root directory of the CD     2 1 2 Installing the Driver    e The first time you plug in the USB cable from your Packet Master  USB PET  assuming that you have already installed the software  as above  Windows will automatically complete the driver  installation  and inform you that it completed successfully    On XP  the    Found new Hardware Wizard    will appear  Answer  questions as follows    Q  Can Windows connect to Windows Update to search for  software    A  Not this time    Q  What do you want the wizard to do    A  Install the software automatically    On Vista or Windows 7  the process should proceed without  intervention     e  f you have not installed the application  Windows will start the     Found new Hardware    wizard  If it asks to search    Windows  Update     select    No  not thi
139. special control cable  enabling the PET to automatically switch  it to the terminated state at the appropriate point in the test       RECEVER  l SENSITIVITY       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    163    mq  p USER MANUAL  ELECTRONICS    5 1 1 High Speed Signal Quality  Host or Peripheral  plus Inrush  Measurement Test Fixture    Reference  EL 2 3 4 5 6  7  8 and 9  B 4          4mm Banana  Test Socket  SK1 SK2    SIGNAL  QUALITY    SW2 SPDT  DC Power Centre off  Socket   toggle    Arrow denot  SW1 SPDT erates  On   Off  toggle  Micro AB  i USB  Receptacle    Arrow denotes    Arrow denotes  ID pin    USB PET Test Fixture SIGNAL QUALITY  The following table defines the pin numbering on the fixture header     Table 5 1 Differential Probe Connector S2    Pin  runeten  Comment    1 Ground Alternative ground positions are  provided for compatibility with different  differential probes  Either ground pin at  each end of the connector may be cut  short in required     sp SSS  Gpo S SSS  o  oon  woe    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd       164    mq  p USER MANUAL  ELECTRONICS    The following table outlines the procedure for a high speed signal  quality test  For more information see the oscilloscope manufacturer s  operating instructions  and the USB IF USB 2 0 Electrical Test  Specification documents        Table 5 2 Procedure for High Speed Signal Quality Test    Check that the banana plug wire loop is inserted int
140. storage location used to keep track of task number being performed while managing  configured state behaviour during device mode enumeration   REGSofsRcvd Device or Peripheral Mode    A read only register which is set by the hardware after performing a SOF reception test  The  test is started by setting flag StartSOF Test  and finished when enough time has elapsed to  have received 250 SOFs at either FS or HS as appropriate  At this point the flag  SOFTESTCOMPLETE is set  and REGSofsRcvd contains the number of SOFs correctly  received     Endpoint Group 0 5 Registers    REGAddr Host  Device or Peripheral Mode   Write only  Used as device address for all transactions   Lowest 7 bits only are used        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    59    mq  p USER MANUAL  ELECTRONICS    REGHubAddr  REGPortAddr    REGStatus       Host Mode    Used in conjunction with all 5 endpoint groups to define the hub address used in split  transactions  Lowest 7 bits only are used   not yet implemented     Host Mode    Used in conjunction with all 5 endpoint groups to define the hub port address used in split  transactions  Lowest 7 bits only are used   not yet implemented        Device or Peripheral Mode    Contains information about the transaction currently being processed  In general  one flag  will be set and the endpoint involved will be specified     REGStatus is implemented as a 16 deep queue of status words in the order in which they  occur  The queue is adv
141. t  in particular oscilloscopes   to be connected to the USB cable signals  It also supports the  measurement of VBUS current        In normal use the Current Probe Wire Loop should be plugged into  the banana sockets to complete the VBUS connection  VBUS current  can be monitored with a suitable DC current clamp  Alternatively a  current meter can be interposed in the VBUS connection by removing  the banana plug wire loop and plugging the meter into the 4mm  banana sockets     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    173       mq  p USER MANUAL  ELECTRONICS    6 TROUBLESHOOTING    During capture a Data Overrun message appears     This happens when the device under test generates more traffic  than the Host computer can handle  Check that the Host computer  has a High Speed USB connection and is sufficiently powerful     The data captured contains a large number of CRC or other  errors     Check the cabling between the Packet Master and the device  under test and to the Host under test  The cabling should be kept as  short as possible with the total length of cable not exceeding 4 metres     The data captured contains a large number of    Spurious Data     or    Both Lines High    errors     This may be the result of using excessively long cables in the test  setup     My capture buffer fills up too quickly to collect any useful events     some devices can continuously NAK transfers  which leads to a  very high bandwidth of not very useful data  We su
142. t Protocol    are sent by the programmer     Typically each response is terminated with a 0x0d 0x0a character pair  Most commands    are made up of ASCII characters       lt  Endpoint gt      lt  Devrice     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    151       mq  p USER MANUAL  ELECTRONICS    423 32 File Syntax    4 23 3 2 1 Comments      comment is introduced by the pair of characters       Everything to  the right on the same line is part of the comment and ignored   4 23 3 2 2 Indentation   The example file uses  tabbed  indentation to emphasise the  structure of the syntax  but it is not necessary to do this   4 23 3 2 3 Numbers   Numerical values may be expressed in decimal  or in hexadecimal  introduced by the prefix Ox  So 10 and Ox0a represent the same value   4 23 3 2 4 Strings    String values must be enclosed in double quote marks  e g   this is  a string      A long string may span several lines of text as long as     e each line which is not the end of the string is terminated as the last  character with a  V      e each subsequent line in the string cannot have any white space at  the start of the string which is not part of that string    e a line which is part of a string cannot have a comment  e a line which is part of a string cannot be blank    A string may include a line break by including the symbol   n  at the  required point  To have the symbol     in the string you must include        at the point required     see the template 
143. t implemented   Bit 7  Don   t Respond     REGSetupCtrl Host  Device or Peripheral Mode   WRITE ONLY  Used by    Setup Transaction Engine      Bit 0  Enable  Host only   Bits 1 2  reserved  0   Bit 3  Split  not yet implemented           Bit 4  SC  not yet implemented    Bit 5  Speed  not yet implemented   Bit 6  End  not yet implemented   Bit 7  Don   t Respond        REGCountOut0 Device or Peripheral Mode  Used by    OUT Transaction circuit      Must be programmed with the maximum number of bytes expected in the transaction     After the transaction  contains the number of bytes received  This cannot exceed the max  number of bytes expected     Host  Used by    OUT Transaction circuit     Word containing number of bytes to send         Note  number of device SETUP transaction bytes stored in RAM is fixed at 8 by hardware      REGBytesLeftOut0 Simple storage location for number of untransmitted or unreceived OUT bytes        Endpoint Group 1 Registers    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    61    mq  p USER MANUAL  ELECTRONICS    REGEndp1       Endpoint to be used by this register group as host or as device   Bit 7     1 IN  O OUT  Bits 3 0   Endp    REGTypel    Type of transfer for use by this endpoint     Bits 1 0  00   Control  01   Isochronous  10   Bulk  11   Interrupt       REGBytePtr1 Host  Device or Peripheral Mode  Points at start of RAM buffer for IN or OUT transactions on endpoint Group 1     REGBytesLeft1 Simple storage location to k
144. t set its Host  Request Flag    ADP as A device Check box Check this box if the UUT  as an A device  supports ADP probing to detect the  presence or otherwise of a connected device    SRP as B device Check box Check this box if the UUT  as a B device  supports generating an SRP pulse in  order to start a session  cause the connected A device to turn on VBUS     HNP as B device Check box Check this box if the UUT  as an B device  supports HNP to allow it to become  host if it so requires    ADP as B device Check box Check this box if the UUT  as an B device  supports ADP sensing and probing  to detect the presence or otherwise of a connected device    FS Not Available Check box Check this box if UUT does not fully support full speed operation  This is not  permitted for an OTG device  but may be for an Embedded Host     IA VBUS RATED Edit box The rated output current of an A device in mA units     bMaxPower Edit box bMaxPower  sic  is the highest current  in mA  which will be drawn by the UUT  in its normal role  and is the value declared in any of its Configuration  Descriptors  This value ignores current drawn under the Battery Charging  provisions    TPWRUP_RDY Edit box Maximum time  in seconds  specified by vendor from powering on the UUT until  it is ready to perform USB functionality  By default this is set to 30 seconds  but  a vendor is permitted to specify a longer time     TA_WAIT_BCON max Edit box The maximum time  in seconds  that VBUS is left on for by an A device
145. tain spurious part transactions intended  for an upstream hub  which may perhaps be misinterpreted by the  analyser  Hiding them allows you to concentrate on the important  transactions     4 14 1 Custom Filter Settings       Custom Filter Settings    When you click on the    Custom Filter Settings    button  or select it  from the View menu   the following dialog appears        Custom Display Filter      Enable Filter Add Rule    Shows Unless       Filter Aules       ou can create rules for showing or hiding events according to  various criteria  Choose    Show Unless    or Hide Unless  to allow the  simplest rules to achieve your requirement  The elements within a  rule are AN Ded together  and the rules are ORed together to  determine whether an event should be shown or hidden        First decide if your requirement is to    Show Unless    or to    Hide  Unless     Choose whatever will result in the simplest rules  When you    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    116    GI USER MANUAL  ELECTRONICS    add your first rule the filter will automatically be enabled  though you  can choose to disable it again        To add a rule  click on Add Rule  This will display the following  dialog        Add Filter Rule 1    Address Endpoint   Speed      Device Address    Endpoints  From  To  IN OUT  wW n FF on   oO FE  wo ME Al    e1 Wg wi Wg    F2 MA F2 MA None    wa ME w3 wE  M4 MC wd MC  5 WD we WD  wE WE woo WE  MF MEF w7 MF    Select an address or rang
146. tch value  These sense points are read to  discover the result     SNS WB VBUS AB 1 LEVEL Watch block 1 for AB O FALSE Watch block level  connector VBUS 1 TRUE   SNS WB VBUS AB 2 LEVEL Watch block 2 for AB O FALSE Watch block level  connector VBUS 1 TRUE    SNS _WB _VBUS IIL LEVEL Watch block for AB Watch block level  connector VBUS  Current Load current    SNS _WB _VBUS IVL LEVEL Watch block for AB Watch block level  connector VBUS  Voltage Load current    SNS _WB_IVBUS AB LEVEL Watch block for AB Watch block level  connector VBUS  current    SNS WB DP AB LEVEL Watch block for AB O FALSE Watch block level  connector DP 1 TRUE   SNS WB DM AB LEVEL Watch block for AB O FALSE Watch block level  connector DM 1 TRUE   SNS WB ID AB LEVEL Watch block for AB O FALSE Watch block level  connector ID 1 TRUE    Used for ACA testing    SNS_VBUS_  OUT VBUS current O FALSE High if current is  direction detector 1 TRUE sourced by tester       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    79    mq  p USER MANUAL  ELECTRONICS       4 4 1 4 ETB DAC Writes    Each watch block can be programmed with a voltage or current  as appropriate  which  determines the value reported by the RISE and FALL watch block outputs     DAC _WB_VBUS AB 1   Watch block 1 for AB 0 4095 Watch block DAC  connector VBUS 2mV units input   DAC_WB_VBUS AB 2   Watch block 2 for AB 0 4095 Watch block DAC  connector VBUS 2mV units input    DAC _WB_VBUS IIL Watch block for AB 0 3000 Watch block DAC  connec
147. ted     4 22 2 Invalid CRC    A Cyclic Redundancy Check is performed on the data transmitted  in a packet  Token packets have a 5 bit CRC while Data packets  have a 16 bit CRC  The CRC is checked by the Packet Master and  if  incorrect  an error is reported     4 22 3 Invalid SOF    A Start of Frame packet contains a frame number  If a frame  number is out of sequence then an Invalid SOF error is reported  It   s  likely that frame numbers will be out of sequence after a Reset or  Suspend  in these cases the error can be ignored     4 22 4 Invalid Control Transfer    A Control transfer consists of a SETUP packet  which defines a  from host or to host direction   followed by an optional set of    Data  Stage DATAO DATAT packets in that direction  completed by a     Status Stage    zero length DATA1 packet  in the other direction  If this  sequence is not correct then an Invalid Control Transfer error is  reported     The correct sequence for the data toggle in a Control Transfer is  that the SETUP should contain a DATAO packet  the Data Stage  should start with a DATA1 packet and then alternate  and finally the  Status Stage should be a zero length DATA1 packet  If these  polarities are not correct then an Invalid Control Transfer error is  reported     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    141    mq  p USER MANUAL  ELECTRONICS    4 22 5 Invalid Transaction    A transaction consists of a token packet  SETUP IN OUT    followed by a DATAO or DATA1 pa
148. the default value  for your system  An option well worth considering is to increase the  size of the RAM in your PC     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    130    mq  p USER MANUAL  ELECTRONICS    4 20 Export Functions       GraphicUSB allows various types of information to be exported to  text based formats for further analysis or processing by the user  The  following types of export are currently provided     e Capture Event Information  e Data from a specific event  e Descriptors    Typically the exported text will be displayed in the application  window  ready to be saved to a file using the usual File   Save     functions  The exception is that when the exported file is defined as     binary     the file save dialog appears immediately  and the file is not  displayed in the application window     4 20 1 Exporting Capture Events    With a capture document open  select the item    Create Events File        from the File menu  The    Export    dialog will be displayed     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    131    GJL ELECTRONICS    Export Event Filtering    From event      Hide SUF   Hide Bus States  Hide Chirps   Hide Transactions  Hide Packets  Hide NARs   Hide WET Ss  Obey Custom Filter  Data Only    1 1  lt  lt   lt  lt   al i i    Export will generate    test fle containing the capture  events  You may select which teme to include in your  esport  The filter options have beer initially set  according to th
149. the units are defined  in a  table below  as 2mV  so 5V is represented by 2500     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    73    mq  p USER MANUAL  ELECTRONICS    All the keywords for the ETB elements begin with a prefix  illustrating the read write direction  and the range of values available     Prefix   Purpose Vale Range  A write only switch O off  1 on  A read only sense point O off  1 on       DAC _ A write only DAC setting Typically 0 4095  though    the valid range may be  further limited    A read only ADC result Typically 0 4095  though  the valid range may be  further limited       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    74    mq  p USER MANUAL  ELECTRONICS       4 4 1 Complete List of Control Reads and Writes on ETB    4 4 1 1 ETB Switches  Write Only     swennen  susare Jvaue  rame    SW_RESET MOST Control 1 Sets all switches to 0  except   SW_ID_GND  SW_VBUS CAP 1  SW_VBUS CAP 2  SW_VBUS CAP 3  SW_VBUS CAP 4  SW_VBUS CAP 5  SW_VBUS PD    SW_VBUS PD VBUS pull down circuit 10K 0  off   1  on  Helps to detect externally connected  VBUS               The following eight resistors are available to connect between the HAB UUT connector ID pin  and ground  Only one of these  resistors should be switched on at a time  It should be noted that in the absence of any other resistor  the 220k resistor  SW_ID_RES_8 will be automatically switched on to avoid misoperation of the watch block measurement circuitry   when anoth
150. to address specified  high byte into next  higher address     Store low byte of A into data RAM byte indexed by  REGIndex    Store both bytes of A into data RAM word indexed by  REGIndex     HOST mode only  Tells SIE to start a USB suspend        STAX    STAXW    SuspendStart  SWAPAR    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    56    mq  p USER MANUAL  ELECTRONICS       TransmitTestPacket Starts the transmission of the USB specified high speed  test packet  High speed must already be engaged  and  the SUPPRESSSOFS flag must be set if emulating a    host     VBUSOFF This is a command  which is only available to the  Packet Master USB500 AG  when it is operating in     Protocol Tester    mode   It switches off the supply to VBUS on the    Device Under  Test    sockets     This is a command  which is only available to the  Packet Master USB500 AG  when it is operating in     Protocol Tester    mode     It causes a nominal 5V to be connected to VBUS on the     Device Under Test    sockets     VBUSON   WriteToETB  lt ETB_addr gt   lt 16 bit value gt  Write specified 16 bit value specifed  to specified  Electrical Test Board location   This command is not available to the Packet Master  USB500 AG      Write ToETBAcc  lt ETB _addr gt  Write specified 16 bit value from A to specified Electrical    Test Board location     This command is not available to the Packet Master  USB500 AG      4 3 3 Parameter Types Used in Command List      lt message gt   Text of a
151. tor VBUS Current 2mA units input  Load current    DAC_WB_VBUS_IVL Watch block for AB 0 2000 Watch block DAC  connector VBUS Voltage 1mA units input  Load current    DAC_WB_IVBUS_AB Watch block for AB High Watch block DAC  connector VBUS current Range input Use  0 2000 SW_VBUS I HI   1mA units SW_VBUS   MID  Mid Range or SW_VBUS   LO  0 2000 to select range     0 1mA units    Low Range  0 2000  0 01mA  units    DAC _WB _DP AB Watch block for AB 0 4095 Watch block DAC  connector DP 1mV units input   DAC _WB DM_ AB Watch block for AB 0 4095 Watch block DAC  connector DM 1mV units input   DAC_WB_ID_ AB Watch block for AB 0 4095 Watch block DAC  connector ID 1mV units input    DAC_VBUS VBUS generator 0 3250 VBUS generator  2mV units DAC input    DAC _VBUS IL VBUS current load High Range VBUS current  0 2500 load   2mA SW_VBUS IL HI    Low Range selects range   0 2500 O Low  1 High     0 2mA    DAC VBUS VL VBUS voltage load 0 2500 VBUS voltage  2mV load   DAC DM DM voltage source 0 3600 DM voltage  1mV source   DAC _DP DP voltage source 0 3600 DP voltage  1mV source    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd       80    mgp USER MANUAL  ELECTRONICS  DAC_CMO Common mode offset 0 500 Common Mode  1mV Offset       PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    81    mq  p USER MANUAL  ELECTRONICS    4 4 1 5 ETB ADC Reads       ADC_WB_VBUS_AB_1   Watch block for 0 4095 Watch block ADC output  ADC_WB_VBUS_AB 2   AB connector 2mV units  VBUS   
152. unctions in  the menus  in the usual way     e g  Add Bookmark Ctrl F2    4 21 3 Bookmarks    Any line the text file may be book marked  by first putting the caret  on that line  and then pressing Ctrl F2  A blue marker appears in the  grey left hand column to indicate that the line is bookmarked     Pressing the F2 button takes the caret in turn to the start of each  bookmarked line working in a forward direction through the file   Shift F2 takes the caret in turn to the start of each bookmarked line  working in a backward direction through the file     To remove a bookmark  put the caret on that line  and then press  Ctrl F 2     Bookmarks only exist while the file is open     4 21 4 Error Messages    In files types with an output pane below  this pane is use to display  the result of validation or compilation  If any error messages are  shown  then you may cycle through the errors by pressing F4  Each  error message will be highlighted and the corresponding source line  will be marked     In a similar way  if you double click on an error message in the  lower pane  the line in question will be marked in the upper pane     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    140    GI USER MANUAL  ELECTRONICS    4 22 USB Errors       4 22 1 Invalid PID    A Packet Identifier  PID  is a 4 bit code  The 4 bits of the PID are  complemented and repeated making an 8 bit PID in total  An error in  the transmission of the PID will result in an Invalid PID being repor
153. under test supports secondary detection of charging  ports     ACA Detection Check box Check this if the device under test supports detection of ACAs     Has Captive Cable Check box Check this box if a UUT has a captive cable  Test cable resistance will then be  assumed to be zero        2 7 3 Options Items    Do Analyser Output Check box Check if analyser capture output required   Debug Check box If checked  the variable DEBUG MODE is set to 1     Save Info Only Check box If checked  clicking on  Run  will save the settings without running the script  suite     Cable A Edit box Test Cable A loop resistance in mQ   Cable B Edit box Test Cable B loop resistance in mQ   Product Folder Name Edit box Defines the folder in which the results will be saved by default        PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    34       mq  p USER MANUAL  ELECTRONICS    2 8 High Speed Electrical Tests    The Test Suite Dialog has buttons near the bottom  each of which  can select a single HS Electrical Test to be performed  These tests  are intended to be carried out in conjunction with appropriate HS  Signal measuring equipment     MQP offers a range of Test Fixtures  specially designed for use  with the PET  These fixtures allow the ID signal to be conveyed  between the PET  and the unit under test  UUT   They additionally  allow automatic switching of the termination network  at the  appropriate point in the test     Various test equipment manufacturers produce suitab
154. untered  execution halts and an error message  is displayed     4 6 Running a Script from the Command Line    It is possible to control GraphicUSB from another application using  a command line syntax  This allows another application to run a PET  script and produce a report  and optionally a capture file  For the sake  of simplicity  the example below shows the commands being issued  by use of the older WinExec   function  You may wish to use a more  recent function such as CreateProcess   or the  NET function  Process Start       Normal operation is that GraphicUSB will start up  run the script  chosen  visibly generate the report  and will then save the required  files and exit with an exit code reflecting the degree of success of the  script     4 6 1 Command Line Syntax  The required command line command is     GraphicUSB  ps scriptfilename  pr reportfilename   pc capturefilename     scriptfilename is the name of the script file to be run  including  its extension  An example is    script1 mpet        reportfilename is the name of the report file to be generated   including its extension  An example is    report1 petrpt        capturefilename is the name of the capture file to be  generated  including its extension  An example is    capture1 mqu      Please note that the capture file is optional     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    96    mq  p USER MANUAL  ELECTRONICS    The filename is shown in the examples without a full path  In this 
155. us data packets   Such packets cannot be determined to be valid members of a  transaction and may be caused by inadequate cabling  or result from  data sent by a high speed host as the device is being unplugged  The  first in any sequence of spurious packets is shown automatically but  the ones following may be hidden     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    114    mq  p USER MANUAL  ELECTRONICS       Min Show Top level Events Only    This is a quick way to view a summary of the sequence of events   Clicking this button turns off the following buttons in one click     e Show SOF  e Show Bus States  e Show Chirps  e Show Transactions in Control Transfers  e Show Packets  e Show NAKs  e Show NYETs  e Show Spurious Data  It turns on   e Show Bus States  It has no effect on the Custom Filter     Max Show All Events    This is a quick way to view every one of the sequence of events   Clicking this button turns on the following buttons in one click     e Show SOF   e Show Bus States   e Show Transactions in Control Transfers  e Show Packets   e Show NAKs   e Show NYETs    It has no effect on the Show Chirps button and also no effect on  the Custom Filter     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    115    mq  p USER MANUAL  ELECTRONICS    4 14 Custom Filter       It is sometimes required to filter out transactions to particular  addresses or endpoints  in order to simplify the display of events  For  example  a capture may con
156. value accumulated using PREPARETOAVERAGE   VALUETOAVERAGE and PERFORMAVERAGE  using assumed units         ave2mV calculated average as voltage 2mV    Templates to display the duration values measured using TIMESTARTO  TIMEENDO etc     duratO durationO Automatically formatted as  required    Sdurat1 duration    Automatically formatted as  required    durat2 duration2 Automatically formatted as  required    durat3 duration3 Automatically formatted as  required    durat4 duration4 Automatically formatted as  required    Templates to display the ADP duration values     duradpO Duration of most recent ADP probe  n  Automatically formatted as  required    duradp1 Duration of ADP probe  n 1  Automatically formatted as  required     duradp2 Duration of ADP probe  n 2  Automatically formatted as    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd       85    mq  p USER MANUAL  ELECTRONICS    required          Templates to display  value1      vihex2 value1 as 2 character wide hexadecimal with  leading zeros    vihex4 value1 as 4 character wide hexadecimal with  leading zeros     v2hex2 value2 as 2 character wide hexadecimal with  leading zeros    v2hex4 value2 as 4 character wide hexadecimal with  leading zeros     v3hex2 value3 as 2 character wide hexadecimal with  leading zeros    v3hex4 value3 as 4 character wide hexadecimal with  leading zeros     v4hex2 value4 as 2 character wide hexadecimal with  leading zeros    v4hex4 value4 as 4 character wide hexadecimal with 
157. vent is  taking place  this would also appear embedded at the appropriate position in  the capture file     e to display such a message but embed a formatted value in the message   which can originate from the A register value  or from a specially calculated  voltage or time value from options below     e to display a message which requires a response from the user  this would  also appear embedded at the appropriate position in the capture file     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    83    mq  p USER MANUAL  ELECTRONICS    e to send a procedural message involving the use of the host application for  data processing  which should not appear in the display or in the capture  An  example would be defining a sequence of voltage measurements  which need  to be averaged        In the script the message is formatted as   SendMessage    text     PARAM S      Or  SendValue  PARAM S    PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    84    GI USER MANUAL  ELECTRONICS    4 4 2 1 Send Message Formatting Values    Templates to display Accumulator value at the time of sending message  with assumed units     decnmu accumulator value as decimal unsigned  number    hexnm2 accumulator value as 2 character wide  hexadecimal with leading zeros     hexnm4 accumulator value as 4 character wide    hexadecimal with leading zeros     vacimV accumulator value as voltage     iac_1mA accumulator value as current 0 1mA    Templates to display the average 
158. vice Tests  Dead Battery Provision   CT _PD_DBP mpet  CT_PD_REP_DBP mpet    PD   Dead Battery Provision Test  PD   Checklist Report  Dead Battery Provision    BC1 2 Micro ACA  Separate Charger  Tests    CT UACA CAL mpet   CT UACA SDP_NOT mpet  CT UACA SDP Ampet  CT UACA SDP_B mpet   CT UACA CHG NOT mpet  CT UACA CHG Ampet  CT UACA CHG B mpet  CT UACA NOT NOT  mpet  CT UACA NOT _Ampet  CT UACA NOT B mpet  CT _UACA CAP   mpet   CT UACA REP  mpet       PET User Manual 1 04    Micro ACA  Cable Calibration Pre Test   Micro ACA  SDP to Chgr Port  Nothing to Acc  Port  Micro ACA  SDP to Chgr Port  A device to Acc  Port  Micro ACA  SDP to Chgr Port  B device to Acc  Port  Micro ACA  DCP or CDP to Chgr Port  Nothing to Acc  Port  Micro ACA  DCP or CDP to Chgr Port  A device to Acc  Port  Micro ACA  DCP or CDP to Chgr Port  B device to Acc  Port  Micro ACA  Nothing to Chgr Port  Nothing to Acc  Port  Micro ACA  Nothing to Chgr Port  A device to Acc  Port  Micro ACA  Nothing to Chgr Port  B device to Acc  Port  Micro ACA  Bypass Capacitance Test   Micro ACA  Checklist Report    Copyright    2006 2012 MQP Electronics Ltd    38    mq  p USER MANUAL  ELECTRONICS    BC1 2 Micro ACA  Combined Charger  Tests  CT UACAC CAL mpet Micro ACA  Combined Charger   Cable Calibration Pre Test  CT UACAC VIT mpet Micro ACA  Combined Charger   Voltage  Current and Transient Test  CT UACAC_OFF_NOT mpet Micro ACA  Combined Charger   Off  Nothing to Acc  Port    BC1 2 Standard ACA  Separate Charger  Tests   
159. where VVVV is four hexadecimal characters defining the Vendor  ID  and PPPP is four hexadecimal characters defining the Product ID     So for example the file defining the vendor characteristics of a  device with Vendor ID 0x12ab and Product ID 0x34cd would be  called     vend12ac34cd mven    The file must be located in the same directory as is specified in   Edit   Options   File Locations   Data Directory     by default this is the standard location for application data defined by  the operating system      A template for this file can be quickly created  with the correct  filename  in the correct folder   by   Operations   Create Vendor File Template      PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    147    mq  p USER MANUAL  ELECTRONICS       Create Vendor Info File Template    Vendor ID Product ID Target File Name    Os i 2ab Or 34cd      This allows vou to create    template for       user supplied  vendor class information file     The file must be named vend M PPPR riven where YW 1e  four hexadecimal characters defining the Vendor ID  and PPPP  is four h  sadecimal characters defining the Product ID     The file must be saved in the same directory as i   specified in  Edit   Options   File Locations  Data Directory     To use the vendor class analysis file  the vendor class analysis Cancel    option must be registered        Notes for users with files generated in previous versions    In previous versions of GraphicUSB this file had a  txt extensi
160. wing a rapid assessment of bus usage  The SOF  packets  or Keep Alive events are shown slightly higher to show  immediately where the frames begin and end     The bandwidth utilisation indicates the proportion of data  throughput compared with the maximum possible     PET User Manual 1 04 Copyright    2006 2012 MQP Electronics Ltd    101    GI USER MANUAL  ELECTRONICS    4 8 3 1 Zooming the Timeline Bandwidth Pane    Zooming will always remain centered around the selected time   There are a number of ways to zoom this pane  To zoom without    clicking in the pane  use the zoom buttons on the toolbar Re       Clicking in the timeline pane enables zooming by means of mouse  wheel  or by using cursor up or down keys  Note that if you click at  the bottom of the pane  while the cursor looks like a hand  the  selected time will not be affected     4 8 3 2 Dragging the Timeline Bandwidth Pane    While the cursor is at the the bottom of the pane  and looks like a  hand  you can drag the view left or right by holding the left mouse  button down  The left right cursor keys have the same effect     4 8 3 3 Selecting Events in the Timeline Bandwidth Pane    If you click the left mouse button with the cursor further up the  pane  and looking like a pointer  the nearest event to the left will be  selected     It is necessary to understand that the event selected will actually  be the first event left of the selection point which has not been filtered  out in the event pane  For example  i
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
  IMPORTANT : lisez attentivement le livret de précautions sur la  Manual do usuário  GXP User Manual - Flytec Computers  8332401 X7 User Manual Rev A-2.qxd  Downloadterminal II: Operating instructions EN  Samsung GT-C3010S User Manual  Samsung WD70J5410AW Manuel de l'utilisateur  LG LRV590S Specification Sheet    Copyright © All rights reserved. 
   Failed to retrieve file