English
Language : 

THNCF064MMA Datasheet, PDF (32/47 Pages) Toshiba Semiconductor – The THNCFxxxxMA series CompactFlash card is a flash technology based with ATA interface flash memory card
Preliminary
THNCFxxxxMA Series
2. Sector write: write sector procedure after the card configured I/O interface is shown as follows.
start
Set the cylinder low/high register
I/O Access, INDEX=1
Set the head No. of drive head register
Set the sector number register
(1) Set the logical sector number
Set in sector count register
Set “30h” in command register
(2) Set write sector command
N
“51h”?
Y
“51h”?
Y
Error handle
Read the status register
N
“58h”?
Y
Read 256 times the data register
(512 bytes)
N
N
all data
Y
Read the status register
N
“50h”?
Y
Wait the command input
(3) Polling until ready
(4) Burst data transfer
(5) Read the Status Register
A0~A10
−CE1
−CE2
(1)
(2)
4H 5H 6H 3H 2H 7H
(3)
7H 7H
(4)
0H
0H
(5)
7H 7H
−IOWR
−IORD
D0~D15
01H 30H D0HË 58H (Data transfer)
D0H→50H
−IREQ
Note:
If sector count is not equal to 1, the busy time (status is “DXH”) maybe only 1µs, so if host handle step (3) by
polling status “DXH” then polling status “58H”, it could be generated “time out error” because it can not get
status “DXH”.
2002-10-20 32/47