Arria V Hard Processor System Technical Reference Manual

ID 683011
Date 12/02/2022
Public
Document Table of Contents

16.5.6.1.2. 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 gets 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 flashcmd register to issue the VCR write command.
  4. Set the XIP mode bits in the modebit register to 0x00.
  5. Enable the quad SPI controller’s XIP mode by setting the enterxipnextrd bit of the cfg register to 1.
  6. Re-enable the direct access controller and, if required, the indirect access controller.