SanDisk® Corporation general policy does not recommend the use of its products in life support applications where in a failure or
malfunction of the product may directly threaten life or injury. Per SanDisk Terms and Conditions of Sale, the user of SanDisk
products in life support applications assumes all risk of such use and indemnifies SanDisk against all damages.
The information in this manual is subject to change without notice.
SanDisk Corporation shall not be liable for technical or editorial errors or omissions contained herein; nor for incidental or
consequential damages resulting from the furnishing, performance, or use of this material.
All parts of the SanDisk documentation are protected by copyright law and all rights are reserved. This documentation may not,
in whole or in part, be copied, photocopied, reproduced, translated, or reduced to any electronic medium or machine readable form
without prior consent, in writing, from SanDisk Corporation.
SanDisk and the SanDisk logo are registered trademarks of SanDisk Corporation. SmartMedia is a trademark of Toshiba
Corporation.
Product names mentioned herein are for identification purposes only and may be trademarks and/or registered trademarks of
their respective companies.
SanDisk products are covered or licensed under one or more of the following U.S. Patent Nos. 5,070,032; 5,095,344; 5,168,465;
5,172,338; 5,198,380; 5,200,959; 5,268,318; 5,268,870; 5,272,669; 5,418,752; 5,602,987. Other U.S. and foreign patents
awarded and pending.
Lit. No. 80-36-00169 Rev. 1.1 6/01Printed in U.S.A.
Revision History
• Revision 1—initial release.
• Revision 1.1—corrected typo on memory cell array; changed from 128K to 64K, page 5.
5.14 Failure Phenomena for Program and Erase Operations................................................................41
5.15 Bad Block Test Flow............................................................................................................................ 42
The SanDisk SmartMedia Card (SDSM-32-101-01) is a 3.3-V 256-Mbit (276,824,064) NAND Electrically
Erasable and Programmable Read-Only Memory (NAND E
2
PROM) device, organized as 528 bytes X 32
pages X 2048 blocks. This device has a 528-byte static register which allows program and read data to be
transferred between the register and the memory cell array in 528-byte increments. The Erase operation is
implemented in a single block unit (16 Kbytes + 512 bytes: 528 bytes X 32 pages).
The SanDisk SmartMedia Card is a serial-type memory device which uses the I/O pins for both address
and data input and output as well as for command inputs. The Erase and Program operations are
automatically executed making the device ideal for applications such as solid-state file storage, voice
recording, image storage for digital cameras and other devices which require high-density non-volatile
memory data storage. The data stored in the SmartMedia Card needs to comply with the data format
standardized by the SSFDC Forum in order to maintain compatibility with other SmartMedia
TM
systems.
1.1Features
• Organization
-Memory cell array 528 × 64K × 8
-Data Register528 × 8
-Page size528 bytes
-Block size(16K + 512) bytes
•Modes
-Read, Reset, Auto Page Program
-Auto Block Erase, Status Read
• Mode control
-Serial Input/Output
-Command control
• Complies with the SmartMedia Electrical Specification and Data Format Specification issued by
SSFDC Forum (SmartMedia Card).
• Power Supply— V
• Access time
-Cell array to register10 µs max
-Serial Read Cycle50 ns min
• Operating current
-Read (50 ns cycle)10 mA typ.
-Program (avg.)10 mA typ.
-Erase (avg.) 10 mA typ.
-Standby100 µA max
•Package
- SDSM-32-101-01: SmartMedia Card (Weight: 1.8 g. typical)
The device is a serial access memory which utilizes time-sharing input of address information. The device
pinouts are configured as shown in Figure 3-1.
The CLE input signal is used to control loading of the operation mode command into the internal
command register. The command is latched into the command register from the I/O port on the rising
edge of the
Address Latch Enable: ALE
The ALE signal is used to control loading of either address information or input data into the internal
address/data register. Address information is latched on the rising edge of
Low, input data is latched.
signal while CLE is High.
WE
if ALE is High. If ALE is
WE
Chip Enable:
The device goes into a low-power Standby Mode when CE goes High during a Read operation. The
signal is ignored when the device is in the Busy state (
operation, and will not enter Standby Mode even if the
CE
= L), such as during a Program or Erase
R/B
CE
input goes High. The
CE
signal must stay
CE
Low during the Read Mode Busy state to ensure that memory array data is correctly transferred to the
data register.
Write Enable:
WE
The
Read Enable:
The RE signal controls serial data output. Data output will be valid when RE goes low after t
WE
signal is used to control the acquisition of data from the I/O port.
RE
REA
. The
internal column address counter is also incremented (Address = Address + l) on this falling edge.
I/O Port: I/OI to 8
The I/O1 to 8 pins are used as ports for transferring address, command and input/output data to and
from the device.
Write Protect:
WP
The WP signal is used to protect the device from accidental programming or erasing. The internal
voltage regulator is reset when
WP
is Low. This signal is usually used for protecting the data during the
power-on/off sequence when input signals are invalid.
Ready/Busy:
R/B
The
state (
R/B
R/B
output signal is used to indicate the operating condition of the device. The
R/B
signal is in Busy
= L) during the Program, Erase and Read operations and will return to Ready state (
R/B
= H)
after completion of the operation. The output buffer for this signal is an open drain.
Option Pin: OP
This pin has to be connected to GND.
Low Voltage Detect: LVD (SmartMedia Card only)
The LVD signal is used to detect the power supply voltage level.
The operation modes such as Program, Erase, Read and Reset are controlled by the eleven different
command operations shown in Table 3-3. Address input, command input and data input/output are
Read Mode (3) has the same timing as Read Modes (1) and (2) but is used to access information in the
extra 16-byte redundancy area of the page. Therefore, the start pointer is set to a value between byte 512
and byte 527.
This mode, Sequential Read (1) (2) (3), allows the sequential reading of pages without additional address
input.
Figure 4-4 Sequential Read (1) (2) (3) Operation
Sequential Read modes (1) and (2) output the contents of addresses 0 to 527 as shown above, while
Sequential Read mode (3) outputs the contents of the redundant address locations only. When the pointer
reaches the last address, the device continues to output the data from column address 0 (Read Modes (1)
and (2)) or column address 512 (Read Mode (3)) of the next page on the next
RE
clock signal.
4.5Status Read
The device automatically implements the execution and verification of the Program and Erase operations.
The Status Read function is used to monitor the Ready/Busy status of the device, determine the result
(pass /fail) of a Program or Erase operation, and determine whether the device is in Suspend or Protect
mode. The device status is output via the I/O port on the
resulting information is outlined in Table 4-1.
Table 4-1 Status Output Table
StatusOutput
I/O1Pass/FailPass: 0 Fail: 1
I/O2Not Used0
I/O3Not Used0
I/O4Not Used0
I/O5Not Used0
clock after a 70H command input. The
RE
The Pass/Fail status on I/O1 is only
valid when the device is in the Ready
state.
The SmartMedia Card carries out an Automatic Page Program operation when it receives a 10H Program
command after the address and data have been input. The sequence of command, address and data input
is shown below.
Figure 4-7 Auto Page Program Operation
4.7Auto Block Erase
The Auto Block Erase operation starts on the rising edge of
which follows the Erase Setup command 60H. This two-cycle process for Erase operations acts as an extra
layer of protection from accidental erasure of data due to external noise. The device automatically
executes the Erase and Verify operations.
The Reset mode stops all operations. For example, in the case of a Program or Erase operation the
internally generated voltage is discharged to 0 volts and the device enters Wait state. The address and
data registers are set as follows after a Reset:
• Address register: All “0”
• Data register: All “1”
• Operation Mode: Wait state
Figure 4-9 through 4-13 show the response to an FFH Reset command input during the various device
operations.
Figure 4-9 When a Reset Command (FFH) is Input During Programming
Figure 4-10 When a Reset Command (FFH) is Input During Erasing
Figure 4-11 When a Reset Command (FFH) is Input During a Read Operation
Figure 4-12 When a Status Read Command (70H) is Input After a Reset
Figure 4-13 When Two or More Reset Commands are Input in Succession
4.9ID Read
The SmartMedia Card contain ID codes which identify the device type and the manufacturer. The ID
codes can be read out under the following timing conditions:
The operation commands are listed in Table 3-3. Input of a command other than those specified in Table
3-3 is prohibited. Stored data may be corrupted if an unknown command is entered during the command
cycle.
5.2Pointer Control for 00H, 01H and 50H
The device has three Read modes which set the destination of the pointer. Table 5-1 shows the destination
of the pointer, and Figure 5-1 is a block diagram of their operations.
Table 5-1 Pointer Destination
Read ModeCommandPointer
(1)00H0 to 255
(2)01H256 to 511
(3)50H512 to 527
Figure 5-1 Pointer Control
The pointer is set to region A by the 00H command, to region B by the 01H command and to region C by
the 50H command. For example, the 00H command must be input to set the pointer back to region A
when the pointer is pointing to region C.
The device status can be read out by inputting the Status Read command 70H in Read mode. Once the
device has been set to Status Read mode by a 70H command, the device will not return to Read mode.
Therefore, a Status Read during a Read operation is prohibited.
However, when the Read command 00H is input during [A], Status mode is reset and the device returns
to Read mode. In this case, data output starts automatically from address N and address input is
unnecessary.
5.11Several Programming Cycles on the Same Page (Partial Page Program)
A page can be divided into up to 10 segments. Each segment can be programmed individually as follows:
Note:The input data for unprogrammed or previously programmed page segments must be “1” (i.e. the inputs for
all page bytes outside the segment which is to be programmed should be set to all “1”).
Figure 5-15 Partial Page Program
5.12Note Regarding the
The internal column address counter is incremented synchronously with the RE clock in Read Mode.
Therefore, once the device has been set to Read Mode by an 00H, 01H or 50H command, the internal
column address counter is incremented by the
clock input pulses start before the address input, and the pointer reaches the last column address, an
RE
internal read operation (array to register) will occur and the device will enter Busy state. (Refer to the
figure below.) Hence, the
Figure 5-16 Internal Read Operation (Array to Register)
RE
Signal
RE
clock independently of the address input timing. If the
The SmartMedia Card occasionally contains unusable blocks. Therefore, the following issues must be
recognized:
• Check to see whether the device has any bad blocks after installation into the system. Do not try
to access bad blocks. A bad block does not affect the performance of good blocks because it is
isolated from the bit line by the Select gate. The number of valid blocks is as follows:
5.14Failure Phenomena for Program and Erase Operations
The device may fail during a Program or Erase operation. The following possible failure modes should be
considered when implementing a highly reliable system.
Table 5-3 Failure Modes
Failure ModeDetection and Counter Measure Sequence
BlockErase Failure
PageProgramming Failure
Single
Bit*
Programming Failure
“1 to 0”
Status Read after Erase → Block Replacement
Status Read after Program → Block Replacement
(1) Block Verify after Program → Retry
(2) ECC
*: (1) or (2)
• ECC:Error Correction Code—Hamming code , etc. Example: 1-bit correction and 2-bit
detection.
• Block Replacement
Figure 5-18 Program Fail Block Replacement
• Erase Block Replacement—When an error occurs in an Erase operation, prevent future accesses to
this bad block (again by creating a table within the system or by using another appropriate
scheme).
Call SanDisk Applications Engineering at 408-542-0405 for technical support.
SanDisk Worldwide Web Site
Internet users can obtain technical support and product information along with SanDisk news and much
more from the SanDisk Worldwide Web Site, 24 hours a day, seven days a week. The SanDisk Worldwide
Web Site is frequently updated. Visit this site often to obtain the most up-to-date information on SanDisk
products and applications. The SanDisk Web Site URL is http://www.sandisk.com.
SanDisk warrants its products to be free of any defects in materials or workmanship that would prevent them from
functioning properly for one year from the date of purchase. This express warranty is extended by SanDisk
Corporation.
II. GENERAL PROVISIONS
This warranty sets forth the full extent of SanDisk’s responsibilities regarding the SanDisk SmartMedia Card. In
satisfaction of its obligations hereunder, SanDisk, at its sole option, will either repair, replace or refund the purchase
price of the product.
NOTWITHSTANDING ANYTHING ELSE IN THIS LIMITED WARRANTY OR OTHERWISE, THE EXPRESS
WARRANTIES AND OBLIGATIONS OF SELLER AS SET FORTH IN THIS LIMITED WARRANTY, ARE IN LIEU
OF, AND BUYER EXPRESSLY WAIVES ALL OTHER OBLIGATIONS, GUARANTIES AND WARRANTIES OF ANY
KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTY
OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR INFRINGEMENT, TOGETHER WITH
ANY LIABILITY OF SELLER UNDER ANY CONTRACT, NEGLIGENCE, STRICT LIABILITY OR OTHER LEGAL
OR EQUITABLE THEORY FOR LOSS OF USE, REVENUE, OR PROFIT OR OTHER INCIDENTAL OR
CONSEQUENTIAL DAMAGES, INCLUDING WITHOUT LIMITATION PHYSICAL INJURY OR DEATH,
PROPERTY DAMAGE, LOST DATA, OR COSTS OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY
OR SERVICES. IN NO EVENT SHALL THE SELLER BE LIABLE FOR DAMAGES IN EXCESS OF THE PURCHASE
PRICE OF THE PRODUCT, ARISING OUT OF THE USE OR INABILITY TO USE SUCH PRODUCT, TO THE FULL
EXTENT SUCH MAY BE DISCLAIMED BY LAW.
SanDisk’s products are not warranted to operate without failure. Accordingly, in any use of products in life support
systems or other applications where failure could cause injury or loss of life, the products should only be
incorporated in systems designed with appropriate redundancy, fault tolerant or back-up features.
III. WHAT THIS WARRANTY COVERS
For products found to be defective within one year of purchase, SanDisk will have the option of repairing or
replacing the defective product, if the following conditions are met:
A. The defective product is returned to SanDisk for failure analysis as soon as possible after the failure occurs.
B. An incident card filled out by the user, explaining the conditions of usage and the nature of the failure,
accompanies each returned defective product.
C. No evidence is found of abuse or operation of products not in accordance with the published specifications,
or of exceeding storage or maximum ratings or operating conditions.
All failing products returned to SanDisk under the provisions of this limited warranty shall be tested to the product’s
functional and performance specifications. Upon confirmation of failure, each product will be analyzed, by whatever
means necessary, to determine the root cause of failure. If the root cause of failure is found to be not covered by the
above provisions, then the product will be returned to the customer with a report indicating why the failure was not
covered under the warranty.
This warranty does not cover defects, malfunctions, performance failures or damages to the unit resulting from use in
other than its normal and customary manner, misuse, accident or neglect; or improper alterations or repairs.
SanDisk reserves the right to repair or replace, at its discretion, any product returned by its customers, even if such
product is not covered under warranty, but is under no obligation to do so.
SanDisk may, at its discretion, ship repaired or rebuilt products identified in the same way as new products,
provided such cards meet or exceed the same published specifications as new products. Concurrently, SanDisk also
reserves the right to market any products, whether new, repaired, or rebuilt, under different specifications and
product designations if such products do not meet the original product’s specifications.
According to SanDisk’s warranty procedure, defective product should be returned only with prior authorization
from SanDisk Corporation. Please contact SanDisk’s Customer Service department at 408-542-0595 with the following
information: product model number and description, nature of defect, conditions of use, proof of purchase and
purchase date. If approved, SanDisk will issue a Return Material Authorization or Product Repair Authorization
number. Ship the defective product to:
SanDisk Corporation
Attn: RMA Returns
(Reference RMA or PRA #)
140 Caspian Court
Sunnyvale, CA 94089
V. STATE LAW RIGHTS
SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL
DAMAGES, OR LIMITATION ON HOW LONG AN IMPLIED WARRANTY LASTS, SO THE ABOVE
LIMITATIONS OR EXCLUSIONS MAY NOT APPLY TO YOU. This warranty gives you specific rights and you may
also have other rights that vary from state to state.