89
Appendix B Descriptions of Task File Registers
Data Register:
This is a 16-bit readable/writable register used in sector-unit data transfer between
the host and the card. Word, byte, and odd-byte accesses defined in the PC card standard can all be
used on this register, but part of the address is shared with the error register when reading and the
feature register when writing.
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
D0 to D15
Error Register:
This is a read-only register used in the analysis of error contents during card
access. This register is valid when the BSY bit is 0 (“Ready”) in the status register and alternate
status register.
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
BBK
UNC
“0”
IDNF
“0”
ABRT
“0”
AMNF
Bit
Name
Function
7
BBK (Bad BlocK detected)
This bit is set if a bad block is detected.
6
UNC (Data ECC error)
This bit is set if an uncorrectable ECC error is detected.
4
IDNF (I D Not Found)
This bit is set if there is an error in the access target
sector or if that sector is not present.
2
ABRT (ABoRTed command)
This bit is set if a command is aborted due to the card
status (Not ready, Write fault, etc.), or if an unsupported
command is executed.
0
AMNF (Address Mark Not Found) This bit is set in case of the general error state.
Feature Register:
This is a write-only register used when the host sets a specific function for the
card.
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Feature byte
Sector Register:
The number of sectors for read/write transfer between the host and the card is set
in this register by the host. If a value of 00H is set in this register, the sector count is 256. In the
case of multiple sector transfers, if the command ends abnormally the number of unprocessed
sectors is stored in this register. The initial value of this register is 01H.
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Sector count byte