# US 2023/0244500 A1 · Serial NAND Flash With XIP Capability

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

- Number: US 2023/0244500 A1
- Document ID: US20230244500A1
- Status: Published application
- Kind: A1
- Application number: 18/297,146
- Filed: 2023-04-07
- Published: 2023-08-03
- Earliest claimed: 2021-02-19
- Assignees: Macronix International Co., Ltd.
- Applicants: Macronix International Co., Ltd.
- Inventors: Chun-Lien Su
- Web page: https://patentgrep.com/patent/US20230244500A1

## CPC

- G06F 9/44573: {Execute-in-place [XIP]}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 9/4403: {Processor initialisation}
- G06F 9/44578: {Preparing or optimising for loading}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F 12/0882: Page mode
- G06F 13/1668: {Details of memory controller}
- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G11C 5/066: {Means for reducing external access-lines for a semiconductor memory clip, e.g. by multiplexing at least address and data signals}
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G11C 16/26: Sensing or reading circuits; Data output circuits
- G11C 16/32: Timing circuits
- G06F 2212/1024: Latency reduction
- G06F 2212/214: Solid state disk
- G06F 2212/282: Partitioned cache
- G06F 2212/312: In storage controller
- G06F 2212/313: In storage device
- G06F 2212/60: Details of cache memory
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G11C 5/148: {Details of power up or power down circuits, standby circuits or recovery circuits}
- G11C 2211/5642: Multilevel memory with buffers, latches, registers at input or output
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Based on power on of an electronic device, a location of first data in a NAND flash memory of an electronic device is determined. The first data is transmitted to a shadow RAM of the electronic device, outputting the first data is output from the shadow RAM to a host device of the electronic device through a serial peripheral interface (SPI) when accessing the location of the first data in the NAND Flash memory.

## Claims

### Claim 1

A method comprising:
determining, based on power on of an electronic device, a location of first data in a serial NAND flash memory of the electronic device;
accessing a page of the serial NAND flash memory;
reading the first data by random accessing the page of the serial NAND flash memory at a designated address;
transmitting the first data by outputting the first data to a data cache through a page buffer of the serial NAND flash memory; and
transmitting the first data from the data cache to a shadow RAM of the electronic device.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
outputting the first data from the shadow RAM to a host device of the electronic device through a serial peripheral interface (SPI).

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
executing, by a host device and after a system boot of the electronic device starts, instructions of the first data in an eXecution in Place (XiP) mode in the shadow RAM by reading operations; and
transmitting, based on the executed instructions, second data from the serial NAND flash memory to a system RAM of the electronic device.

### Claim 4 (depends on 3)

The method of claim 3, wherein transmitting the second data comprises:
accessing a second page of the serial NAND flash memory;
reading the second data by random accessing the second page of the serial NAND flash memory at a second designated address;
transmitting the second data by outputting the second data to the data cache through the page buffer of the serial NAND flash memory; and
transmitting the second data from the data cache to the shadow RAM.

### Claim 5 (depends on 1)

The method of claim 1, wherein transmitting the first data from the data cache to the shadow RAM of the electronic device comprises:
reading the first data temporarily stored in the data cache to an error correcting code (ECC) engine;
performing error correction on the first data in the ECC engine; and
sending back, based on completing of the error correction, corrected first data to the data cache.

### Claim 6

A device comprising:
a NAND flash memory configured to store data;
a non-volatile register configured to record source addresses for data transition;
a shadow RAM connected with the NAND flash memory through a data cache from the NAND flash memory to the shadow RAM; and
a control circuit connected with the NAND flash memory and the shadow RAM, wherein the control circuit is configured to:
determine, based on power on of an electronic device, a location of first data in a NAND flash memory of the electronic device, and
transmit the first data to a shadow RAM of the electronic device.

### Claim 7 (depends on 6)

The device of claim 6, further comprising:
a mapping table connected with the control circuit, wherein the mapping table comprises a NAND flash memory address of the first data and address information of the shadow RAM, and wherein the control circuit is configured to:
verify an input NAND flash memory address sent from a host device of an electronic system,
determine whether the input NAND flash memory address corresponds to the NAND flash memory address of the first data, and
based on the determination, redirect data reading operations in the shadow RAM or read the NAND flash memory.

### Claim 8 (depends on 6)

The device of claim 6, further comprising a data cache connected with the NAND flash memory and the shadow RAM, and configured to temporarily store data output from the NAND flash memory.

### Claim 9 (depends on 8)

The device of claim 8, further comprising an error correcting code (ECC) engine connected with the shadow RAM and the data cache, wherein the ECC engine is configured to:
read the first data temporarily stored in the data cache,
perform error correction on the first data in the ECC engine, and
send, based on completing of the error correction, corrected first data back to the data cache.

### Claim 10 (depends on 6)

The device of claim 6, further comprising a serial peripheral interface (SPI) bus that includes at least one of data I/O lines, a clock signal line, or chip select signal lines for communications between a host device and components in the electronic device.

### Claim 11 (depends on 10)

The device of claim 10, wherein the control circuit is configured to indicate whether data is valid for transmission during variable waiting periods by an indicator signal.

### Claim 12 (depends on 11)

The device of claim 11, wherein the indicator signal is one of a standalone signal, a composite signal, or an existing interrupt signal.

### Claim 13 (depends on 11)

The device of claim 11, wherein the indicator signal is an existing datastrobe (DS) signal or a DS signal being driven from a tri-state to a logic low state when the NAND flash memory is ready for data transmission,
wherein a length of the variable waiting periods is configurable by controlling the DS signal, and
wherein data output from the NAND flash memory are aligned with the DS signal.

### Claim 14 (depends on 10)

The device of claim 10, wherein the first data is an executable program executed by the host device, and after a system boot of the electronic device starts, instructions in the first data are fetched in an eXecution in Place (XiP) mode from the shadow RAM, and
wherein the control circuit is configured to:
transmit, based on the instructions, second data from the NAND flash memory to a system memory of the electronic device; and
execute the transmitted second data in the system memory,
wherein the second data is an application firmware code.

### Claim 15 (depends on 14)

The device of claim 14, wherein the control circuit is configured to transmit the second data by
accessing a page of the NAND flash memory,
reading the second data by random accessing the page of the NAND flash memory at a designated address,
transmitting the second data by outputting the second data to a data cache through a page buffer of the NAND flash memory, and
transmitting the second data from the data cache to the system memory.

### Claim 16 (depends on 10)

The device of claim 10, wherein the control circuit is configured to transmit the first data by
accessing a page of the NAND flash memory,
reading the first data by random accessing the page of the NAND flash memory at a designated address,
transmitting the first data by outputting the first data to a data cache through a page buffer of the NAND flash memory, and
transmitting the first data from the data cache to the shadow RAM.

### Claim 17 (depends on 10)

The device of claim 10, wherein the control circuit is configured to:
in response to the power on of the electronic device, automatically execute a flow of operations of the electronic device, wherein the operations comprise: reading the first data according to a designated address set of the first data in the NAND flash memory.

### Claim 18 (depends on 10)

The device of claim 10, wherein the control circuit is configured to:
issue a unified command for data reading operations on the shadow RAM and the NAND flash memory, or
issue dedicated commands for data reading operations on the shadow RAM and the NAND flash memory, respectively, wherein the electronic device uses a “RD” command for random access and a “PgRD” command for accessing a page of the NAND flash memory.

### Claim 19 (depends on 18)

The device of claim 18, wherein the data reading operations comprise at least one of:
executing data reading commands based on an address that contained in the first data and stored in the shadow RAM, or
verifying, by a control logic of the electronic device, an input address from a host device, and determining by checking a mapping table whether the input address corresponds to data reading operations in the shadow RAM or the NAND flash memory.

### Claim 20 (depends on 6)

The device of claim 6, wherein the device is configured to be a serial NAND flash.
