beautypg.com

Command syntax netbootloader, Lf (nbl flash) – Kontron NetBootLoader User Manual

Page 54

background image

ID 1022-8317, Rev. 2.0

Command Syntax

NetBootLoader

Page 46

LF

(NBL Flash)

FUNCTION:

Load Flash (active NBL Flash)

SYNTAX:

lf [] [[-r]|[[-o[=][ -k]]

… [-m[=] -l[=]]]]

where:

lf

command

parameter: numeric string
0, 1, 2, 3
ID number assigned to this image

-r

option:
delete image specified, or, if none specified, delete
image 0

-o

option: offset
parameter: hexadecimal
<[x … ]x>
program to FLASH offset of ...

-k

option: keep
retain surrounding contents

-m

option: memory (address)

parameter: hexadecimal
<[x … ]x>
absolute address of image to be programmed

-l

option: length

parameter: hexadecimal
<[x … ]x>
length of image to be programmed

DESCRIPTION:

If is not specified, 0 is assumed.

Without options, the NBL Flash memory is programmed using the
contents of the data buffer (of the currently specified core). If no
image is available in the data buffer, programming is terminated.

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

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.