LHF80J01
9
sharp
3.5 Read Identifier Codes
3.6 OTP(One Time Program) Block
The read identifier codes operation outputs the
manufacturer code, device code, block lock configuration
codes for each block and the permanent lock configuration
code (see Figure 4). Using the manufacturer and device
codes, the system CPU can automatically match the device
with its proper algorithms. The block lock and permanent
lock configuration codes identify locked and unlocked
blocks and permanent lock-bit setting.
The OTP block is a special block that can not be erased.
The block is divided into two parts. One is a factory
program area where a unique number can be written
according to customer requirements in SHARP factory.
This factory program area is "READ ONLY" (Already
locked). The other is a customer program area that can be
used by customers. This customer program area can be
locked. After locking, this customer program area is
protected permanently.
Top Boot
The OTP block is read in Configuration Read Mode by
writing Read Identifier Codes command(90H). To return
to Read Array Mode, write Read Array command(FFH).
[A18-A0]
7FFFF
[A18-A-1
FFFFF
]
Reserved for Future Implementation
7F003
7F002
7F001
7F000
7EFFF
FE006
FE005
FE004
FE003
FE000
FDFFF
The OTP block is programmed by writing OTP Program
command(C0H). First write OTP Program command and
then write data with address to the device (See Figure 5).
If OTP program is failed, SR.4(WORD/BYTE WRITE
AND SET LOCK-BIT STATUS) bit is set to "1". And if
this OTP block is locked, SR.1(DEVICE PROTECT
STATUS) bit is set to "1" too.
Boot Block 0 Lock Configuration Code
Reserved for Future Implementation
Boot Block 0
Reserved for Future Implementation
7E003
7E002
7E001
7E000
7DFFF
FC006
FC005
Boot Block 1 Lock Configuration Code
Reserved for Future Implementation
FC004
FC003
FC000
FBFFF
The OTP block is also locked by writing OTP Program
command(C0H). First write OTP Program command and
then write data "FFFDH" with address "80H" to the
device. Address "80H" of OTP block is OTP lock
information. Bit 0 of address "80H" means factory
program area lock status("1" is "NOT LOCKED", "0" is
"LOCKED"). Bit 1 of address "80H" means customer
program area lock status. The OTP lock information can
not be cleared, after once it is set.
Boot Block 1
Reserved for Future Implementation
7D003
7D002
7D001
7D000
7CFFF
79000
78FFF
FA006
FA005
FA004
Parameter Block 0 Lock Configuration Code
FA003
FA000
F9FFF
F2000
F1FFF
Reserved for Future Implementation
Parameter Block 0
(Parameter Blocks 1 through 4)
Reserved for Future Implementation
78003
78002
78001
78000
F0006
F0005
F0004
F0003
F0000
EFFFF
[A18-A-1]
[A18-A0]
Parameter Block 5 Lock Configuration Code
01FFF
Reserved for Future Implementation
Parameter Block 5
00FFF
77FFF
Reserved for Future Implementation
Main Block 0 Lock Configuration Code
Customer Program Area
70003
70002
70001
70000
6FFFF
08000
07FFF
01000
00FFF
00080
E0006
E0005
E0004
E0003
E0000
DFFFF
10000
0FFFF
02000
01FFF
00100
Reserved for Future Implementation
Main Block 0
00085
00084
00081
00080
0010A
00109
00102
00100
(Main Blocks 1 through 13)
Reserved for Future Implementation
OTP Block
Factory Program Area
OTP Lock
Customer Program Area Lock(Bit 1)
Factory Program Area Lock(Bit 0)
0007F
00004
000FF
00008
Reserved for Future Implementation
Figure 5. OTP Block Address Map
00007
00003
00002
00001
00000
Permanent Lock Configuration Code
Main Block 14 Lock Configuration Code
Device Code
00006
00005
00004
00003
00002
00001
00000
Manufacturer Code
Main Block 14
Figure 4. Device Identifier Code Memory Map
Rev. 1.27