2 system operation, 1 startup, 2 entering the command mode – Kontron VM162 User Manual

Page 94: Appendix bootstrap loader, 2system operation 2.1 startup

Advertising
background image

Appendix Bootstrap Loader

Page BOOT- 2

© PEP Modular Computers

Juli 23, 1997

2

System Operation

2.1 Startup

After system reset, the Bootstrap Loader is started. It searches the FLASH memory area for a valid start key. If this start
key is found, the Bootstrap Loader checks the 'BootWaitTime' from serial EEPROM. If the time is valid, the continuation
of the boot process is delayed by this time while flashing the green front panel LED to indicate that the system is alive but
waiting for continuation. If the time is not valid, a default of 5 seconds is used. After the BootWaitTime has passed, the
program in FLASH is started.

The Bootstrap Loader has two modes of operation: non-interactive start mode as described above and the interactive com-
mand mode.

For normal board operation, only the non-interactive start mode is used to start a program in FLASH. This is done auto-
matically without any user interaction. The interactive command mode is used to re-program the FLASH memory contents
or change the BootWaitTime.

The serial term port operates at 9600 Baud, 8 bits / character, 1 stop bit and no parity.

2.2 Entering the Command Mode

There are two possible cases:

lf no valid start key was found, the Bootstrap Loader's command mode is entered automatically

1)

.

If the user wants to enter the Bootstrap Loader manually (e.g. for re-programming the FLASH contents) he must use the
ABORT button on the front panel.

Note: The ABORT button must not be pushed until the green LED appears, because this button generates an NMI and the
exception vector tables must be initialized correctly to serve this NMI. Pressing the ABORT prior to the green LED leads
to HALT in most cases. In this case, press the RESET button and try again.

The ABORT button must, however, be pushed before the green LED stops flashing (BootWaitTime), because system control
is passed to the downloaded binary image afterwards. The LED is cycled every 0.25 sec so if 1 second is specified as Boot
WaitTime, the LED will only flash 2 times.

CTRL-x deletes the complete input line while CTRL-a restores the last input line.

1)

The start key is a special combination of data appended at the end of the load program.

Advertising
This manual is related to the following products: