Legacy-Free Keyboard/Embedded Controller with SPI and LPC Docking Interface
Table 8.5 LPC47N350 Embedded Flash Command Register
N/A
ADDRESS
POWER
VCC1
0xFF
DEFAULT
(VCC1
POR)
D7
D6
D5
D4
D3
D2
D1
D0
W
W
W
W
W
W
W
W
TYPE
CMD7
CMD6
CMD5
CMD4
CMD3
CMD2
CMD1
CMD0
BIT NAME
Table 8.6 CSI Command Codes
DESCRIPTION (Note 8.1)
CMD CODE
(HEX)
CSI MODE
FF
80
READ
The READ ARRAY command places the CSI in READ ARRAY mode. In
READ ARRAY mode, memory data is output on the DOUT data pins. READ
ARRAY mode is the default following reset. NOTE: the READ ARRAY
command does not return Flash data; to read from the Flash array following
a READ ARRAY command, a read operation must be performed.
ARRAY
PROGRAM
BYTE
The PROGRAM BYTE command prepares the CSI to accept the program
address and program data in a second (argument) bus write cycle. Once the
second bus cycle has completed, programming begins and the CSI host
interface is placed into the READ STATUS mode. The boot block cannot be
programmed using the PROGRAM BYTE command when the CSI nWRTPRT
input is asserted (see Section 8.4, "Flash Write Protect").
40
20
ERASE
PAGE
The ERASE PAGE command prepares the CSI to accept the page address
in a second (argument) bus write cycle. Once the second bus cycle has
completed, page erasing begins and the CSI host interface is placed into the
READ STATUS mode. The boot block cannot be erased using the PAGE
ERASE command when the CSI nWRTPRT input is asserted (see Section
8.4, "Flash Write Protect," on page 102).
MASS
The MASS ERASE command places the CSI in the MASS ERASE mode so
that Flash Main Memory Block data and/or the Info Block data will be erased.
If the Info block is selected (using the SET INFO BLOCK ACCESS
command), both the Info Block and the Main Block will be erased by a MASS
ERASE command. If the Main Block is selected (using the SET MAIN
BLOCK ACCESS command), only the Main Block will be erased by a MASS
ERASE command. Once the MASS ERASE command is given, erasing
begins and the CSI host interface is placed into the READ STATUS mode.
MASS ERASE is disabled if the Flash Boot Block is locked.
ERASE
10
READ
The READ STATUS command prepares the CSI to output the status register
in all subsequent read cycles, independent of the presented address. Once
the READ STATUS command code has been written, the CSI is idle until the
next valid command. The CSI automatically enters the READ STATUS mode
following all valid and invalid commands except the READ ARRAY command.
NOTE: the READ STATUS command does not return CSI data; to read the
CSI Status register following a READ STATUS command, a read operation
must be performed.
STATUS
SMSC LPC47N350
Revision 1.1 (01-14-03)
DATA9S1HEET