Altera cyclone V Technical Reference page 1107

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

Advertisement

15-18
Entering XIP Mode
Entering XIP Mode
Micron Quad SPI Flash Devices with Support for Basic-XIP
To enter XIP mode in a Micron quad SPI flash device with support for Basic-XIP, perform the following
steps:
1. Save the values in the mode bits, if you intend to restore them upon exit.
2. Disable the direct access controller and indirect access controller to ensure no new read or write
accesses are sent to the flash device.
3. Set the XIP mode bits in the
4. Enable the quad SPI controller's XIP mode by setting the
5. Re-enable the direct access controller and, if required, the indirect access controller.
Micron Quad SPI Flash Devices without Support for Basic-XIP
To enter XIP mode in a Micron quad SPI flash device without support for Basic-XIP, perform the
following steps:
1. Save the values in the mode bits, if you intend to restore them upon exit.
2. Disable the direct access controller and indirect access controller to ensure no new read or write
accesses will be sent to the flash device.
3. Ensure XIP mode is enabled in the flash device by setting the volatile configuration register (VCR) bit 3
to 1. Use the
4. Set the XIP mode bits in the
5. Enable the quad SPI controller's XIP mode by setting the
6. Re-enable the direct access controller and, if required, the indirect access controller.
Winbond Quad SPI Flash Devices
To enter XIP mode in a Winbond quad SPI flash device, perform the following steps:
1. Save the values in the mode bits, if you intend to restore them upon exit.
2. Disable the direct access controller and indirect access controller to ensure no new read or write
accesses are sent to the flash device.
3. Set the XIP mode bits in the
4. Enable the quad SPI controller's XIP mode by setting the
5. Re-enable the direct access controller and, if required, the indirect access controller.
Spansion Quad SPI Flash Devices
To enter XIP mode a Spansion quad SPI flash device, perform the following steps:
1. Save the values in the mode bits, if you intend to restore them upon exit.
2. Disable the direct access controller and indirect access controller to ensure no new read or write
accesses are sent to the flash device.
3. Set the XIP mode bits in the
4. Enable the quad SPI controller's XIP mode by setting the
5. Re-enable the direct access controller and, if required, the indirect access controller.
Altera Corporation
modebit
register to issue the VCR write command.
flashcmd
modebit
modebit
modebit
register to 0x80.
enterxipnextrd
register to 0x00.
enterxipnextrd
register to 0x20.
enterxipnextrd
register to 0xA0.
enterxipnextrd
2016.10.28
bit of the
register to 1.
cfg
bit of the
register to 1.
cfg
bit of the
register to 1.
cfg
bit of the
register to 1.
cfg
Quad SPI Flash Controller
Send Feedback
cv_5v4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents