# US 2012/0254510 A1 · Reference frequency setting method, memory controller, and flash memory storage apparatus

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

- Number: US 2012/0254510 A1
- Document ID: US20120254510A1
- Status: Published application
- Kind: A1
- Application number: 13/104,009
- Filed: 2011-05-09
- Published: 2012-10-04
- Earliest claimed: 2011-03-31
- Assignees: Phison Electronics Corp.
- Inventors: Chih-Ming Chen; An-Chung Chen; Wen-Lung Cheng
- Web page: https://patentgrep.com/patent/US20120254510A1

## CPC

- G06F 1/08: Clock generators with changeable or programmable clock frequency
- G11C 16/20: Initialising; Data preset; Chip identification
- G06F 1/04: Generating or distributing clock signals or signals derived directly therefrom
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G11C 7/222: {Clock generating, synchronizing or distributing circuits within memory device}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A reference frequency setting method of a flash memory storage apparatus is provided. The flash memory storage apparatus includes a flash memory module, a storage unit, and an oscillator circuit without a crystal. The reference frequency setting method includes following steps. Whether a setting code is stored in the flash memory module or the storage unit is determined, wherein the setting code includes information of a reference frequency. If the setting code is stored in the flash memory module, the setting code is read to allow the oscillator circuit to generate the reference frequency according to the setting code. A memory controller and a flash memory storage apparatus using the reference frequency setting method are also provided.

## Claims

### Claim 1

A reference frequency setting method of a flash memory storage apparatus, wherein the flash memory storage apparatus comprises a flash memory module, a storage unit, and an oscillator circuit without a crystal, the reference frequency setting method comprising:
determining whether a setting code is stored in the flash memory module or the storage unit, wherein the setting code comprises setting information of a reference frequency; and
when the setting code is stored in the flash memory module or the storage unit, reading the setting code to allow the oscillator circuit to generate the reference frequency according to the setting code.

### Claim 2 (depends on 1)

The reference frequency setting method according to claim 1, wherein the storage unit stores a boot code, and in the step of determining whether the setting code is stored in the flash memory module or the storage unit, whether the setting code is stored in the flash memory module or the storage unit is determined according to the boot code after the flash memory storage apparatus is turned on.

### Claim 3 (depends on 1)

The reference frequency setting method according to claim 1 further comprising:
when the setting code is not stored in the flash memory module, generating the setting code by a host and storing the setting code into the flash memory module.

### Claim 4 (depends on 3)

The reference frequency setting method according to claim 3, wherein the setting code is generated by calibrating a frequency of the oscillator circuit according to a signal packet provided by the host, wherein the setting code comprises information of a frequency calibration range.

### Claim 5 (depends on 4)

The reference frequency setting method according to claim 4, wherein the step of calibrating the frequency of the oscillator circuit comprises:
receiving the signal packet to set the reference frequency generated by the oscillator circuit as a basic frequency of the signal packet.

### Claim 6 (depends on 4)

The reference frequency setting method according to claim 4 further comprising:
loading the setting code into a burner to write the setting code into the flash memory module or the storage unit by using the burner.

### Claim 7 (depends on 1)

The reference frequency setting method according to claim 1, wherein the step of calibrating the frequency of the oscillator circuit comprises:
setting the reference frequency generated by the oscillator circuit as a basic frequency of a signal packet provided by a host, which is in accordance with the setting code.

### Claim 8 (depends on 1)

The reference frequency setting method according to claim 1, wherein a physical block of the flash memory module has a plurality of upper pages and a plurality of lower pages that have a write speed faster than a write speed of the upper pages, and the setting code is stored in the lower pages of the flash memory module.

### Claim 9

A memory controller, for setting a reference frequency of a flash memory storage apparatus, wherein the flash memory storage apparatus comprises a flash memory module and an oscillator circuit, the memory controller comprising:
a memory interface, coupled to the flash memory module;
a memory management circuit, coupled to the memory interface; and
a storage unit, coupled to the memory management circuit,
wherein the memory management circuit determines whether a setting code is stored in the flash memory module or the storage unit, and the setting code comprises information of the reference frequency; and
when the setting code is stored in the flash memory module or the storage unit, the memory management circuit reads the setting code to allow the oscillator circuit to generate the reference frequency according to the setting code.

### Claim 10 (depends on 9)

The memory controller according to claim 9, wherein the storage unit stores a boot code, and the memory management circuit determines whether the setting code is stored in the flash memory module or the storage unit according to the boot code after the flash memory storage apparatus is turned on.

### Claim 11 (depends on 9)

The memory controller according to claim 9, wherein when the setting code is not stored in the flash memory module or the storage unit, the memory management circuit generates the setting code through a host and stores the setting code into the flash memory module or the storage unit.

### Claim 12 (depends on 11)

The memory controller according to claim 11, wherein the memory management circuit generates the setting code by calibrating a frequency of the oscillator circuit according to a signal packet provided by the host, wherein the setting code further comprises information of a frequency calibration range.

### Claim 13 (depends on 12)

The memory controller according to claim 12, wherein the memory management circuit receives the signal packet to set the reference frequency generated by the oscillator circuit as a basic frequency of the signal packet.

### Claim 14 (depends on 12)

The memory controller according to claim 12, wherein the memory management circuit loads the setting code into a burner to write the setting code into the flash memory module or the storage unit through the burner.

### Claim 15 (depends on 9)

The memory controller according to claim 9, wherein the memory management circuit sets the reference frequency generated by the oscillator circuit as a basic frequency of a signal packet provided by a host, which is in accordance with the setting code.

### Claim 16 (depends on 9)

The memory controller according to claim 9, wherein the flash memory storage apparatus does not comprise a crystal oscillator.

### Claim 17 (depends on 9)

The memory controller according to claim 9, wherein a physical block of the flash memory module has a plurality of upper pages and a plurality of lower pages that have a write speed faster than a write speed of the upper pages, and the setting code is stored in the lower pages of the flash memory module.

### Claim 18

A flash memory storage apparatus, comprising:
an oscillator circuit, configured to generate a reference frequency according to a setting code;
a flash memory module, configured to store the setting code; and
a memory controller, coupled to the oscillator circuit and the flash memory module, the memory controller comprising a storage unit,
wherein the memory controller determines whether the setting code is stored in the flash memory module or the storage unit, and the setting code comprises information of the reference frequency; and
when the setting code is stored in the flash memory module or the storage unit, the memory controller reads the setting code to allow the oscillator circuit to generate the reference frequency according to the setting code.

### Claim 19 (depends on 18)

The flash memory storage apparatus according to claim 18, wherein the storage unit stores a boot code, and the memory controller determines whether the setting code is stored in the flash memory module or the storage unit according to the boot code after the flash memory storage apparatus is turned on.

### Claim 20 (depends on 18)

The flash memory storage apparatus according to claim 18, wherein when the setting code is not stored in the flash memory module or the storage unit, the memory controller generates the setting code through a host and stores the setting code into the flash memory module or the storage unit.

### Claim 21 (depends on 20)

The flash memory storage apparatus according to claim 20, wherein the memory controller generates the setting code by calibrating a frequency of the oscillator circuit according to a signal packet provided by the host, wherein the setting code further comprises information of a frequency calibration range.

### Claim 22 (depends on 21)

The flash memory storage apparatus according to claim 21, wherein the memory controller receives the signal packet to set the reference frequency generated by the oscillator circuit as a basic frequency of the signal packet.

### Claim 23 (depends on 21)

The flash memory storage apparatus according to claim 21, wherein the memory controller loads the setting code into a burner to write the setting code into the flash memory module or the storage unit through the burner.

### Claim 24 (depends on 18)

The flash memory storage apparatus according to claim 18, wherein the memory controller sets the reference frequency generated by the oscillator circuit as a basic frequency of a signal packet provided by a host according to the setting code.

### Claim 25 (depends on 18)

The flash memory storage apparatus according to claim 18 not comprising a crystal oscillator.

### Claim 26 (depends on 18)

The flash memory storage apparatus according to claim 18, wherein a physical block of the flash memory module has a plurality of upper pages and a plurality of lower pages that have a write speed faster than a write speed of the upper pages, and the setting code is stored in the lower pages of the flash memory module.
