5 comms switch map programming – Sundance SMT329 User Manual

Page 17

Advertising
background image

TIM1-3:

C3=>C0

C4=>C1

C5=>C2

TIM4:

C3=>C1

C4=>C2

C5=>C5 (loop back)

The map file is stored in the flash in ascii

and has a keyword identifier immediately before the map data of "SMT329MAP"

This is the map which is duplicated at the top of the file:

SMT329MAPCAB012345678

-END-

The very first line begins with the map keyword “SMT329MAP“, although it can appear
anywhere in the text. This is immediately followed by “

CAB012345678

” which is the actual

map. The descriptive text which follows explains each map entry.

4.2.2.5 Comms Switch Map Programming

The map text file can be programmed from either the VME or from TIM slot 1 or slot 4. The
VME controller map write program is written for a Xycom XVME-660 PC host running DOS,
and will need porting to any other environment. The TIM map write program is written for
an SMT395, but will also run on an SMT365 and some other TIMs, unchanged.
The source code for both programs is available for information only. Extreme care is required
if these programs are modified, as damage to the other contents of the SMT329 flash may
result in complete failure of the board, as the flash also contains the configuration images for
both the Spartan3 and the Virtex4.
Note that the red front panel LED is on, and the VME bus signal SYSFAIL is driven low, when
the Virtex4 has not been configured. This state will continue indefinitely if the flash is
corrupted, but should normally only be seen briefly immediately after switch on.
In order to provide user protection from flash corruption, 2 separate security features are
implemented, in addition to the write sequence security built into the flash device:
1. A 32 bit KEY register must be loaded with the flash write key to enable writes to the flash.
2. The flash has been divided into a factory and a user area. The user flash programming tool
only writes to the user area, the factory area remains unchanged. This means that it should
always be possible to set the SMT329 to the standard map (example 1) by switching to the
factory flash area. The flash area used by the CPLD after power on, is controlled by the DIP
switch SW2 bit 4 as follows:

SW2/4 OFF = Factory area (UVB4 = 1)
SW2/4 ON

= User area

(UVB4 = 0)

User Manual SMT329

Page 17 of 52 Last

Edited:

09/02/2007

10:58:00

Advertising