8. Firmware Update MMX2 series – User's Manual 107
Update
Command
LightwareDeviceUpdaterV2_CLI.cmd update [options]
Options
Option Description
-p or --package yes
-i or --ip
one of them is
mandatory
-n or --hostName
-r or --reportProgress Report update progress in percentage form. Default: false optional
at this command; see the Package Options section.
optional
ATTENTION!
update command. In that case, there is no need to run the restore command after the update.
Example
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>LightwareDeviceUpdaterV2_CLI.cmd update --ip
192.168.1.19 --package C:\Firmwares\taurus_v1.3.3b3.lfp2 --reportProgress
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>lib\jre\bin\java.exe -jar lib\ldu2.jar update --ip
192.168.1.19 --package C:\Firmwares\taurus_v1.3.3b3.lfp2 --reportProgress
[2022-02-11 11:22:52.820] [ INFO] [ main] - Device IPs: [192.168.1.19]
[2022-02-11 11:22:58.317] [ INFO] [ main] - All selected devices are available over the network.
[2022-02-11 11:23:01.308] [ INFO] [ main] - All the selected devices are compatible with the specified
package.
[2022-02-11 11:23:04.356] [ INFO] [ 192.168.1.19] - Taurus UCX update process started
[2022-02-11 11:23:04.496] [ INFO] [ 192.168.1.19] - Update API version: 1.0
[2022-02-11 11:23:04.525] [ INFO] [ 192.168.1.19] - Update parameters: deviceIp: 192.168.1.19, factoryDefault:
false
[2022-02-11 11:23:04.556] [ INFO] [ 192.168.1.19] - Update protocol: http://
[2022-02-11 11:23:04.558] [ INFO] [ 192.168.1.19] - Authentication type: NONE
[2022-02-11 11:23:04.737] [ INFO] [ 192.168.1.19] - Device info: Product name: MMX2-4x3-H20, Device label:
LW_MMX2-4x3-H20_00007316, Serial number: 00007316, Mac address: a8:d2:36:F0:73:16, Ip address: 192.168.1.19, Host
name: , Package version: v1.3.3b3, Part number: 91310078, Hw version: V10_KAK1
[2022-02-11 11:23:04.753] [ INFO] [ 192.168.1.19] - Uploading firmware package.
[2022-02-11 11:32:54.050] [ INFO] [ProgressReporter] - Progress: 13%
[2022-02-11 11:32:59.056] [ INFO] [ProgressReporter] - Progress: 19%
[2022-02-11 11:33:04.060] [ INFO] [ProgressReporter] - Progress: 25%
[2022-02-11 11:33:09.067] [ INFO] [ProgressReporter] - Progress: 32%
[2022-02-11 11:33:14.079] [ INFO] [ProgressReporter] - Progress: 38%
[2022-02-11 11:33:19.091] [ INFO] [ProgressReporter] - Progress: 40%
[2022-02-11 11:33:24.098] [ INFO] [ProgressReporter] - Progress: 43%
[2022-02-11 11:33:29.112] [ INFO] [ProgressReporter] - Progress: 46%
[2022-02-11 11:33:34.122] [ INFO] [ProgressReporter] - Progress: 49%
[2022-02-11 11:33:39.133] [ INFO] [ProgressReporter] - Progress: 52%
[2022-02-11 11:33:44.135] [ INFO] [ProgressReporter] - Progress: 55%
[2022-02-11 11:33:49.138] [ INFO] [ProgressReporter] - Progress: 58%
[2022-02-11 11:33:54.144] [ INFO] [ProgressReporter] - Progress: 61%
[2022-02-11 11:33:59.154] [ INFO] [ProgressReporter] - Progress: 64%
[2022-02-11 11:34:04.168] [ INFO] [ProgressReporter] - Progress: 67%
[2022-02-11 11:34:09.169] [ INFO] [ProgressReporter] - Progress: 70%
[2022-02-11 11:25:01.556] [ INFO] [ 192.168.1.19] - Package upload finished.
[2022-02-11 11:25:01.611] [ INFO] [ 192.168.1.19] - Starting internal update process. Device is about to reboot.
[2022-02-11 11:25:01.645] [ INFO] [ 192.168.1.19] - Package file has been uploaded successfully.
The device will now update itself, which may take tens of minutes.
LDU2 is now disconnecting from the device. Please wait until the device finishes the update.
[2022-02-11 11:25:01.646] [ INFO] [ 192.168.1.19] - Done
All 1 update(s) finished successfully.
The lines containing "ProgressReporter" can be enabled optionally. If it is enabled, the current state is
ATTENTION!
Package Options
Command
LightwareDeviceUpdaterV2_CLI.cmd packageOptions [options]
Options
Option Description
-p or --package yes
Example
c:\Program Files (x86)\Lightware\Lightware Device Updater V2>LightwareDeviceUpdaterV2_CLI.cmd packageOptions
--package f:\!!!LIGHTWARE\firmware\taurus_v1.3.3b3.lfp2
Login options:
--user : HTTP(s) basic authentication user (Default: empty string)
--pw : HTTP(s) basic authentication password (Default: empty string)
Package option example can be seen in the following section.