Intel® MAX® 10 FPGA – Remote System Upgrade (RSU) Lab

Intel® MAX® 10 FPGA – Remote System Upgrade (RSU) Lab

714982
6/1/2016

Introduction

This lab will walk you through creating and programming all of the files needed to perform a remote system upgrade on an Intel® MAX® 10 device. You will start off by programming an external QSPI flash device with the Nios® II processor firmware that will receive data over UART and reprogram the flash. You will then generate and program the factory image for the device. Lastly, a new application image will be created with updated functionality and you will be walked through remotely upgrading the device with this new image. The design used in this lab is based off of the design created in AN741: Remote System Upgrade for Intel MAX 10 FPGA Devices over UART with the Nios II Processor with some slight modifications to the source code to make it easier to read and use.

Design Details

Device Family

Intel® MAX® 10 FPGAs

Quartus Edition

Intel® Quartus® Prime Standard Edition

Quartus Version

16.0

IP Cores (28)
IP Core IP Core Category
Altera Dual Boot ConfigurationProgramming
Altera Generic QUAD SPI controller ConfigurationProgramming
Altera ASMI Parallel ConfigurationProgramming
Altera EPCQ Serial Flash controller core ConfigurationProgramming
Altera SOFT ASMIBLOCK Other
IRQ Mapper QsysInterconnect
IRQ Clock Crosser QsysInterconnect
Avalon ALTPLL ClocksPLLsResets
MM Interconnect QsysInterconnect
Avalon-ST Adapter QsysInterconnect
Avalon-ST Error Adapter QsysInterconnect
Memory-Mapped Demultiplexer QsysInterconnect
Memory-Mapped Multiplexer QsysInterconnect
Avalon-ST Handshake Clock Crosser QsysInterconnect
Avalon-MM Slave Agent QsysInterconnect
Avalon-ST Single Clock FIFO QsysInterconnect
Avalon-MM Slave Translator QsysInterconnect
Memory-Mapped Burst Adapter QsysInterconnect
Avalon-MM Master Agent QsysInterconnect
Memory-Mapped Traffic Limiter QsysInterconnect
Avalon-MM Master Translator QsysInterconnect
Memory-Mapped Router QsysInterconnect
Nios II Gen2 Processor NiosII
Altera On-Chip Flash Flash
On-Chip Memory (RAM or ROM) OnChipMemory
Reset Controller QsysInterconnect
System ID Peripheral Other
UART (RS-232 Serial Port) Other

Detailed Description

Prepare the design template in the Quartus Prime software GUI (version 14.1 and later)


Note: After downloading the design example, you must prepare the design template. The file you downloaded is of the form of a <project>.par file which contains a compressed version of your design files (similar to a .qar file) and metadata describing the project. The combination of this information is what constitutes a <project>.par file. In releases 16.0 or newer, you can simply double click on the <project>.par file and Quartus will launch that project.


The second means to bring up the project template is through the New Project Wizard (File -> New Project Wizard). After entering the project name and folder on the first panel, the second panel will ask you to specify an empty project or project template. Select project template. You will see a list of Design Templates projects that you have loaded prior as well as various "Baseline Pinout Designs" that contain the pinout and settings for a variety of development kits. If you don't see your design template in the list, click on the link that states install the Design Templates circled below:



Browse to the <project>.par file you downloaded, click next, followed by Finish, and your design template will be installed and displayed in the Project Navigator pane in Quartus.


Note: When a design is stored in the Design Store as a design template, it has been previously regression tested against the stated version of Quartus software. The regression ensures the design template passes analysis/synthesis/fitting/assembly steps in the Quartus design flow.



Prepare the design template in the Quartus Prime software command-line


At the command-line, type the following command:

quartus_sh --platform_install -package <project directory>/<project>.par


Once the process completes, then type:

quartus_sh --platform -name <project>



Note:

* ACDS Version: 16.0.0 Standard


Design Details

Device Family

Intel® MAX® 10 FPGAs

Quartus Edition

Intel® Quartus® Prime Standard Edition

Quartus Version

16.0