8. Firmware Update MMX2 series – User's Manual 108
Complex Example
The following options applied:
▪ Firmware is updated
▪ Authentication enabled
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 --user admin --pw 12345 --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 --user admin --pw 12345 --reportProgress
[2022-02-11 11:32:40.831] [ INFO] [ main] - Device IPs: [192.168.1.19]
[2022-02-11 11:32:46.096] [ INFO] [ main] - All selected devices are available over the network.
[2022-02-11 11:32:49.035] [ INFO] [ main] - All the selected devices are compatible with the specified
package.
[2022-02-11 11:32:51.994] [ INFO] [ 192.168.1.19] - Taurus UCX update process started
[2022-02-11 11:32:52.087] [ INFO] [ 192.168.1.19] - Update API version: 1.0
[2022-02-11 11:32:52.138] [ INFO] [ 192.168.1.19] - Update parameters: deviceIp: 192.168.1.19, factoryDefault:
false
[2022-02-11 11:32:52.189] [ INFO] [ 192.168.1.19] - Update protocol: http://
[2022-02-11 11:32:52.189] [ INFO] [ 192.168.1.19] - Authentication type: BASIC
[2022-02-11 11:32:52.359] [ 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:32:52.374] [ 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:34:52.599] [ INFO] [ 192.168.1.19] - Package upload finished.
[2022-02-11 11:34:52.683] [ INFO] [ 192.168.1.19] - Starting internal update process. Device is about to reboot.
[2022-02-11 11:34:52.710] [ 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:34:52.712] [ INFO] [ 192.168.1.19] - Done
All 1 update(s) finished successfully.
Exit Codes
Code Displayed text Description
0 The update performed successfully
1 Update error (ErrorCode:1) The error happened during the update
2 The error happened before starting the update
The error line contains further information about the error.
®
c:\Program Files (x86)\Lightware\Lightware Device Updater V2\echo %errorlevel%
0
echo $?
0
So if this value is queried after the update and it is 0, the update performed successfully.
If the Update is not successful
▪ Restart the process and try the update again.
▪
written in the User's manual of the device. Please note that backup and restore cannot be performed
in this case.
▪ If the backup cannot be created for some reason, you will get a message to continue the process
without backup or stop the update. A root cause can be that the desired device is already in bootload
If an update is not successful, the Export log button becomes red. If you press the button, you can download
#bootload