I succesfully re-flashed the SkyConnect firmware before, using https://skyconnect.home-assistant.io/firmware-update/. So it should work.
But, I did not pay attention, and the other day I installed experimental OpenThread border router, and it appearantly flashed my SC dongle
After that, my zha won’t load, b/c of custom quirks.
So I disabled quirks, rebooted and all, but it won’ t load.
Now I want to flash the SC again using the FW update tool, but whatever I do, it ends after a few minutes with these errors.
Euh , help? I’ ve no spare dongle here…
2023-04-03 01:50:11 emscripten universal_silabs_flasher.flasher[42] INFO Probing ApplicationType.GECKO_BOOTLOADER
2023-04-03 01:50:11 emscripten universal_silabs_flasher.common[42] DEBUG Connection made: <webserial_transport.WebSerialTransport object at 0x1674c00>
2023-04-03 01:50:11 emscripten universal_silabs_flasher.common[42] DEBUG Sending data b'3'
2023-04-03 01:50:13 emscripten universal_silabs_flasher.flasher[42] INFO Probing ApplicationType.CPC
2023-04-03 01:50:13 emscripten universal_silabs_flasher.common[42] DEBUG Connection made: <webserial_transport.WebSerialTransport object at 0x1679e30>
2023-04-03 01:50:13 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2023-04-03 01:50:13 emscripten universal_silabs_flasher.common[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2023-04-03 01:50:14 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 1 of 4)
2023-04-03 01:50:14 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2023-04-03 01:50:14 emscripten universal_silabs_flasher.common[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2023-04-03 01:50:15 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 2 of 4)
2023-04-03 01:50:15 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2023-04-03 01:50:15 emscripten universal_silabs_flasher.common[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2023-04-03 01:50:16 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 3 of 4)
2023-04-03 01:50:16 emscripten universal_silabs_flasher.cpc[42] DEBUG Sending frame CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b'')))
2023-04-03 01:50:16 emscripten universal_silabs_flasher.common[42] DEBUG Sending data b'\x14\x00\n\x00\xc4U\xd3\x02\x00\x04\x00\x03\x00\x00\x00\xdb\x12'
2023-04-03 01:50:17 emscripten universal_silabs_flasher.cpc[42] DEBUG Failed to send CPCTransportFrame(endpoint=<EndpointId.SYSTEM: 0>, control=196, payload=UnnumberedFrame(command_id=<UnnumberedFrameCommandId.PROP_VALUE_GET: 2>, command_seq=0, payload=PropertyCommand(property_id=<PropertyId.SECONDARY_CPC_VERSION: 3>, value=b''))), trying again in 0.10s (attempt 4 of 4)
2023-04-03 01:50:17 emscripten universal_silabs_flasher.flasher[42] INFO Probing ApplicationType.EZSP
2023-04-03 01:50:17 emscripten bellows.ezsp[42] DEBUG Resetting EZSP
2023-04-03 01:50:17 emscripten bellows.uart[42] DEBUG Resetting ASH
2023-04-03 01:50:17 emscripten bellows.uart[42] DEBUG Sending: b'1ac038bc7e'
2023-04-03 01:50:22 emscripten bellows.uart[42] DEBUG Connection lost: None
2023-04-03 01:50:22 emscripten bellows.uart[42] DEBUG Closed serial connection
I also found this tool somewhere, and this is what it says.
It seems like get_board_info
can’t be found
pedw@peter:~$ silabs-flasher --device /dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_dc9591df1941ed11853a85a7ccf2b06c-if00-port0 info
Traceback (most recent call last):
File "/home/pedw/.local/bin/silabs-flasher", line 224, in <module>
main() # pylint: disable=no-value-for-parameter
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/pedw/.local/bin/silabs-flasher", line 27, in inner
return asyncio.run(f(*args, **kwargs))
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/home/pedw/.local/bin/silabs-flasher", line 153, in info
brd_manuf, brd_name, version = await ezsp.get_board_info()
AttributeError: 'NoneType' object has no attribute 'get_board_info'
pedw@peter:~$
I also tried all kinds of flavors of this, it seems it can’t determine what FW is running currently.
peter@hass-nuc:~/silabs-firmware$ universal-silabs-flasher --device /dev/ttyUSB0 --baudrate 230400 --bootloader-baudrate 115200 flash --allow-cross-flashing --firmware EmberZNet/NabuCasa_SkyConnect_EZSP_v7.1.1.0_ncp-uart-hw_115200.gbl
2023-04-03 18:39:01 hass-nuc universal_silabs_flasher.flasher[84713] INFO Probing ApplicationType.GECKO_BOOTLOADER
2023-04-03 18:39:03 hass-nuc universal_silabs_flasher.flasher[84713] INFO Probing ApplicationType.CPC
2023-04-03 18:39:03 hass-nuc universal_silabs_flasher.cpc[84713] WARNING Failed to parse buffer bytearray(b'\xf7'): ValueError('Invalid flag')
2023-04-03 18:39:04 hass-nuc universal_silabs_flasher.cpc[84713] WARNING Failed to parse buffer bytearray(b'\xea'): ValueError('Invalid flag')
2023-04-03 18:39:05 hass-nuc universal_silabs_flasher.cpc[84713] WARNING Failed to parse buffer bytearray(b'\xe1'): ValueError('Invalid flag')
2023-04-03 18:39:06 hass-nuc universal_silabs_flasher.cpc[84713] WARNING Failed to parse buffer bytearray(b'\xeb'): ValueError('Invalid flag')
2023-04-03 18:39:07 hass-nuc universal_silabs_flasher.flasher[84713] INFO Probing ApplicationType.EZSP
Error: Failed to probe running application type
peter@hass-nuc:~/silabs-firmware$
Do I have a $50,-- table leveler now? Why can’t I just flash the stock FW to it…