Memory card controller, memory card device, method used in memory card controller, and electronic device coupled to memory card device
AssigneeSilicon Motion, Inc.
InventorChao-Kuei Hsieh
Life of this patent
Estimating the term…
Abstract
A memory card controller coupled to a host device includes a processing circuit which is used for reading card specific data from a flash memory of a memory card to store the card specific data in a register wherein a multiply parameter and a basic capacity are marked in the card specific data and used for sending the card specific data to the host device to make the host device calculate a maximum capacity of the memory card according to the multiply parameter and the basic capacity marked in the card specific data.
Claims24
A memory card controller configured to couple to a host device via an external signal port and couple to a flash memory via an internal connection of a memory card device, comprising:
- a processing circuit, used for reading card specific data from the flash memory to store the card specific data in a register wherein a multiplier parameter and a basic capacity are marked in the card specific data, and used for sending the card specific data to a processor of the host device via the external signal port and a memory card driving circuit of the host device if the processing circuit receives a request command CMD9 from the memory card driving circuit by the processor of the host device, to make the processor of the host device calculate and obtain a maximum capacity of the memory card device according to the multiplier parameter and the basic capacity marked in the card specific data;
- wherein the marked basic capacity is represented by using 22 bits of a C_size field defined in the card specific data, and the marked multiplier parameter is represented by using N capacity indication bits in the card specific data to indicate a value within a range from zero to M to indicate the multiplier parameter within a range from 20 to 2M wherein M is a positive integer greater than one.
A method utilized in a memory card controller configured to couple to a host device via an external signal port and couple to a flash memory via an internal connection of a memory card device, and comprising:
- reading card specific data from the flash memory to store the card specific data in a register wherein a multiplier parameter and a basic capacity are marked in the card specific data;
- and
- sending the card specific data to a processor of the host device via the external signal port and a memory card driving circuit of the host device if the processing circuit receives a request command CMD9 from the memory card driving circuit by the processor of the host device, to make the processor of the host device calculate and obtain a maximum capacity of the memory card device according to the multiplier parameter and the basic capacity marked in the card specific data;
- wherein the marked basic capacity is represented by using 22 bits of a C_size field defined in the card specific data, and the marked multiplier parameter is represented by using N capacity indication bits in the card specific data to indicate a value within a range from zero to M to indicate the multiplier parameter within a range from 20 to 2M wherein M is a positive integer greater than one.
An electronic device configured to couple to a memory card device via an external signal port, comprising:
- a memory card driving circuit, for driving the memory card device;
- and
- a processor, coupled to the memory card driving circuit, for sending a request command CMD9 to a memory card controller of the memory card device via the memory card driving circuit, for receiving card specific data which is sent by the memory card controller of the memory card device in response to the request command CMD9, for analyzing and reading a multiplier parameter and a basic capacity marked in the card specific data, and for calculating and obtaining a maximum capacity of the memory card device according to the multiplier parameter and the basic capacitor which are marked in the card specific data;
- wherein the marked basic capacity is represented by using 22 bits of a C_size field defined in the card specific data, and the marked multiplier parameter is represented by using N capacity indication bits in the card specific data to indicate a value within a range from zero to M to indicate the multiplier parameter within a range from 20 to 2M wherein M is a positive integer greater than one.
A method utilized in an electronic device configured to couple to a memory card device via an external signal port, the electronic device having a processor and a memory card driving circuit to drive the memory card device, and the method comprises:
- using the memory card driving circuit to drive the memory card device;
- sending a request command CMD9 to a memory card controller of the memory card device via the memory card driving circuit;
- receiving card specific data which is sent by the memory card controller of the memory card device in response to the request command CMD9;
- analyzing and reading a multiplier parameter and a basic capacity marked in the card specific data;
- and
- calculating and obtaining a maximum capacity of the memory card device according to the multiplier parameter and the basic capacitor which are marked in the card specific data;
- wherein the marked basic capacity is represented by using 22 bits of a C_size field defined in the card specific data, and the marked multiplier parameter is represented by using N capacity indication bits in the card specific data to indicate a value within a range from zero to M to indicate the multiplier parameter within a range from 20 to 2M wherein M is a positive integer greater than one.
Dependencies are inferred from the claim text.