IP Library › Granted Patent US 9,959,232
Granted Patent B2
US 9,959,232 · App. 14/514,762 · Granted May 1, 2018

Methods for executing data access commands and flash memory devices using the same

Inventor: Yu-Chuan Chang (New Taipei, TW)
Assignee: SILICON MOTION, INC.
G06F13/385G11C7/1072
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,959,232
App. No.
14/514,762
Granted
May 1, 2018
Kind
B2
Abstract

An embodiment of a method for executing data access commands, performed by a control unit, is disclosed to include at least the following steps. A series of interface-driving instructions is read from a RAM (Random Access Memory) after detecting that an indication for altering instruction source has been written into a register. A storage-unit access interface is operated according to the interface-driving instructions, so as to complete data access to a storage unit.

Claims (43)

1. A method for executing data access commands, performed by a control unit, comprising:

storing a series of interface-driving instructions that is received from firmware in a RAM (Random Access Memory);

periodically detecting whether an interface-driving instruction or an indication for altering instruction source has been written into a register;

operating a storage-unit access interface according to the interface-driving instruction of the register after detecting that the interface-driving instruction has been written into the register by the firmware;

reading the series of interface-driving instructions from the RAM after detecting that the indication has been written into the register by the firmware; and

operating the storage-unit access interface according to the interface-driving instructions read from the RAM, so as to complete data access to a storage unit,

wherein the control unit stores the series of interface-driving instructions in the RAM at a first moment independent from a second moment for operating the storage-unit access interface according to the series of interface-driving instructions of the RAM in response to the indication for altering instruction source by the firmware.

2. The method of claim 1 , further comprising:

controlling a multiplexer to connect the RAM to the control unit after detecting that the indication for altering instruction source has been written into the register.

3. The method of claim 2 , further comprising:

controlling the multiplexer to connect the register to the control unit after reading the interface-driving instructions from the RAM.

4. The method of claim 1 , further comprising:

obtaining a start address and a total number of interface-driving instructions, which are stored in the RAM, from the register and controlling a multiplexer to connect the RAM to the control unit after detecting that the indication for altering instruction source has been written into the register,

wherein the interface-driving instructions are read from the RAM according to the obtained start address and the total number of the interface-driving instructions.

5. The method of claim 1 , wherein the operation of the storage-unit access interface comprises a data access on a data line or modifying a control signal.

6. The method of claim 1 , wherein the interface-driving instructions are stored in the RAM by the firmware when being executed by a MCU (Micro-Control Unit).

7. The method of claim 1 , wherein the indication for altering instruction source is written by the firmware when being executed by a MCU (Micro-Control Unit).

8. A flash memory device, comprising:

a storage-unit access interface;

a register;

a RAM (Random Access Memory); and

a control unit, coupled between the register, the RAM and the storage-unit access interface, storing a series of interface-driving instructions that is received from firmware in the RAM; periodically detecting whether an interface-driving instruction or an indication for altering instruction source has been written into a register; operating the storage-unit access interface according to the interface-driving instruction of the register after detecting that the interface-driving instruction has been written into the register by the firmware; reading the series of interface-driving instructions from the RAM after detecting that the indication has been written into the register by the firmware; and operating the storage-unit access interface according to the interface-driving instructions read from the RAM, so as to complete data access to a storage unit,

wherein the control unit stores the series of interface-driving instructions in the RAM at a first moment independent from a second moment for operating the storage-unit access interface according to the series of interface-driving instructions of the RAM in response to the indication for altering instruction source by the firmware.

9. The flash memory device of claim 8 , further comprising:

a multiplexer, coupled between the register, the RAM and the control unit,

wherein the control unit controls the multiplexer to connect the RAM to the control unit after detecting that the indication for altering instruction source has been written into the register.

10. The flash memory device of claim 9 , wherein the control unit controls the multiplexer to connect the register to the control unit after reading the interface-driving instructions from the RAM.

11. The flash memory device of claim 8 , further comprising:

a multiplexer, coupled between the register, the RAM and the control unit,

wherein the control unit obtains a start address and a total number of interface-driving instructions, which are stored in the RAM, from the register and controls the multiplexer to connect the RAM to the control unit after detecting that the indication for altering instruction source has been written into the register, and

wherein the interface-driving instructions are read from the RAM according to the obtained start address and the total number of the interface-driving instructions.

12. The flash memory device of claim 8 , wherein the operation of the storage-unit access interface comprises a data access on a data line or modifying a control signal.

13. The flash memory device of claim 8 , wherein the interface-driving instructions are written into the RAM by the firmware when being executed by a MCU (Micro-Control Unit).

14. The flash memory device of claim 8 , wherein the indication for altering instruction source is written by the firmware when being executed by a MCU (Micro-Control Unit).

15. A method for executing data access commands, performed by a firmware when being executed by a MCU (Micro-Control Unit), comprising:

under a first condition, writing a first interface-driving instruction into a register, causing a control unit to complete an operation through a storage-unit access interface; and

under a second condition, storing a series of second interface-driving instructions into a RAM (Random Access Memory) other than the register; and

under the second condition, writing an indication for altering instruction source into the register for instructing the control unit to read the second interface-driving instructions from the RAM at a needed moment, instead of arranging a time period to write the register, and operate the storage-unit access interface according to the second interface-driving instructions from the RAM,

wherein the firmware stores the series of interface-driving instructions via the control unit at a moment independent from the needed moment for writing the indication for altering instruction source into the register.

16. The method of claim 15 , further comprising:

writing a start address and a total number of the second interface-driving instructions, which are stored in the RAM, into the register,

wherein the control unit reads the interface-driving instructions according to the start address and the total number of the second interface-driving instructions.

17. The method of claim 15 , wherein the control unit performs a data access on a data line of the storage-unit access interface or modifies a control signal of the storage-unit access interface according to the first and second interface-driving instructions.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 15, 2014
From: CHANG, YU-CHUAN
To: SILICON MOTION, INC.
Reel/Frame 033953/0635 →
Priority Claims (1)
TW 102145803 A · Dec 12, 2013 · national
Continuity (1)
Related Publication 20150169250A1 · Jun 18, 2015