SD休眠 唤醒后驱动加载不成功
大家帮忙看下 是怎么回事,下边的信息是唤醒后的信息。
[HSMMC0] Power Up the HSMMC Host Controller
[HSMMC0] Setting registers for the USB48MHz (EXTCLK for SDCLK) : SYSCon.
[HSMMC0] Setting registers for the GPIO.
[HSMMC0] #ifndef _SMDK6410_CH0_EXTCD_
[HSMMC0] Setting registers for the USB48MHz (EXTCLK) : HSMMCCon.
[HSMMC1] Power Up the HSMMC Host Controller
[HSMMC1] Setting registers for the USB48MHz (EXTCLK for SDCLK) : SYSCon.
[HSMMC1] Setting registers for the GPIO.
[HSMMC1] Setting registers for the USB48MHz (EXTCLK) : HSMMCCon.
[HSMMC0] SDHCControllerIst - Card is Inserted!
[HSMMC1] SDHCControllerIst - Card is Inserted!
[HSMMC1] Turn OFF the F/B delay control.
[HSMMC1]SDHCSetRate - Clock Control Reg = 8001
[HSMMC1]SDHCSetRate - Actual clock rate = 187500
[HSMMC0] CSDHCSlotBase::SDClockOn: Timeout waiting for CLOCK_STABLE
[HSMMC1] CSDHCSlotBase::SDClockOn: Timeout waiting for CLOCK_STABLE
[HSMMC0] Setting for 1 bit mode , Clock Rate = 100000 Hz
[HSMMC1] Setting for 1 bit mode , Clock Rate = 100000 Hz
[HSMMC1] Turn OFF the F/B delay control.
[HSMMC1]SDHCSetRate - Clock Control Reg = 8001
[HSMMC1]SDHCSetRate - Actual clock rate = 187500
[HSMMC0] CSDHCSlotBase::SDClockOn: Timeout waiting for CLOCK_STABLE
[HSMMC1] CSDHCSlotBase::SDClockOn: Timeout waiting for CLOCK_STABLE
这条信息后 就再也没SD的信息了。SD卡休眠时是不掉电的。麻烦大家看下 是什么问题。
系统启动时的SD驱动加载信息
[HSMMC0] Initializing the HSMMC Host Controller
[HSMMC0] Setting registers for the USB48MHz (EXTCLK for SDCLK) : SYSCon.
[HSMMC0] Setting registers for the GPIO.
[HSMMC0] #ifndef _SMDK6410_CH0_EXTCD_
[HSMMC0] Setting registers for the USB48MHz (EXTCLK) : HSMMCCon.
[HSMMC1] Initializing the HSMMC Host Controller
[HSMMC1] Setting registers for the USB48MHz (EXTCLK for SDCLK) : SYSCon.
[HSMMC1] Setting registers for the GPIO.
[HSMMC1] Setting registers for the USB48MHz (EXTCLK) : HSMMCCon.
[HSMMC0] SDHCControllerIst - Card is Inserted!
[HSMMC1] Turn OFF the F/B delay control.
[HSMMC1]SDHCSetRate - Clock Control Reg = 101
[HSMMC1]SDHCSetRate - Actual clock rate = 24000000
[HSMMC1] SDHCControllerIst - Card is Inserted!
[HSMMC0] Setting for 1 bit mode , Clock Rate = 100000 Hz
[HSMMC0] HandleErrors - ERR CMD:5 : If the card is not a SDIO, CMD 5 does not work in reason.
[HSMMC0] HandleErrors - ERR CMD:1 : If the card is not a MMC, CMD 1 does not work in reason.
[HSMMC1] Turn OFF the F/B delay control.
[HSMMC1]SDHCSetRate - Clock Control Reg = 8001
[HSMMC1]SDHCSetRate - Actual clock rate = 187500
[HSMMC1] Setting for 1 bit mode , Clock Rate = 100000 Hz
[HSMMC1] Turn OFF the F/B delay control.
[HSMMC1]SDHCSetRate - Clock Control Reg = 8001
[HSMMC1]SDHCSetRate - Actual clock rate = 187500
[SDBUS] SD/SDHC supports the high-speed mode.
[HSMMC0] Setting for 4 bit mode , Clock Rate = 50000000 Hz
[HSMMC1] Setting for 4 bit mode , Clock Rate = 25000000 Hz
[HSMMC1] Turn OFF the F/B delay control.
[HSMMC1]SDHCSetRate - Clock Control Reg = 101
[HSMMC1]SDHCSetRate - Actual clock rate = 24000000
[HSMMC1] Setting for 1 bit mode , Clock Rate = 25000000 Hz
[HSMMC1] Turn OFF the F/B delay control.
[HSMMC1]SDHCSetRate - Clock Control Reg = 101
[HSMMC1]SDHCSetRate - Actual clock rate = 24000000