Example 2 - Reading Otprom Contents - Intel 8XC196NT User Manual

Table of Contents

Advertisement

8XC196NT USER'S MANUAL
Because an OTPROM location is being altered, V
must be sent across the serial port one byte at a time, and a SET_DLE_FLAG command must
precede any data byte that is less than 1FH. The address being modified must first be loaded into
the DATA register, then transferred to the ADDR register.
Send
Comments (Example 1)
22
Data. High byte of address to DATA register.
00
SET_DLE_FLAG. The next data byte is < 1FH.
1C
Data. Low byte of address to DATA register.
0A
DATA_TO_ADDR. Move address to ADDR.
80
Data. High byte of data to DATA register.
00
SET_DLE_FLAG. The next data byte is < 1FH.
10
Data. Low byte of data to DATA register.
08
WRITE_WORD. Low word of DATA to memory
location 221C (contents of ADDR). Increment
ADDR by two.
Any write operation can be done in this manner.
15.10.6.2
Example 2 — Reading OTPROM Contents
This example reads the contents of OTPROM address A080H. Because the OTPROM is
remapped from 2000H to A000H, the location read is actually 2080H of the program in
OTPROM. This example assumes that the word at location 2080H is 8067H, the assembled hex
value of the code. No OTPROM locations are changed, so V
volts.
15-38
must be at +12.5 volts. RISM commands
PP
DATA
22
22
22
1C
22
1C
22
1C
80
22
1C
80
Memory Addresses
221D
221C
80
10
can be either +12.5 volts or +5
PP
ADDR
22
22
1C
1C
22
1C
80
22
1C
80
22
1C
10
22
1C
10
22
1C
22
1E

Advertisement

Table of Contents
loading

Table of Contents