DASF0014495
DASF0014495
DASF0014495
TC58NC344CF
1Chip Small Flash Disk Controller
OUTLINE
(*)
TC58NC344CF is a 1chip Small Flash Disk Controller which has PC Card ATA and IDE Interfaces. TC58NC344CF is
TM
1 chip small flash disk controller which can connect one 8M to 1G NAND Flash Memory and SmartMedia , and can
configure 1M to 128 Mbyte Flash Disk ATA, SmartMedia ATA Adapter and IDE Drives.
FEATURES
1. PC Card ’97 Standards compatibility
2. PC Card ATA/IDE Interfaces
3. Conforms 8M to 1 Gbit NAND type Flash Memory
TM
4. Conforms 1M to 128 Mbyte SmartMedia
TM
5. Conforms 4M to 128Mbyte Mask ROM SmartMedia
TM
6. Compatible with SSFDC Forum “SmartMedia Physical Format”
7. Write Protect Function
8. Conforms 8/16-bit Accesses
9. Embedded ECC Function
10. Automatic Power Down Function
11. 4 power modes (Sleep, Standby, Idle and Active)
12. Packaged Configuration which can generate PC Card Type I: 100-pin TQFP (Lead Pitch: 0.5 mm)
13. CMOS, Host Interface: 3.3/5 V, Flash Interface: 3.3/5 V, Internal: 3.3 V Power Source
NOTES
1. Confirm the comment in the box of bellow.
2. Be sure to refer to “Notes about SmartMedia Adapter” on page 13 of this document.
3. Recommend referring to an attached sheet “TC58NC344 reference design” ,when you design in.
TM
* SmartMedia is the registered trademark of TOSHIBA Corporation
• TOSHIBA is continually working to improve the quality and the reliability of its products. Nevertheless,
semiconductor devices in general can malfunction or fail due to their inherent electrical sensitivity and
vulnerability to physical stress. It is the responsibility of the buyer, when utilizing TOSHIBA products, to
observe standards of safety, and to avoid situations in which a malfunction or failure of a TOSHIBA
product could cause loss of human life, bodily injury or damage to property. In developing your designs,
please ensure that TOSHIBA products are used within specified operating ranges as set forth in the most
recent products specifications. Also, please keep in mind the precautions and conditions set forth in the
TOSHIBA Semiconductor Reliability Handbook.
• Please do not use this device in the following applications
- special applications such as military related equipment, nuclear reactor control, and aerospace.
- control devices for automotive vehicles, train, ship and traffic equipment
- safety system for disaster prevention and crime prevention
- medical related equipment including medical measurement devices.
TOSHIBA do not guarantee any liability for loss or damage caused by the use in these applications.
• The products described in this document are subject to foreign exchange and foreign trade laws.
• The information contained herein is presented only as a guide for the applications of our products. No
responsibility is assumed by TOSHIBA CORPORATION for any infringements of intellectual property or
other rights of the third parties which may result from its use. No license is granted by implication or
otherwise under any intellectual property or other rights of TOSHIBA CORPORATION or others.
• The information contained herein is subject to change without notice.
2001-03-25 1/91
TC58NC344CF
CONTENTS
[Notes]
1. This product is compatible with PC Card ’97 Standards.
TM
2. This product is standardized by SSFDC Forum and is compatible with the SmartMedia Physical Format
Specifications.
3. It is possible to use NAND Flash Memory compatible with Flash Interface.
4. The voltage level display depends on whether the signal is input or output.
5. “Hi-Z” used in this manual represents the high-impedance state.
6. This product is not supported 2-Drive Protocol.
VDD 1 H
VSS 0 L
2001-03-25 2/91
TC58NC344CF
Pin Assignment Table
The numerals indicated in the column of NOTES correspond to the definitions listed at the end of this table.
SYMBOL
NO. I/O NOTES
PC Card ATA IDE
1 VDD3.3 ←
2 VDD ←
3 B EEPROMSD 1
4 I IDEDIS VSS 2
5 O IOIS16 IOCS16 3
6 B D10 DD10 4
7 B D2 DD2 4
8 VSS ←
9 B D9 DD9 4
10 B D1 DD1 4
11 VSS ←
12 B D8 DD8 4
13 B D0 DD0 4
14 B STSCHG PDIAG 5
15 I A0 DA0 6
17 VSS ←
18 I BSYSEL VSS 2
19 O EEPROMSC 8
20 I A1 DA1 6
21 I REG 9
22 I A2 DA2 6
23 O INPACK 3
24 VDD ←
25 VDD3.3 ←
26 VSS ←
27 I A3 10
28 O WAIT IORDY 3
29 I A4 10
30 I RESET RESET 6
I : Input
O : Output
B : Bi-directional
2001-03-25 3/91
TC58NC344CF
SYMBOL
NO. I/O NOTES
PC Card ATA IDE
31 I A5 10
32 I A6 10
33 I CSEL ← 9
34 I A7 10
35 VSS ←
36 VSS ←
37 O IREQ INTRQ 3
38 I WE 11
39 I A8 10
40 I IOWR DIOW 11
41 I A9 10
42 I IORD DIOR 11
43 I OE SELATA (VSS) 11
44 I CE2 CS1 9
45 I A10 10
46 VDD ←
47 B D15 DD15 4
48 I CE1 CS0 9
49 B D7 DD7 4
50 VSS ←
51 VDD3.3 ←
52 VDD ←
53 B D14 DD14 4
54 B D6 DD6 4
55 VSS ←
56 B D13 DD13 4
57 B D5 DD5 4
58 VSS ←
59 B D12 DD12 4
60 B D4 DD4 4
2001-03-25 4/91
TC58NC344CF
SYMBOL
NO. I/O NOTES
PC Card ATA IDE
61 VSS ←
62 B D11 DD11 4
63 B D3 DD3 4
64 I PONRST ← 12
65
66
67 I PWRDWN ← 13
68 I VSENSE ← 13
69 B FDB4 ← 14
70 B FDB5 ← 14
71 B FDB3 ← 14
72 B FDB6 ← 14
73
74 VDD ←
75 VDD3.3 ←
76 VSS ←
77 B FDB2 ← 14
78 B FDB7 ← 14
79 B FDB1 ← 14
80 B FDB0 ← 14
81 O FWP ← 15
82 I FBSY ← 16
83 O FWE ← 15
84 O FRE ← 15
85 O FALE ← 15
86 O FCE ← 15
87 O FCLE ← 15
88 I WPIN ← 13
89 O VENO ← 15
90 VSS ←
2001-03-25 5/91
TC58NC344CF
SYMBOL
NO. I/O NOTES
PC Card ATA IDE
91 VSS ←
92
93
94
95 O VEN1 ← 15
96 O OCTL ← 15
97 O OUTCLK ← 15
98 I MCLK ← 16
99 I RMCLK ← 16
100 VSS ←
NOTES
4 5 V Full Swing I/O Buffer (TTL Input: CMOS Output: IOL = 6 mA) with Pull-Down Resister
5 5 V Full Swing I/O Buffer (TTL Input: CMOS Output: IOL = 6 mA)
7 5 V Full Swing I/O Buffer (CMOS Schmitt Input: CMOS Output: Low Noise: IOL = 18 mA)
11 5 V Full Swing Input Buffer (TTL Schmitt Input) with Pull-Up Resister
2001-03-25 6/91
TC58NC344CF
Pin Descriptions
Host Interface
Host pins which change the functions in the IDE Mode are described in brackets [ ].
VDD 2, 24, 46, 52, 74 POWER SUPPLY This is a power supply. (All must be connected to the power
supply 3.3 V ± 0.3 V or 5.0 ± 0.5 V)
VDD3.3 1, 25, 51, 75 POWER SUPPLY This is a power supply. (All must be connected to the power
supply 3.3 V ± 0.3 V)
VSS 8, 11, 17, 26, 35, GROUND This is a ground. (All must be connected to the ground)
36, 50, 55, 58, 61,
76, 90, 91, 100
RESET 30 I CARD RESET This is a reset. When this is set to 1, all the internal conditions
[ RESET ] [DRIVE RESET] including FCR are initialized. Note that, in IDE Mode, the
polarity is inverted and the initialization takes place when this
signal is 0.
2001-03-25 7/91
TC58NC344CF
D15~D0 6, 7, 9, 10, 12, 13, B DATA BUS This is a 16-bit wide (2-byte) data bus. The MSB is D15; the
[DD15~DD0] 47, 49, 53, 54, 56, [DRIVE DATA LSB is D0. Normally, this bus is in input state and it becomes
57, 59, 60, 62, 63 BUS] in output state only when the host reads data.
(With the Pull-down Resister)
A10~A0 15, 20, 22, 27, 29, I ADDRESS BUS This is an address bus. The MSB is A10; the LSB is A0. In
[DA2~DA0] 31, 32, 34, 39, 41, [DRIVE TC58NC344, the maximum address lines are 11 and the
45 ADDRESS BUS] number of decodes vary with the mode. A0 is invalid in
accessing words. In IDE Mode, only the lower 3 bits are used
and the upper 8 bits are open.
(The upper 8 bits have the Pull-down Resister)
REG 21 I ATTRIBUTE When this is set to 1, the I/O space can be accessed with
MEMORY OE and WE in Memory Mapped Mode. When REG is set
SELECT to 0, CIS and FCR can be accessed with OE and WE . The
I/O space can be accessed with IORD and IOWR in
Independent I/O, Primary and Secondary Modes. In IDE
Mode, this signal is open.
(With the Pull-up Resister)
CE1 48 I CARD ENABLE 1 In PC Card Mode, this must be set to 0 when the host
[ CS0 ] [DRIVE CHIP accesses to TC58NC344 via D7~D0. In IDE Mode, this is
SELECT 0] the selection signal for the Command Block Register.(With the
Pull-up Resister)
CE2 44 I CARD ENABLE 2 In PC Card Mode, this must be set to 0 when the host
[ CS1 ] [DRIVE CHIP accesses to TC58NC344 via D15~D8. The host can only
SELECT 1] access odd addresses via D15~D8 regardless of A0. In IDE
Mode, this is the selection signal for the Control Block
Register.
(With the Pull-up Resister)
OE 43 I OUTPUT This pin is used to read the I/O space in CIS, FCR and
[ SELATA ] ENABLE Memory Mapped Modes. This pin must not be active in the
[SELECT ATA] write operation. It changes to PC Card ATA Mode in case this
pin is set to 1 and to IDE Mode in case this pin is set to 0
during the PONRST star-up. In using only in IDE Mode,
please connect this signal to VSS.
(With the Pull-up Resister)
2001-03-25 8/91
TC58NC344CF
WE 38 I WRITE ENABLE This pin is used to write into the I/O space in FCR and
Memory Mapped Modes. In IDE Mode, this signal is open.
(With the Pull-up Resister)
IORD 42 I I/O READ This is used to read the I/O space in Independent I/O, Primary
[ DIOR ] [DRIVE I/O and Secondary Modes. This signal is invalid in any other
READ] modes.
(With the Pull-up Resister)
IOWR 40 I I/O WRITE This is used to write into the I/O space in Independent I/O,
[ DIOW ] [DRIVE I/O Primary and Secondary Modes. This signal is invalid in any
WRITE] other modes.
(With the Pull-up Resister)
IOIS16 5 O I/O IS 16 bits In Independent I/O Mode, In Primary and Secondary Modes, it
(WP) PORT outputs L when the data bus has the address which allows the
[ IOCS16 ] (WRITE 16-bit access. Normally, all the I/O registers are allowed of the
PROTECT) 16-bit access, however it outputs H only in case that 4-byte
[DRIVE 16-bit I/O] ECC is read out when the host reads continuously the data
register by using the Long Commands.
When the Memory Card Interface is used, this signal outputs
the input of WPIN pin with the logic unchanged in WP. In IDE
Mode, it normally outputs “Hi-Z”. It is an open-drain system
which outputs L only when the host accesses the data
register.
IREQ 37 O INTERRUPT This is an interrupt request when the I/O Card Interface is
(READY) REQUEST used and it outputs its signal in two ways. The setting can be
[INTRQ] (READY) changed by using the LevIREQ (D6) bit of the Configuration
[DRIVE Option Register in FCR. When this bit is 1, IREQ is in Level
INTERRUPT] Mode and when this bit is 0, it is in Pulse Mode. Right after the
reset, this bit is in Level Mode. When the Memory Card
Interface is used, this signal provides the RDY/BSY functions.
It outputs L when the BSY (D7) bit of the ATA Status Register
is 1 or by the PWRDWN bit of the Card Configuration and
Status Register in FCR. RDY/BSY is supplied in two ways.
These settings are changeable by using the BSYSEL signal.
1. It outputs L when the PWRDWN bit is set or reset, it returns
to H after the internal processing. However, it does not
output L since the internal processing is very short.
2. It outputs L when the PWRDWN bit is set. Note that in IDE
Mode, this signal becomes INTRQ and the polarity is
inverted so an interrupt occurs in H.
INPACK 23 O INPUT PORT It outputs L only when CE1 (or CE2 ) and IORD are 0 and
ACKNOWLEDGE the address on the address bus matches the I/O space. This
signal outputs “Hi-Z” when the Memory Card Interface is used.
In IDE Mode, this signal is open.
2001-03-25 9/91
TC58NC344CF
STSCHG 14 B STATUS Basically, this is an output signal when a change occurs in the
CHANGED status of the interior of the controller (RDY/BSY status, Write
Protect status and the status of the battery voltage).
However, it always outputs H because a change does not
occur in the flash memory device which uses TC58NC344 or
SmartMedia Adapter Card.
[ PDIAG ] [PASSED This is asserted to inform Drive 0 that the self diagnosis of
DIAGNOSTICS] Drive 1 has been completed in IDE Mode. Drive 1 negates
this signal within 1 msec after the Power-on Reset, Software
Reset or Hardware Reset. Then, Drive 1 performs the self
diagnosis, prepares the status information and asserts this
signal within 30 sec. When the valid Executive Drive
Diagnostic Command is received, the Drive1 negates within
1msec to inform the Drive0 that the self diagnosis of Drive1 is
being performed. The Drive0 waits for the Drive1 to assert
for 5sec. The drive1 asserts this pin after clearing BSY, then
informs the Drive0 that the diagnosis has been completed and
the status information is prepared.
LOGICH 16 B LOGIC HIGH This signal is an output which is fixed to H because its
( SPKR ) (AUDIO DIGITAL function is not supported.
WAVE FORM)
[ DASP (LED) ] DRIVE ACTIVE This is a signal which indicates the existence of Drive1 or the
active status of Drive in IDE mode. This signal must be
asserted by the Drive1 within 400 msec to indicate that the
Drive1 exists after the initialization during the power-on or
cancellation of the RESET signal. Drive0 waits for the the
Drive1 to assert this signal for 450 msec and if the Drive1
does not perform the assertion, the Drive0 asserts to indicate
that the drive is active. Drive1 is negated, in case of no
access for 31 sec or in case a first valid command is recieved.
After that, a drive in an active state performs an assertion. If
the DASP signal is not asserted in initializing after the reset (if
Drive1 does not exist), Drive0 clears the Drive1 Status
Register to “00h” after completing its self diagnosis.
WAIT 28 O EXTEND BUS It always outputs H because TC58NC344 never asserts the
[IORDY] CYCLE WAIT in PC Card mode. In IDE mode, it goes into “Hi-z”
[I/O CHANNEL state because it is always possible to respond.
READY]
CSEL 33 I CABLE SELECT This pin is a signal in IDE mode and a selection pin for the
drive number. When the PONRST signal, the RESET
signal or the SRESET “D7” bit of the FCR Configuration
Option Register is released, Drive 0 is selected when the input
is 0, Drive 1 is selected when it is H or “OPEN”.
(With the Pull-up Resister)
2001-03-25 10/91
TC58NC344CF
Flash Memory Interface
FD7~FD0 69~72, 77~80 B FLASH This is the bus for both the addresses and data to the Flash
DATA BUS Memory. The addresses and data (including commands) are
distinguished by using FALE and FCLE. When the Flash
Memory is not accessed or during the reset period, this bus
outputs L in Output state in order to avoid “Hi-Z”.
(With the Pull-down Resister)
FCE 86 O FLASH This is a Flash Memory Chip Enable (L). It outputs H during
CHIP ENABLE the reset period.
FCLE 87 O FLASH This is a Command Latch Enable to the Flash Memory chips.
COMMAND It outputs H when the commands are output to the FD bus.
LATCH ENABLE It outputs L during the reset period.
FALE 85 O FLASH This is an Address Latch Enable to the Flash Memory chips.
ADDRESS It outputs H when the addresses are output to the FD bus.
LATCH ENABLE It outputs L during the reset period.
FRE 84 O FLASH This is a Read Enable to the Flash Memory chips. It outputs L
READ ENABLE in reading data from the FD bus. It outputs H during the reset
period.
FWE 83 O FLASH This is a Write Enable to the Flash Memory chips. It outputs L
WRITE ENABLE in writing into the FD bus. It outputs H during the reset period.
FBSY 82 I FLASH BUSY This is a Ready/Busy Input from the Flash Memory chips.
The input of 0 indicates Busy and the input of 1 indicates
Ready. Please connect the Ready/Busy Output from the Flash
Memory chips to this pin via the Pull-up Resister.
FWP 81 O FLASH This is a Write Protect for the Flash memory chips. The write
WRITE protect is performed when the Flash Memory is not accessed.
PROTECT It outputs L during the reset period.
EEPROM Interface
2001-03-25 11/91
TC58NC344CF
Others
WPIN 88 I WRITE This is a Write Protect Input. If the input is 1, the write
PROTECT INPUT commands from the host are aborted. The input state is
reflected in the IOIS16 (WP) pin and the RWProt “D0” bit of
FCR Pin Replacement Register and it outputs the input logic.
PWRDWN 67 I POWER DOWN This is a Self Power-down Setup pin in TC58NC344. If this
SELECTION signal is set to 0 and an oscillator with an oscillation control
INPUT function is used, the OCTL pin becomes active automatically 5
msec after the command is finished, the clock input becomes
invalid and it shifts to Power-down Mode. Commands can be
accepted during the power-down period. If this signal is 1, it
shifts to Power-down Mode only by the ATA commands of the
power-down system such as Standby and Idle.
MCLK 98 I MASTER CLOCK This is a Supply Master Clock to the interior logic of
INPUT TC58NC344CF. Please connect it to OUTCLK.
OUTCLK 97 O OUT CLOCK This is a Clock Output after the oscillation becomes stabilized.
Please connect it to MCLK.
BSYSEL 18 I BUSY SELECT This is a RDY/BSY function selection signal in the Memory
INPUT Interface. When this signal is 1, the RDY/BSY signal outputs L
only when the PwrDwn bit is set or reset. It returns to H after
the internal processing. It does not output L since the internal
processing is very short. If this signal is 0, the RDY/BSY
signal outputs L while the PwrDwn bit is set. In IDE Mode,
please connect it to the ground.
VSENSE 68 I VOLTAGE This pin detects the SmartMedia voltage which is connected.
SENSE INPUT It receives the VSENSE input value right after the reset is
released and it outputs to VEN0, 1. Also, if the VSENSE input
value changes while it is active, the output value of VEN0, 1
changes as well.
2001-03-25 12/91
TC58NC344CF
VEN0 89 O VOLTAGE This pin reports the SmartMedia voltage which is connected
ENABLE 0 by the input of the VSENSE pin. Please refer to the following
OUTPUT table for details.
VEN1 95 O VOLTAGE This pin reports the SmartMedia voltage which is connected
ENABLE 1 by the input of the VSENSE pin. Please refer to the following
OUTPUT table for details.
IDEDIS 4 I IDE DISABLE This is an IDE Mode Mask Selection. If this signal is 1, IDE is
unusable. If it is 0, IDE is in usable state.
SmartMedia
PONRST RESET VEN0 VEN1 Comment
17 pin
0 * * 0 1 3.3 V
* 1 * 0 1 3.3 V
1 0 0 1 0 5V
1 0 1 0 1 3.3 V
Notes:
1. RESET: Please add 0.022 µF Capacitor between this pin and GND to keep the compatibility of PC Card Interface.
Please add 100 kΩ Pull-up Resistor to this pin.
*Notes concerning SmartMedia Adapter
In connecting SmartMedia into the connector, if SmartMedia is in moving state, a chattering might occur in the
part where the connector touches the SmartMedia. So, until the SmartMedia is inserted completely into the
connector and the connection becomes stable, please reset TC58NC344 and refrain from accessing to
SmartMedia. In this case, it is recommended to reset for at least 200 msec, if possible for 500 msec after the
11 pins of the SmartMedia touches the connector of SmartMedia.
It is not until either XPONRST or RESET pin is absolved and it takes 1024μs cycle that TC58NC344 should
send command to Flash Memory first, That's why you should keep stability of power supply for flash memory
during this term.
2. XCE1: In the case of occurring the noise on this pin by the cross talk of Data bus simultaneous switching, please add
100 pF Capacitor between this pin and GND.
3. XCE2: In the case of occurring the noise on this pin by the cross talk of Data bus simultaneous switching, please add
100 pF Capacitor between this pin and GND.
4. XPDIAG: Need to connect 10 KΩ pull-up resister to this pin due to keeping compatibility with IDE interface.
5. XDASP: Need to connect 10 KΩ pull-up resister to this pin due to keeping compatibility with IDE interface.
6. WPIN: Please pull down the connector of SmartMedia write protect output pin by using approximately 100 KΩ and
connect it to this pin.
7. RMCLK: Please pull up the oscillation output signal from the oscillator by using 100 KΩ and connect it to this input.
8. VSENSE: Please pull down the 17-pin of SmartMedia by using 100 KΩ and connect it to this pin.
9. XPONRST: Please use a 2.9V voltage detector with a delay circuit of 200 to 500 msec before the power-on reset
signal is sent to this pin.
2001-03-25 13/91
TC58NC344CF
Functional Description
1. Interface Outline
TC58NC344 has the following three kinds of interfaces.
* Host Interface
* Flash Interface
* EEPROM Interface
The System Configuration Examples are described in Clause 2, Detailed Host Interfaces are described in Clause 3.
3.3 / 5V
[SmartMedia ATA Adapter]
3.3V
VCC from Host DC/DC DC/DC 5V
3.3/5 V→3.3 V 3.3 V→5 V
5V
3.3 V Voltage
Switch
VDD3.3 To VCC of SmartMedia
VDD
Voltage
Detector
PC Card ATA/IDE Interface SmartMedia Interface
TC58NC344
SmartMedia Connector
Crystal Oscillator
2
E PROM
Ceramic Resonator
(Option)
CD1 , CD2
PC Card Connector
3.3 V
Flash Bus
Crystal Oscillator
2
E PROM
Ceramic Resonator
PC Card Connector
2001-03-25 14/91
TC58NC344CF
3. Host Interfaces
TC58NC344 corresponds to the following three interfaces as host interfaces; PC Card (Memory and ATA) Interfaces
and IDE Interface. The PC Card ATA Interface supports four I/O modes (Memory Mapped I/O, Independent I/O, Primary
and Secondary). In addition, the PC Card Interfaces have a memory space called Attribute Memory which can configure
TC58NC344 by using a software.
(All the items marked by asterisks “*” in the table below mean “Do not Care”.)
4. PC Card Interfaces
Address Map
<Attribute Memory Space>
Attribute Memory contains CIS (Card Information Structure) which helps the host to recognize a kind of functions
connected to TC58NC344. It also contains FCR (Function Configuration Register) to perform the configurations. The
Attribute Memory can be accessed in Memory Interface state and also after it is configured as I/O Interface. The
procedures for accessing Attribute Memory Registers and their addresses are described below.
Standby Mode * 1 1 * * * * *
0 1 0 0 1 0 * Even byte
Byte Access (8 Bits)
0 1 0 1 1 0 * *
2001-03-25 15/91
TC58NC344CF
* 1 * * * Standby Invalid
0 0 1 0
200h Configuration Option Register R/W
0 0 0 1
0 0 1 0
202h Card Configuration and Status Register R/W
0 0 0 1
0 0 1 0
204h Pin Replacement Register R
0 0 0 1
0 0 1 0
206h Socket and Copy Register R/W
0 0 0 1
0 0 1 0
208h Extended Status Register R/W
0 0 0 1
0 0 1 0
20Ah I/O Base 0 R/W
0 0 0 1
0 0 1 0
20Ch I/O Base 1 R/W
0 0 0 1
0 0 1 0
20Eh I/O Base 2 R/W
0 0 0 1
0 0 1 0
210h I/O Base 3 R/W
0 0 0 1
0 0 1 0
212h I/O Limit R/W
0 0 0 1
0 0 1 0
214h Power Management Register R/W
0 0 0 1
2001-03-25 16/91
TC58NC344CF
Standby Mode * 1 1 * * * * *
1 1 0 0 1 0 * Even byte
Byte Access (8 Bits)
1 1 0 1 1 0 * Odd byte
2001-03-25 17/91
TC58NC344CF
<I/O Space>
Standby Mode * 1 1 * * * * *
0 1 0 0 1 0 * Even byte
Byte Access (8 Bits)
0 1 0 1 1 0 * Odd byte
I/O Inhibit 1 * * * 1 0 * *
2001-03-25 18/91
TC58NC344CF
1 1 0 * 0 0 0 1 Error Feature
Sector Sector
1 3 0 * 0 0 1 1
Number Number
Cylinder Cylinder
1 5 0 * 0 1 0 1
High High
1 6 0 * 0 1 1 0 Drive/Head Drive/Head
1 7 0 * 0 1 1 1 Status Command
Duplicate Duplicate
1 8 0 * 1 0 0 0 Even Read Even Write
Data(*) Data(*)
Duplicate Duplicate
1 9 0 * 1 0 0 1 Odd Read Odd Write
Data(*) Data(*)
Duplicate Duplicate
1 D 0 * 1 1 0 1
Error Feature
Alternate Device
1 E 0 * 1 1 1 0
Status Control
Drive
1 F 0 * 1 1 1 1 Reserved
Address
2001-03-25 19/91
TC58NC344CF
0 1 * * 0 0 0 1 Error Feature
Sector Sector
0 3 * * 0 0 1 1
Number Number
Cylinder Cylinder
0 5 * * 0 1 0 1
High High
0 6 * * 0 1 1 0 Drive/Head Drive/Head
0 7 * * 0 1 1 1 Status Command
Duplicate Duplicate
0 8 * * 1 0 0 0 Even Read Even Write
Data(*) Data(*)
Duplicate Duplicate
0 9 * * 1 0 0 1 Odd Read Odd Write
Data(*) Data(*)
Duplicate Duplicate
0 D * * 1 1 0 1
Error Feature
Alternate Device
0 E * * 1 1 1 0
Status Control
Drive
0 F * * 1 1 1 1 Reserved
Address
2001-03-25 20/91
TC58NC344CF
A9~A4
REG A10 IORD = 0 IOWR = 0
Primary Secondary A3 A2 A1 A0
Sector Sector
0 * 1Fxh 17xh 0 0 1 1
Number Number
Cylinder Cylinder
0 * 1Fxh 17xh 0 1 0 1
High High
Alternate Device
0 * 3Fxh 37xh 0 1 1 0
Status Control
Drive
0 * 3Fxh 37xh 0 1 1 1 Reserved
Address
2001-03-25 21/91
TC58NC344CF
5. IDE Interface
Address Map
IDE Interface has no Attribute Memory (CIS and FCRs) spaces unlike PC Card Interface and is controlled only by
ATA Registers.
0 1 0 0 0 Data Data
0 1 0 0 1 Error Features
0 1 1 1 0 Drive/Head Drive/Head
0 1 1 1 1 Status Command
0 0 * * * Invalid Invalid
2001-03-25 22/91
TC58NC344CF
Register Details
Attribute Memory Space and I/O Space Registers are described below respectively.
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 1 0 0 0 0 0 0
Read/Write R/W
SRESET: This bit resets PC Card Software. It has the same functions as the Power-on Reset and Hardware Reset except for the
fact that this bit will not be reset.
1: Reset State 0: Reset Canceled
LevIREQ: This bit is the mode selection signal of the interrupt signal to the IREQ pin.
1: Level Mode (default) 0: Pulse Mode
0 0 0 0 0 1 Independent I/O
Primary I/O
0 0 0 0 1 0
1F0~1F7/3F0~3F7
Secondary I/O
0 0 0 0 1 1
170~177/370~377
2001-03-25 23/91
TC58NC344CF
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 0 0 0 0
Changed: This bit is fixed to “0” in TC58NC344, because the change defined by the PC Card Standard will not occur.
The case the D7 to D4 bits of the Pin Replacement Register change to “1”.
(In TC58NC344, the above bits are fixed to “0”.)
The case the bits of the Extended Status Register change to “1”.
Since the function is for the Modem Card, no change will occur in the Flash Memory Card which uses TC58NC344.
SigChg: This bit is fixed to “0” in TC58NC344 because there will be no change like the one Changed is subject to.
IOIs8: This bit indicates the data bus width of the host interface.
1: 8-bits width 0: 16-bits width (default)
This bit can not be changed by executing the ATA Set Feature command.
This bit is not interlocked with the IOIS16 pin.
Intr: This bit is interlocked with the operation of the IREQ pin. However, this bit operates in Level Mode even when in Pulse
Mode.
H: IREQ = L L: IREQ = H
IntrAck: This bit enables R/W Operations of the Intr bit. It is fixed to 0.
0: Intr = Read Only 1: Intr = Read/Write enabled
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 1 1 1 0
D7-D4: These bits are fixed to “0” in TC58NC344 because there will be no change like the one PC Card Standard is subject to
during operation.
RWProt: This bit outputs the input logic of the WPIN signal.
This pin does not change after the power-on. Please do not change it, either.
0: No Write Protect 1: Write Protect
2001-03-25 24/91
TC58NC344CF
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 0 0 0 0
Read/Write R/W
Copy Number: These bits indicate the number of drive. When the same functionable cards are connected to the host, the host
writes the data indicating card number into these bits. These bits are compared with D4 bit “DRV” of ATA Drive/Head Register, and if
the values do not match, TC58NC344 does not correspond to the access.
Drive 0: 000B = (D6, D5, D4) B
Drive 1: 001B = (D6, D5, D4) B
Socket Number: The data which indicates the controller is connected to what number of host socket are written into these bits.
There is no effect on the TC58NC344 operation.
Address D7 D6 D5 D4 D3 D2 D1 D0
ReqAttn
208h Event 3 Event 2 Event 1 ReqAttn Enable 3 Enable 2 Enable 1
Enable
Initial Value 0 0 0 0 0 0 0 0
Read/Write R/W
This register is a Read/Write Enable Register which exists to maintain the compatibility. There is no effect on the TC58NC344
operation.
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 0 0 0 0
Read/Write R/W
This register is a Read/Write Enable Register which exists to maintain the compatibility. There is no effect on the TC58NC344
operation.
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 0 0 0 0
Read/Write R/W
This register is a Read/Write Enable Register which exists to maintain the compatibility. There is no effect on the TC58NC344
operation.
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 0 0 0 0
Read/Write R/W
This register is a Read/Write Enable Register which exists to maintain the compatibility. There is no effect on the TC58NC344
operation.
2001-03-25 25/91
TC58NC344CF
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 0 0 0 0
Read/Write R/W
This register is a Read/Write Enable Register which exists to maintain the compatibility. There is no effect on the TC58NC344
operation.
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 0 0 0 0
Read/Write R/W
This register is a Read/Write Enable Register which exists to maintain the compatibility. There is no effect on the TC58NC344
operation.
Address D7 D6 D5 D4 D3 D2 D1 D0
Begin/
Save/ Stored
Status Done
214h RFU (0) RFU (0) RFU (0) RFU (0) Restore State
Restored State
State Exists
Operation
Initial Value 0 0 0 0 0 0 0 0
State Restored: If the Begin/Done State Operation bit is set when the Save/Restore State is set, this bit is set to 1.
After reading this register, it is cleared to 0.
Begin/Done State Operation: In reading, this is fixed to 0. Once this bit is set, the State Restored bit gets set.
2001-03-25 26/91
TC58NC344CF
<ATA Registers>
[Data Register]
Data Word
Data byte
Read/Write R/W
This 16-bits register is used to transfer data between ATA Data Buffer in TC58NC344 and the host. This enables both Word Access
and byte Access.
The data bus operates differently at 8-bits and 16-bits width. At 8-bit width, the bus allows an alternate output of odd and even data,
whereas it allows an output of only even data at 16-bits width.
[Error Register]
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 0 0 0 1
Read/Write R
This register stores the additional data regarding the cause of errors occur in processing destination codes. The host must check
this register when the D0 bit “ERR” in ATA Status Register is set to H. A diagnostic code is set in this register after the Power On
Reset or the execution of the ATA Execute Drive Diagnostic command. BBK, TKNOF and AMNF were not designed for reporting the
information on errors, but for displaying error codes for the ATA Execute Drive Diagnostic command.
(See the following table for details.)
BBK (Bad Block Detected): Indicates that a bad block mark was detected in the sector ID.
It is fixed to L in TC58NC344.
UNC (Uncorrectable Data Error): Indicates that an uncorrectable error was detected.
MC (Media Changed): Indicates that there was a change in the status of a removable media.
IDNF (ID Not Found): Indicates that the requested ID could not be found.
MCR (Media Change Requested): Indicates that the release latch of a removable media drive was pressed.
It is fixed to L in TC58NC344.
ABRT (Aborted Command): Indicates that the requested command was aborted.
TKN0F (Track 0 Not Found): Indicates that the track 0 could not be found in the execution of the ATA Recalibrate command.
AMNF (Address Mark Not Found): Indicates that the data address could not be found after locating the correct ID.
2001-03-25 27/91
TC58NC344CF
[Feature Register]
Address D7 D6 D5 D4 D3 D2 D1 D0
Feature byte
Read/Write W
This register adds special functions to ATA commands and is used to enable and disable the host interface. It exists just to maintain
the compatibility in TC58NC344 and does not affect the TC58NC344 operation.
Address D7 D6 D5 D4 D3 D2 D1 D0
Sector Count
Initial Value 0 0 0 0 0 0 0 1
Read/Write R/W
In this register, the host writes the sector count of data for which a transfer request has been made to perform Read and Write
operations by ATA command between the host and TC58NC344. The register value of 0h (All 0) indicates the sector count of 256.
The register value being 0h after the ATA command execution means the command has ended normally. If the command does not
end normally, the sector count that must be transferred to complete the request from the host is designated in this register. (The
remaining sector count that has not been transferred is designated.) Right after the Power-on Reset, this register is “00h”. It
becomes “01h” after the initialization process of TC58NC344.
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 0 0 0 1
Read/Write R/W
The host writes the first sector number which is to be used in CHS Mode in this register. After the ATA command execution, the host
can read the last sector number in this register. When LBA Mode is selected, the host designates the Logical Block Number bits A07
to A00. After the ATA command execution, the host can read the Logical Block Number from this register. Right after the Power-on
Reset, this register is “00h”. It becomes “01h” after the initialization process of TC58NC344.
2001-03-25 28/91
TC58NC344CF
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 0 0 0 0
Read/Write R/W
The host writes the low byte of the first cylinder number which is to be used in CHS Mode in this register. After the ATA command
execution, the host can read the low byte of the last cylinder number from this register. When LBA Mode is selected, the host
designates the Logical Block Number bits A15 to A08. After the ATA command execution, the host can read the Logical Block
Number from this register.
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 0 0 0 0
Read/Write R/W
The host writes the high byte of the first cylinder number which is to be used in CHS Mode in this register. After the ATA command
execution, the host can read the high byte of the last cylinder number. When LBA is selected, the host designates the Logical Block
Number bits A23 to A16. After the ATA command execution, the host can read the Logical Block Number from this register.
[Drive/Head Register]
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 1 0 1 0 0 0 0 0
Read/Write R/W
This register is used to designate a drive among one pair of drives sharing a pair of registers.
LBA (Logical Block Address): This bit is used to select between CHS Mode and LBA Mode.
0: CHS Addressing Mode 1: LBA Addressing Mode
DRV (Drive Address): The drive number selected by the host is written into this bit.
0: Drive0 (Card0) 1: Drive1(Card1)
This bit affects nDS1 and nDS0 of the ATA Drive Address Register.
HS3~HS0: Indicates the bits 3 to 0 of the head number in CHS Addressing Mode.
LBA27~LBA24: Indicates the Logical Block Number bits 27 to 24 in LBA Addressing Mode.
2001-03-25 29/91
TC58NC344CF
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 0 0 0 0
Read/Write R
This register reports the TC58NC344 status when it receives the read instructions from the host. An interrupt ( IREQ ) is not cleared
after the register has been read.
BSY (Busy): This bit indicates that TC58NC344 is in busy state. It is always set to H when an access is made to
the ATA Command Register.
DRDY (Drive Ready): When this bit is set to H, TC58NC344 is ready to respond to the ATA commands. If an error occurs,
this bit is latched and continues to be latched until the host reads this register. When this register is
read, this bit indicates the present TC58NC344 status. At Power-on, this bit is cleared to L and stays
in this state until it gets ready to receive the ATA commands again.
DWF (Drive Write Fault): This bit indicates the current Write Fault status. It is fixed to L.
DSC (Drive Seek Complete): This bit indicates that the head has been positioned on a track. However, since TC58NC344 does not
have a head, it is normally H. It is L during the initial startup.
DRQ (Data Request): This bit indicates either Word Data or byte Data is ready to be transferred between the host and
TC58NC344.
ERR (Error): This bit indicates that an error occurred in the execution of the previous ATA command. The
information regarding the cause of an error is showed in ATA Error Register.
[Status Register]
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 0 0 0 0
Read/Write R
This register reports the TC58NC344 status when it receives the read instruction from the host. When this register is read, the
interrupt ( IREQ ) is cleared. Refer to ATA Alternate Status Register for details.
2001-03-25 30/91
TC58NC344CF
Address D7 D6 D5 D4 D3 D2 D1 D0
1 SRST nIEN 0
Read/Write W
This register is used to control the interrupt requests of TC58NC344 and indicate ATA Software Reset to TC58NC344.
SRST (Software Reset): This bit resets the ATA Software. When this bit is set to 1, the reset status is maintained. When it is cleared
to 0, the reset is canceled.
nIEN (Interrupt Enable): This bit can be ignored while TC58NC344 is set by the Memory Mapped I/O. While this bit is set to 1, the
interrupts of TC58NC344 are inhibited.
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 1 1 1 1 1 0
Read/Write R
This register is for maintaining the compatibility with the ATA Disk Drive Interface.
nWTG (Write Gate): This bit is cleared to L if the write process is in progress, otherwise it is set to H. If this bit is cleared to L,
the host must not change the voltage supplied to TC58NC344.
nHS3~nHS0: This bit selects the head. This is the highlight signal of the ATA Drive/Head Register D3 to D0 bits
“HS3~HS0”.
nDS1: This bit is the Drive 1 selection bit. When the DRV bit of Drive/Head Register is 1, this bit is 0.
nDS0: This bit is the Drive 0 selection bit. When the DRV bit of Drive/Head Register is 0, this bit is 0.
[Command Register]
Address D7 D6 D5 D4 D3 D2 D1 D0
Command
Read/Write W
When a command is written to this register, the drive number of the Socket and Copy Register and the DRV bit of the Drive/Head
Register are compared, and only when they match, the command gets executed.
2001-03-25 31/91
TC58NC344CF
Address D7 D6 D5 D4 D3 D2 D1 D0
Read/Write R/W
Address D7 D6 D5 D4 D3 D2 D1 D0
Read/Write R/W
This register only allows the access to odd data addresses regardless of whether a low-order (D7~D0) or high-order (D15~D8)
access is made.
Address D7 D6 D5 D4 D3 D2 D1 D0
Read/Write W
Address D7 D6 D5 D4 D3 D2 D1 D0
Initial Value 0 0 0 0 0 0 0 1
Read/Write R
2001-03-25 32/91
TC58NC344CF
ATA Commands
Bit 7 6 5 4 3 2 1 0
Feature (1) X
Command (7) X
When TC58NC344 receives the Class 1 command, it sets BSY to H within 400 nsec.
When TC58NC344 receives the Class 2 command, it sets BSY to H within 400 nsec, sets up the sector buffer for the
writing action, sets DRQ to H within 700 µsec and clears BSY to L within 400 nsec from the DRQ setting.
* In case it is in Power-down Mode, it is impossible to set DRQ to H within 700 µsec because the oscillator
connected to TC58NC344 has stopped.
When TC58NC344 receives the Class 3 command, it sets BSY to H within 400 nsec, sets up the sector buffer for the
writing action, sets DRQ to H within 20 msec and clears BSY to L within 400 nsec from the DRQ setting.
Note) About Class 2 and Class 3, the transition of BSY may be too short for the host to recognize BSY = 1 (H) because
DRQ is set to H so quickly.
TC58NC344 does not correspond to a New Command in case a New Command is issued when TC58NC344 is
processing an Old Command.
2001-03-25 33/91
TC58NC344CF
3. ATA Command Codes and Parameters
1 Recalibrate M 1Xh D
1 Seek M 7Xh Y Y Y Y
NOP V FFh
2001-03-25 34/91
TC58NC344CF
4. ATA Command Error Message Table
Error Register Status Register
Command Name
UNC IDNF ABRT TKON AMNF ERR
Format Track V V V
Identify Drive V V
Idle V V
Idle Immediate V V
Media Eject V V
Recalibrate V V
Read Buffer V V
Read Multiple V V V V
Seek V V V
Set Features V V
Standby V V
Standby Immediate V V
Write Buffer V V
Write Multiple V V V
Request Sense *1 V V
Translate Sector V V V
Wear Level V V
Write Verify V V V
NOP V V
V: Varies with Executing this Command *1: Please refer to Command Descriptions. *2: Valid only Zero
TC58NC344 supports 6 kinds of Vendor Unique ATA Commands besides the commands mentioned above.
2001-03-25 35/91
TC58NC344CF
5. ATA Commands Outline Description
Standard ATA Commands
<Check Power Mode 98h, E5h>
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command checks the current power mode of TC58NC344. In case the oscillator is in operation when this command gets issued,
TC58NC344 sets BSY and sets Sector Count Register to “FFh”. Then it clears BSY and issues an interrupt. In case the oscillator is
in Stop State or the oscillation stop timer is set, TC58NC344 sets BSY and sets the Sector Count Register to “00h”. Then it clears
BSY and issues an interrupt.
Input Parameters
Commands only
2001-03-25 36/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command only determines whether the reset processing was executed normally or not in TC58NC344. In case PDIAG is
not asserted within about 6 seconds from Drive 0 in IDE Mode, TC58NC344 sets the logical sum of the error contents and “80h” in
the Error Register. The diagnostic codes are shown below.
(Diagnostic Codes)
Input Parameters
Commands only
2001-03-25 37/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command, originally, formats the Flash Memory connected to TC58NC344. However, this command is issued only to check the
validity of the addresses specified in the Command Block Register in the NOP processing in TC58NC344. If this command is issued
when the input of the WPIN signal is 1, it gets aborted.
Input Parameters
1. CHS Addressing Mode
Sector Count Register = The Sector Count to be formatted
Cylinder Register, Head Register = Track Address
2. LBA Addressing Mode
Sector Count Register = The Sector Count to be formatted (00h = 256 sectors)
Sector Number, Cylinder, Head Register = Sector Address
2001-03-25 38/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command enables the host to receive the following parameter information from TC58NC344. When this command is issued,
TC58NC344 sets BSY, sets the requested parameter information in the sector buffer and sets DRQ, then issues an interrupt. After
that, the host can read the parameter information from the sector buffer.
Input Parameters
Commands only
2001-03-25 39/91
TC58NC344CF
2 0000h 2 Reserved
50 0000h 2 Reserved
56 Variable 2 Counts of Current Sectors per Track after being formatted (*3)
60~61 Variable 4 Total counts of user addressable sectors in LBA mode supported
2001-03-25 40/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
When this command is issued, TC58NC344 sets BSY and moves to Idle Mode. Then it clears BSY and issues an interrupt. An
interrupt is issued even if TC58NC344 has not completely entered into the Idle Mode. If the Sector Count Register is something
other than “00h”, the Auto Power Down Sequence is permitted and the countdown starts immediately. In case the oscillator with an
oscillation control functions is used, the oscillation stops after the times set in the Sector Count Register. The command reception is
enabled even during the Power Down Period. When the Sector Count Register is “00h”, the Auto Power Down Sequence is
inhibited.
Input Parameters
Sector Count Register = Setting of Auto Power Down Sequence
Note) If the input of the PWRDWN signal is 0, the setting of Auto Power Down Sequence is ignored, changes to Self Power
Down Mode after each command is completed.
2001-03-25 41/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command executes NOP Processing in TC58NC344. The command reception is enabled even during the Power Down Period.
Input Parameters
Commands only
Note) If the input of the PWRDWN signal is 0, the setting of Auto Power Down Sequence is ignored, changes to Self Power
Down Mode after each command is completed.
2001-03-25 42/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command enables the host to designate the sector count per track and the head count per cylinder. When this command is
issued, TC58NC344 sets BSY and parameters. Then, it clears BSY and issues an interrupt. This command does not check the
validity of the values of the sectors and heads. If an invalid value is set, an error will be reported when another command attempts
an invalid access.
Input Parameters
Sector Count Register = Sector Count per Track
Head Register = Head Count per Cylinder - 1
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command executes NOP Processing. This has a different specification from the one ATA Standards define.
Input Parameters
Command only
2001-03-25 43/91
TC58NC344CF
<Recalibrate 1Xh>
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command moves the head cylinder of TC58NC344 to “0h”. However, TC58NC344 performs only the interface timing and
register operations in NOP Processing. When this command is issued, TC58NC344 sets BSY, renews the status, clears BSY and
issues an interrupt. After this command ends normally, TC58NC344 initializes the Command Block Register.
Input Parameters
Commands only
2001-03-25 44/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command enables the host to read the current contents of the sector buffer of TC58NC344. When this command is issued,
TC58NC344 sets BSY and sets up the sector buffer for a read operation. Then, it issues an interrupt after setting DRQ and clearing
BSY. After this, the host can read the most recent 512 bytes data written by the sector buffer just before the read operation.
Input Parameters
Commands only
2001-03-25 45/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command functions in the same way as the Read Sector(s) command. Please refer to that. However, the Sector Count is
capable of dealing with only 1.
Input Parameters
Sector Count Register = Sector Count to be read (It is possible to perform 01h only.)
Sector Number, Cylinder, Head Register = Sector Address
2001-03-25 46/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command enables the host to read the sectors 1 to 256 which are designated by the Sector Count Register of TC58NC344.
The sector count of 0 indicates the transfer request of 256 sectors. The transfer starts at the sector designated by the Sector
Number. DRQ is always set prior to the data transfer regardless of the error state. When this command is finished, the cylinder,
head and sector number of the last sector which was read are set in the task file. If an error occurs, the read operation aborts in the
sector with the error. The cylinder, head and sector number of the sector where an error occurred are set in the task file. The data
where an error occurred remains in the sector buffer.
Input Parameters
Sector Count Register = Sector Count to be read (00h is 256 sectors)
Sector Number, Cylinder, Head Register = Sector Address
2001-03-25 47/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command functions in the same way as the Read Sector (s) command except that it transfers the requested sector data and
the ECC bytes for Long Commands. The transfer of the ECC bytes for Long Commands is a byte transfer at a fixed length of 4
bytes. The transferable sector count is limited to 1.
Input Parameters
Sector Count Register = Sector Count to be read (01h fixed)
Sector Number, Cylinder, Head Register = Sector Address
2001-03-25 48/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command functions in the same way as the Read Sector (s) except that it does not set DRQ and does not transfer data to the
host. After verifying the requested sectors, TC58NC344 clears BSY and issues an interrupt. When this command is finished, the
cylinder or the sector number of the last sector which has been verified is set in the task file. If an error occurs, the verify operation
aborts in the sector where an error occurred. The cylinder or the sector number of the sector where an error occurred is set in the
task file. Also, the sector count which has not been verified is set in the Sector Count Register.
Input Parameters
Sector Count Register = Sector Count to be verified (00h is 256 sectors)
Sector Number, Cylinder, Head Register = Sector Address
2001-03-25 49/91
TC58NC344CF
<Seek 7Xh>
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command seeks to the designated track in the task file and selects the head.
Actually, TC58NC344 performs the interface timing and register operations. When this command is issued, the Flash Memory
connected to TC58NC344 does not need to be formatted. The TC58NC344 sets the DSC.
Input Parameters
Sector Number, Cylinder, Head Register = Sector Address to be sought
2001-03-25 50/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Originally, this command enables the host to change the contents of the execution of TC58NC344. In case of IDE mode, “01h” and
“81h” are valid. In case of PC Card mode, Iois8 bit of “Card Configuration and Status Register” is set by “01h”. And Iois8 bit of “Card
Configuration and Status Register” is reset by “81h”. It is processed as the NOP even a parameter of something other than ”01h”
or ”81h” is set.
<Features Supports>
Feature Operation
69h
96h
97h
9Ah Set the host current source capability. Allows trade off between current drawn and Read/Write speed.
Input Parameters
Feature Register = Parameters to Change Functions
2001-03-25 51/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
Originally, this command is used to enable TC58NC344 to perform the Read Multiple and Write Multiple operations. “00h” or “01h”
can be set in the Sector Count Register. When TC58NC344 issues this command, the Read Multiple and Write Multiple command
can be executed.
Input Parameters
Sector Count Register = Sector Count per Block
(00h = Multiple Command inhibited, 01h = Multiple Command allowed,
Other cases beside 00h and 01h = Multiple Command inhibited)
2001-03-25 52/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command is the only way to set TC58NC344 to Sleep mode. By performing a hardware reset or a software reset, or when an
ATA Command is accepted, TC58NC344 recovers from the Sleep mode. When in Sleep mode, the D6 bit “DRDY” of the ATA
Status Register is "H" (Ready). As soon as this command is issued, TC58NC344 moves to Power-down mode right away. In
case the oscillator with an oscillation control function is used, the oscillation stops.
Input Parameters
Commands only
2001-03-25 53/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
When this command issued, TC58NC344 sets BSY and moves itself to Standby Mode. Then it clears BSY and issues an interrupt.
An interrupt occurs even though TC58NC344 has not moved to Standby Mode completely. Whatever the Sector Count Register,
TC58NC344 gets converted immediately to Power Down Mode. In case an oscillator with an oscillation control function is used, the
oscillation stops. In case the Sector Count Register is “00h”, it does not get set beck to Power Down Mode if a command is received
after the Power Down. However, if the Sector Count Register is something other than “00h” and the command is received after
Power Down is done once, an Auto Power Down Sequence is permitted after the command execution and a countdown starts right
away. In case an oscillator with an oscillation control function is used, the oscillation stops after the time set in the Sector Count
Register. The command reception is enabled during the Power Down Period.
Input Parameters
Sector Count Register = Setting Auto Power Down Sequence
Note) If the input of the PWRDWN signal is 0, the setting of Auto Power Down Sequence is ignored and it changes to Self Power
Down Mode after each command is completed.
2001-03-25 54/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
When this command is issued, TC58NC344 sets BSY and moves itself to Standby Mode. Then it clears BSY and issues an interrupt.
An interrupt occurs even though TC58NC344 has not moved to Standby Mode completely. TC58NC344 gets converted immediately
to Power Down Mode after executing this command. In case an oscillator with an oscillation control function is used, the oscillation
stops. If the command is received after the Power Down is done once, it depends on the value set by the standby and idle
commands in the Sector Count Register and moves itself to Auto Power Down Sequence. The command reception is enabled
during the Power Down Period.
Input Parameters
Commands only
Note) If the input of the PWRDWN signal is 0, the setting of Auto Power Down Sequence is ignored and it changes to Self Power
Down Mode after each command is completed.
2001-03-25 55/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command enables the host to rewrite the contents of the data buffer of TC58NC344. This data buffer can be accessed by the
512 bytes Address Access in the same area as the read buffer.
Input Parameters
Commands only
2001-03-25 56/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command functions in the same way as the Write Sector(s) command. Please refer to that. However, the Sector Count is
capable of dealing with only 1. If the input of the WPIN signal is 1, this command gets aborted after its execution.
Input Parameters
Sector Count Register = Sector Count to be Written (It is possible to perform 01h only.)
Sector Number, Cylinder, Head Register = Sector Address
2001-03-25 57/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command writes data from the host. It starts writing from the 1 to 256 sector counts (00h is 256) and the first sector address
set in a designated register. When this command is finished, the first sector address to be written is reflected in the register. If
an error occurs during the multiple sector write operation, the write operation is stopped and the sector address at the time is
reflected in the register.
If the input of the WPIN signal is 1, this command gets aborted after its execution.
Input Parameters
Sector Count Register = Sector Count to be Written (00h requires 256 sectors)
Sector Number, Cylinder, Head Register = Sector Address
2001-03-25 58/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command functions in the same way as the Write Sector (s) command except that it writes data and the ECC bytes for Long
Commands directly from the sector buffer. The ECC bytes for Long Commands are write bytes that consist of 4-bytes fixed length
data. The write enable sector count is limited to 1. If the input of the WPIN signal is 1, this command gets aborted after its execution.
Input Parameters
Sector Count Register = Sector Count to be written (01h fixed)
Sector Number, Cylinder, Head Register = Sector Address
2001-03-25 59/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This is basically an Erase command to erase sectors but it is used only to check the validity of addresses in TC58NC344. If the
input of the WPIN signal is 1, this command does not get aborted after its execution.
Input Parameters
Commands only
2001-03-25 60/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command reads the Extended Error Codes from the Error Register after the command execution with an error.
Input Parameters
Commands only
2001-03-25 61/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command reports the programming cycle of the designated sector to the host by using the 512 bytes data (Translate Sector
Information). It supports NOP Processing in TC58NC344. The Translate Sector Information also outputs the original contents of the
Buffer before the execution of this command.
In TC58NC344 it returns the following contents as data.
・ Address ・ Information
・ 00-01 ・ Cylinder MSB (00), Cylinder LSB (01)
・ 02 ・ Head
・ 03 ・ Sector
・ 04-06 ・ LBA MSB (04) - LSB (06)
・ 07-1FF ・ 00h
Input Parameters
Commands only
2001-03-25 62/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
In TC58NC344, this command supports NOP Processing. When this command is executed, it returns “00h” to the Sector Count
Register.
Input Parameters
Commands only
2001-03-25 63/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command functions in the same way as the Write Multiple command in TC58NC344. If the input of the WPIN signal is 1, this
command will be aborted after its execution.
Input Parameters
Sector Count Register = Sector Count to be written (00h requires 256 blocks)
Sector Number, Cylinder, Head Register = Sector Address
2001-03-25 64/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command functions in the same way as the Write Sector (s) command in TC58NC344. If the input of the WPIN signal is 1, this
command will be aborted after its execution.
Input Parameters
Sector Count Register = Sector Count to be written (00h requires 256 blocks)
Sector Number, Cylinder, Head Register = Sector Address
2001-03-25 65/91
TC58NC344CF
Bit 7 6 5 4 3 2 1 0
Feature (1) X
This command functions in the same way as the Write Sector (s) command in TC58NC344. If the input of the WPIN signal is 1, this
command will be aborted after its execution.
Input Parameters
Sector Count Register = Sector Count to be written (00h requires 256 blocks)
Sector Number, Cylinder, Head Register = Sector Address
2001-03-25 66/91
TC58NC344CF
Vendor Unique ATA Commands
TC58NC344 supports 6 kinds of Vendor Unique ATA Commands beside the Standard ATA Commands.
2001-03-25 67/91
TC58NC344CF
Reset Operation
TC58NC344 has four kinds of reset processes as follows.
(1) TC58NC344 performs a consecutive diagnosis and sets the default values into ATA Command Block.
(3) The default values of the ATA Command Block are as follows.
Error Register: 01h, Cylinder Low Register: 00h, Feature Register: 81h, Cylinder High Register: 00h,
Sector Count Register: 01h, Drive/Head Register: A0h, Sector Number Register: 01h,
FCR Configuration Option Register SRESET (D7) bit: 0
(1) TC58NC344 performs a consecutive diagnosis and sets the default values into ATA Command Block.
(3) The default values of the ATA Command Block are the same as those of the hardware reset by PONRST pin.
(1) TC58NC344 performs a consecutive diagnosis and sets the default values into ATA Command Block.
(3) The default values of the ATA Command Block are the same as those of the hardware reset by PONRST pin.
(4) This reset does not influence SRESET bit. (To cancel: SRESET = 0)
(2) This reset does not influence SRST bit. (To cancel: SRST = 0)
(3) TC58NC344 maintains all the parameters before the reset regardless of the status of the Set Feature command.
However, the ATA Command Block except for the Feature Register is initialized.
(4) TC58NC344 only supplies the ATA soft reset function. It does not reset PC Card Interface. The normal access is
ensured because each parameter is not canceled even if this reset is executed every time the command
execution is finished.
2001-03-25 68/91
TC58NC344CF
Power Management
Normal Mode
The host can reduce the power consumption needed for the operation by changing the status of TC58NC344 with
the Power Command.
(1) XPWRDWN
(2) Command
(3) Auto Power Down Permit/Inhibit
The following table is the description.
Command PWRDWN One Auto Power Down(*1) MODE Clock Oscillation
Operational Command Condition
Condition Before
In Operation - - - Active Run
Not Operate Yet 0 - - Standby Stop
Not Operated Yet 1 Set Sleep - Sleep Stop
Not Operated Yet 1 Standby(*3) - Standby Stop
Not Operated Yet 1 Idel(*4) Permit Standby Stop(*2)
Inhibit Idle Run
Not Operated Yet 1 Others Permit Standby Stop(*2)
Inhibit Active Run
(*1) Default Inhibited
(*2) It stops after the SectorCount value when the Auto Power Down Permit is set X 5ms.
(*3) It is the same about Standby Immediate.
(*4) It is the same about Idle Immediate
2001-03-25 69/91
TC58NC344CF
EEPROM Interface
The EEPROM connected this interface is used in the following occasions.
・ In case the capacity of the 128 byte CIS Information Area secured in the NAND memory is not enough
・ In case of wanting to change a part of the Identify Drive Information
・ In case of using the NAND Flash Memory of an unsupported device ID
In case of connecting EEPROM or in case of using it only in IDE Mode, right CIS information must be
written in the first good block in the connected NAND Flash Memory.
This is to confirm the connection condition of the Flash Memory because CIS information is being used.
EEPROM uses X24CO4 (Xicor company production). Outline specification of this product are as follows.
・ An Interface with two lines
・ Power Supply Voltage: 3.3V(EEPROM can connect with TC58NC344 directly)
・ Serial Clock : Possible to operate with 100KHz
・ Capacity : More than 4096 bits
・ EEPROM Interface : Write time 10ms or less
In case of not using EEPROM, please have the connection pins (EEPROMSD and EEPROMSC)open.
Please refer to “Process of programming/re-programming CIS/Identify Drive and Test Commands” for data
formatting and access procedures.
2001-03-25 70/91
TC58NC344CF
Drive Capacity
TC58NC344 can set the following capacities.
Drive Flash Chip Number of Number of Number of Sectors per Number of
Capacity Capacity Flash Chips Cylinders Heads Track Sectors
2001-03-25 71/91
TC58NC344CF
Others
By using TC58NC344, it is possible to make a Flash Disk with the characteristics stated below.
The figure below is reference data based on either theoretical one or actual one.
System Performance
Note)
This controller can have the lookup table, which is a table for address translation from host logical address to flash
physical address, of only 1 zone NAND Flash Memory. When host logical address exists in the lookup table (Address
Hit), the controller can operate quickly. But when host logical address does not exist in the lookup table (Address
Miss Hit), the controller cannot operate quickly because the controller must remake the lookup table.
2001-03-25 72/91
TC58NC344CF
Example1:
*The Condition
Sector Count : 32
The Writing Start Address: The Top of Block
The Writing Mode: Overwrite in the case of Address Hit
Example2:
*The Condition
Sector Count : 32
The Writing Start Address: The Top of Block
The Writing Mode: Overwrite in the case of Address Miss Hit
Example3:
*The Condition
Sector Count : 32
The Writing Start Address: The Second Page of Block
The Writing Mode: Overwrite in the case of Address Hit
Example4:
*The Condition
Sector Count : 32
The Writing Start Address: The Second Page of Block
The Writing Mode: Overwrite in the case of Address Miss Hit
Example5:
*The Condition
Sector Count : 32
The Writing Start Address: The Top of Block
The Writing Mode: New Write in the case of Address Hit
2001-03-25 73/91
TC58NC344CF
Example6:
*The Condition
Sector Count : 32
The Writing Start Address: The Top of Block
The Writing Mode: New Write in the case of Address Miss Hit
Example7:
*The Condition
Sector Count : 32
The Writing Start Address: The Second Page of Block
The Writing Mode: New Write in the case of Address Hit
Example8:
*The Condition
Sector Count : 32
The Writing Start Address: The Second Page of Block
The Writing Mode: New Write in the case of Address Miss Hit
Example9:
*The Condition
Sector Count : 1
The Writing Start Address: The Top of Block
(It is same result although the writing start address is the second page or the last page of block.)
The Writing Mode: Overwrite in the case of Address Hit
Example10:
*The Condition
Sector Count : 1
The Writing Start Address: The Top of Block
(It is same result although the writing start address is the second page or the last page of block.)
The Writing Mode: Overwrite in the case of Address Miss Hit
2001-03-25 74/91
TC58NC344CF
Example11:
*The Condition
Sector Count : 1
The Writing Start Address: The Top of Block
(It is same result although the writing start address is the second page or the last page of block.)
The Writing Mode: New Write in the case of Address Hit
Example12:
*The Condition
Sector Count : 32
The Writing Start Address: The Top of Block
(It is same result although the writing start address is the second page or the last page of block.)
The Writing Mode: New Write in the case of Address Miss Hit
Note)
The above values are calculated by using the typical write and erase performance specifications of NAND Flash Memory.
The calculations may be needed to use the worst write and erase performance specifications of NAND Flash Memory.
Setup Time
Static Current(Max.)
Only 344 : 0.3mA
2001-03-25 75/91
TC58NC344CF
MTBF
The MTBF Specification is the Logical MTBF calculated for restricting the reprogramming cycle and it is not
considered for the physical aspects. By the formula stated below, it is possible to obtain MTBF.
#of Flash Chips × #of Blocks × Re-programming Cycle × Re-programming Area Rate
MTBF =
Average Programming Sector per Hour (1 sector = 512 byte)
Notes) Since the Program Area has no possibility to be reprogrammed once it is programmed, the Re-programming
Area Rate means the area which excludes all the area that is not re-programmable. For example, if 32 Kbyte
(64 sectors) of writing in 5 minutes reprograms 30% of a 4 Mbyte (32 Mbit) disk, its MTBF can be calculated
as follows.
MTBF = (512 × 1,000,000 × 0.3) / (64 × 12)
= 200,000 hours
Even if it is supposed that the write access is increased 5 times, its MTBF is calculated up to 200,000 hours.
In case there is a problem by using the MTBF Specifications, it is possible to prolong the life time of your
system by reprogramming the area regularly which has no possibility of being reprogrammed. This is for the
Re-programming Area Rate to be 100%.
ECC
44 bits/sector (1 bit correction or 2 bit detection is possible.)
Reliability
15
1/10 bits Read
2001-03-25 76/91
TC58NC344CF
Absolute Maximum Ratings
The maximum rating is a critical value that should not be exceeded even for an instant. As long as the product is used
within the maximum rating as defined, no permanent damage will ever be occurred. However, this does not guarantee
the normal logical operation.
VDD3.3 −0.5~4.6
Supply Voltage
VDD −0.5~6.0
IOL = 3 mA 10
IOL = 18 mA 60
Operating Ranges
The recommended operating condition are the recommended values which guarantee the normal logical operation of
the device. It is guaranteed that the electrical characteristics (direct current alternate current characteristics) are satisfied.
VDD3.3 3.0~3.6
Supply Voltage V
3.0~3.6
VDD
4.5~5.5
2001-03-25 77/91
TC58NC344CF
DC Characteristics
Rating
Parameter Symbol Condition Unit
MIN MAX
VIH1 LVTTL
2.0
Input VIH2 TTL 5 V Tolerant
1 V
Voltage VIH3 5 V Full Swing CMOS VDD × 0.7
VIL1 LVTTL
0.8
Input VIL2 TTL 5 V Tolerant
0 V
Voltage VIL3 5 V Full Swing CMOS VDD × 0.3
LVTTL IOH = −3 mA
Output 2.4
TTL 5 V Tolerant IOH = −1.5 mA
H VOH V
Voltage 5 V Full Swing IOL = −3 mA
VDD − 0.4
IOL = −12 mA
LVTTL IOL = 3 mA
Output
TTL 5 V Tolerant IOL = 3 mA
L VOL 0.4 V
Voltage 5 V Full Swing IOL = 6 mA
IOL = 18 mA
Output
Leak IOZ VDD = VDD(5.0) or VDD (3.3V) or GND - +10 µ
Current
2001-03-25 78/91
TC58NC344CF
Capacitance
2001-03-25 79/91
TC58NC344CF
Switching Characteristics
2001-03-25 80/91
TC58NC344CF
1. PC Card Interface
Attribute Memory and Common Memory Read Timing
T1
T2 T9
A[10:0], REG
T3 T7
T10
CE[2:1]
T8 T4 T11
OE
T6 T5
D[15:0]
2001-03-25 81/91
TC58NC344CF
Attribute Memory and Common Memory Write Timing
T20
A[10:0], REG
T24
T33
CE[2:1]
T23 T34
OE
WE
T31 T32
T25
D[15:0] (Din)
T27
T28 T30
T29
D[15:0] (Dout)
2001-03-25 82/91
TC58NC344CF
I/O Read Timing
A[10:0]
T44
T47 T48
REG
T45 T46
CE
T42
IORD
T43
INPACK
T49 T51
IOIS16
D[15:0]
2001-03-25 83/91
TC58NC344CF
I/O Write Timing
A[10:0]
T63
T66 T67
REG
T64 T65
CE
T61
IOWR
T62 T69
IOIS16
T68 T60
D[15:0]
2001-03-25 84/91
TC58NC344CF
2. IDE Interface
IDE Read Timing
Address
T74
T75
CE T76
T73 T72
DIOR
T78
IOCS16
T77
T70 T71
DD[15:00]
2001-03-25 85/91
TC58NC344CF
Address
T84
T85
CE T86
T83 T82
DIOW
T88
IOCS16
T87
T80 T81
DD[15:00]
2001-03-25 86/91
TC58NC344CF
3.Flash Writng Timing
Flash Write Timing
T92
FCE
FWP
FCLE
T90
T91
FALE
T95
T96
T9A T93
FWE
T99 T94
FD[07::00]
T97 T98
T9B
FBSY
2001-03-25 87/91
TC58NC344CF
FBSY
T106
FWE
T105 T102
T104
FRE
T100
T103 T101
FD[07::00]
2001-03-25 88/91
TC58NC344CF
4. Clock Input Timing
TC58NC344 Clock Input Timing is as follows.
TC
TP TF TN TR
TP 1 Time 28
TN 0 Time 28
TR Rise Time 5 ns
TF Fall Time 5
RESET
TAW
TRP
0.9VDD
PONRST
0.1VDD
2001-03-25 89/91
TC58NC344CF
6. Reset Sequence
VCC
PONRST
RESET
TC58NC344
is initialized.
RESET OPEN
TC58NC344
is initialized.
RESET
TC58NC344
is initialized.
RESET
TC58NC344
is initialized.
RESET
TC58NC344
is initialized.
RESETtime
2001-03-25 90/91
TC58NC344CF
Physical Dimensions
• TQFP100-P-1414-0.50C
Unit: mm
2001-03-25 /91 91