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

ID 1022-8317, Rev. 2.0
Command Syntax
NetBootLoader
Page 47
DESCRIPTION:
If the “-o” option is specified, the contents are programmed exactly at
this offset in NBL Flash memory. No length and no CRC information
is added. In addition, no image number is assigned (even if
specified), and the image cannot be loaded and started with the RUN
command.
The “-k” option can be specified to prevent deletion of the
surrounding NBL Flash memory 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 NBL Flash memory 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 NBL Flash memory from data buffer and add CRC and
image length (Image ID = 0 is assumed)
COMMAND / RESPONSE (none):
lf
Program NBL Flash memory from visible address at 0x87000000 for
length of 0x123456
COMMAND / RESPONSE (none):
lf -m=87000000 -l=123456
Program NBL Flash memory from data buffer to offset 0xF4240 and
retain adjacent NBL Flash memory contents
COMMAND / RESPONSE (none):
lf -o=f4240 -k
Delete image 1 from FLASH contents
COMMAND / RESPONSE (none):
lf 1 -r
LF
(NBL Flash)