Altera cyclone V Technical Reference page 847

Hard processor system
Hide thumbs Also See for cyclone V:
Table of Contents

Advertisement

13-26
Single Block Erase
Single Block Erase
A single command is needed to complete a single-block erase, as follows:
1. Write to the command register, setting the
erase block.
2. Write 0x01 to the
For a single block erase, the register
After the device completes the erase operation, the controller generates an
erase operation fails, the
err_block_addr0
Multi-Plane Erase
For multi-plane erases, the
the flash device, and the block address specified must be aligned to the number of planes in the device. The
NAND flash controller consecutively erases each block of the memory, up to the number of planes
available. Issue this command as follows:
1. Write to the command register, setting the
erase block.
2. Write 0x01 to the
For multi-plane erase, the register
After the device completes erase operation on all planes, the NAND flash controller generates an
erase_comp
erase_fail
the
status
Lock Operations
The NAND flash controller supports the following features:
• Flash locking—The NAND flash controller supports all flash locking operations.
The flash device itself might have limited support for these functions. If the device does not support
locking functions, the flash controller ignores these commands.
• Lock-tight—With the lock-tight feature, the NAND flash controller can prevent lock status from being
changed. After the memory is locked tight, the flash controller must be reset before any flash area can
be locked or unlocked.
Unlocking a Span of Memory Blocks
To unlock several blocks of memory, perform the following steps:
1. Write to the command register, setting the
address of the area to unlock.
2. Write 0x10 to the
3. Write to the command register, setting the
address of the area to unlock.
4. Write 0x11 to the
When unlocking a range of blocks, the start block address must be less than the end block address.
Otherwise, the NAND flash controller exhibits undetermined behavior.
Altera Corporation
register.
Data
erase_fail
register in the
status
number_of_planes
register.
Data
multiplane_operation
interrupt. If the erase operation fails on any of the blocks in a multi-plane erase command, an
interrupt is issued. The failing block's address is updated in the
group.
register.
Data
register.
Data
field to 2 and the
CMD_MAP
multiplane_operation
interrupt is issued. The failing block's address is updated in the
group.
register in the
field to 2 and the
CMD_MAP
in the
field to 2 and the
CMD_MAP
field to 2 and the
CMD_MAP
field to the desired
BLK_ADDR
in the
group must be reset.
config
erase_comp
group holds the number of planes in
config
field to the desired
BLK_ADDR
group must be set.
config
err_block_addr0
field to the starting
BLK_ADDR
field to the ending
BLK_ADDR
cv_5v4
2016.10.28
interrupt. If the
register in
NAND Flash Controller
Send Feedback

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents