0100First IssueSeptember,1997acb
0110Load/remove of OS-9 modulesJan. 1998mf
This document contains proprietary information of PEP Modular Computers. It may not be copied or transmitted by
any means, passed to others, or stored in any retrieval system or media, without the prior consent of PEP Modular
Computers or its authorized agents.
The information in this document is, to the best of our kno wledge, entirely correct. However, PEP Modular Computers
cannot accept liability for any inaccuracies, or the consequences thereof, nor for any liability arising from the use or
application of any circuit, product, or example shown in this document.
PEP Modular Computers reserve the right to change, modify, or improve this document or the product described
herein, as seen fit by PEP Modular Computers without further notice.
BOOTSTRAP LOADER FOR VM 30, VM 162, VM 172, VM(6)62, VM(6)42,
VSBC 32, IUC-32, (V)IUC, VSBC-4, SMART I/O AND SMART II (CM302)
1 Introduction
The Bootstrap Loader is a stand-alone software located in FLASH memory which allows the user to safely update the contents of the FLASH and delay the boot process for a specified time.
The Bootstrap Loader has the capability of pro gramming FLASH memory from “MOTOROLA S-R ECORDS” or from an
absolute memory address. If the programmed image does not work, the Bootstrap Loader can be entered again. The memory contents can be examined and ano ther programming cycle initiated.
The Bootstrap Loader is delivered already installed on PEP´s CPU boards equipped with FLASH devices.
Please read this user manual before reprogramming any FLASH memory.
WARNING !
When programming FLASH memory, *NEVER* press the RESET button or switch off the mainpower! This may damage the Bootstrap Loader and will consequently leave the board unusable due
to corrupt FLASH contents.
However, the ABORT button may be used to cancel a running operation safely.
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 or R TC. If the entr y is valid, the co ntinuation 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 entry 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 abo ve and the interactive command mode.
For normal board operation, only the non-interactive start mo de is used to start a program in FLASH. This is done automatically 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:
If no valid start key was found, the Bootstrap Loader's command mode is entered automatically
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.
On CPUs without an ABORT button, the Bootstrap Loader will enter the command mode on detecting a BREAK character
of at least one second length at the terminal connector.
The ABORT button must not be pushed until th e green LED appears, because this button ge nerates a NMI and the
Note:
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
Note:
control is passed to the downloaded binary image afterwards. The LED is cycled every 0.25 sec so if 1 second is specified
as BootWaitTime, the LED will only flash 2 times.
CPUs without an user LED or without an ABORT button uses a BootWaitTime of at least 5 seconds.
Note:
CTRL-x deletes the complete input line while CTRL-a restores the last input line.
1)
.
1)
The start key is a special combination of data appended at the end of the load program or inside the load progr am itself.