beautypg.com

Netbootloader vmp1 – Kontron VMP1 with Netbootloader User Manual

Page 86

background image

NetBootLoader

VMP1

Page 5 - 20

© 2002 PEP Modular Computers GmbH

ID 26037, Rev. 01

DESCRIPTION:

If no offset option (“-o”) is specified the image is considered to be
valid and is therefore added along with CRC and length information.

If the CRC is determined to be valid during the next startup, the
image is copied to the absolute address 0x0 and started at 0x100
after the boot wait time has been exceeded.

Normally, the local data buffer holds the image to be programmed.
However, if the “-m” and “-l” parameters are specified, the image is
programmed from the absolute address specified.

If “” is specified, the contents are programmed exactly at this
offset in FLASH. No length and no CRC information is added.

The “-k” option can be specified to prevent deletion of the
surrounding FLASH contents.

FLASH memory can only be erased sector-wise. If an image is
programmed to a certain offset with the “-o” option, at least this
sector (and maybe one or more of the following sectors depending
on the size of the image) will be erased. The “-k” option can be used
to retain the surrounding data, however, this slows down the
operation significantly.

To achieve fast programming of parameter images without
destroying other FLASH contents, the data should be placed at a
sector boundary and the sector(s) must not contain any other data or
executable images. If organized this way, use of the “-k” option can
be avoided.

Note: The “lf” command cannot be used to program the NetBootLoader.

USAGE:

Program FLASH from data buffer and add CRC and image length

COMMAND / RESPONSE (none):

lf

Program FLASH from data buffer to offset 0xF4240

COMMAND / RESPONSE (none):

lf -o=f4240

Program FLASH from visible address at 0x87000000 for length of
0x123456

COMMAND / RESPONSE (none):

lf -m=87000000 -l=123456

L F