Samsung S3C6400X User Manual page 142

Table of Contents

Advertisement

ONENAND CONTROLLER
• Set Up a Single Area for Pipelined Write-Ahead
The procedure to set up an area for pipelined write-ahead is as follows:
1. You must set the CMD_MAP to "Map 10" and set the starting address of the block to pre-write in the FBA, FPA
and FSA of the address.
2. The command type must be set to "Write" and the datain bus must be driven with a value of 0x41PP, where the
"1" sets this command as a write-ahead and PP is the number of pages to pre-write.
3. To write the data, you must issue Map 01 commands to the memory controller with the same starting address
and the desired page(s). If the write command received following a pipeline write-ahead request is not to a page
pre-written, then an interrupt bit will be set and the pipeline read/write-ahead registers will be cleared. A new
pipeline write-ahead request must be issued to configure the write logic.
4. All of the data that was pre-written must be written through Map 01 commands before the controller will return
to the idle state.
Note: A PIPELINED READ-AHEAD OR WRITE-AHEAD FOR A SINGLE AREA MUST REQUEST AT LEAST 2
PAGES.
• Set Up Multiple Areas for Pipelined Read-Ahead
The procedure to set up multiple areas for pipelined read-ahead is as follows:
1. You must set the CMD_MAP to "Map 10" and set the starting address of the first block to pre-read in the FBA,
FPA and FSA of the address.
2. The command type must be set to "Write" and the datain bus must be driven with a value of 0x40PP, where the
"0" sets this command as a read-ahead and PP is the number of pages to pre-read.
3. If the user wishes to have any data returned on the AHB interface, Map 01 commands must be issued to the
memory controller with the same starting address and the desired page(s). These read commands must be to an
address within the pre-read pages. The user is NOT required to read all of the data, or even any of the data,
before issuing another pipelined read-ahead.
4. The user must set the CMD_MAP to "Map 10" and set the starting address of the second block to pre-read in
the FBA, FPA and FSA of the address.
5. The command type must be set to "Write" and the datain bus must be driven with a value of 0x40PP, where the
"0" sets this command as a read-ahead and PP is the number of pages to pre-read.
6. To read any data from the first or the second pre-read page, you must issue Map 01 commands to any
addresses pre-read.
7. To pre-read additional blocks, follow steps 4 to 6. The Map 01 reads can be interleaved with pipelined read-
ahead or pipelined write-ahead commands with a maximum of three pending requests (of either type) other than
the one being processed. However, the OneNAND flash memory controller will not return to idle until all of the
pre-read data has been read through the AHB interface.
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available.
7-12
Specifications and information herein are subject to change without notice.
S3C6400X RISC MICROPROCESSOR

Advertisement

Table of Contents
loading

Table of Contents