Board Support Package (BSP)
•
89
Ethernet Interface Services
WAGO-I/O-SYSTEM 750
Linux Fieldbus Coupler
4.5.6 Netflash
Netflash
is a utility program that serves to load image files to your PC via a
network and to write them to the flash memory. The possibility to update the
system via the network offers a great advantage in terms of system
maintenance and usability, especially in embedded systems.
Netflash
supports to download image files with different protocols such as
http, tftp and ftp. If no options are enabled (see next page), the flash memory
will be updated in the following way:
•
All processes are terminated
•
The indicated file is loaded
•
The checksum of the loaded file is verified
•
If the checksum is correct, the image is written to the flash memory of the
Linux fieldbus controller
•
The Linux fieldbus controller is rebooted
The general syntax for netflash is:
netflash [-bCfFhijklnzuv?] [-c console-device] [-d delay] [-o
offset] [-r flash-device] [net-server] filename
Options
•
-b
No restart after the flash memory update
•
-C
Checks if the image was written correctly
•
-f
Uses FTP as load protocol
•
-F
Forces all areas (blocks) of the flash memory to be overwritten
•
-h
Opens the help menu
•
-i
Ignores all version information
•
-H
Ignores the hardware type information