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

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
Reading the Flash
or EEPROM Data
First Request from Host
Second Request from
Host
Answers from the
Device
20
AT89C5131A USB Bootloader
The flow described below allows the user to read data in the Flash memory or in the EEPROM
data memory. A blank check command on the Flash memory is possible with this flow.
This operation is performed in 2 steps:
1. DFU_DNLOAD request with the read command (6 bytes)
2. DFU_UPLOAD request which correspond to the immediate previous command.
The Host sends a DFU Download request with a Display command in the data field.
The Host sends a DFU Upload request.
The device send to the Host the firmware from the specified start address to the end address.
OUT
SETUP
IN
IN
IN
Id_display_data
Command
Identifier
03h
SETUP
OUT
IN
data[0]
ZLP
DFU_UPLOAD
Firmware Packet 1
Firmware Packet 2
Firmware Packet n
00h
01h
02h
data[1]
start_address
DFU_DNLOAD
Display_Data (6 bytes)
ZLP
data[2]
data[3]
end_address
data[4]
Display EEPROM Data
Blank Check in FLASH
Display FLASH Data
Description
4287E–USB–04/08

Related parts for AT89C5131A-L