Real-time isp demonstration, Using the demo – Altera MAX II User Manual

Page 22

Advertising
background image

2–14

Development Kit Version 1.1.0

Altera Corporation

MAX II Development Kit Getting Started User Guide

July 2005

Demo Designs

Real-Time ISP Demonstration

MAX II devices provide a feature called real-time ISP. Real-time ISP
allows a device’s Configuration Flash Memory (CFM) to be loaded with
a new design while another design continues to function in the SRAM
(volatile) portion of the device. After a new POF file has been loaded into
the MAX II device with real-time ISP enabled, cycling power causes the
new design to become active in the MAX II device. Further power cycles
simply reload the design residing in the CFM (you cannot switch back
and forth between two different designs).

Using the Demo

w

Any two designs will allow for investigation of this feature, with
one important caveat—the design residing in the MAX II device
cannot read from the UFM while the CFM is being overwritten
(while actually programming the device). The example below
holds true whether the designs used are included in this kit or
are custom user designs. Two of the designs included in this kit
continually read from the UFM and thus appear to fail when the
Real-Time ISP

option is used and another design is loaded into

the CFM. These two designs are the Vending Machine Demo
and the Functional Test. In order to view the Real-Time ISP
Demo

, you should avoid having these designs running in the

MAX II device while loading a second design into the CFM.
However, either of them can be loaded in the CFM while
another design is running.

1.

Program the MAX II device with the FunctionalTest.pof file. (Refer
to

“Programming the MAX II Device” on page 2–4

for details on

how to load POF files into the MAX II device.)

2.

Observe the design functioning as explained in

“Running the

Functional Test” on page 2–6

.

3.

Open the VendingMachineDemo.pof file in the Quartus II
software.

4.

Choose Options (Tools menu) and then click Programmer in the list
of options on the left.

5.

Check the Enable real-time ISP to allow background
programming

check box. See

Figure 2–5

.

Advertising