Vmp3 netbootloader – Kontron VMP3 User Manual

Page 109

Advertising
background image

VMP3

NetBootLoader

ID 29230, Rev. 01

© 2005 Kontron Modular Computers GmbH

Page 5 - 25

29230

.01.UG.VC.050727/091439

P R E L I M I N A R Y

LF

FUNCTION:

Load Flash

SYNTAX:

lf [<num> ][-o[=]<offset> [-k ]]

… [-m[=]<adr> -l[=]<len>]

where:

lf

command

<num>

parameter: value: numeric “0, 1, 2, 3”
ID number assigned to this image

-o

option: offset

<offset>

parameter: value: hexadecimal
program to FLASH offset of ...

-k

option: keep
retain surrounding contents

-m

option: memory (address)

<adr>

parameter: value: hexadecimal
absolute address of image to be programmed

-l

option: length

<len>

parameter: value: hexadecimal
length of image to be programmed

DESCRIPTION:

If <num> is not specified, 0 is assumed.

Without options, the FLASH is programmed using the contents of the
data buffer. If no image is available in the data buffer, the FLASH
programming is terminated.

If no offset option (“-o”) is specified the image is added along with the
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” options are specified, the image is
programmed from the absolute address specified.

If the “-o” option 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.

Advertising