darkxst / silabs-firmware-builder

Silicon Labs firmware builder
https://darkxst.github.io/silabs-firmware-builder/
415 stars 33 forks source link

Cant flash Zigbee Dongle-E on MacOS #130

Open lennremy opened 1 month ago

lennremy commented 1 month ago

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

hassio-med74 commented 1 month ago

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

MSL-DA commented 1 month ago

I have the same problem. Mac Mini M1 with Sequoia

lennremy commented 1 month ago

@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

MSL-DA commented 1 month ago

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.

darkxst commented 1 month ago

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/

MSL-DA commented 1 month ago

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

MSL-DA commented 1 month ago

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

darkxst commented 1 month ago

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 commented 1 month ago

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

FrancoisLef commented 1 month ago

Hello 👋

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

I can help on testing / QA if needed 👍

Debug file

silabs_flasher.log

MacOS driver

Selected device

Developer console logs

lroehrs commented 3 weeks ago

Sam Issue with current MacOS Version, previously was working.

lroehrs commented 3 weeks ago

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:

tootla commented 3 weeks ago

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?

bluemoehre commented 2 weeks ago

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

darkxst commented 2 weeks ago

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 commented 2 weeks ago

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

give that a try.

bluemoehre commented 1 week ago

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