Kontron PEP CP321 Manual page 90

Power pc-based cpu board for compactpci applications
Table of Contents

Advertisement

NetBootLoader
Gaining access to the image for programming to FLASH depends on where it is located. The
NetBootLoader can access three different sources for images:
• ftp server
• Motorola S-Records
• memory within the visible address range of the CPU board
The NetBootLoader uses a single data buffer for downloading an image from an ftp server or
an image as Motorola S-Records. These images must first be downloaded to the data buffer
prior to being programmed to FLASH. An image located within the visible address range of the
CPU board is directly accessible for programming.
To access an image located on an ftp server, the "get" command is used. To perform Motorola
S-Record acquisition, the "sl" (SLoad) command is used. Once the image is in the data buffer,
the FLASH is programmed using the "lf" (Load Flash) command. For an image within visible
memory, the "lf" (LoadFlash) command is used to program directly to FLASH.
5.4.5.3
ftp Server Access
To gain access to an application image file stored on an ftp server the Ethernet interface is
used. Images are downloaded to the data buffer using the ftp protocol. To use this interface the
Ethernet parameters must first be set and then the system must be restarted. During boot wait
the operator must gain control of the NetBootLoader and perform an ftp server login. After a
successful login, the operator then locates the image file required and downloads it to the data
buffer. As with any type of server session, the operator should logout when the session is fin-
ished.
Note ...
The commands "get" and "ls" use the same data buffer. Therefore if an "ls" com-
mand is issued after a "get" command the data buffer will be overwritten. If an "lf"
command follows the "ls" the NetBootLoader refuses to program the overwritten
data buffer to the FLASH.
5.4.5.4
Motorola S-Records
The NetBootLoader will also accept Motorola S-Records as an application image. The "sl"'
command accepts S1, S2 and S3 records. Operation is terminated by the appropriate S9, S8
or S7 record. Other types of records are ignored.
The checksum of every record except end records is checked. Bad records are rejected by the
NetBootLoader. The address range of every record is also checked. Records which fall outside
of the internal buffer are rejected.
The records must be 0-based. This means that it's address must correspond to the address
where they will be loaded in the data buffer relative to its start. If necessary, the base address
can be modified with the -o option of the "sl" command.
Note ...
If the data buffer is programmed to FLASH without the -o option (program a start-
able image) the downloaded image is copied to RAM during startup and is exe-
cuted there. For this reason application images which require to be programmed
must start at the address 0x0.
Page 5 - 10
© 2003 Kontron Modular Computers GmbH
CP321
ID 24977, Rev. 02

Advertisement

Table of Contents
loading

Table of Contents