beautypg.com

Command syntax netbootloader – Kontron NetBootLoader User Manual

Page 78

background image

ID 1022-8317, Rev. 2.0

Command Syntax

NetBootLoader

Page 70

SF

FUNCTION:

Store NBL Flash memory contents to data buffer

SYNTAX:

sf (-o[=] -l[=])|

…(-m[=] -l[=])|

…([ -o[=]][ -l[=]])

where:

sf

command

-o

option: offset

parameter: value: hexadecimal
relative offset to start of FLASH contents or image
to be stored to the data buffer

-l

option: length

parameter: value: hexadecimal
length of FLASH contents or area of visible mem-
ory to be stored to the data buffer

-m

option: memory (address)

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

parameter: numerical string
0, 1, 2, 3
number of the image to be stored

DESCRIPTION:

With the command SF a selected portion of the NBL Flash memory
contents may be copied to the local data buffer (of the currently
specified core), e.g. for a subsequent upload to the FTP server with
the PUT command.

USAGE:

Store 64 kB of NBL Flash memory contents to the data buffer
beginning at an offset of 1 MB

COMMAND / RESPONSE (none):

sf -o=100000 -l=10000

Store FLASH image 2 to the data buffer

COMMAND / RESPONSE (none):

sf 2