datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

SST89E54RD2A View Datasheet(PDF) - Silicon Storage Technology

Part Name
Description
View to exact match
SST89E54RD2A
SST
Silicon Storage Technology SST
SST89E54RD2A Datasheet PDF : 84 Pages
First Prev 31 32 33 34 35 36 37 38 39 40 Next Last
FlashFlex MCU
SST89E54RD2A/RDA / SST89E58RD2A/RDA
SST89V54RD2A/RDA / SST89V58RD2A/RDA
4.0 FLASH MEMORY PROGRAMMING
Data Sheet
The device internal flash memory can be programmed or
erased using the In-Application Programming (IAP) mode.
4.1 Product Identification
The Read-ID command accesses the Signature Bytes that
identify the device and the manufacturer as SST. External
programmers primarily use these Signature Bytes in the
selection of programming algorithms.
TABLE 4-1: Product Identification
Manufacturer’s ID
Address
30H
Device ID
SST89E54RD2A/RDA
31H
SST89V54RD2A/RDA
31H
SST89E58RD2A/RDA
31H
SST89V58RD2A/RDA
31H
Data
BFH
9FH
9EH
9BH
9AH
T4-1.2 1339
4.2 In-Application Programming Mode
The device offers either 24/40 KByte of in-application pro-
grammable flash memory. During in-application program-
ming, the CPU of the microcontroller enters IAP mode. The
two blocks of flash memory allow the CPU to execute user
code from one block, while the other is being erased or
reprogrammed concurrently. The CPU may also fetch code
from an external memory while all internal flash is being
reprogrammed. The mailbox registers (SFST, SFCM,
SFAL, SFAH, SFDT and SFCF) located in the special func-
tion register (SFR), control and monitor the device’s erase
and program process.
Table 4-2 outline the commands and their associated mail-
box register settings.
4.2.1 In-Application Programming Mode Clock
Source
During IAP mode, both the CPU core and the flash control-
ler unit are driven off the external clock. However, an inter-
nal oscillator will provide timing references for Program and
Erase operations. The internal oscillator is only turned on
when required, and is turned off as soon as the flash oper-
ation is completed.
4.2.2 Memory Bank Selection for In-Application
Programming Mode
With the addressing range limited to 16 bit, only 64 KByte
of program address space is “visible” at any one time. The
bank selection (the configuration of EA# and SFCF[1:0]),
allows Block 1 memory to be overlaid on the lowest 8
KByte of Block 0 memory, making Block 1 reachable. The
same concept is employed to allow both Block 0 and Block
1 flash to be accessible to IAP operations. Code from a
block that is not visible may not be used as a source to pro-
gram another address. However, a block that is not “visible”
may be programmed by code from the other block through
mailbox registers.
The device allows IAP code in one block of memory to pro-
gram the other block of memory, but may not program any
location in the same block. If an IAP operation originates
physically from Block 0, the target of this operation is implic-
itly defined to be in Block 1. If the IAP operation originates
physically from Block 1, then the target address is implicitly
defined to be in Block 0. If the IAP operation originates from
external program space, then, the target will depend on the
address and the state of bank selection.
4.2.3 IAP Enable Bit
The IAP enable bit, SFCF[6], enables in-application pro-
gramming mode. Until this bit is set, all flash programming
IAP commands will be ignored.
4.2.4 In-Application Programming Mode
Commands
All of the following commands can only be initiated in the
IAP mode. In all situations, writing the control byte to the
SFCM register will initiate all of the operations. All com-
mands will not be enabled if the security locks are enabled
on the selected memory block.
The Program command is for programming new data into
the memory array. The portion of the memory array to be
programmed should be in the erased state, FFH. If the
memory is not erased, it should first be erased with an
appropriate Erase command. Warning: Do not attempt to
write (program or erase) to a block that the code is cur-
rently fetching from. This will cause unpredictable pro-
gram behavior and may corrupt program data.
©2007 Silicon Storage Technology, Inc.
37
S71339-01-000
1/07
 

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]