Altera Cyclone V Device Handbook page 672

Hide thumbs Also See for Cyclone V:
Table of Contents

Advertisement

10-34
transfer_spare_reg and MAP10 Transfer Mode Commands
of transfer. You must consider that transfer modes can be changed at logical data transfer boundaries. For
example:
• At the beginning or end of a page in case of single page read or write.
• At the beginning or end of a complete multi-page pipeline read or write command.
transfer_spare_reg and MAP10 Transfer Mode Commands
The following table lists the functionality of the MAP10 transfer mode commands, and their mappings to
the transfer_spare_reg register in the config group.
Refer to MAP10 Commands for detailed information about the MAP10 commands.
Table 10-19: transfer_spare_reg and MAP10 Transfer Mode Commands
transfer_spare_reg
0
0
0
1
1
1
Related Information
MAP10 Commands
Configure for Default Area Access
You only need to configure for default area access if the transfer mode was previously changed to spare area
or main+spare area. To configure default area access:
1. Write to the command register, setting the CMD_MAP field to 2 and the BLK_ADDR field to any block.
2. Write 0x42 to the Data register.
The NAND flash controller determines the default area transfer mode from the setting of the
transfer_spare_reg register in the config group. If it is set to 1, then the transfer mode becomes
main+spare area, otherwise it is main area.
Configure for Spare Area Access
To access only the spare area of the flash device, use the MAP10 command to set up the NAND flash controller
to read or write only the spare area on the device. After the flash controller is set up, use MAP01 read and
write commands to access the spare area of the appropriate block and page addresses. To configure the
NAND flash controller to access the spare area only, perform the following steps:
1. Write to the command register, setting the CMD_MAP field to 2 and the BLK_ADDR field to the target
block.
(27)
Default access mode (0x42) maps to either main (only) or main+spare mode, depending on the value of
transfer_spare_reg.
Altera Corporation
MAP10 Transfer Mode Commands
0x42
0x41
0x43
0x42
0x41
0x43
on page 10-9
Resulting NAND Flash Controller Mode
(27)
Main
Spare
Main+spare
(27)
Main+spare
Spare
Main+spare
NAND Flash Controller
Send Feedback
cv_54010
2013.12.30

Advertisement

Table of Contents
loading

Table of Contents