Lucent Technologies USS-720 manual USB-to- Ieee 1284 Bridge September, Onboard Device Descriptor

Page 32

USS-720Instant USB

Preliminary Data Sheet, Rev. 5

USB-to-IEEE1284 Bridge

September 1999

 

 

USB Port (continued)

The format for the externally supplied data is as shown in Table 2. The addressing for the specified EEPROM device is word aligned, so the following restrictions are placed upon the starting locations for the configuration and string descriptors.

The configuration descriptor must start at word address 0x13 (byte address 0x26).

String descriptors must start at an address that is aligned on a double-word boundary.

Table 2. Externally Supplied Data Format

Byte Address

Word Address

Value

 

 

 

0x00

0x00

0x12

0x01—0x12

Device descriptor as defined in USB Specification Revision 1.0.

0x26

0x13

Total length of string to be returned in response to a

 

 

GET_CONFIGURATION_DESCRIPTOR request.

0x27—0x2F

Configuration descriptor as defined in USB Specification Revision 1.0.

0x30—???*

Interface and endpoint descriptors to be returned in response to a

 

 

GET_CONFIGURATION_DESCRIPTOR request.

Any even word

address beyond

Length of string to return in response to a GET_STRING_DESCRIPTOR

the end of the configuration

request. This address divided by two should be included in the low byte of the

descriptor return string.

wIndex field of the GET_DESCRIPTOR standard command.

Next address—end of string

String descriptor as defined in USB Specification Revision 1.0.

descriptor.

 

 

*The question marks (???) indicate that this byte address value is determined for the user’s application based on the above information. The number is going to vary depending on how the user formats their configuration information.

Note: Tables 3—14 describe the descriptor data contained in the USS-720’s internal ROM. This information can be used as a guide in creating the externally supplied descriptor data.

Onboard Device Descriptor

There is only one device descriptor for each USB device. This descriptor contains the definitions of the device class and the device subclass, among other things.

Table 3. Device Descriptor

Offset

Field

Size

Value

Description

 

 

 

 

 

0

bLength

Byte

0x12

Size of this descriptor in bytes.

 

 

 

 

 

1

bDescriptorType

Byte

0x01

Device descriptor type.

 

 

 

 

 

2

bcdUSB

Word

0x0100

USB Specification release number in BCD.

 

 

 

 

 

4

bDeviceClass

Byte

0x00

Interface specific. See Tables 6, 8, and 11.

 

 

 

 

 

5

bDeviceSubClass

Byte

0x00

Interface specific. See Tables 6, 8, and 11.

 

 

 

 

 

6

bDeviceProtocol

Byte

0x00

Interface specific. See Tables 6, 8, and 11.

 

 

 

 

 

7

wMaxPacketSize0

Byte

0x08

Maximum packet size for endpoint 0.

 

 

 

 

 

8

idVendor

Word

0x047E

Vendor ID for Lucent Technologies.

 

 

 

 

 

10

idProduct

Word

0x1001

Product ID.

 

 

 

 

 

12

bcdDevice

Word

0x0103

Device release number in BCD.

 

 

 

 

 

14

iManufacturer

Byte

0x00

Index of string descriptor describing manufacturer.

 

 

 

 

 

15

iProduct

Byte

0x00

Index of string descriptor describing this product.

 

 

 

 

 

16

iSerialNumber

Byte

0x00

Index of string descriptor describing the device’s serial number.

 

 

 

 

 

17

bNumConfigurations

Byte

0x01

Number of possible configurations.

 

 

 

 

 

5-6

Lucent Technologies Inc.

Image 32
Contents Introduction Information Manual, Rev SeptemberTable of Contents Information Manual, Rev Evaluation Kit for USS-720 September USB-to-IEEE BridgeIOCTLSET1284REGISTER USS-720 USB Device Driver Preliminary User GuideIOCTL1284 Terminate USS-720 USB Port Monitor Application Note Evaluation Kit Contents Hardware Requirements \SAMPLESOSR2.1 Cable Installation Instructions Getting Started InstructionsSoftware Updates Windows 98 Cable Installation InstructionsPort Creation USB Driver and Port MonitorPlug and Play Eeprom Lucent Technologies Inc Lucent Technologies Microelectronics Group In-System Design, IncUSB Applications Support September Evaluation Kit Software USS-720 Driver Software Object Code License AgreementFebruary IntroductionUSS-720 Software Use Agreement February Licensed SoftwareFurnishing of Licensed Software OwnershipUSS-720 February Software Use AgreementWarranty and Indemnity Agreement PrevailsNothing Construed 04 ConfidentialityPublicity NonassignabilityAddresses IntegrationApplicable Law DisputesDocumentation USS720.SYSUSS720.INF USS-720 Software Use Agreement February Software Components Application Note, Rev FebruaryPrinter Enumeration Customer-Defined DataPlug and Play Operation PnP Power Management Installation ProcessOperating Systems Supported USB Hardware Types SupportedPrinter Types Supported Print Types SupportedDescription FeaturesPreliminary Data Sheet, Rev September Table of Contents USB-to-IEEE Preliminary Data Sheet, Rev USS-720Pin Information Parallel Port nAutoFd Signal Active-Low Parallel Port nSelectIn Signal Active-LowParallel Port nInit Signal Active-Low Parallel Port nAck Signal Active-LowOverview USB PortDevice Descriptor, Configurations, and Inter- faces Descriptor LocationsDevice Descriptor Offset Field Size Value Description USB-to- Ieee 1284 Bridge SeptemberOnboard Device Descriptor USB-to- Ieee Configuration DescriptorInterface Descriptors Bulk Out Endpoint Descriptor, I0A0E1Bulk In Endpoint Descriptor, I0A1E2 September USB-to-IEEE1284 BridgeBulk Out Endpoint Descriptor, I0A1E1 Interrupt Endpoint Descriptor, I0A2E3 Bulk Out Endpoint Descriptor, I0A2E1Bulk In Endpoint Descriptor, I0A2E2 Standard Requests PipesRequests Printer Class-Specific Requests Get Port Status Data Bit DescriptionSET1284REGISTER Vendor-Specific RequestsGET1284REGISTER Ieee 1284 Port Register-Based OperationRegisters GET1284REGISTER Data Byte Register DataInterrupt Pipe Read Data Byte Register DataParallel Port nFault Signal Reserved Status Register Address Bit SymbolDefault Bit Symbol Bit Description Control Register Address Bit Symbol Access Default Bit Symbol Bit DescriptionParallel Port nInit Signal USB-to-IEEE1284 BridgeUSS-720Instant USB ECP Command Register Address Bit Symbol Access Extended Control Register Address Bit Symbol Mode20 DescriptionUSS-720 Control Register Address Bit Symbol USS-720 Setup Register Address Bit Symbol Interrupts External Circuitry Requirements External Crystal ConnectionFilter Bypass Mode High Drive ModeSelf-Powered Mode Absolute Maximum Ratings Parameter Symbol Min UnitElectrical Characteristics Parameter Symbol Test Conditions Min Typ Max UnitCapacitance Values Parameter Unit Clklo ClkhiOutput Delay Timing Parameter Min Max Unit Timing CharacteristicsSetup and Hold Input Timing Parameter Outline Diagram Ordering InformationPin Mqfp Device Code Package ComcodeApplication Note February Description Parallel PortBridging USB to Typical Circuit Showing USSLucent Technologies Inc Signal Directions Preliminary User Guide, Rev FebruaryIOCTL1284 Setmode Initialization O File FunctionsPreliminary User Guide, Rev USS-720 February USB Device DriverCreateFile Error Codes ReadFileWriteFile DeviceIoControl CloseHandle O Control Codes Control Code DescriptionIOCTL1284 Ecpfwdtorev ParametersIOCTL1284ECPREVTOFWD IOCTL1284 Ecpsetchannel Register Mode Description IOCTL1284 SetmodeIOCTL1284 Terminate Ioctlabortpipe Value DescriptionBulkoutpipe BulkinpipeIoctlcancelpiperequest IOCTLGET1284REGISTER Ioctlgetaltsetting ALTINTERFACE0ALTINTERFACE1 ALTINTERFACE2Ioctlgetcapabilities Ioctlgetconfigurationdescriptor Ioctlgetdevicedescriptor Ioctlgetdeviceinstances Ioctlgetinterface Ioctlgetportstatus Bit MeaningIOCTLISSUEUSS720COMMAND Command DescriptionIoctlreadinterruptpipe Byte DescriptionIoctlresetpipe IOCTLSET1284REGISTER Ioctlsetaltsetting Ioctlsoftreset O Control Data Structures DeviceinstanceheaderDeviceinstance Data StructureREGISTER1284 REGISTER1284, *PREGISTER1284ADVREGISTER1284 ADVREGISTER1284, *PADVREGISTER1284Lucent Technologies Inc USS-720 USB Port Monitor USS-720 Application Note USB Port Monitor February Printer Cable with Instant USBSoftware Installation Instructions W98USS720EvalKit2402.zip to download the installation filesApplication Note June Click on Enter LibrarySeptember MN99-052CMPR-1 Replaces MN97-061CMPR-04