9. Firmware Update
UCX series – User's Manual
144
Applied firmware package: v1.2.0b9 | LDC software: v2.5.10b1
[2021-07-01 08:35:58.770] [ INFO] [ProgressReporter] - Progress: 28%
[2021-07-01 08:36:03.772] [ INFO] [ProgressReporter] - Progress: 36%
[2021-07-01 08:36:08.788] [ INFO] [ProgressReporter] - Progress: 40%
[2021-07-01 08:36:13.794] [ INFO] [ProgressReporter] - Progress: 44%
[2021-07-01 08:36:18.802] [ INFO] [ProgressReporter] - Progress: 47%
[2021-07-01 08:36:23.809] [ INFO] [ProgressReporter] - Progress: 51%
[2021-07-01 08:36:28.815] [ INFO] [ProgressReporter] - Progress: 55%
[2021-07-01 08:36:33.825] [ INFO] [ProgressReporter] - Progress: 58%
[2021-07-01 08:36:38.828] [ INFO] [ProgressReporter] - Progress: 62%
[2021-07-01 08:36:43.835] [ INFO] [ProgressReporter] - Progress: 66%
[2021-07-01 08:36:48.842] [ INFO] [ProgressReporter] - Progress: 70%
[2021-07-01 08:36:53.855] [ INFO] [ProgressReporter] - Progress: 74%
[2021-07-01 08:36:58.868] [ INFO] [ProgressReporter] - Progress: 78%
[2021-07-01 08:37:03.871] [ INFO] [ProgressReporter] - Progress: 82%
[2021-07-01 08:37:08.875] [ INFO] [ProgressReporter] - Progress: 86%
[2021-07-01 08:37:13.889] [ INFO] [ProgressReporter] - Progress: 90%
[2021-07-01 08:37:19.737] [ INFO] [ 192.168.0.52] - Upload finished.
[2021-07-01 08:37:19.754] [ INFO] [ 192.168.0.52] - Starting internal update process. Device is about to reboot.
[2021-07-01 08:37:20.192] [ INFO] [ 192.168.0.52] - Package file has been uploaded successfully.
The device is now updating itself, which can take up to tens of minutes.When the upgrade process is complete, the
device resets to factory defaults, enabling DHCP.
LDU2 is disconnected from the device. Please wait while the device completes the update.
[2021-07-01 08:37:20.194] [ INFO] [ 192.168.0.52] - Done
All 1 update(s) finished successfully.
9.6.8.
Exit Codes
There is a return value in all cases, when a command run is finished. Currently, three codes are defined:
Code
Displayed text
Description
0
N/A
The update performed successfully
1
Update error (ErrorCode:1)
The error happened during the update
2
CLI error (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.
9.7.
If the Update is not successful
▪
Restart the process and try the update again.
▪
If the device cannot be switched to bootload (firmware update) mode, you can do that manually as
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
(firmware update) mode, thus, the normal operation mode is suspended and backup cannot be made.
If an update is not successful, the
Export log
button becomes red. If you press the button, you can download
the log file as a ZIP package which can be sent to Lightware Support if needed. The log files contain useful
information about the circumstances to find the root cause.
#bootload