Altera cyclone V Technical Reference page 1013

Hard processor system
Hide thumbs Also See for cyclone V:
Table of Contents

Advertisement

cv_5v4
2016.10.28
Bits
15:0 (
block_size
Table 14-35: bytcnt Register Settings for ATA Payload Transfer
Bits
31:0
CE-ATA CCS
This section describes disabling the CCS, recovery after CCS timeout, and recovery after I/O read
transmission delay (N
Disabling the CCS
While waiting for the CCS for an outstanding RW_BLK command, the host can disable the CCS by
sending a CCSD command:
• Send a CCSD command—the controller sends the CCSD command to the CE-ATA card device if the
send_ccsd
received for the RW_BLK command.
• Send an internal stop command—send an internally-generated SD/SDIO STOP_TRANSMISSION
(CMD12) command after sending the CCSD pattern. If the
register is also set to 1 when the controller is set to send the CCSD pattern, the controller sends the
internally-generated STOP command to the
sets the
Recovery after CCS Timeout
If a timeout occurs while waiting for the CCS, the host needs to send the CCSD command followed by a
STOP command to abort the pending ATA command. The host can set up the controller to send an
internally-generated STOP command after sending the CCSD pattern:
• Send CCSD command—set the
• Send external STOP command—terminate the data transfer between the CE-ATA card device and the
controller. For more information about sending the STOP command, refer to Transfer Stop and Abort
Commands.
• Send internal STOP command—set the
the controller to send the internally-generated STOP command. After sending the STOP command,
the controller sets the
to 1 along with setting the
SD/MMC Controller
Send Feedback
)
512, 1024 or 4096
<n>*block_size
) timeout.
ACIO
bit is set to 1 in the
ctrl
bit in the
register to 1.
acd
rintsts
send_ccsd
bit in the
acd
send_ccsd
Value
Value
register of the controller. This bit can be set only after a response is
pin. After sending the STOP command, the controller
CMD
bit in the
ctrl
send_auto_stop_ccsd
register to 1. The
rintsts
bit.
CE-ATA CCS
Comment
MMC block size can be 512,
1024 or 4096 bytes as negotiated
by host
Comment
Byte count must be an integer
multiple of the block size. For
ATA media access commands,
byte count must be a multiple of
4 KB.
(<n>*block_size = <x>*4 KB,
where <n> and <x> are integers)
send_auto_stop_ccsd
register to 1.
bit in the
register to 1, which tells
ctrl
send_auto_stop_ccsd
14-67
bit of the
ctrl
bit must be set
Altera Corporation

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents