silabs-firmware-builder icon indicating copy to clipboard operation
silabs-firmware-builder copied to clipboard

Cant flash Zigbee Dongle-E on MacOS

Open lennremy opened this issue 1 year ago • 17 comments

Hi,

Im currently still running my Dongle-E on the depricated ezsp adapter and wanted to update the firmware to use the ember adapter. But the flasher always shows the MacOS driver bug warning, although I've installed the driver to my mac.

I did attached the log, anyone can help me solve this issue?

silabs_flasher.log

lennremy avatar Sep 23 '24 13:09 lennremy

Hello lennremy. Did you manage to solve the problem? Because I have the exact same issue. Thank you in advance.

hassio-med74 avatar Oct 12 '24 13:10 hassio-med74

I have the same problem. Mac Mini M1 with Sequoia

MSL-DA avatar Oct 12 '24 15:10 MSL-DA

@hassio-med74 @MSL-DA kinda fixed it. I was able to update the dongle to a newer firmware, but I had to use a different method. Found this video that worked for me. Hope this helps

https://www.youtube.com/watch?v=BU9ha0Uaduc&t=161s

lennremy avatar Oct 12 '24 17:10 lennremy

Thanks for the answer 👍 Can I get you to reopen this issue? I don't know if it is a driver issue. Maybe @darkxst has something to add to that.

MSL-DA avatar Oct 12 '24 17:10 MSL-DA

I have not previously heard of issues on Mac OS, it shouldnt be affected like the driver issues on windows.

The logs on OP are overly brief, the process seems to have ended prematurely, and nothing useful has been logged.

Can you test using the python universal-silabs-flasher, this might provide more useful logs.

https://pypi.org/project/universal-silabs-flasher/

darkxst avatar Oct 12 '24 23:10 darkxst

I can ... I will receive an extra Sonoff Dongle-E sometime next week. I will return with a log file.

MSL-DA avatar Oct 12 '24 23:10 MSL-DA

I can add that updating from EZPZ to ember 8.0.2 through SecureCRT went without error on macOS 15.0.1

MSL-DA avatar Oct 13 '24 01:10 MSL-DA

well that is not python based, so doesnt help much in working out why webflasher not work. universal-silabs-flasher is what is used by the web flasher behind the scenes.

darkxst avatar Oct 13 '24 01:10 darkxst

Also worth checking if there are any errors in the developer console logs (that didnt make it into downloadable logs)

darkxst avatar Oct 13 '24 01:10 darkxst

Hello 👋

I am facing the same issue on Mac OS Sequoia 15.0.1.

  • ✨ Brand new Sonoff Dongle E
  • ✅ Drivers installed
  • ♻️ Rebooted multiple times

I can help on testing / QA if needed 👍

Debug file

silabs_flasher.log

MacOS driver

Selected device

Developer console logs

FrancoisLef avatar Oct 19 '24 18:10 FrancoisLef

Sam Issue with current MacOS Version, previously was working.

lroehrs avatar Oct 23 '24 12:10 lroehrs

As workaround I used:

https://pypi.org/project/universal-silabs-flasher/

$ universal-silabs-flasher --device /dev/cu.SLAB_USBtoUART \
  --ezsp-baudrate 115200 \
  flash \
  --firmware ../tmp1/silabs-firmware-builder/firmware_builds/zbdonglee/ncp-uart-hw-v7.4.4.0-zbdonglee-115200.gbl

I got the firmware from here: https://github.com/darkxst/silabs-firmware-builder/tree/main/firmware_builds

ncp-uart-hw-v7.4.4.0-zbdonglee-115200 is EmberZnet pure Zigbee - EZSP - Standard Zigbee (NCP) firmware Firmware Details:

  • https://darkxst.github.io/silabs-firmware-builder/
  • https://github.com/darkxst/silabs-firmware-builder?tab=readme-ov-file#pre-compiled-firmware

lroehrs avatar Oct 23 '24 13:10 lroehrs

Hello 👋

I am facing the same issue on Mac OS Sequoia 15.0.1.

  • ✨ Brand new Sonoff Dongle E
  • ✅ Drivers installed
  • ♻️ Rebooted multiple times

I can help on testing / QA if needed 👍

Debug file

silabs_flasher.log

MacOS driver

Selected device

Developer console logs

Hello @FrancoisLef , could you check the driver version of SONOFF ZBDongle-E(cp2102n) in the Mac OS?

tootla avatar Oct 25 '24 09:10 tootla

Same issue here on MacBook Air M2. Not possible to read firmware version via Browser.

bluemoehre avatar Nov 04 '24 20:11 bluemoehre

From the logs posted above the web flasher looks to be hanging trying to probe CPC (Multipan) firmware. Not clear though why it would fail in browser, but then work from python with universal-silabs-flasher.

I do however plan to drop support for CPC when I update web flasher for v8.0.2 soon, this will likely atleast fix that hang.

darkxst avatar Nov 05 '24 02:11 darkxst

For now, I have disabled CPC 115200 on the test site: https://darkxst.github.io/cp-test/

give that a try.

darkxst avatar Nov 05 '24 02:11 darkxst

Looks better in Win10 (still some exceptions and errors in console); no change in MacOS.

bluemoehre avatar Nov 05 '24 19:11 bluemoehre