Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UZG-01 unable to flash router firmware #105

Open
habitats-tech opened this issue Sep 3, 2024 · 30 comments
Open

UZG-01 unable to flash router firmware #105

habitats-tech opened this issue Sep 3, 2024 · 30 comments
Labels
question Further information is requested

Comments

@habitats-tech
Copy link

I have several UZG-01 and I am unable to flash Zigbee firmware using the UI and Ethernet communication. Flashing the coordinator firmware is not an issue using ZigStarGW-MT. However, trying to flash router firmware seems to corrupt the device. Take the example below:

image

Trying to flash router firmware using the UI the update hangs on 66%.

image

image

Which leaves UZG-01 with corrupt firmware.

image

Using ZigStarGW-MT also corrupts the firmware.

image

image

The result is again corrupt firmware.

image

Does anyone have a solution to this problem.

@habitats-tech
Copy link
Author

I have attempted to erase NVRAM, but issue persists. Although it states cannot communicate over the serial port it can still be flashed using the ZigStarGW-MT flasher.

image

@habitats-tech
Copy link
Author

configHW.json

{
"board": "UZG-01",
"addr": 0,
"pwrPin": 5,
"mdcPin": 23,
"mdiPin": 18,
"phyType": 0,
"clkMode": 3,
"btnPin": 35,
"btnPlr": 1,
"uartSelPin": 33,
"uartSelPlr": 1,
"ledModePin": 12,
"ledModePlr": 1,
"ledPwrPin": 14,
"ledPwrPlr": 1,
"zbTxPin": 4,
"zbRxPin": 36,
"zbRstPin": 16,
"zbBslPin": 32
}

@SAOPP
Copy link
Contributor

SAOPP commented Sep 4, 2024

Try the following:

  1. reboot the coordinator
  2. disconnect all connections (socket and mqtt)
  3. retry flashing

@habitats-tech
Copy link
Author

All my actions were performed on a device which had no connections to anything except Ethernet.

@cloudbr34k84
Copy link

cloudbr34k84 commented Sep 8, 2024

Im trying to flash a previous Z-Stack_3.x.0_coordinator fimware because the latest one is causing all sorts of iossues Im using the new interface, and it says it flashed and reboots, but it still says 20240710 when i chose 20240316

image
image

@SAOPP
Copy link
Contributor

SAOPP commented Sep 8, 2024

You are talking about esp firmware.

@SAOPP
Copy link
Contributor

SAOPP commented Sep 8, 2024

Zigbee firmware is located on the status page under the heading called Zigbee.

@SAOPP
Copy link
Contributor

SAOPP commented Sep 8, 2024

an older version of Z2M

Btw, wtf this mean ❓

@cloudbr34k84
Copy link

just realised this is a router issue post. ill delete and add a new issues

@SAOPP
Copy link
Contributor

SAOPP commented Sep 8, 2024

just realised this is a router issue post. ill delete and add a new issues

Just share ya full screenshot of status page.

@SAOPP
Copy link
Contributor

SAOPP commented Sep 8, 2024

Does the firmware process complete correctly?

@cloudbr34k84
Copy link

just realised this is a router issue post. ill delete and add a new issues

Just share ya full screenshot of status page.

image

@SAOPP
Copy link
Contributor

SAOPP commented Sep 8, 2024

So u tried to flash 20240316 - it's correct?

@cloudbr34k84
Copy link

Does the firmware process complete correctly?

yep

So u tried to flash 20240316 - it's correct?

yep

@SAOPP
Copy link
Contributor

SAOPP commented Sep 8, 2024

Have u tried opening the coordinator's web interface in incognito mode or from another browser?

Try a couple of simple steps, clear the cache of the current page (you never know), try again, reboot the coordinator and immediately start the firmware process again.

@cloudbr34k84
Copy link

Have u tried opening the coordinator's web interface in incognito mode or from another browser?

Try a couple of simple steps, clear the cache of the current page (you never know), try again, reboot the coordinator and immediately start the firmware process again.

video of the whole process, unless im doing something wrong. have cleared cache, will try your steps
https://github.com/user-attachments/assets/e8e4f37d-430d-41e3-8b77-5d7153492314

@cloudbr34k84
Copy link

Ok opened web UI in incognito
cleared cache
restarted device
immediately tried OTA firmware update: to 20240316
Im now getting "No response; check if IP or USB mode changed."
Serial settings: says Network Mode

@SAOPP
Copy link
Contributor

SAOPP commented Sep 8, 2024

video of the whole process, unless im doing something wrong. have cleared cache, will try your steps https://github.com/user-attachments/assets/e8e4f37d-430d-41e3-8b77-5d7153492314

Did the process complete automatically or did you click the page refresh button?

@cloudbr34k84
Copy link

video of the whole process, unless im doing something wrong. have cleared cache, will try your steps https://github.com/user-attachments/assets/e8e4f37d-430d-41e3-8b77-5d7153492314

Did the process complete automatically or did you click the page refresh button?

i let it complete

@SAOPP
Copy link
Contributor

SAOPP commented Sep 8, 2024

Looks like HG devices overdeep, @mercenaruss @xyzroe any comments?

@xyzroe
Copy link
Owner

xyzroe commented Sep 8, 2024

I have no ideas. Maybe someone else could check the same situation?

@SAOPP
Copy link
Contributor

SAOPP commented Sep 8, 2024

i let it complete

As one of the options, I can suggest using the web installer, and flashing the device again, and then try flashing the zigbee chip again...

@cloudbr34k84
Copy link

cloudbr34k84 commented Sep 8, 2024

i let it complete

As one of the options, I can suggest using the web installer, and flashing the device again, and then try flashing the zigbee chip again...

one step ahead of yeah, the only issue is the older UI doenst show when the update is done?

@cloudbr34k84
Copy link

well i was finally able to to use the multi tool to install the previous FW.
image

@habitats-tech
Copy link
Author

habitats-tech commented Sep 8, 2024

The only reliable way to flash coordinator firmware is using the ZigStarGW-MT tool.

Can anyone point me to the most recent router firmware release for UZG-01 to try flash it using the ZigStarGW-MT tool.

Using the webUI is a waste of time as it does not work.

@cloudbr34k84
Copy link

The only reliable way to flash coordinator firmware is using the ZigStarGW-MT tool.

Can anyone point me to the most recent router firmware release for UZG-01 to try flash it using the ZigStarGW-MT tool.

Using the webUI is a waste of time as it does not work.

Then why is it there..

@habitats-tech
Copy link
Author

I have no idea why it works for some people. For me it has never worked, unlike SLZB which works flawlessly every time.

I am not here to debate why not. I am here to resolve an issue.

Can ANYONE point me to the latest router firmware for UZG-01 (it has to be router firmware not coordinator firmware).

@habitats-tech
Copy link
Author

For anyone reading this. Whenever you flash Zigbee firmware, you should always reboot the device (not just Zigbee) to get the most current status of the device. It works every time.

@habitats-tech
Copy link
Author

So I think I know what the issues updating FW through the webUI are.

My primary network sits behind upstream and downstream proxies and other security features. When I try to update the UZG-01 FW on this network it always fails while SLZB devices have no such issues.

Setting up an open network so far have been able to update UZG-01 FW successfully through the webUI.

@cloudbr34k84
Copy link

cloudbr34k84 commented Sep 11, 2024 via email

@xyzroe xyzroe added the question Further information is requested label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants