6 updating the netbootloader, Updating the netbootloader - 11, 2 updating via a separate dil flash - 11 – Kontron VMP2 User Manual

Page 85: Vmp2 netbootloader

Advertising
background image

VMP2

NetBootLoader

ID 24855, Rev. 02

© 2002 PEP Modular Computers GmbH

Page 5 - 11

The image must start at the absolute address 0x0 and must contain executable PPC code at
the absolute address 0x100. If S1 or S2 record input is preferred, please note that these
records only include 16 and 24-bit wide addresses. If no switch to another record type is includ-
ed it must be ensured that the code is not larger than the address range covered.

For accessing the Motorola S-Records, both the TERM and SER0 interfaces can be used. The
user LED (“U”) flashes slowly while downloading indicating that the transfer is in progress. The
transfer itself may take several minutes to complete.

Ensure that the XON/XOFF protocol is used on the host side. This is a fixed setting and cannot
be changed. Additionally, ensure that the host does not stop transmission after a number of
lines (e.g. OS-9: use the ‘nopause’ attribute).

The TERM and SER0 serial interface parameters can be modified with the “pf” command.

5.4.6

Updating the NetBootLoader

In addition to programming an application to FLASH, the NetBootLoader itself can be updated.
The new version of the image can be made available in one of two ways:

Via an ftp server

Via a DIL FLASH device

5.4.6.1

Updating With an Image Loaded Via an ftp Server

The image is downloaded in the same way as an application image (refer to chapter 5.4.5.3).
The new version of NetBootLoader image is then programmed using the “clone -n” command.

5.4.6.2

Updating Via a Separate DIL FLASH

The new version of the NetBootLoader image must be programmed to a separate DIL FLASH
device (e.g. AM29F040) with an external programmer and then plugged on the Memory Expan-
sion socket of the CPU board. The NetBootLoader must be started and operator must gain con-
trol of the NetBootLoader. Either the current NetBootLoader (Boot Jumper removed) or the new
NetBootLoader version (BootJumper inserted) may be used for this operation.

The “clone” command is then used to program the new NetBootLoader version to FLASH.

If for some reason the NetBootLoader programmed in the soldered FLASH has been improp-
erly modified (e.g. by a program which accidentally erases or overwrites the chips), this is the
only method to reprogram the onboard soldered FLASH. In this case, the boot operation must
be started with the Boot Jumper inserted (boot from DIL FLASH).

Note ...

If the data buffer is programmed to FLASH without the -o option (program a start-
able image) the downloaded image is copied to RAM during startup and is exe-
cuted there. For this reason application images which require to be programmed
must start at the address 0x0.

Note ...

Neither the “sl” nor “If” command can be used to program Motorola S-Records to
RAM areas.

Advertising