at89c5131a ATMEL Corporation, at89c5131a Datasheet - Page 25
at89c5131a
Manufacturer Part Number
at89c5131a
Description
Usb Microcontrollers
Manufacturer
ATMEL Corporation
Datasheet
1.AT89C5131A.pdf
(33 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at89c5131a-PUTUM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
at89c5131a-RDTUM
Manufacturer:
ATMEL
Quantity:
5 000
Company:
Part Number:
at89c5131a-S3SUM
Manufacturer:
ATMEL
Quantity:
46
Company:
Part Number:
at89c5131a-UL
Manufacturer:
TI
Quantity:
12 500
Part Number:
at89c5131a-UL
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
at89c5131a-UM
Manufacturer:
TOSHIBA
Quantity:
1 200
Part Number:
at89c5131a-UM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
API Commands
Read/Program Flash and
EEPROM Data Memory
4287C–USB–11/04
Several types of APIs are available:
•
•
•
•
•
All routines to access EEPROM data are managed directly from the application without
using bootloader resources.
To read the Flash memory the bootloader is not involved.
For more details on these routines see the AT89C5131A datasheet sections “Pro-
gram/Code Memory” and “EEPROM Data Memory”
Two routines are available to program the Flash:
•
•
•
Note:
API Name
__api_wr_code_byte
__api_wr_code_page
Read/Program Flash and EEPROM Data Memory
Read Configuration and Manufacturer Information
Program Configuration Information
Erase Flash
Start Bootloader
–
–
The application program load the column latches of the Flash then calls the
__api_wr_code_byte or __api_wr_code_page see datasheet in section
“Program/Code Memory
Parameter settings
instruction: LCALL FFC0h.
__api_wr_code_byte
__api_wr_code_page
No special resources are used by the bootloader during this operation
”.
AT89C5131A USB Bootloader
api_command
0Dh
api_dph
api_dpl
api_value
25