Auto Programming
UG0451 User Guide Revision 7.0 23
Figure 11 • Timing Relationship of Reset and FLASH_GOLDEN_N Pin
5.1.2 Auto Programming of M2S/M2GL050 Device
Auto programming in M2S/M2GL050 devices is performed slightly different than the other devices. The
system controller's dedicated SPI port (SC_SPI) is used in auto programming of 050 devices, as shown
in the following figure.
The SC_SPI port is enabled to operate as SPI master at power-on-reset or when DEVRST_N is asserted
low, and when the FLASH_GOLDEN_N pin is asserted low (pulled low with a 10 K resistor).
Like other devices, an external SPI flash device needs to be connected with the SC_SPI port, and the
standard 0B read command needs to be supported by a serial flash. The bitstream needs to be
preprogrammed at 0x00 location of the external SPI flash device. Other requirements remain the same.
Figure 12 • Auto Programming Scheme for M2S/M2GL050 Devices
Power_on_Reset_N
T1 = SPI activity start time = 800
µ
s
FLASH_GOLDEN Pin
Programming Starts
T1
VDDIOy
3 Pin Jumper
10 K
10 K
10 K
10 K
10 K
3.3 V
3.3 V
0.1
µ
F
VPP
FLASH_GOLDEN_N
DEVRST_N
SC_SPI_SDI
SC_SPI_SDO
VCC
External Flash
M2S/M2GL050
(Master)
DI
DO
GND
CLK
CS
HOLD
WP
SC_SPI_CLK
SC_SPI_SS
y=bank number where
this pin is located
10 K