USB Firmware Update - never done before

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
Tony Park
Posts: 4
Joined: 10 May 2022 01:51

USB Firmware Update - never done before

Post by Tony Park »

Hi all,

apologies if this has been answered on the forum, if it has, please can you confirm the relevant link.

So, the situation I find myself in, using z-way 3.2.1. My usb stick is attached to the laptop, and when looking at the upgrades suggested, I see the errors:

bootloader: Unable to update data. /ZWave.zway/ZMEBootloaderUpgrade
firmware: Unable to update data. /ZWave.zway/ZMEFirmwareUpgrade

Please can you help with these errors?

Thanks in advance!
Attachments
update_firmware.png
update_firmware.png (42.08 KiB) Viewed 1459 times
update_bootloader.png
update_bootloader.png (42.55 KiB) Viewed 1459 times
seattleneil
Posts: 172
Joined: 02 Mar 2020 22:41

Re: USB Firmware Update - never done before

Post by seattleneil »

Firmware on UZB and RaZberry devices other than a RaZberry 7 can be updated manually using a command line tool called ZMESerialUpdater. If your UZB is not connected to a Raspberry Pi, the ZMESerialUpdater tool may not be supported which means the only option for upgrading the UZB firmware is via the web UI. You can read about the tool here: https ://z-wave.me/support/zmeserialupdater-manual/. At some point in the future, the Z-Way team may modify the tool to work with RaZberry 7 - in the meantime, the only option for upgrading the firmware on a RaZberry 7 is via the web UI.

Before you pursue using the command line tool, I suggest looking at the Z-Way log file to see if there's an explanation of why the upgrade failed. By default on a linux installation, the log file is /var/log/z-way-server.log. It could be a case where the download server was temporarily unavailable and you simply need to retry the upgrade using the web UI.

To upgrade your UZB manually, run these commands to download the correct files:
wget https ://z-wave.me/support/zmeserialupdater-manual/bootloader_UZB_from_05_05_to_7278_2MB.bin
wget https ://z-wave.me/support/zmeserialupdater-manual/firmware_UZB_from_05_05_to_05_06.bin

For other Z-Way users reading this post, please note the correct files to download depend on the device and the currently installed versions. You will need to determine the filenames from the version graph: https ://service.z-wave.me/expertui/uzb-stats/versions-graph.html. Since the manual process is relatively complicated, the web UI is the recommended method.

You will also need to download and install the ZMESerialUpdater tool. On a Raspberry Pi, run these commands:
wget https ://z-wave.me/download/ZMESerialUpdater.tgz
tar -zxvf ZMESerialUpdater.tgz
cd ZMESerialUpdater/arm/
chmod +x ZMESerialUpdater

If your UZB is installed on a Raspberry Pi and your UZB is attached as /dev/ttyAMA0, install the files using this command:
./ZMESerialUpdater serialapi_uzbupdate -d /dev/ttyAMA0 -b bootloader_UZB_from_05_05_to_7278_2MB.bin -f firmware_UZB_from_05_05_to_05_06.bin
Tony Park
Posts: 4
Joined: 10 May 2022 01:51

Re: USB Firmware Update - never done before

Post by Tony Park »

Thanks for the update - not sure if there are issues with Hassio and trying to use the linux commands provided. In the end, I installed the z-way app on my desktop, and then used that to update the bootloader and firmwares, until the form reported that I was upto date :-)

Thanks for your help and suggestions, much appreciated
lanbrown
Posts: 279
Joined: 01 Jun 2021 08:06

Re: USB Firmware Update - never done before

Post by lanbrown »

Tony Park wrote:
13 May 2022 10:30
Thanks for the update - not sure if there are issues with Hassio and trying to use the linux commands provided. In the end, I installed the z-way app on my desktop, and then used that to update the bootloader and firmwares, until the form reported that I was upto date :-)

Thanks for your help and suggestions, much appreciated
The updater doesn't support 64-bit; so you probably would have run into an issue. Way back when when I played around with Home Assistant with a Razberry 2 board, the updater wouldn't run.
Post Reply