89C51IC2-CM ATMEL [ATMEL Corporation], 89C51IC2-CM Datasheet - Page 126
89C51IC2-CM
Manufacturer Part Number
89C51IC2-CM
Description
8-bit Flash Microcontroller with 2-wire Interface
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
1.89C51IC2-CM.pdf
(146 pages)
- Current page: 126 of 146
- Download datasheet (2Mb)
API Call Description
Table 93. API Call Summary
126
READ DEVICE ID1
READ DEVICE ID2
READ DEVICE ID3
READ MANUF ID
PROGRAM SSB
PROGRAM BSB
PROGRAM SBV
ERASE BLOCK
READ SSB
READ BSB
READ SBV
Command
AT89C51IC2
R1
00h
00h
00h
00h
01h
05h
06h
06h
07h
07h
07h
New BSB
New SBV
value
value
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
A
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
through a common interface, PGM_MTP. The programming functions are selected by
setting up the microcontroller’s registers before making a call to PGM_MTP at FFF0h.
Results are returned in the registers.
When several Bytes have to be programmed, it is highly recommended to use the Atmel
API “PROGRAM DATA PAGE” call. Indeed, this API call writes up to 128 Bytes in a sin-
gle command.
All routines for software access are provided in the C Flash driver available at Atmel’s
web site.
The API calls description and arguments are shown in Table 93.
DPH = 00h
DPH = 20h
DPH = 40h
DPH = 00h
DPH = 00h
DPH = 00h
DPH = 00h
Address of
DPL = 00h
DPL = 01h
DPL = 10h
DPL = 11h
program
DPTR0
byte to
0000h
0001h
0002h
0003h
0000h
0001h
0000h
0001h
0002h
XXh
DPTR1
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
XXh
00h
00h
ACC = Manufacturer
ACC = Device Id 1
ACC = Device Id 2
ACC = Device Id 3
ACC = SSB value
Returned Value
ACC = DPH
ACC = SSB
ACC = BSB
ACC = SBV
none
none
Id
Erase Software boot vector and boot status
Program one Data Byte in user Flash
byte. (SBV = FCh and BSB = FFh)
Program software boot vector
Read Software Security Byte
Read Manufacturer identifier
Read Software Boot Vector
Program boot status byte
Read Device identifier 1
Read Device identifier 2
Read Device identifier 3
Read Boot Status Byte
Command Effect
Set SSB level 1
Set SSB level 2
Set SSB level 0
Set SSB level 1
Erase block 0
Erase block 1
Erase block 2
4301A–8051–01/04
Related parts for 89C51IC2-CM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Atmel CryptoMemory
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
Atmel CryptoMemory
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
Atmel CryptoMemory, 16Kbit
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
8-bit Atmel Microcontrollers
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
8-bit Atmel Microcontroller with 64K/128K/256K Bytes In-System Programmable Flash
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
8-bit Atmel Microcontroller with 16/32/64/128K Bytes In-System Programmable Flash
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
8-bit Atmel Microcontroller with 16/32/64K Bytes In-System Programmable Programmable
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet: