# US 2021/0081118 A1 · Memory addressing methods and associated controller, memory device and host

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0081118 A1
- Document ID: US20210081118A1
- Status: Published application
- Kind: A1
- Application number: 17/095,118
- Filed: 2020-11-11
- Published: 2021-03-18
- Earliest claimed: 2017-12-28
- Assignees: Silicon Motion, Inc.
- Applicants: Silicon Motion Inc.
- Inventors: Chao-Kuei HSIEH
- Web page: https://patentgrep.com/patent/US20210081118A1

## CPC

- G06F 3/0622: {in relation to access}
- G06F 3/0607: {by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device}
- G06F 3/0637: {Permissions}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0658: {Controller construction arrangements}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0667: {at data level, e.g. file, record or object virtualisation}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/06: Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication (G06F12/08 takes precedence)
- G06F 2212/7207: management of metadata or control data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention provides a method for accessing a secure digital (SD) card, which includes a voltage supply pin for receiving voltage supply from a host, at least one ground pin, a clock pin for receiving a clock signal from a host, a command pin for receiving a command from a host, and four data pins for writing data into the SD card or reading data from the SD card. The method includes receiving, via the command pin, an address extension command including a first address from a host, receiving, via the command pin, an access command including a second address from a host, and accessing, via the data pins, at least a memory location of the SD card indicated by a third address, which is a combination of the first address and the second address. The access command indicates an access operation to be performed on the SD card selected from: a single read operation, a single write operation, a multiple read operation, a multiple write operation and an erase operation.

## Claims

### Claim 1

A method for an electronic device to access an SD card, the electronic device comprising:
an I/O interface comprising:
a voltage supply contact for providing voltage supply to the SD card;
at least one ground contact;
a clock contact for providing a clock signal to the SD card;
a command contact for providing a command to the SD card; and
four data contacts for writing data into the SD card or reading data from the SD card; and
the method comprising:
transmitting, via the command contact, an address extension command including a first address to the SD card;
transmitting, via the command contact, an access command including a second address to the SD card; and
accessing at least a memory location of the SD card indicated by a third address, which is a combination of the first address and the second address;
wherein the access command indicates an access operation to be performed on the SD card selected from: a single read operation, a single write operation, a multiple read operation, a multiple write operation and an erase operation;
wherein if the address extension command comprises a CMD22 command and the access command comprises a CMD23 command and a CMD18 command, the step of accessing the memory location of the SD card includes performing the multiple read operation from the memory location indicated by the third address, and wherein the third address is generated according to the first address included in the CMD22 command and the second address included in the CMD18 command.

### Claim 2 (depends on 1)

The method of claim 1, wherein the third address is generated by connecting the first address and the second address in serial.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first address and the second address are both 32 bits.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first address is 6 bits and the second address is 32 bits.

### Claim 5 (depends on 1)

The method of claim 1, wherein if the address extension command comprises a CMD22 command and the access command comprises a CMD17 command, the step of accessing the memory location of the SD card includes performing the single read operation on the memory location indicated by the third address, and wherein the third address is generated according to the first address included in the CMD22 command and the second address included in the CMD17 command.

### Claim 6 (depends on 1)

The method of claim 1, wherein if the address extension command comprises a CMD22 command and the access command comprises a CMD24 command, the step of accessing the memory location of the SD card includes performing the single write operation on the memory location indicated by the third address, and wherein the third address is generated according to the first address included in the CMD22 command and the second address included in the CMD24 command.

### Claim 7 (depends on 1)

The method of claim 1, wherein if the address extension command comprises a CMD22 command and the access command comprises a CMD23 command and a CMD25 command, the step of accessing the memory location of the SD card includes performing the multiple write operation from the memory location indicated by the third address and wherein the third address is generated according to the first address included in the CMD22 command and the second address included in the CMD25 command.

### Claim 8 (depends on 1)

The method of claim 1, wherein if the address extension command comprises a CMD22 command and the access command comprises a CMD32 and a CMD38 command, the step of accessing the memory location of the SD card includes performing the erase operation from the memory location indicated by the third address in response to the CMD38 command, and wherein the third address is generated according to the CMD22 command and the CMD32 command.

### Claim 9 (depends on 1)

The method of claim 1, wherein if the address extension command comprises a first CMD22 command and a second CMD22 command, and the access command comprises a CMD32 command, a CMD33 command and a CMD38 command, the step of accessing the memory location of the SD card includes performing the erase operation from the memory location indicated by the third address to another memory location indicated by a fourth address in response to the CMD38 command, and wherein the third address is generated according to the first CMD22 command and the CMD32 command and the fourth address is generated according to the second CMD22 command and the CMD33 command.

### Claim 10 (depends on 1)

The method of claim 1, wherein if the address extension command comprises a CMD22 command and the access command comprises a CMD44 command and a CMD45 command, the step of accessing the memory location of the SD card includes performing data transfer from the memory location indicated by the third address and wherein the third address is generated according to the first address included in the CMD22 command and the second address included in the CMD45 command.

### Claim 11

A method for an electronic device to access an SD card, the electronic device comprising:
an I/O interface comprising:
a voltage supply contact for providing voltage supply to the SD card;
at least one ground contact;
a clock contact for providing a clock signal to the SD card;
a command contact for providing a command to the SD card; and
four data contacts for writing data into the SD card or reading data from the SD card; and
the method comprising:
transmitting, via the command contact, an address extension command including a first address to the SD card;
transmitting, via the command contact, an access command including a second address to the SD card; and
accessing at least a memory location of the SD card indicated by a third address, which is a combination of the first address and the second address;
wherein the access command indicates an access operation to be performed on the SD card selected from: a single read operation, a single write operation, a multiple read operation, a multiple write operation and an erase operation;
wherein if the address extension command comprises a first CMD22 command and a second CMD22 command, and the access command comprises a CMD32 command, a CMD33 command and a CMD38 command, the step of accessing the memory location of the SD card includes performing the erase operation from the memory location indicated by the third address to another memory location indicated by a fourth address in response to the CMD38 command, and wherein the third address is generated according to the first CMD22 command and the CMD32 command and the fourth address is generated according to the second CMD22 command and the CMD33 command.

### Claim 12 (depends on 11)

The method of claim 11, wherein if the address extension command comprises a CMD22 command and the access command comprises a CMD44 command and a CMD45 command, the step of accessing the memory location of the SD card includes performing data transfer from the memory location indicated by the third address and wherein the third address is generated according to the first address included in the CMD22 command and the second address included in the CMD45 command.

### Claim 13 (depends on 11)

The method of claim 11, further comprising receiving information of a capacity of the SD card.

### Claim 14 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)

An electronic device, comprising:
an I/O interface comprising:
a voltage supply contact for providing voltage supply to the SD card;
at least one ground contact;
a clock contact for providing a clock signal to the SD card;
a command contact for providing a command to the SD card; and
four data contacts for writing data into the SD card or reading data from the SD card; and
a processor configured to perform the method of any one of claims 1-13.
