Lucent Technologies USS-720 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Lucent Technologies USS-720, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Lucent Technologies USS-720 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Lucent Technologies USS-720. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Lucent Technologies USS-720 should contain:
- informations concerning technical data of Lucent Technologies USS-720
- name of the manufacturer and a year of construction of the Lucent Technologies USS-720 item
- rules of operation, control and maintenance of the Lucent Technologies USS-720 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Lucent Technologies USS-720 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Lucent Technologies USS-720, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Lucent Technologies service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Lucent Technologies USS-720.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Lucent Technologies USS-720 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    Information Man ual, Rev . 1 September 1999 13 Lucent Technologies Inc. 1-1 Ev aluation Kit f or USS-720 Instant USB ™ USB-to- IEEE * 1284 Bridge Intr oduction The Lucent T echnologies Microelectronics Group USS-720 Ev aluation Kit is an assembly of all the peripheral- related hardware , software, and documentation necessary to ev aluate the USS-[...]

  • Page 2

    1-2 Lucent Technologies Inc. Evaluation Kit f or USS-720 Instant USB Information Man ual, Rev . 1 USB-to- IEEE 1284 Bridge September 1999 13 T able of Contents Evaluation Kit for USS-720 Instant USB USB-to- IEEE 1284 Bridge Introduction ............ 1-1 Introduction ...................................................................................[...]

  • Page 3

    Information Man ual, Rev . 1 Evaluation Kit f or USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 1-3 13 T able of Contents (continued) USS-720 Instant USB USB-to- IEEE 1284 Bridge Preliminary Data Sheet ......................... 5-1 Features .......................................................................[...]

  • Page 4

    1-4 Lucent Technologies Inc. Evaluation Kit f or USS-720 Instant USB Information Man ual, Rev . 1 USB-to- IEEE 1284 Bridge September 1999 13 T able of Contents (continued) nF ault Interrupt .................................................................................................................................... 5-23 Bulk In Interrupt ....[...]

  • Page 5

    Information Man ual, Rev . 1 Evaluation Kit f or USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 1-5 13 T able of Contents (continued) 4.20. IOCTL_SET_AL TSETTING ................................................................................................................ 7-29 4.21. IOCTL_SOFT_RESET..........[...]

  • Page 6

    1-6 Lucent Technologies Inc. Evaluation Kit f or USS-720 Instant USB Information Man ual, Rev . 1 USB-to- IEEE 1284 Bridge September 1999 13 Ev aluation Kit Contents The Lucent T echnologies USS-720 Ev aluation Kit consists of the follo wing components: 1. One USS-720 Inf ormation Manual containing: ■ An introduction to the USS-720 Evaluation Kit[...]

  • Page 7

    Information Man ual, Rev . 1 Evaluation Kit f or USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 1-7 13 Ev aluation Kit Contents (continued) ■ Win98: — USS720.INF // ISD USB Smar t Cab le Install file — USS720.SYS // Release version of USS-720 USB De vice Driv er for Windows 98 — USS720CI.DLL // ISD US[...]

  • Page 8

    1-8 Lucent Technologies Inc. Evaluation Kit f or USS-720 Instant USB Information Man ual, Rev . 1 USB-to- IEEE 1284 Bridge September 1999 13 Getting Star ted Instructions An initial e valuation of the USS-720 de vice can be perf ormed using the In-System Design USB Smar t Cable (i.e., the Lucent USS-720-based USB printer cable), the abov e-mentione[...]

  • Page 9

    Information Man ual, Rev . 1 Evaluation Kit f or USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 1-9 13 Getting Star ted Instructions (contin ued) Windows 98 Cable Installation Instructions: 1. Connect the USB printer cable to a printer that is tur ned on and f ollow the instructions listed below . (Note that al[...]

  • Page 10

    1-10 Lucent Technologies Inc. Evaluation Kit f or USS-720 Instant USB Information Man ual, Rev . 1 USB-to- IEEE 1284 Bridge September 1999 13 T o access software files from In-System Design’ s home page, f ollo w these steps: 1. Click on Driv ers. 2. In the bo x labeled Librar y Name , type the library name: uss720_dev 3. T ype the password f or[...]

  • Page 11

    Information Man ual, Rev . 1 Evaluation Kit f or USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 1-11 13 Notes f or Developer s (continued) EEPROM De velopers using the USS-720 m ust use an e xter nal serial EEPROM (or the equiv alent) in their design and create their own he x data file f or use in programming [...]

  • Page 12

    1-12 Lucent Technologies Inc. Evaluation Kit f or USS-720 Instant USB Information Man ual, Rev . 1 USB-to- IEEE 1284 Bridge September 1999 13[...]

  • Page 13

    September 1999 13 Lucent Technologies Inc. 2-1 USB Applications Suppor t Applications suppor t f or Lucent T echnologies USS-720 Universal Serial Bus products can be obtained by contacting the f ollowing: Lucent T echnologies Micr oelectr onics Group 1247 S. Cedar Crest Blvd. Allentown, P A 18103 U .S.A. Phone: (610) 712-2947 F AX: (610) 712-2820, [...]

  • Page 14

    2-2 Lucent Technologies Inc. USB Applications Support September 1999 13[...]

  • Page 15

    February 1999 Lucent Technologies Inc. 3-1 USS-720 Software Use Agreement Ev aluation Kit Software Introduction In accordance with the license agreement that f ollows , your use of the softw are and other information fur nished as par t of the USS-720 Ev aluation Kit is intended for uses in connection with e v aluating and testing Lucent’ s USS-7[...]

  • Page 16

    3-2 Lucent Technologies Inc. USS-720 Software Use Agreement February 1999 USS-720 Driver Software (Object Code) License Agreement (continued) (c) LICENSEE may mak e those copies of LICENSED SOFTW ARE necessary to the use by LICENSEE f or which rights are granted hereunder , provided that each such copy contains an y cop yright and/or propr ietary n[...]

  • Page 17

    USS-720 February 1999 Software Use Agreement Lucent Technologies Inc. 3-3 USS-720 Driver Software (Object Code) License Agreement (continued) ARTICLE II—FEES AND P A YMENTS 2.01 Fees LICENSEE shall, within thir ty (30) da ys after e xecution of this Ag reement by both parties and invoice b y LUCENT , pa y to LUCENT a fee of _________ f or the rig[...]

  • Page 18

    3-4 Lucent Technologies Inc. USS-720 Software Use Agreement February 1999 USS-720 Driver Software (Object Code) License Agreement (continued) ARTICLE IV—MISCELLANEOUS PR O VISIONS 4.01 Agreement Prev ails This agreement shall pre v ail notwithstanding any conflicting terms or legends which may appear on or in LICENSED SOFTW ARE. 4.02 W arranty a[...]

  • Page 19

    USS-720 February 1999 Software Use Agreement Lucent Technologies Inc. 3-5 USS-720 Driver Software (Object Code) License Agreement (continued) (c) LICENSEE's obligations under this Section 4.04 shall not apply to any inf ormation relating to LICENSED SOFT- W ARE (including an y method or concept utilized therein) that: (i) is or becomes av aila[...]

  • Page 20

    3-6 Lucent Technologies Inc. USS-720 Software Use Agreement February 1999 USS-720 Driver Software (Object Code) License Agreement (continued) 4.09 Applicable La w The construction and performance of this agreement shall be gov erned by the laws of the State of Ne w Y ork, U .S.A., e xcluding choice of la w rules. 4.10 Disputes If a dispute arises o[...]

  • Page 21

    USS-720 February 1999 Software Use Agreement Lucent Technologies Inc. 3-7 USS-720 Driver Software (Object Code) License Agreement (continued) DEFINITIONS APPENDIX LUCENT DEVICE means the LUCENT USS720 de vice. LICENSEE means a customer of Lucent’ s USS720 de vice using the LICENSED SOFTW ARE. LICENSED SOFTW ARE means all or an y por tion of the s[...]

  • Page 22

    3-8 Lucent Technologies Inc. USS-720 Software Use Agreement February 1999[...]

  • Page 23

    Application Note, Rev . 1 February 1999 Lucent Technologies Inc. 4-1 Incorporating Customer Data into USS-720 Ev aluation Kit Software Using the Build Me One Utility Intr oduction Using the Build Me One utility f ound on In-System Design’ s web site , the USS-720 Ev aluation Kit soft- ware can be modified to include data specific to a customer?[...]

  • Page 24

    4-2 Lucent Technologies Inc. Incorporating Customer Data into USS-720 Application Note, Rev . 1 Evaluation Kit Software Using the Build Me One Utility February 1999 Customer -Defined Data Customer-defined data ma y be submitted to In-System Design using the Build Me One utility located on the In- System Design web site. Access www .in- system.com[...]

  • Page 25

    Application Note, Rev . 1 Incorporating Customer Data into USS-720 February 1999 Ev aluation Kit Software Using the Build Me One Utility Lucent Technologies Inc. 4-3 Operating Systems Suppor ted This software runs in Windows 95, and Windows 98. Windows 95 must actually be OSR2.1 v ersion 1214, which contains the USB supplement and QFE. Each vendor [...]

  • Page 26

    4-4 Lucent Technologies Inc. Incorporating Customer Data into USS-720 Application Note, Rev . 1 Evaluation Kit Software Using the Build Me One Utility February 1999 Printer T ypes Suppor ted The f ollowing printers hav e been thoroughly tested and are known to w or k with the USS-720 softw are. Some printers require bidirectional mode to be disable[...]

  • Page 27

    Preliminary Data Sheet, Rev . 5 September 1999 13 Lucent Technolgies Inc. 5-1 USS-720 Instant USB ™ USB-to- IEEE * 1284 Bridge Features Device Features: ■ Full compliance with the Universal Serial Bus Specifi- cation Re vision 1.0 ■ On-chip transceiv ers f or USB ■ Low po wer consumption allows part to be powered from USB connection ■ Du[...]

  • Page 28

    T able of Contents Contents P age Contents P age 5-2 Lucent Technologies Inc. USS-720 Instant USB Preliminary Data Sheet, Rev . 5 USB-to- IEEE 1284 Bridge September 1999 Features ................................................................. 5-1 Description .............................................................. 5-1 Pin Information ......[...]

  • Page 29

    Preliminary Data Sheet, Rev . 5 USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 5-3 13 Pin Inf ormation 5-5429.r4 Note: An N before symbol names indicates activ e-low . Figure 2. Pin Diagram T able 1. Pin Descriptions Pin Symbol * T ype Name/Description 1 PD A T A[1] I/O P arallel P ort Data Signal Bit 1. 2 PD A[...]

  • Page 30

    5-4 Lucent Technologies Inc. USS-720 Instant USB Preliminary Data Sheet, Rev . 5 USB-to- IEEE 1284 Bridge September 1999 13 Pin Inf ormation (continued) Table 1. Pin Descriptions (continued) Pin Symbol* T ype Name/Description 9 V DD 5 P 5 V P ower Suppl y for 5 V P arallel P ort Signals. 10 PD A T A[7] I/O P arallel P ort Data Signal Bit 7. 11 NA U[...]

  • Page 31

    Preliminary Data Sheet, Rev . 5 USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 5-5 13 Overview The USS-720 creates a bridge between one USB por t and one IEEE 1284 enhanced parallel por t. Internally , the USS-720 contains an integrated USB tr ansceiver , a USB de vice controller (UDC) core, an IEEE 1284 core, [...]

  • Page 32

    5-6 Lucent Technologies Inc. USS-720 Instant USB Preliminary Data Sheet, Rev . 5 USB-to- IEEE 1284 Bridge September 1999 13 USB P ort (continued) The f or mat f or the e xternally supplied data is as shown in T able 2. The addressing f or the specified EEPR OM de vice is word aligned, so the f ollowing restrictions are placed upon the star ting lo[...]

  • Page 33

    Preliminary Data Sheet, Rev . 5 USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 5-7 13 USB P ort (continued) Configuration Descriptor The USS-720 has one def ault configuration descriptor . This descriptor has one interface , which has three alter nate settings. The three alternate settings and the endpoints t[...]

  • Page 34

    5-8 Lucent Technologies Inc. USS-720 Instant USB Preliminary Data Sheet, Rev . 5 USB-to- IEEE 1284 Bridge September 1999 13 USB P ort (continued) Interface Descriptors The USS-720 suppor ts a single interf ace with three alter nate settings . Interface 0, Alternate Setting 0 (I0:A0) T able 6. Interface Descriptor , I0:A0 Offset Field Size Value Des[...]

  • Page 35

    Preliminary Data Sheet, Rev . 5 USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 5-9 13 USB P ort (continued) Interface 0, Alternate Setting 1 (I0:A1) T able 8. Interface Descriptor , I0:A1 Offset Field Size Value Description 0 bLength Byte 0x09 Size of this descriptor in bytes . 1 bDescriptorT ype Byte 0x04 Inte[...]

  • Page 36

    5-10 Lucent Technologies Inc. USS-720 Instant USB Preliminary Data Sheet, Rev . 5 USB-to- IEEE 1284 Bridge September 1999 13 USB P ort (continued) Interface 0, Alternate Setting 2 (I0:A2) T able 11. Interface Descriptor , I0:A2 Offset Field Size Value Description 0 bLength Byte 0x09 Size of this descriptor in b ytes. 1 bDescriptorT ype Byte 0x04 In[...]

  • Page 37

    Preliminary Data Sheet, Rev . 5 USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 5-11 13 USB P ort (continued) Pipes F our pipes are defined: Control, Bulk Out, Bulk In, and Interrupt. Control Pipe The Control pipe is the def ault pipe, used f or USB setup and control pack ets. Its maxim um pack et size is 8 byt[...]

  • Page 38

    USS-720 Instant USB Preliminary Data Sheet, Rev . 5 USB-to- IEEE 1284 Bridge September 1999 5-12 Lucent Technologies Inc. USB P ort (continued) Printer Class-Specific Requests Printer class-specific requests suppor ted by the USS-720 are listed in T able 15. T able 15. Class-Specific Requests Label bmRequestT ype bRequest wV alue wInde x wLength[...]

  • Page 39

    Preliminary Data Sheet, Rev . 5 USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 5-13 USB P ort (continued) V endor-Specific Requests V endor-specific requests suppor ted b y the USS-720. T able 17. V endor-Specific Requests Label bmRequestT ype bRequest wV alue wInde x wLength Data GET_1284_REGISTER 11000000B[...]

  • Page 40

    5-14 Lucent Technologies Inc. USS-720 Instant USB Preliminary Data Sheet, Rev . 5 USB-to- IEEE 1284 Bridge September 1999 13 IEEE 1284 P ort The IEEE 1284 por t on the USS-720 is compliant with the IEEE 1284-1994 standard. The parallel por t oper- ates in two distinct modes . In fully Automatic Mode , the IEEE 1284 protocol is implemented completel[...]

  • Page 41

    Preliminary Data Sheet, Rev . 5 USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 5-15 IEEE 1284 P ort (continued) Registers Nine parallel por t registers are a vailab le to the host. They are read and written using the GET_1284_REGISTER and SET_1284_REGISTER v endor-specific commands descr ibed abo ve . The SET_[...]

  • Page 42

    5-16 Lucent Technologies Inc. USS-720 Instant USB Preliminary Data Sheet, Rev . 5 USB-to- IEEE 1284 Bridge September 1999 13 IEEE 1284 P ort (continued) Data Register Status Register T able 21. Data Register Data Register Address: 0 Bit 7 6 5 4 3 2 1 0 Symbol D7 D6 D5 D4 D3 D2 D1 D0 Access R/W R/W R/W R/W R/W R/W R/W R/W Default 0 0 0 0 0 0 0 0 Bit[...]

  • Page 43

    Preliminary Data Sheet, Rev . 5 USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 5-17 13 IEEE 1284 P ort (continued) Control Register T able 23. Contr ol Register Control Register Address: 2 Bit 7 6 5 4 3 2 1 0 Symbol HLH EPP mask Direction Int enb l SelectIn nInit AutoFd Strobe Access R/W R/W R/W R/W R/W R/W R/W[...]

  • Page 44

    5-18 Lucent Technologies Inc. USS-720 Instant USB Preliminary Data Sheet, Rev . 5 USB-to- IEEE 1284 Bridge September 1999 13 IEEE 1284 P ort (continued) EPP Address Register EPP Data Register T able 24. EPP Address Register EPP Address Register Address: 3 Bit 7 6 5 4 3 2 1 0 Symbol A7 A6 A5 A4 A3 A2 A1 A0 Access R/W R/W R/W R/W R/W R/W R/W R/W Defa[...]

  • Page 45

    Preliminary Data Sheet, Rev . 5 USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 5-19 13 IEEE 1284 P ort (continued) ECP Command Register T able 26. ECP Command Register ECP Command Register Address: 5 Bit 7 6 5 4 3 2 1 0 Symbol C7 C6 C5 C4 C3 C2 C1 C0 Access Write Wr ite Write Write Wr ite Write Write Write Defa[...]

  • Page 46

    5-20 Lucent Technologies Inc. USS-720 Instant USB Preliminary Data Sheet, Rev . 5 USB-to- IEEE 1284 Bridge September 1999 13 IEEE 1284 P ort (continued) Extended Control Register T able 27. Extended Contr ol Register Extended Control Register Address: 6 Bit 7 6 5 4 3 2 1 0 Symbol Mode[2] Mode[1] Mode[0] nAck interrupt nF ault interrupt Bulk In inte[...]

  • Page 47

    Preliminary Data Sheet, Rev . 5 USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 5-21 13 IEEE 1284 P ort (continued) USS-720 Control Register T able 28. USS-720 Contr ol Register USS-720 Control Register Address: 7 Bit 7 6 5 4 3 2 1 0 Symbol Discon. int mask Change int mask Bulk In int mask Bulk Out int mask nF a[...]

  • Page 48

    5-22 Lucent Technologies Inc. USS-720 Instant USB Preliminary Data Sheet, Rev . 5 USB-to- IEEE 1284 Bridge September 1999 13 IEEE 1284 P ort (continued) USS-720 Setup Register T able 29. USS-720 Setup Register USS-720 Setup Register Address: 8 Bit 765432 1 0 Symbol Reser v ed Reser v ed Reserved Reser v ed Reserved Reser v ed Filter Software Overri[...]

  • Page 49

    Preliminary Data Sheet, Rev . 5 USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 5-23 13 IEEE 1284 P ort (continued) Interrupts The USS-720 can retur n interrupt status on the inter- rupt pipe. Interrupt status may be generated as a result of one of se ven separ ately maskable conditions . Any interrupts that are[...]

  • Page 50

    5-24 Lucent Technologies Inc. USS-720 Instant USB Preliminary Data Sheet, Rev . 5 USB-to- IEEE 1284 Bridge September 1999 13 External Cir cuitry Requirements The USS-720 is intended to be a single-chip solution. As such, the USB transceiv er and the IEEE 1284 buff- ers hav e been integr ated on-chip . Exter nal require- ments include a 3.3 V supply[...]

  • Page 51

    Preliminary Data Sheet, Rev . 5 USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 5-25 Filter Bypass Mode F or embedded applications, the USS-720 IEEE 1284 por t can be operated in Filter Bypass Mode . This mode disables digital filtering of the parallel port signals into the USS-720, providing a perf ormance imp[...]

  • Page 52

    5-26 Lucent Technologies Inc. USS-720 Instant USB Preliminary Data Sheet, Rev . 5 USB-to- IEEE 1284 Bridge September 1999 13 Electrical Characteristics T able 31. dc Characteristics (T A = 0 ° C to 70 ° C, V DD = 3.3 V ± 0.3 V , V SS = 0 V .) T able 32. USB T ransceiver Driver Characteristics * The output impedance includes both the e xternal re[...]

  • Page 53

    Preliminary Data Sheet, Rev . 5 USS-720 Instant USB September 1999 USB-to- IEEE 1284 Bridge Lucent Technologies Inc. 5-27 13 Timing Characteristics ■ Timing is specified ov er the operating range from 0 ° C to 70 ° C ambient temperature, V DD = 3.0 V to 3.6 V , and V DD 5 = 4.75 V to 5.25 V . ■ All timing is ref erenced from the rising edge [...]

  • Page 54

    5-28 Lucent Technologies Inc. USS-720 Instant USB Preliminary Data Sheet, Rev . 5 USB-to- IEEE 1284 Bridge September 1999 13 Outline Diagram 44-Pin MQFP Dimensions are in millimeters. Or dering Information Device Code P ackage Comcode USS720E-DB 44-Pin MQFP 108127085 5-2111.r11 44 1 10.00 ± 0.20 13.20 ± 0.20 10.00 ± 0.20 13.20 ± 0.20 PIN #1 IDE[...]

  • Page 55

    13 Lucent Technologies Inc. 6-1 Application Note February 1999 T ypical Circuit Sho wing the USS-720 Bridging USB to P arallel P or t Description The USS-720 can be used in a variety of applica- tions, such as b us-powered de vices , self-powered de vices, hubs, and embedded printer controllers. The f ollowing describes using the device in a b us- [...]

  • Page 56

    6-2 Lucent Technologies Inc. T ypical Circuit Sho wing the USS-720 Application Note Bridging USB to P arallel P ort February 1999 13 Description (continued) Whene ver de vice descriptor data is requested, the USS-720 drives both control pins CS (pin 35, Serial ROM Chip Select) and SK (pin 34, Serial ROM Cloc k). The USS-720 then looks f or a respon[...]

  • Page 57

    Application Note T ypical Circuit Sho wing the USS-720 February 1999 Bridging USB to P arallel P ort Lucent Technologies Inc. 6-3 13 A A B B C C D D 4 4 3 3 2 2 1 1 Data_1 PError SELECT nFAULT nACK nSELECTIN nFAULT Data_0 Data_7 BUSY Data_6 Data_3 Data_0 Data_2 VDD_5V Data_3 nINIT nINIT PLH Data_5 nSTROBE PError Data_7 Data_4 Data_1 BUSY nSTROBE Da[...]

  • Page 58

    6-4 Lucent Technologies Inc. T ypical Circuit Sho wing the USS-720 Application Note Bridging USB to P arallel P ort February 1999[...]

  • Page 59

    Preliminary User Guide, Rev . 2 February 1999 13 Lucent Technologies Inc. 7-1 USS-720 USB Device Driver 1 Intr oduction This document describes the design and implemen- tation of USS720.SYS, a Windows * WDM USB driver de veloped b y In-System Design, Inc. (Note that this driver w as wr itten specifically to w ork with the In- System Design USB Sma[...]

  • Page 60

    T able of Contents Contents Pa g e 7-2 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 1. Introduction ...................................................................................................................................................... 7-1 2. Initialization .........................[...]

  • Page 61

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-3 13 2 Initialization ■ The driver entry routine is called and initializes callbacks f or the f ollowing functions when the oper ating system loads the driver: — Create: Open a handle to a device instance. — Read: Read a b lock of data from the [...]

  • Page 62

    7-4 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 3 I/O File Functions (continued) 3.1 CreateFile The CreateFile I/O file function opens an instance of a par ticular de vice and retur ns an open handle to the de vice instance. Details regarding the syntax, parameters , return values, and error [...]

  • Page 63

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-5 13 3 I/O File Functions (continued) 3.2 ReadFile The ReadFile I/O file function reads data from the Bulk In pipe and retur ns TR UE if the function is successful and F ALSE if it f ails. Details regarding the syntax, parameters , retur n v alues, a[...]

  • Page 64

    7-6 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 3 I/O File Functions (continued) 3.3 WriteFile The WriteFile I/O file function wr ites data to the Bulk Out pipe and returns TR UE if the function is successful and F ALSE if it f ails. Details regarding the syntax, parameters , retur n v alues,[...]

  • Page 65

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-7 13 3 I/O File Functions (continued) 3.4 DeviceIoContr ol The De viceIoControl I/O file function sends a control code to a de vice instance and retur ns TR UE if the function is successful and F ALSE if it f ails. Details regarding the syntax, param[...]

  • Page 66

    7-8 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 3 I/O File Functions (continued) 3.4.5 Error Codes ERROR_DEVICE_REMO VE—The device instance has been remo ved. ERROR_DEVICE_ST OP—The device instance has been stopped. ST A TUS_INV ALID_P ARAMETER—Control Code is either inv alid f or this d[...]

  • Page 67

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-9 13 4 I/O Control Codes This section provides inf ormation for the I/O control codes used in the De viceIoControl file function (see Section 3.4). These control codes are used in the DeviceIoControl function to perf orm any of the f ollowing de vice[...]

  • Page 68

    7-10 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 4 I/O Contr ol Codes (continued) 4.1 IOCTL_1284_ ECP_FWDT OREV IOCTL_1284_ECP_FWDT OREV negotiates the peripheral from f orward idle to re v erse while in ECP register mode. Details regarding parameters and error codes f ollo w . 4.1.1 P aramete[...]

  • Page 69

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-11 13 4 I/O Contr ol Codes (continued) 4.2 IOCTL_1284_ECP_REVT OFWD IOCTL_1284_ECP_REVT OFWD negotiates the peripheral from re verse to f orw ard idle while in ECP register mode. Details regarding parameters and error codes f ollo w . 4.2.1 P arameter[...]

  • Page 70

    7-12 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 4 I/O Contr ol Codes (continued) 4.3 IOCTL_1284_ ECP_SET_CHANNEL IOCTL_1284_ ECP_SET_CHANNEL sets the ECP channel on the peripheral for reads and writes. Details regarding parameters and error codes f ollow . 4.3.1 P arameters lpInBuff er—P oi[...]

  • Page 71

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-13 13 4 I/O Contr ol Codes (continued) 4.4 IOCTL_1284_ SET_MODE IOCTL_1284_ SET_MODE negotiates the peripheral into one of the valid register modes . Details regarding param- eters and error codes f ollow . 4.4.1 P arameters lpInBuff er—P oints to a[...]

  • Page 72

    7-14 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 4 I/O Contr ol Codes (continued) 4.5 IOCTL_1284_ TERMINA TE IOCTL_1284_ TERMINA TE performs a standard 1284 ter mination sequence. Details regarding par ameters and error codes f ollow . 4.5.1 P arameters lpInBuff er—P oints to an input b uffe[...]

  • Page 73

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-15 13 4 I/O Contr ol Codes (continued) 4.6 IOCTL_ABORT_PIPE IOCTL_ABOR T_PIPE cancels any pending transf ers f or the specified pipe. The pipe state and endpoint state are unaff ected. Details regarding parameters and error codes f ollow . 4.6.1 P ar[...]

  • Page 74

    7-16 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 4 I/O Contr ol Codes (continued) 4.7 IOCTL_CANCEL_PIPE_REQUEST IOCTL_CANCEL_PIPE_REQUEST cancels the current request on the specified pipe b y flushing the pipe and canceling any outstanding requests on the pipe . Details regarding parameters [...]

  • Page 75

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-17 13 4 I/O Contr ol Codes (continued) 4.8 IOCTL_GET_1284_REGISTER IOCTL_GET_1284_REGISTER retur ns all 1284 registers . Details regarding parameters and error codes f ollow . 4.8.1 P arameters lpInBuff er—P oints to an input b uffer that contains a[...]

  • Page 76

    7-18 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 4 I/O Contr ol Codes (continued) 4.9 IOCTL_GET_AL TSETTING IOCTL_GET_AL TSETTING retriev es the current alternate interface setting from the USS-720 de vice. Details regarding parameters and error codes f ollow . 4.9.1 P arameters lpInBuff er—[...]

  • Page 77

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-19 13 4 I/O Contr ol Codes (continued) 4.10 IOCTL_GET_CAP ABILITIES IOCTL_GET_CAP ABILITIES retur ns a variab le buff er length containing the de vice capabilities string. This is an IEEE 1284 compatible string. Details regarding parameters and error [...]

  • Page 78

    7-20 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 4 I/O Contr ol Codes (continued) 4.11 IOCTL_GET_CONFIGURA TION_DESCRIPT OR IOCTL_GET_CONFIGURA TION_DESCRIPTOR retrie ves the current configur ation descriptor . Details regarding parameters and error codes f ollow . 4.11.1 P arameters lpInBuff[...]

  • Page 79

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-21 13 4 I/O Contr ol Codes (continued) 4.12 IOCTL_GET_DEVICE_DESCRIPT OR IOCTL_GET_DEVICE_DESCRIPT OR retriev es the current de vice descriptor . Details regarding parameters and error codes f ollow . 4.12.1 P arameters lpInBuff er—P oints to an inp[...]

  • Page 80

    7-22 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 4 I/O Contr ol Codes (continued) 4.13 IOCTL_GET_DEVICE_INST ANCES IOCTL_GET_DEVICE_INST ANCES retur ns a list of current de vices based on the symbolic links created during each de vice enumeration. Details regarding parameters and error codes f[...]

  • Page 81

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-23 13 4 I/O Contr ol Codes (continued) 4.14 IOCTL_GET_INTERF A CE IOCTL_GET_INTERF A CE gets the information about the current interf ace and pipes. Details regarding parameters and error codes f ollow . 4.14.1 P arameters lpInBuff er—P oints to an [...]

  • Page 82

    7-24 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 4 I/O Contr ol Codes (continued) 4.15 IOCTL_GET_PORT_ST A TUS IOCTL_GET_POR T_ST A TUS retur ns a status byte . Details regarding parameters and error codes f ollow . 4.15.1 P arameters lpInBuff er—P oints to an input b uffer . Not used with t[...]

  • Page 83

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-25 13 4 I/O Contr ol Codes (continued) 4.16 IOCTL_ISSUE_USS720_COMMAND IOCTL_ISSUE_USS720_COMMAND issues a specific command f or the USS-720 device . Details regarding parameters and error codes f ollow . 4.16.1 P arameters lpInBuff er—P oints to a[...]

  • Page 84

    7-26 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 4 I/O Contr ol Codes (continued) 4.17 IOCTL_READ_INTERR UPT_PIPE IOCTL_READ_INTERR UPT_PIPE repor ts changes on the parallel port and buff er status when they occur . Details regarding parameters and error codes f ollow . 4.17.1 P arameters lpIn[...]

  • Page 85

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-27 13 4 I/O Contr ol Codes (continued) 4.18 IOCTL_RESET_PIPE IOCTL_RESET_PIPE clears the halted state of the specified pipe within the USB stack and resets the stalled state of the endpoint on the de vice. Details regarding parameters and error codes[...]

  • Page 86

    7-28 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 4 I/O Contr ol Codes (continued) 4.19 IOCTL_SET_1284_REGISTER IOCTL_SET_1284_REGISTER sets one of the 1284 registers. Details regarding parameters and error codes f ollow . 4.19.1 P arameters lpInBuff er—P oints to an input b uffer that contai[...]

  • Page 87

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-29 13 4 I/O Contr ol Codes (continued) 4.20 IOCTL_SET_AL TSETTING IOCTL_SET_AL TSETTING sets the alter nate interf ace setting. Details regarding parameters and error codes f ollow . 4.20.1 P arameters lpInBuff er—P oints to an b uffer that contains[...]

  • Page 88

    7-30 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 4 I/O Contr ol Codes (continued) 4.21 IOCTL_SOFT_RESET IOCTL_SOFT_RESET resets the de vice, flushes the Bulk Out and Bulk In pipes to the def ault states. Details regarding parameters and error codes f ollow . 4.21.1 P arameters lpInBuff er—P[...]

  • Page 89

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-31 13 5 I/O Control Data Structures This section describes the data str uctures used in I/O control codes . 5.1 DEVICE_INST ANCE_HEADER The DEVICE_INST ANCE_HEADER str ucture is used when issuing the IOCTL_GET_DEVICE_INST ANCES con- trol code. 5.1.1 D[...]

  • Page 90

    7-32 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13 5 I/O Contr ol Data Structures (continued) 5.3 REGISTER_1284 The REGISTER_1284 structure is used when issuing the IOCTL_GET_1284_REGISTER control code. 5.3.1 Data Structure typedef struct _REGISTER_1284 { UCHAR RegisterAddress; UCHAR DataRegiste[...]

  • Page 91

    Preliminary User Guide, Rev . 2 USS-720 February 1999 USB Device Driver Lucent Technologies Inc. 7-33 13 5 I/O Contr ol Data Structures (continued) 5.4 AD VREGISTER_1284 The AD VREGISTER_1284 str ucture is used when issuing the IOCTL_GET_1284_REGISTER control code . 5.4.1 Data Structure typedef struct _AD VREGISTER_1284 { UCHAR RegisterAddress; UCH[...]

  • Page 92

    7-34 Lucent Technologies Inc. USS-720 Preliminary User Guide, Rev . 2 USB Device Driver February 1999 13[...]

  • Page 93

    Application Note February 1999 13 Lucent Technologies Inc. 8-1 USS-720 USB P or t Monitor Description A por t monitor is responsible f or the comm unication between the Windows * spooler and a printing device . It controls the I/O por t to which the ph ysical printer is connected and is responsible f or the communication channel between the spooler[...]

  • Page 94

    8-2 Lucent Technologies Inc. USS-720 Application Note USB P ort Monitor February 13 Description (continued) 5-6004.r6 Figure 1. Printer Cable with Instant USB ™ APPLICATION PRINTER GDI GDI32 SPOOLER ROUTER LOCAL PRINT LANGUAGE USBHUB.SYS USBD.SYS PCI ENUMERATOR USB BUS UHCD.SYS OPENHCI.SYS DRIVER PROCESS PROVIDER MONITOR USS-720 DRIVER USS-720 IN[...]

  • Page 95

    Application Note June 1999 13 Lucent Technologies Inc. 9-1 Instructions f or Downloading Software f or Use with the In-System Design USB Smar t Cab le Intr oduction Before y ou begin, please note: In order to use the software f or the In-System Design USB Smar t Cab le, the PC where the software will be installed must be running either : ■ Window[...]

  • Page 96

    Lucent T echnologies Inc. reser v es the right to make changes to the product(s) or information contained herein without notice. No liability is assumed as a result of their use or application. No rights under any patent accompany the sale of any such product(s) or inf ormation. Copyright © 1999 Lucent T echnologies Inc. All Rights Reserved Printe[...]