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

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
Answers from the
Device to a Blank Check
Command
Programming
Configuration
Information
Request from Host
Answers From
Bootloader
4287E–USB–04/08
The Host controller send a GET_STATUS request to the device. Once internal blank check has
been completed, the device sends its status.
The flow described below allows the user to program Configuration Information regarding the
bootloader functionality.
Take care that the Program Fuse bit command programs the 4 Fuse bits at the same time.
To start the programming operation, the Host sends DFU_DNLOAD request with the Write com-
mand in the data field (6 bytes).
The device has two possible answers to a DFU_GETSTATUS request:
If the device status is “OK”:
the device memory is then blank and the device waits the next Host request.
If the device status is “errCHECK_ERASED”:
the device memory is not blank. The device waits for an DFU_UPLOAD request to send the
first address where the byte is not 0xFF.
Boot Process Configuration:
If the chip is protected from program access, a “err_WRITE” status is returned to the Host.
Otherwise, the device status is “OK“.
BSB
SBV
P1_CF, P3_CF and P4_CF
Fuse bits (BLJB, X2 and OSCON bits) (see section “Mapping and Default Value of
Hardware Security Byte”)
Id_write_command
Command
Identifier
04h
SETUP
OUT
IN
data[0]
01h
02h
data[1]
AT89C5131A USB Bootloader
00h
01h
02h
03h
04h
05h
06h
00h
Write_command (6 bytes)
DFU_DNLOAD
ZLP
data[2]
Value
Value
data[3]
data[4]
Write value in BSB
Write value in SBV
Write P1_CF
Write P3_CF
Write P4_CF
Write value in SSB
Write value in EB
Write value in Fuse
(HSB)
Description
21

Related parts for AT89C5131A-L