beautypg.com

4 xrow bytes – Rainbow Electronics T89C51AC2 User Manual

Page 43

background image

43

T89C51AC2

Rev. B – 19-Dec-01

Table 12. List of API

10.4 XROW Bytes

Table 13. Xrow mapping

API CALL

Description

PROGRAM DATA BYTE

Write a byte in flash memory

PROGRAM DATA PAGE

Write a page (128 bytes) in flash memory

PROGRAM EEPROM BYTE

Write a byte in Eeprom memory

ERASE BLOCK

Erase all flash memory

ERASE BOOT VECTOR (SBV)

Erase the boot vector

PROGRAM BOOT VECTOR (SBV)

Write the boot vector

PROGRAM EXTRA BYTE (EB)

Write the extra byte

READ DATA BYTE

READ EEPROM BYTE

READ FAMILY CODE

READ MANUFACTURER CODE

READ PRODUCT NAME

READ REVISION NUMBER

READ STATUS BIT (BSB)

Read the status bit

READ BOOT VECTOR (SBV)

Read the boot vector

READ EXTRA BYTE (EB)

Read the extra byte

PROGRAM X2

Write the hardware flag for X2 mode

READ X2

Read the hardware flag for X2 mode

PROGRAM BLJB

Write the hardware flag BLJB

READ BLJB

Read the hardware flag BLJB

Description

Default value

Address

Copy of the Manufacturer Code

58h

30h

Copy of the Device ID#1: Family code

D7h

31h

Copy of the Device ID#2: Memories size and type

F7h

60h

Copy of the Device ID#3: Name and Revision

FFh

61h