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

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
Bootloader
Starting the
Application
Request From Host
Answer from Bootloader No answer is returned by the device.
24
AT89C5131A USB Bootloader
The device has two possible answers to a DFU_GETSTATUS request:
The full chip erase is always executed whatever the Software Security Byte value is.
The flow described below allows to start the application directly from the bootloader upon a spe-
cific command reception.
Two options are possible:
To start the application, the Host sends a DFU_DNLOAD request with the specified application
start type in the data field (3 or 5bytes).
This request is immediately followed by a second DFU_DNLOAD request with no data field to
start the application with one of the 2 options.
If the chip is protected from program access, a “err_WRITE” status is returned to the Host.
Otherwise, the device status is “OK“.
Start the application with a reset pulse generation (using watchdog).
When the device receives this command the watchdog is enabled and the bootloader enters
a waiting loop until the watchdog resets the device.
Take care that if an external reset chip is used the reset pulse in output may be wrong and in
this case the reset sequence is not correctly executed.
Start the application without reset
A jump at the address 0000h is used to start the application without reset.
Id_write_command
04h
Command
Identifier
SETUP
IN
OUT
SETUP
data[0]
03h
data[1]
00h
01h
Jump O
DFU_UPLOAD
ZLP
DFU_UPLOAD
data[2]
address
ption (3 or 5 Bytes)
data[3]
data[4]
Hardware reset
LJMP address
Description
4287E–USB–04/08

Related parts for AT89C5131A-L