p89v51rb2 NXP Semiconductors, p89v51rb2 Datasheet - Page 25

no-image

p89v51rb2

Manufacturer Part Number
p89v51rb2
Description
8-bit 80c51 5 V Low Power 16/32/64 Kb Flash Microcontroller With 1 Kb Ram
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89V51RB2
Manufacturer:
SILICON
Quantity:
2
Part Number:
p89v51rb2BBC
Manufacturer:
NXP
Quantity:
30 000
Part Number:
p89v51rb2BBC,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
p89v51rb2BN
Manufacturer:
NXP
Quantity:
4 575
Part Number:
p89v51rb2FA
Manufacturer:
NXP
Quantity:
1 000
Part Number:
p89v51rb2FA
Manufacturer:
NXP
Quantity:
2 000
Part Number:
p89v51rb2FA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
p89v51rb2FA (FLA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
p89v51rb2FA,529
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
p89v51rb2FN
Manufacturer:
NXP/恩智浦
Quantity:
20 000
NXP Semiconductors
P89V51RB2_RC2_RD2_4
Product data sheet
6.3.5 Using the serial number
6.3.6 IAP method
Table 12.
This device has the option of storing a 31 B serial number along with the length of the
serial number (for a total of 32 B) in a non-volatile memory space. When ISP mode is
entered, the serial number length is evaluated to determine if the serial number is in use.
If the length of the serial number is programmed to either 00H or FFH, the serial number is
considered not in use. If the serial number is in use, reading, programming, or erasing of
the user code memory or the serial number is blocked until the user transmits a ‘verify
serial number’ record containing a serial number and length that matches the serial
number and length previously stored in the device. The user can reset the serial number
to all zeros and set the length to zero by sending the ‘reset serial number' record. In
addition, the ‘reset serial number’ record will also erase all user code.
Several IAP calls are available for use by an application program to permit selective
erasing, reading and programming of flash sectors, security bit, configuration bytes, and
device id. 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 1FF0H. The IAP calls are shown in
Record type
09
0A
0B
ISP hex record formats
Command/data function
Write serial number
:nnxxxx09ss..sscc
Where:
xxxxxx = required field but value is a ‘don’t care’
09 = write serial number function
ss..ss = serial number contents
cc = checksum
Example:
:03000009010203EE (write s/n = 010203)
Display serial number
:xxxxxx0Acc
Where:
xxxxxx = required field but value is a ‘don’t care’
0A = display serial number function
cc = checksum
Example:
:0000000AF6
Reset and run user code
:xxxxxx0Bcc
Where:
xxxxxx = required field but value is a ‘don’t care’
0B = Reset and run user code
cc = checksum
Example:
:0000000BF5
Rev. 04 — 1 May 2007
…continued
P89V51RB2/RC2/RD2
8-bit microcontrollers with 80C51 core
Table
13.
© NXP B.V. 2007. All rights reserved.
25 of 80

Related parts for p89v51rb2