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

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
Device Status
Get Status
Table 7. bStatus values
4287E–USB–04/08
Status
OK
errTARGET
errFILE
errWRITE
errERASE
errCHECK_ERASED
errPROG
errVERIFY
errADDRESS
errNOTDONE
errFIRMWARE
errVENDOR
bmRequestType
1010 0001b
0010 0001b
Value
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0A
0x0B
DFU_GETSTATUS (3)
DFU_CLRSTATUS (4)
The Host employs the DFU_GETSTATUS request to facilitate synchronization with the device.
This status gives information on the execution of the previous request: in progress/OK/Fail/...
The device responds to the DFU_GETSTATUS request with a payload packet containing the fol-
lowing data:
Table 6. DFU_GETSTATUS Response
bRequest
Description
No error condition is present
File is not targeted for use by this device
File is for this device but fails some vendor-specific verification test
Device id unable to write memory
Memory erase function failed
Memory erase check failed
Program memory function failed
Programmed memory failed verification
Cannot program memory due to received address that is out of range
Received DFU_DNLOAD with wLength = 0, but device does not think it has all the data yet.
Device’s firmware is corrupted. It cannot return to run-time operations
iString indicates a vendor-specific error
Offset
0
1
4
5
bwPollTimeOut
wValue
bStatus
Field
bState
iString
Zero
Zero
AT89C5131A USB Bootloader
Size
1
3
1
1
Interface (4)
Interface (4)
wIndex
Value
Numb
Numb
Numb
Index
er
er
er
An indication of the status resulting from the
execution of the most recent request.
Minimum time in milliseconds that the host
should wait before sending a subsequent
DFU_GETSTATUS. The purpose of this field is to
allow the device to dynamically adjust the
amount of time that the device expects the host
to wait between the status phase of the next
DFU_DNLOAD and the subsequent solicitation
of the device’s status via DFU_GETSTATUS.
An indication of the state that the device is going
to enter immediately following transmission of
this response.
Index of status description in string table.
wLength
Zero
6
Description
Status
Data
none
15

Related parts for AT89C5131A-L