• No results found

Front Panel Related VMEPROM Features

6.2.1 Reset Key

Activating the reset key on the front panel causes • all programs to terminate immediately

• and the processor and all I/O devices to be reset.

i

IMPORTANT Loss of data and user program

When the VMEPROM kernel is started, it overwrites the first word in the user memory after the task control block with an exit system call (XEXT). If breakpoints are defined and a user program is running when the reset key is activated, the user program will possibly be destroyed.

• While a program is running only activate the reset key as a last resort when all other actions (such as pressing^Ctwice or aborting the pro- gram) have failed.

6.2.2 Abort Key

VMEPROM causes a level-7 interrupt when the abort key is activated. This interrupt cannot be disabled and is therefore the appropriate way to terminate a user program and return to the VMEPROM command level.

i

IMPORTANT User program tasks with port 0 (phantom port) as their input port will not be terminated.

Abort key activation

Activating the abort key while a user program is running causes

• all user registers to be saved at the current location of the program counter

• and the messageAborted Taskto be displayed along with the con- tents of the processor register.

Activating the abort key while a VMEPROM built-in command is exe- cuted or the command interpreter is waiting for input causes

• the messageAborted Task to be displayed (contrary to the situa- tion above, the processor registers are neither modified nor displayed) • and the control to be transferred to the command interpreter.

Front Panel Related VMEPROM Features VMEPROM 2040 77 J une 1999; las t doc um ent at ion c hange wit h V M E P R O M /3 2 V er s . 2. 85 6.2.3 Rotary Switches

The settings of the 2 rotary switches on the front panel of the CPU board are read in by VMEPROM after power up or reset. They define the ac- tions taken by VMEPROM after power up or reset:

• rotary switch MODE 1 controls – the program invoked,

– the start-up file executed,

– and the check of the VMEbus for available hardware. • rotary switch MODE 2 controls

– the initialization of the RAM disk, – the default data size on the VMEbus, – and the memory location of the RAM disk.

All settings documented below apply for both, during power-up and dur- ing reset unless explicitly stated otherwise.

Configuring the action-to-switch- setting

correspondence

The correspondence between the actions VMEPROM takes after power up and reset and the rotary switch settings can be configured by patching the system PROM according to the user’s choices. For a description of the memory locations to be patched, see section 7.7 “Modifying Special Locations in ROM” on page 174.

Default

correspondence

The following tables show frequently used configuration examples and document the default correspondence between actions and the rotary switch settings as defined for VMEPROM.

For the correspondence between the rotary switch setting and the bits set in the MODE x status register, see section 3.3.3 “MODE x Rotary Switch Setting” on page 43.

VMEPROM Front Panel Related VMEPROM Features

Table 59 Examples for power-up and reset configuration by rotary switches Setting of

MODE

Description of actions after power-up and reset

2 1

F F • 32-bit VMEbus data size

• RAM disk at top of memory • Start of VMEPROM

4 C • RAM disk initialization

• 32-bit VMEbus data size

• RAM disk at address4080.000016 • Start of VMEPROM

• Execution of start-up file SY$STRT

• Check for available hardware on the VMEbus and wait for SYSFAIL to disappear from the VMEbus

B 3 • 16-bit VMEbus data size

Front Panel Related VMEPROM Features VMEPROM 2040 77 J une 1999; las t doc um ent at ion c hange wit h V M E P R O M /3 2 V er s . 2. 85

Table 60 Power-up and reset actions defined by rotary switch MODE 2 MODE 2

status register bit

Description

and MODE 2 setting at front panel

3 Bit 3 defines whether the RAM disk will be initialized

after power-up and reset. Bit 3 =0 (settings0through7)

The RAM disk is initialized after power-up and reset as defined by bit 0 and bit 1. After disk initialization all data on the disk is lost.

Bit 3 =1 (settings8throughF)

The RAM disk will not be initialized after power up and reset.

2 Bit 2 defines the default data size on the VMEbus.

Bit 2 =0 (settings0–3,8–B) The default data size is 16 bit. Bit 2 =1 (settings4–7,C–F) The default data size is 32 bit.

1 and 0 Bit 1 and bit 0 define the default RAM disk usage.

Bit 1 =0and bit 2 =0(settings0,4,8,C) RAM disk at4080.000016(512 Kbyte) Bit 1 =0and bit 2 =1(settings1,5,9,D)

RAM disk atFFC0.800016(64 Kbyte) Bit 1 =1and bit 2 =0(settings2,6,A,E)

RAM disk atFC80.000016(512 Kbyte) Bit 1 =1and bit 2 =1(settings3,7,B,F)

VMEPROM Front Panel Related VMEPROM Features

Table 61 Power-up and reset actions defined by rotary switch MODE 1 MODE 1

status register bit

Description

and MODE 1 setting at front panel

3 and 2 Bit 3 and bit 2 define the program to be invoked after

power-up and reset.

Bit 3 =0and bit 2 =0(settings0,1,2,3)

The user program at4080.000016is invoked. Bit 3 =0and bit 2 =1(settings4,5,6,7)

The user program atFFC0.800016is invoked. Bit 3 =1and bit 2 =0(settings8,9,A,B)

The user program atFC80.000016 is invoked. Bit 3 =1and bit 2 =1(settingsC,D,E,F)

VMEPROM is invoked.

1 Bit 1 defines whether VMEPROM tries to execute a

start-up file after power-up and reset. Bit 1 =0 (settings0,1,4,5,8,9,C,D)

VMEPROM tries to execute a start-up file. The default filename is SY$STRT.

Bit 1 =1 (settings2,3,6,7,A,B,E,F)

VMEPROM does not try to execute a start-up file but comes up with the default banner, instead.

0 Bit 0 defines whether VMEPROM takes the follow-

ing two actions:

• check the VMEbus for availability of any of the following hardware:

Contiguous memory, ISIO-1/2, SIO-1/2, ISCSI-1, WFC-1

• wait for SYSFAIL to disappear from the VMEbus. For details, see section 6.5.2 “CONFIG – Search VMEbus for Hardware” on page 136.

Bit 0 =0 (settings0,2,4,6,8,A,C,E) VMEPROM takes both actions. Bit 0 =1 (settings1,3,5,7,9,B,D,F)

Memory Usage of VMEPROM VMEPROM 2040 77 J une 1999; las t doc um ent at ion c hange wit h V M E P R O M /3 2 V er s . 2. 85

Related documents