AT89C5132 Atmel Corporation, AT89C5132 Datasheet - Page 19

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
Figure 5. Example of Firmware Download Zero Length DFU_DNLOAD Request
Answers from
Bootloader
Reading the Flash
First Request from Host
4256B–USB–03/06
SETUP
OUT
OUT
OUT
OUT
IN
The Host sends a DFU_DNLOAD request with the wLength field cleared to 0 to the device to
indicate that it has completed transferring the firmware image file. This is the final payload
packet of a download operation.
This operation should be preceded by a Long Jump address specification using the correspond-
ing Flash command.
After each program request, the Host can request the device state and status by sending a
DFU_GETSTATUS message.
If the device status indicates an error, the host can send a DFU_CLRSTATUS request to the
device.
The flow described below allows the user to read data in the Flash memory. A blank check com-
mand 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.
DFU_DNLOAD
Prog_Start + (EP0 FIFO length - 6) x 00h
X offset bytes + Firmware Packet 1
Firmware Packet 2
Firmware Packet n + DFU suffix
ZLP
SETUP
OUT
IN
DFU_DNLOAD
Display_Data (6 bytes)
ZLP
AT89C5132
19

Related parts for AT89C5132