CPC G06F 3/0634 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0658 (2013.01); G06F 3/0659 (2013.01); G06F 3/0679 (2013.01); G06F 13/4221 (2013.01); G06F 2213/0026 (2013.01)] | 7 Claims |
1. A method performed by a controller of a secure digital (SD) card supporting both an SD mode and a peripheral component interconnect express (PCIe) mode for initializing the SD card, the SD card comprising at least 17 pins for coupling to a host, and the at least 17 pins comprising:
a first voltage supply pin for receiving a first supply voltage for SD mode provided by the host;
a second voltage supply pin for receiving a second supply voltage provided by the host, wherein the second supply voltage is lower than the first supply voltage;
at least one ground pin for coupling to a ground;
at least one clock pin for receiving a clock signal from the host; and
a command pin for receiving a command from the host,
the method comprising:
(a) after receiving the first supply voltage through the first voltage supply pin, setting the SD card to the SD mode in response to determining the SD card is not in the PCIe mode and a CMD0 command for entering the SD mode is received through the command pin; and
(b) after receiving the first supply voltage through the first voltage supply pin, letting the SD card perform a PCIe linkup process in response to determining the SD card is not in the SD mode and the second supply voltage is received through the second voltage supply pin; and
(c) setting the SD card to the PCIe mode in response to determining the PCIe linkup process succeeds.
|