T89C5115 ATMEL Corporation, T89C5115 Datasheet - Page 40

no-image

T89C5115

Manufacturer Part Number
T89C5115
Description
Low Pin Count 8-bit MCU with A/D Converter and 16-Kbytes of Flash Memory
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
T89C5115-RATIM
Manufacturer:
TI
Quantity:
1 474
Part Number:
T89C5115-RATIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C5115-SISIM
Manufacturer:
Atmel
Quantity:
10 000
Application
Programming Interface
XROW Bytes
40
T89C5115
Several Application Program Interface (API) calls are available for use by an application
program to permit selective erasing and programming of Flash pages. All calls are made
by functions.
All APIs are describe in: "In-System Programing: Flash Library for T89C5115", available
on the Atmel web site at www.atmel.com.
Table 23. List of API
Table 24. XROW Mapping
API Call
PROGRAM DATA BYTE
PROGRAM DATA PAGE
PROGRAM EEPROM BYTE
ERASE BLOCK
ERASE BOOT VECTOR (SBV)
PROGRAM BOOT VECTOR (SBV)
PROGRAM EXTRA BYTE (EB)
READ DATA BYTE
READ EEPROM BYTE
READ FAMILY CODE
READ MANUFACTURER CODE
READ PRODUCT NAME
READ REVISION NUMBER
READ STATUS BIT (BSB)
READ BOOT VECTOR (SBV)
READ EXTRA BYTE (EB)
PROGRAM X2
READ X2
START BOOTLOADER
Mnemonic
Description
Copy of the Manufacturer Code
Copy of the Device ID#1: Family code
Copy of the Device ID#2: Memories size and type BBh
Copy of the Device ID#3: Name and Revision
Description
Write a byte in flash memory
Write a page (128 bytes) in flash memory
Write a byte in Eeprom memory
Erase all flash memory
Erase the boot vector
Write the boot vector
Write the extra byte
Read the status bit
Read the boot vector
Read the extra byte
Write the hardware flag for X2 mode
Read the hardware flag for X2 mode
To start the bootloader from the application
Default value
58h
D7h
FFh
Address
30h
31h
60h
61h
4128A–8051–04/02

Related parts for T89C5115