Firmware Upgrade Failing

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
phoenixmage
Posts: 5
Joined: 17 Aug 2020 05:45

Firmware Upgrade Failing

Post by phoenixmage »

Hi,

I am trying to upgrade my firmware to 5.39 from 5.36 on my RazBerry. I have tried using both the firmware tool and z-way expert mode.

When using z-way expert ui it now tells me I am at 5.39 but there is still an upgrade. When I hit "Upgrade firmware" I get "Unable to update data. /ZWave.zway/ZMEFirmwareUpgrade".

When using ZMESerialUpdater I get:
Writing NVM data .............................. FAILED

Error 0 Unknown exception:Can't write NVM data! at=23100

though 23100 could be anything.

I have attempted upgrades on both stretch and buster with the same result either way, both using "wget -q -O - https://storage.z-wave.me/RaspbianInstall | sudo bash" to install z-way.

When checking the logs using the expert ui I get "Unknown SDK version - update Z-Way"

Does anybody have any idea how to resolve this issue?
phoenixmage
Posts: 5
Joined: 17 Aug 2020 05:45

Re: Firmware Upgrade Failing

Post by phoenixmage »

Just tried the z-wave provided image with the same results.

I have also tried multiple Raspberry Pi's with no change.
piet66
Posts: 266
Joined: 04 Feb 2017 17:00

Re: Firmware Upgrade Failing

Post by piet66 »

I upgraded from 5.36 to 5.39 with ExpertUI without problems.
Did you shutdown + poweroff after upgrade?
Raspberry Pi 3 Model B Rev 1.2
Raspbian GNU/Linux 10 (buster, 32bit)
RaZberry by Z-Wave.Me ZW0700 7.20.00 07.38/1766938484 1025/257
Z-Way version v3.2.3 from 2022-04-06 04:56:23 +0300
piet66
Posts: 266
Joined: 04 Feb 2017 17:00

Re: Firmware Upgrade Failing

Post by piet66 »

According to https://service.z-wave.me/expertui/uzb- ... tml?hw=327 there are two versions of 5.39 (active) with different bootloaderCRC
Raspberry Pi 3 Model B Rev 1.2
Raspbian GNU/Linux 10 (buster, 32bit)
RaZberry by Z-Wave.Me ZW0700 7.20.00 07.38/1766938484 1025/257
Z-Way version v3.2.3 from 2022-04-06 04:56:23 +0300
phoenixmage
Posts: 5
Joined: 17 Aug 2020 05:45

Re: Firmware Upgrade Failing

Post by phoenixmage »

Yeah I noticed the different bootloader versions, however they both lead to the same firmware file.

I can't upgrade using the expertUI, I get the error in the original post every single time no matter how I actually install z-way, including using the actual z-way image provided.

The device has been shutdown and powered off multiple times during the multiple attempts to upgrade as I have tried multiple SD cards with multiple images on multiple rpi3b, the only consistent thing is the razberry itself.
rafale77
Posts: 115
Joined: 23 Jun 2018 19:26

Re: Firmware Upgrade Failing

Post by rafale77 »

It isn't a CRC problem. It is an issue with the tool starting to write the firmware code from the wrong place it seems. I had to go through 50+ retries to finally get it to take. Same problem on the razberry as with the uzb. No need to shutdown and power-on. it makes no difference.
phoenixmage
Posts: 5
Joined: 17 Aug 2020 05:45

Re: Firmware Upgrade Failing

Post by phoenixmage »

rafale77 wrote:
02 Sep 2020 20:15
It isn't a CRC problem. It is an issue with the tool starting to write the firmware code from the wrong place it seems. I had to go through 50+ retries to finally get it to take. Same problem on the razberry as with the uzb. No need to shutdown and power-on. it makes no difference.
Thanks for the validation rafale77. I take it no one knows how get it to start from the right place?
rafale77
Posts: 115
Joined: 23 Jun 2018 19:26

Re: Firmware Upgrade Failing

Post by rafale77 »

It appears to restart where it previously stopped and therefore has the tendency to run out of space. I really don't know how to get around it. I just retried until it took.
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Firmware Upgrade Failing

Post by PoltoS »

Change to JP frequency before running the upgrade process (if you are not in JP and to EU if you are). Once done, change it back. This should help.

The reason is incoming packets from your Z-Wave network interrupting the updater.
Post Reply