8. Firmware Update
MMX4x2 series – User's Manual
148
Applied firmware package: v1.6.0b19 | LDC software: v2.5.13b5
8.6.7.
Package Options
Shows package-specific update options.
Command
LightwareDeviceUpdaterV2_CLI.cmd packageOptions [options]
Options
Option
Description
Required?
-p
or
--package
The path of the firmware package file
yes
Example
c:\Program Files (x86)\Lightware\Lightware Device Updater V2>LightwareDeviceUpdaterV2_CLI.cmd packageOptions
--package d:\Firmware\4x2\Released\MMX4x2_v1.6.4b2.lfp2
c:\Program Files (x86)\Lightware\Lightware Device Updater V2>lib\jre\bin\java.exe -jar lib\ldu2.jar packageOptions
--package d:\Firmware\4x2\Released\MMX4x2_v1.6.4b2.lfp2
Backup and restore options:
factoryDefault: if set to true device will reset to factory default settings after the upgrade process is
finished, default: false
restoreFromBackup: if true, no device configuration is restored from the backup created at the
begininning of upgrade process (default: true)
skipPresetsAtRestore: If true, Device presets will be skipped at restore. (default: false)
backupFolder: folder to create configuration backup into
ciscoRoomIntegration: if true, special configuration is uploaded to the device for Cisco room
integration (default: false)
Advanced backup and restore options:
forceNoBackup: if true, no backup file will be created (default: false)
uploadDefaultMiniWeb: If true, and no custom miniweb is present on the device, the default miniweb file
will be uploaded. (default: false)
Login options:
clearTextLoginPw: The login password used when updating devices. (It's cleartext password!)
Advanced (developer) options:
updateVs100: If true, the VS100 Rx firmware will also be updated. (default: false)
Package option example can be seen in the following section.
8.6.8.
Complex Examples
Example 1
The following options are applied:
▪
Firmware is updated
▪
Factory default settings are restored
c:\Program Files (x86)\Lightware\Lightware Device Updater V2>LightwareDeviceUpdaterV2_CLI.cmd update --ip
192.168.0.115 --factoryDefault --package d:\Firmware\4x2\Released\MMX4x2_v1.6.4b2.lfp2
c:\Program Files (x86)\Lightware\Lightware Device Updater V2>lib\jre\bin\java.exe -jar lib\ldu2.jar update --ip
192.168.0.115 --factoryDefault --package d:\Firmware\4x2\Released\MMX4x2_v1.6.4b2.lfp2
[2022-03-08 13:12:09.611] [ INFO] [ main] - Device IPs: [192.168.0.115]
[2022-03-08 13:12:13.124] [ INFO] [ main] - All selected devices are available over the network.
[2022-03-08 13:12:13.387] [ INFO] [ main] - All the selected devices are compatible with the specified
package.
[2022-03-08 13:12:14.099] [ INFO] [ 192.168.0.115] - Script parameters: deviceIp: 192.168.0.115, forceNoBackup:
false, factoryDefault: true, restoreFromBackup: false, backupFolder: C:/Users/laszlo.zsedenyi/.ldu2/backup,
skipPresetsAtRestore: false, ciscoRoomIntegration: false, updateVs100: false, uploadDefaultMiniWeb: false
[2022-03-08 13:12:14.108] [ INFO] [ 192.168.0.115] - Package version: 1.6.4b2
[2022-03-08 13:12:14.176] [ INFO] [ 192.168.0.115] - Login functionality is currently not enabled.
[2022-03-08 13:12:16.324] [ INFO] [ 192.168.0.115] - HTTP and HTTP post have got enabled on port 80
[2022-03-08 13:12:16.386] [ INFO] [ 192.168.0.115] - Switching device into bootload mode...
[2022-03-08 13:12:34.291] [ INFO] [ 192.168.0.115] - Gathering UID information from device...
[2022-03-08 13:12:34.553] [ INFO] [ 192.168.0.115] - UID info - Device IP: 192.168.0.115 Product name:
MMX4x2-HT200 Product part number: 91310035 Serial number: 00004302 Hardware version: V11_BAA0 MAC address:
A8:D2:36:00:43:02
[2022-03-08 13:12:34.799] [ INFO] [ 192.168.0.115] - Package version on device: 1.6.4b2 r89
[2022-03-08 13:12:34.817] [ INFO] [ 192.168.0.115] - Updating Firmware of the MCU...
[2022-03-08 13:12:35.074] [ INFO] [ 192.168.0.115] - [tps_rx200.bin]'s current version on device: 1.6.4b2 r120
[2022-03-08 13:12:35.075] [ INFO] [ 192.168.0.115] - [tps_rx200.bin]'s version in the package: 1.6.4b2 r120
[2022-03-08 13:12:59.213] [ INFO] [ 192.168.0.115] - [tps_rx200.bin]'s firmware version updated in FVS EEPROM.
[2022-03-08 13:13:04.981] [ INFO] [ 192.168.0.115] - Setting system information...
[2022-03-08 13:13:10.742] [ INFO] [ 192.168.0.115] - Starting application...
[2022-03-08 13:14:43.792] [ INFO] [ 192.168.0.115] - Done
All 1 update(s) finished successfully.