![ST STMC2 Скачать руководство пользователя страница 23](http://html1.mh-extra.com/html/st/stmc2/stmc2_manual_1356131023.webp)
ST Micro Connect 2
Configuration using the stmcconfig utility
7912386 Rev 12
23/58
5.3 Upgrade
firmware
in
Flash (--firmware-upgrade)
Warning:
The firmware upgrade process must not be interrupted.
Doing so may render your ST Micro Connect 2 unusable.
During the upgrade process, a message is displayed on the
LCD stating that the upgrade is in progress and the ST Micro
Connect 2’s three indicator LEDs are lit.
The ST Micro Connect 2 firmware is held in Flash. Two copies of the firmware can be
resident in Flash at any one time. When the ST Micro Connect 2 boots, it loads from the
“current” firmware partition. The other firmware partition is known as the “alternate” firmware
partition. When new firmware is downloaded onto an ST Micro Connect 2, it is written to the
alternate firmware partition. On completion of the upgrade, the ST Micro Connect 2 is reset
and the alternate partition becomes the current partition, and the ST Micro Connect 2
restarts from the new firmware. User configuration of network interfaces is persistent across
the upgrade. The argument to the
--firmware-upgrade
option is the path to the upgrade
image on your host.
Note:
1
The
--firmware-upgrade
option reboots the ST Micro Connect 2.
2
Restoring the previous firmware from the alternate partition is described in
Section 5.2
.
Syntax
stmcconfig --ip <
ip address
> --firmware-upgrade <
firmware dir
>
Example
% stmcconfig --ip 192.168.1.1 --firmware-upgrade /opt/STM/STMCR1.6.0/firmware
5.4
Report the current firmware version (--firmware-version)
The
--firmware-version
option displays the current firmware version.
Syntax
stmcconfig --ip <
ip address
> --firmware-version
Example
% stmcconfig --ip 192.168.1.1 --firmware-version
STMC2 firmware version 2.0 23 Aug 2006
5.5
Display stmcconfig help (--help)
The
--help
option displays a brief description of
stmcconfig’
s options.
Table 2 on page 21
lists
stmcconfig
options.
Example
% stmcconfig --help
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from