English
Language : 

IC89C54 Datasheet, PDF (10/24 Pages) Integrated Circuit Solution Inc – CMOS SINGLE CHIP 8-BIT MICROCONTROLLER with 16/32/64-Kbytes of FLASH
IC89C54/58/64
Arming Command
An arming command must take place before a Written
Mode will be recognized by the IC89C54/58/64. This is to
prevent accidental triggering of written operation due to
noise or programmer error. The arming command is as
follows:
A Read Signature Bytes command is issued. This is
actually a natural step for the programmer, but will also serve
as the arming command. After the above sequence, all other
Written Mode commands are enabled. Before the Read
Signature Bytes command is received, all other Written
Mode commands received are ignored. The IC89C54/8/64
will exit Written Mode if power off, so arming command is
needed every power on for entering External Host Command
Mode.
External Host Mode Commands
The following is a brief description of the commands. See
Table 3 for all signal logic assignments for the External Host
Mode Commands. The critical timing for all Erase and
Program commands, is self-generated by the flash memory
controller on-chip.
The high-to-low transition of the PROG signal initiates
the Erase and Program commands, which are synchronized
internally. All the data in the memory array will be erased to
FFH. Memory addresses that are to be programmed must
be in the erased state prior to programming. There are two
erase commands in IC89C64, Block 1 erase and Block 2
erase. Selection of the Erase command to use, prior to
programming the device, will be dependent upon the contents
already in the array and the desired programming field block.
The “Chip Erase” command erases all bytes in both
memory blocks (16K/32K/64K) of the IC89C54/58/64.This
command ignores the “Lock bits” status and will erase the
Security Byte. The “Chip Erase” command is selected by the
byte code of 01H on P3[7:6] and P2[7:6]. The “Block 1 Erase”
command erases all bytes in one of the memory blocks 1
(16/32/60K) of the IC89C54/58/64. The “Block 2 Erase”
command erases all bytes in one of the memory blocks 2
(Address range is from F000H to FFFFH) of the IC89C64.
These block erase commands will not enable if the Lock Bit
2 or Lock Bit 3 is enabled.
Flash Operation Status Detection
(Ext. Host Handshake)
The IC89C54/58/64 provide two signals mean for an
external host to detect the completion of a flash memory
operation, therefore the external host can optimize the
system Program or Erase cycle of the embedded flash
memory. The end of a flash memory operation cycle
(Erase or Program) can be detected by: 1) monitoring the
Ready/Busy bit at Port 3.4; 2) monitoring the Timeout
Polling bit at Port 3.5. The following two Program com-
mands are for programming new data into the memory
array. Selection of which Program command to use for
programming will be dependent upon the desired pro-
gramming field size. The Program commands will not
enable if Lock Bit 2 or Lock Bit 3 is enabled on the
selected memory block. The “Program Main Code”
command program data into a single byte. Ports P0[0:7]
are used for data in. The memory location is selected by
P1[0:7], P2[0:5], and P3[2:3] (A0-A15).
The “Verify Main Code” command allows the user to
verify that the IC89C54/58/64 correctly performed an Erase
or Program command. Ports P0[0:7] are used for data out.
The memory location is selected by P1[0:7], P2[0:5], and P3
[2:3] (A0-A15). These commands will not enable if any lock
bit is enabled on the selected memory block.
Ready/BUSY
The progress of the flash memory programming can be
monitored by the Ready/BUSY output signal. The Ready/
BUSY indicates whether an Embedded Algorithm in Written
State Machine (WSM) is in progress or complete. The RY/
BY status is valid after the falling edge of the programming
or erase controlled signal. If the output is low (Busy), the
device is in an erasing/programming state with an internal
verification. If the output is high, the device is ready to read
data. While the RY/BY signal is at low level (Busy) and
Timeout is high level, the programming or erasing procedure
is failed.
10
Integrated Circuit Solution Inc.
MC009-0B