Cypress Semiconductor FX2LP Información técnica Pagina 60

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 460
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 59
EZ-USB FX2 Technical Reference Manual
Page 2-6 EZ-USB FX2 Technical Reference Manual v2.1
.
In the ReNumerated condition (RENUM=1), the FX2 passes all USB requests except
Set Address
to the firmware via the SUDAV interrupt.
The FX2 implements one vendor-specific request: “Firmware Load,” 0xA0 (the bRequest value of
0xA0 is valid only if byte 0 of the request, bmRequestType, is also “x10xxxxx,” indicating a vendor-
specific request.) The load request is valid at all times, so the load feature may be used even after
ReNumeration. If your application implements vendor-specific USB requests, and you do
not
wish
to use the Firmware Load feature, be sure to refrain from using the bRequest value 0xA0 for your
custom requests. The Firmware Load feature is fully described in
Chapter 3, "Enumeration and
ReNumeration™"
.
To avoid future incompatibilities, vendor requests 0xA0-0xAF are reserved by Cypress Semicon-
ductor.
Table 2-2. How the Firmware Handles USB Device Requests (RENUM=1)
bRequest Name FX2 Action Firmware Response
0x00 Get Status SUDAV Interrupt Supply RemWU, SelfPwr or Stall Bits
0x01 Clear Feature SUDAV Interrupt Clear RemWU, SelfPwr or Stall Bits
0x02 (reserved) none Stall EP0
0x03 Set Feature SUDAV Interrupt Set RemWU, SelfPwr or Stall Bits
0x04 (reserved) none Stall EP0
0x05 Set Address Update FNADDR Register none
0x06 Get Descriptor SUDAV Interrupt Supply table data over EP0-IN
0x07 Set Descriptor SUDAV Interrupt Application dependent
0x08 Get Configuration SUDAV Interrupt Send current configuration number
0x09 Set Configuration SUDAV Interrupt Change current configuration
0x0A Get Interface SUDAV Interrupt Supply alternate setting No. from RAM
0x0B Set Interface SUDAV Interrupt Change alternate setting No.
0x0C Sync Frame SUDAV Interrupt Supply a frame number over EP0-IN
Vendor Requests
0xA0 (Firmware Load)
Upload / Download RAM ---
0xA1 - 0xAF
SUDAV Interrupt Reserved by Cypress Semiconductor
All except 0xA0 SUDAV Interrupt Depends on application
Vista de pagina 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 459 460

Comentarios a estos manuales

Sin comentarios