Configuring Cyclone II Devices
Altera programming hardware (APU) or other third-party programming
hardware can be used to program blank serial configuration devices
before they are mounted onto PCBs. Alternatively, you can use an on-
board microprocessor to program the serial configuration device on the
PCB using C-based software drivers provided by Altera (i.e., the SRunner
software driver).
A serial configuration device can be programmed in-system by an
external microprocessor using SRunner. SRunner is a software driver
developed for embedded serial configuration device programming,
which can be easily customized to fit in different embedded systems.
SRunner can read a Raw Programming Data File (.rpd) and write to the
serial configuration devices. The serial configuration device
programming time using SRunner is comparable to the programming
time when using the Quartus II Programmer.
f
For more information about SRunner, see the SRunner: An Embedded
Solution for EPCS Programming White Paper and the source code on the
Altera web site at www.altera.com. For more information on
programming serial configuration devices, see the Serial Configuration
Devices Data Sheet in the Configuration Handbook.
Figure 13–8 shows the timing waveform for the AS configuration scheme
using a serial configuration device.
Figure 13–8. AS Configuration Timing
t
CF2ST1
nCONFIG
nSTATUS
CONF_DONE
nCSO
t
CL
DCLK
t
CH
t
H
Read Address
ASDO
t
SU
DATA0
bit N
bit N − 1
bit 1
bit 0
299 Cycles
INIT_DONE
User I/O
User Mode
Tri-stated with internal
pull-up resistor.
Altera Corporation
February 2007
13–21
Cyclone II Device Handbook, Volume 1