Appendix bootstrap loader – Kontron VM162 User Manual

Page 96

Advertising
background image

Appendix Bootstrap Loader

Page BOOT- 4

© PEP Modular Computers

Juli 23, 1997

Example 1:

The host is assumed to be an OS-9 development system. A serial cable is used to connect the ser0 port of the board to pro-
gram to t0 of the development system. Additionally, we assume that we want to program a PEPbug image which is availa-
ble as a file 'pbVM42' in a binary image format. The serial connection should run at 38400 Baud. The following steps must
be performed:

Host:

xmode /t0 baud=38400 nopause

iniz /tO

Target:

pf ser0 38400

lf -u

Host:

binex -s3 -a=4000000 pbVM42 >/t0

Example 2:

The host is assumed to be a PC with Windows, Windows95 or WindowsNT. A serial cable is used to connect the ser0 port
of the board to program to COM2 of the PC. Additionally, we assume that we want to program a Motorola S-record built
for address 0, e.g the VxWorks file bootrom.hex. The serial connection should run at 19200 Baud. The following steps must
be performed:

Host:

In a DOS Window, configure the COM 2 port to the correct parameters:

mode com2: baud=19200 parity=n data=8 stop=1

Target:

pf ser0 19200 lf -o=4000000

Host:

type bootrom.hex >com2:

In both examples, the programming can be monitored over the term port. The characters displayed have the following
meaning:

• r

Read S-record; valid and in range

• t

Protected sector touched

• e

Erase sector

• c

Copy to buffer, program later

• p

Program record

Advertising
This manual is related to the following products: