English
Language : 

K60P100M100SF2RM Datasheet, PDF (1662/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Initialization/application of SDHC
6. Software need to configure XFERTYP register to start the boot process . In normal
boot mode, XFERTYP[CMDINX], XFERTYP[CMDTYP], XFERTYP[RSPTYP],
XFERTYP[CICEN], XFERTYP[CCCEN], XFERTYP[AC12EN],
XFERTYP[BCEN] and XFERTYP[DMAEN] are kept default value.
XFERTYP[DPSEL] bit is set to 1, XFERTYP[DTDSEL] is set to 1,
XFERTYP[MSBSEL] is set to 1. Note XFERTYP[DMAEN] should be configured
as 0 in polling mode. And if XFERTYP[BCEN] is configured as 1, better to
configure BLKATTR[BLKSIZE] to the max value.
7. When the step 6 is configured, boot process will begin. Software need to poll the data
buffer ready status to read the data from buffer in time. If boot time-out
happened(ack time out or the first data read time out), Interrupt will be triggered, and
software need to configure MMCBOOT[]BOOTEN] to 0 to disable boot. Thus will
make CMD high, and then after at least 56 clocks, it is ready to begin normal
initialization process.
8. If no time out, software need to decide the data read is finished and then configure
MMCBOOT[]BOOTEN] to 0 to disable boot. This will make CMD line high and
command completed asserted. After at least 56 clocks, it is ready to begin normal
initialization process.
9. Reset the host and then can begin the normal process.
52.6.6.2 Alternative fast boot flow
1. Software need to configure init_active bit (system control register bit 27) to make
sure 74 card clocks are finished.
2. Software need to configure MMCBOOT [BOOTEN] to 1, and MMCBOOT
[BOOTMODE] to 1, and MMCBOOT [BOOTACK] to select the ack mode or not. If
need to send through DMA mode, need to configure MMCBOOT [AUTOSABGEN]
to enable automatically stop at block gap feature. And need to configure
MMCBOOT [DTOCVACK] to select the ack timeout value according to the sd clk
frequence.
3. Software then need to configure BLKATTR register to set block size/no.
4. Software need to configure PROCTL[DTW].
5. Software need to configure CMDARG register to set argument to 0xFFFFFFFA.
6. Software need to configure XFERTYP register to start the boot process by CMD0
with 0xFFFFFFFA argument . In alternative boot, CMDINX, CMDTYP, RSPTYP,
CICEN, CCCEN, AC12EN, BCEN and DMAEN are kept default value. DPSEL bit
1662
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.