AT89C5131A-L Atmel Corporation, AT89C5131A-L Datasheet - Page 12

no-image

AT89C5131A-L

Manufacturer Part Number
AT89C5131A-L
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C5131A-L

Flash (kbytes)
32 Kbytes
Max. Operating Frequency
48 MHz
Cpu
8051-12C
Max I/o Pins
34
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
1
Twi (i2c)
1
Uart
1
Sram (kbytes)
1.25
Eeprom (bytes)
1024
Self Program Memory
API
Operating Voltage (vcc)
3.0 to 3.6
Timers
4
Isp
UART/USB
Watchdog
Yes
Protocol
Device Firmware
Upgrade Introduction
DFU Specific
Requests
Table 1. DFU Class-specific Requests
DFU Descriptors Set
DFU Device Descriptor
12
bmRequestType
0010 0001b
0010 0001b
1010 0001b
1010 0001b
0010 0001b
1010 0001b
0010 0001b
AT89C5131A USB Bootloader
DFU_GETSTATUS (3)
DFU_CLRSTATUS (4)
DFU_GETSTATE (5)
DFU_DNLOAD (1)
DFU_DETACH (0)
DFU_UPLOAD (2)
DFU_ABORT (6)
Device Firmware Upgrade is the mechanism for accomplishing the task of upgrading the device
firmware. Any class of USB device can exploit this capability by supporting the requirements
specified in this document.
Because it is impractical for a device to concurrently perform both DFU operations and its nor-
mal run-time activities, those normal activities must cease for the duration of the DFU
operations. Doing so means that the device must change its operating mode; i.e., a printer is not
a printer while it is undergoing a firmware upgrade; it is a PROM programmer. However, a
device that supports DFU is not capable of changing its mode of operation on its own. External
(human or host operating system) intervention is required.
In addition of the USB standard requests, 7 DFU class-specific requests are employed to
accomplish the upgrade operations (Table 1):
The device exports the DFU descriptor set, which contains:
This descriptor is only present in the DFU mode descriptor set. The DFU class code is reported
in the bDeviceClass field of this descriptor.
Table 2. USB Parameters
bRequest
A DFU device descriptor
A single configuration descriptor
A single interface descriptor (including descriptors for alternate settings, if present)
A single functional descriptor
Release Number
Parameter
Product ID
Vendor ID
wTimeout
wValue
wBlock
wBlock
Zero
Zero
Zero
Zero
Interface (4)
Interface (4)
Interface (4)
Interface (4)
Interface (4)
Interface (4)
Interface (4)
wIndex
Atmel – AT89C5131A Bootloader
wLength
Length
Length
Zero
Zero
Zero
0x03EB
0x2FFD
0x0000
6
1
4287E–USB–04/08
Firmware
Firmware
Status
Data
none
none
State
none

Related parts for AT89C5131A-L