8. Firmware Update
HDMI-TPS-RX110AY series – User's Manual
135
Appliedfirmwarepackage:v1.5.0b3 | LDCsoftware:v2.5.9b2
Example 3
Thefollowingoptionsapplied:
▪
Cleartext login password is applied
▪
Custom backup folder is set
▪
Currentconfigurationissaved
▪
Firmware is
not updated
but the process and the connection is
tested
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>LightwareDeviceUpdaterV2_CLI.cmd update --test --ip
192.168.1.2 --package C:\Firmwares\HDMI-TPS-RX110AY_v1.5.0b3.lfp2 --backupFolder C:\My_backup --clearTextLoginPw
qwer1234
C:\Program Files (x86)\Lightware\Lightware Device Updater V2>lib\jre\bin\java.exe -jar lib\ldu2.jar update
--test --ip 192.168.1.2 --package C:\Firmwares\HDMI-TPS-RX110AY_v1.5.0b3.lfp2 --backupFolder C:\My_backup
--clearTextLoginPw qwer1234
[2021-06-15 12:02:16.764] [ INFO] [ main] - Device IPs: [192.168.1.2]
[2021-06-15 12:02:20.090] [ WARN] [ pool-2-thread-1] - NetworkMask property is not available. Cannot determine
whether the device is on the same network or not.
[2021-06-15 12:02:20.209] [ WARN] [ pool-2-thread-1] - Bonjour device builder error messages: [object Array]
[2021-06-15 12:02:20.250] [ INFO] [ main] - All the selected devices are accessible over the network.
[2021-06-15 12:02:20.494] [ INFO] [ main] - All the selected devices are compatible with the specified
package.
[2021-06-15 12:02:21.008] [ INFO] [ 192.168.1.2] - PASSED - Test #01 - Communication over LW3
[2021-06-15 12:02:21.062] [ INFO] [ 192.168.1.2] - PASSED - Test #02 - Cleartext login - PW is correct
[2021-06-15 12:02:21.112] [ INFO] [ 192.168.1.2] - Creating backup of device settings...
[2021-06-15 12:02:24.302] [ INFO] [ 192.168.1.2] - Backup HTTP enable properties
[2021-06-15 12:02:26.809] [ INFO] [ 192.168.1.2] - HTTP and HTTP post have got enabled on port 80
[2021-06-15 12:02:27.078] [ INFO] [ 192.168.1.2] - Backup of device preset save protected (preset2) is queued
[2021-06-15 12:02:27.229] [ INFO] [ 192.168.1.2] - Creating backup of device presets...
[2021-06-15 12:02:28.277] [ INFO] [ 192.168.1.2] - No miniweb file is found on the device.
[2021-06-15 12:02:30.742] [ INFO] [ 192.168.1.2] - HTTP and HTTP post properties have got restored on port 80
[2021-06-15 12:02:30.743] [ INFO] [ 192.168.1.2] - PASSED - Test #03 - Configuration and/or device preset
backup created
[2021-06-15 12:02:30.762] [ INFO] [ 192.168.1.2] - Switching device into bootload mode...
[2021-06-15 12:02:32.447] [ INFO] [ 192.168.1.2] - PASSED - Test #04 - Switch device into bootloader mode
[2021-06-15 12:02:43.553] [ INFO] [ 192.168.1.2] - PASSED - Test #05 - Communication with bootloader
[2021-06-15 12:02:43.566] [ INFO] [ 192.168.1.2] - Gathering UID information from device...
[2021-06-15 12:02:44.081] [ INFO] [ 192.168.1.2] - PASSED - Test #06 - TFTP file transfer
[2021-06-15 12:02:57.308] [ INFO] [ 192.168.1.2] - PASSED - Test #07 - Start application FW
[2021-06-15 12:02:57.360] [ INFO] [ 192.168.1.2] - Done
All 1 update(s) finished successfully.
8.6.9.
Exit Codes
Thereisareturnvalueinallcases,whenacommandrunisfinished.Currently,threecodesaredefined:
Code
Displayed text
Description
0
N/A
The update performed successfully
1
Updateerror(ErrorCode:1)
The error happened during the update
2
CLIerror(ErrorCode:2
The error happened before starting the update
The error line contains further information about the error.
Querying the Exit Code under Windows
®
c:\Program Files (x86)\Lightware\Lightware Device Updater V2\echo %errorlevel%
0
Querying the Exit Code under Linux
echo $?
0
So if this value is queried after the update and it is 0, the update performed successfully.
8.7.
If the Update is not successful
▪
Restart the process and try the update again.
▪
Ifthedevicecannotbeswitchedtobootload(firmwareupdate)mode,youcandothatmanuallyas
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
(firmwareupdate)mode,thus,thenormaloperationmodeissuspendedandbackupcannotbemade.
▪
If an update is not successful, the
Export log
button becomes red. If you press the button, you can
downloadthelogfileasaZIPpackagewhichcanbesenttoLightwareSupportifneeded.Thelogfiles
containusefulinformationaboutthecircumstancestofindtherootcause.
#bootload