
1997 Intermediate Version
Semiconductor Group
25
1997-10-01
C163-16F
Command Sequences
The table below summarizes the implemented command sequences and describes how to execute
them (please note that register-indirect addressing is required):
Notes:
WLOC is the burst base address to which the 64-Byte buffer shall be written, e.g. 01’ABC0H.
WDAT is the data word which shall be stored in the buffer.
SLOC is the first location within the target sector, e.g. 01’8000H for sector 1.
no read: the first cycle after an “Enter burst mode” or “Load burst data” command sequence will
return dummy data if a read access to the Flash area is executed.
The locations WLOC and SLOC refer to the first (lowest) location within the respective block, i.e. a
64-Byte buffer block for WLOC and a 32-KByte sector for SLOC.
All bits that represent the offset in this block must be ‘0’, the higher address bits identify the block.
The first word of programming data is written to the buffer with the “Enter burst mode” command, the
last word is written with the “Store burst buffer” command. The medium 30 words are written with
“Load burst data” commands. Note that WLOC is the same for a complete programming sequence
as the buffer address is incremented internally.
The “Read Flash status” command sequence may be executed during command mode in order to
check the BUSY bit of the Flash module.
Caution:
Writing to a Flash page (space for the 64-Byte buffer) more than once before erasing may destroy
data stored in neighbour cells! This is especially important for programming algorithms that do not
write to sequential locations.
Command Sequence Definitions
Cycle
Reset to
read mode
Enter burst
mode
Load
burst data
Store burst
buffer
Erase
sector
Read flash
status
Clear
status
1
A = AAAAH
D = xxF0H
A = AAAAH
D = xx50H
A = A0F2H
D = WDAT
A = AAAAH
D = xxAAH
A = AAAAH
D = xxAAH
A = AAAAH
D = xxFAH
A = AAAAH
D = xxF5H
2
A = WLOC
D = WDAT
no read
A = 5554H
D = xx55H
A = 5554H
D = xx55H
A = SLOC
D = status
3
no read
A = AAAAH
D = xxA0H
A = AAAAH
D = xx80H
4
A = WLOC
D = WDAT
A = 5554H
D = xxAAH
5
A = AAAAH
D = xx55H
6
A = SLOC
D = xx30H