PROGRAMMING INTERFACE
11
5.0 Programming Interface
AU9510 is a dedicated single chip USB SmartCard reader controller. In addition to silicon
itself, Alcor Micro provides WDM drivers on Windows 2000 and Windows 98 platforms to
ensure Microsoft PC/SC compliance. However, for non-Windows application platforms,
software driver developers may wish to access the reader directly. This document describes
Alcor’s vendor unique USB commands. Table 1-1 shows all commands. (For details of the
USB request specification, please refer to USB spec. Chapter 9 )
AU9510 Vendor Unique USB Requests
Warm Reset
bmRequestType bRequest Wvalue wIndex wLength Data
11000000B 00100000B Zero Zero Two ATR Length &
TA2 Present
Device will perform a “warm reset” and return two bytes data. The first byte indicates the
ATR byte length and the second byte returns 00000001B if TA2 present (specific mode of
card operation). Following this command, host can use Endpoint 2 (Bulk Transfer) to get
ATR information. The number of bytes to transfer is indicated by “ATR Length”.
USB request
(bRequest)
Description
20h Warm Reset
21h Cold Reset
22h Power Down
10h Write SmartCard
11h Read SmartCard
30h Host Abort
31h Set Protocol