AT89C5132 Atmel Corporation, AT89C5132 Datasheet - Page 18

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
Request from Host
Write Command
Firmware
DFU Suffix
18
AT89C5132
Table 16. DFU File Suffix
The write command is 6 bytes long. In order to reach the USB specification of the Control type
transfers, the write command is completed with 26 (=32-6) non-significant bytes. The total length
of the command is then 32 bytes, which is the length of the Default Control Endpoint.
The firmware can now be downloaded to the device. In order to be in accordance with the Flash
page size (128 bytes), X non-significant bytes are added before the first byte to program. The X
number is calculated to align the beginning of the firmware with the Flash page. X =
start_address [32]. For example, if the start address is 00AFh (175d), X = 175 [32] = 15.
The DFU suffix of 16 bytes are added just after the last byte to program. This suffix is reserved
for future use.
bmRequestType
Command Identifier
Offset
- 12
- 14
0010 0001b
Id_prog_start
01h
Field
idProduct
bcdDevice
DFU_DNLOAD (1)
data[0]
bRequest
00h
data[1]
Size
start_address
2
2
wValue
wBlock
data[2]
Value
BCD
ID
Description
The product ID associated with this file. Either FFFFf
or must match device’s product ID
The release number of the device associated with this
file. Either FFFFh or a BCD firmware release or
version number
data[3]
Interface (4)
end_address
wIndex
data[4]
wLength
Init Flash programming
Length
Description
4256B–USB–03/06
Firmware
Data

Related parts for AT89C5132