Purpose
This example demonstrates how to setup the QSPI Flash in XIP mode to execute code from QSPI flash.
Requirements
This package can be used with SAMV7x evaluation kits.
Description
Ths code writes the coremark benchmark code into flash via SPI and enables quad mode spi to read code and to execute from it.
Usage
- Build the program and download it inside the SAM V71 Xplained Ultra board. Please refer to the Getting Started with SAM V71 Microcontrollers.pdf
Optionally, on the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
- 115200 bauds
- 8 bits of data
- No parity
- 1 stop bit
- No flow control
Start the application.
- Upon startup, the application will output the following lines on the terminal window:
-- QSPI XIP Example xxx --
-- SAMxxxxx-xx
-- Compiled: xxx xx xxxx xx:xx:xx --
QSPI drivers initialized
References