AT89C5132 Atmel Corporation, AT89C5132 Datasheet - Page 24

no-image

AT89C5132

Manufacturer Part Number
AT89C5132
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C5132

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-12C
Max I/o Pins
44
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
1
Uart
1
Adc Channels
2
Adc Resolution (bits)
10
Adc Speed (ksps)
22.7
Sram (kbytes)
2.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 3.6
Timers
2
Isp
UART/USB
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT89C5132-IL
Quantity:
192
Part Number:
AT89C5132-RORUL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5132-ROTIL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5132-ROTUL
Manufacturer:
Atmel
Quantity:
10 000
Erasing the Flash
Request From Host
Answers from
Bootloader
24
AT89C5132
The flow described below allows the user to erase the Flash memory.
Two modes of Flash erasing are possible:
The Full Chip erase command erases the whole Flash (32 Kbytes) and sets some Configuration
Bytes at their default values:
The Block erase command erases only a part of the Flash.
Four Blocks are defined in the AT89C5132:
To start the erasing operation, the Host sends a DFU_DNLOAD request with a Write Command
in the data field (2 bytes).
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.
Command Identifier
Id_write_command
Full chip erase
Block erase
BSB = FFh
SBV = FFh
SSB = FFh (NO_SECURITY)
block0 (from 0000h to 1FFFh)
block1 (from 2000h to 3FFFh)
block2 (from 4000h to 7FFFh)
block3 (from 8000h to FFFFh)
If the chip is protected from program access, a “err_WRITE” status is returned to the Host.
Otherwise, the device status is “OK“.
04h
data[0]
00h
data[1]
FFh
00h
20h
40h
80h
data[2]
data[3]
data[4]
Erase block0 (0K to 8K)
Erase block1 (8K to 16K)
Erase block2 (16K to 32K)
Erase block3 (32K to 64K)
Full Chip Erase (bits at FFh)
Description
4256B–USB–03/06

Related parts for AT89C5132