Nerivec / silabs-firmware-builder

Silicon Labs firmware builder
24 stars 0 forks source link

router error #19

Open antst opened 1 day ago

antst commented 1 day ago

I run lates router FW, with converter per instructions.

And I regularly see this in logs

z2m: Failed to configure 'upstairs_router', attempt 1 (Error: Bind 0x84b4dbfffefceff7/1 genBasic from '0x8c65a3fffe54ba85/1' failed (Status 'TABLE_FULL')

I am not sure, is it supposed to be like that at the moment, or it is genuine error. But, just in case, here it is.

antst commented 13 hours ago

BTW, it would be lovely to have support for OTA updates for the router firmware.

Nerivec commented 12 hours ago

I assume the two IEEE addresses refer to router and coordinator? Table full indicates the binding table of the device is full, bit strange in this scenario. Could be some things didn't clear out properly from a previous network? Did you try clearing the NVM3 of the router (will require re-pairing)?

OTA updates would require bootloader changes. It's easy enough to update that this is currently not worth the foreseeable troubles.

antst commented 7 hours ago

I assume the two IEEE addresses refer to router and coordinator? Table full indicates the binding table of the device is full, bit strange in this scenario. Could be some things didn't clear out properly from a previous network? Did you try clearing the NVM3 of the router (will require re-pairing)?

Yes, this is IEEE of router and coordinator. And yes, I re-paired, quickly it came back. And there are only 6 devices beings that router, right now.

OTA updates would require bootloader changes. It's easy enough to update that this is currently not worth the foreseeable troubles.

I would disagree about easiness of upgrade, especially if router is in not easy to reach location, and if you have few of them :) But, I agree that this is not even close to be a priority :)

antst commented 6 hours ago

Interesting thing though. I have two ZBDongle-E routers. Both flashed with the same 8.0.2-update3. But there is something different about them. At least, one, when plugged, is present as /dev/ttyACM0 and another as /dev/ttyUSB0. The one with ttyACM0 has this issue. One with ttyUSB0 - hasn't.

One of those dongles I bought year ago or even more, and another one just week ago. "Problematic" one is from 1+ years ago.

antst commented 6 hours ago

I just right bow tried to reflash and re-pair one which exists the issue. And this error comes out after paring immediately.

[2024-12-04 19:19:29] info:     zh:controller: Succesfully interviewed '0x84b4dbfffefceff7'
[2024-12-04 19:19:29] info:     z2m: Successfully interviewed '0x84b4dbfffefceff7', device has successfully been paired
[2024-12-04 19:19:29] info:     z2m: Device '0x84b4dbfffefceff7' is supported, identified as: Silabs Silabs series 2 adapter with router firmware (Silabs series 2 router)
[2024-12-04 19:19:29] info:     z2m: Configuring '0x84b4dbfffefceff7'
[2024-12-04 19:19:29] info:     z2m:mqtt: MQTT publish: topic 'homeassistant/select/0x84b4dbfffefceff7/reset/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0x84b4dbfffefceff7/set/reset","device":{"identifiers":["zigbee2mqtt_0x84b4dbfffefceff7"],"manufacturer":"Silabs","model":"Silabs series 2 adapter with router firmware (Silabs series 2 router)","name":"0x84b4dbfffefceff7","sw_version":"2024.6.2_Nerivec","via_device":"zigbee2mqtt_bridge_0x8c65a3fffe54ba85"},"enabled_by_default":false,"name":"Reset","object_id":"0x84b4dbfffefceff7_reset","options":["reset"],"origin":{"name":"Zigbee2MQTT","sw":"1.42.0","url":"https://www.zigbee2mqtt.io"},"unique_id":"0x84b4dbfffefceff7_reset_zigbee2mqtt"}'
[2024-12-04 19:19:29] info:     z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Silabs series 2 adapter with router firmware","exposes":[{"access":2,"description":"Resets and launches the bootloader for flashing. If USB, ensure the device is already connected to the machine where you intend to flash it before triggering this.","label":"Reset","name":"reset","property":"reset","type":"enum","values":["reset"]},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"Silabs series 2 router","options":[],"supports_ota":false,"vendor":"Silabs"},"friendly_name":"0x84b4dbfffefceff7","ieee_address":"0x84b4dbfffefceff7","status":"successful","supported":true},"type":"device_interview"}'
[2024-12-04 19:19:29] info:     z2m:mqtt: MQTT publish: topic 'homeassistant/button/0x84b4dbfffefceff7/reset/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"command_topic":"zigbee2mqtt/0x84b4dbfffefceff7/set/reset","device":{"identifiers":["zigbee2mqtt_0x84b4dbfffefceff7"],"manufacturer":"Silabs","model":"Silabs series 2 adapter with router firmware (Silabs series 2 router)","name":"0x84b4dbfffefceff7","sw_version":"2024.6.2_Nerivec","via_device":"zigbee2mqtt_bridge_0x8c65a3fffe54ba85"},"name":"Reset","object_id":"0x84b4dbfffefceff7_reset","origin":{"name":"Zigbee2MQTT","sw":"1.42.0","url":"https://www.zigbee2mqtt.io"},"payload_press":"reset","unique_id":"0x84b4dbfffefceff7_reset_zigbee2mqtt"}'
[2024-12-04 19:19:29] info:     z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x84b4dbfffefceff7/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x84b4dbfffefceff7"],"manufacturer":"Silabs","model":"Silabs series 2 adapter with router firmware (Silabs series 2 router)","name":"0x84b4dbfffefceff7","sw_version":"2024.6.2_Nerivec","via_device":"zigbee2mqtt_bridge_0x8c65a3fffe54ba85"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Linkquality","object_id":"0x84b4dbfffefceff7_linkquality","origin":{"name":"Zigbee2MQTT","sw":"1.42.0","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x84b4dbfffefceff7","unique_id":"0x84b4dbfffefceff7_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
[2024-12-04 19:19:29] error:    z2m: Failed to configure '0x84b4dbfffefceff7', attempt 3 (Error: Bind 0x84b4dbfffefceff7/1 genBasic from '0x8c65a3fffe54ba85/1' failed (Status 'TABLE_FULL')
    at Endpoint.bind (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:566:23)
    at setupAttributes (/app/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:160:13)
    at configure (/app/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:211:17)
    at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/index.ts:206:21)
    at Configure.configure (/app/lib/extension/configure.ts:130:13)
    at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:211:17))
Nerivec commented 6 hours ago

And you did the NVM3 clearing before re-flashing? It seems like your router has some left overs from past networks, simply re-flashing will not clear out the tables.

antst commented 6 hours ago

And you did the NVM3 clearing before re-flashing? It seems like your router has some left overs from past networks, simply re-flashing will not clear out the tables.

I beat you to this conclusion :) Already did full App cleaning and refreshing. So far seems to be OK :)

I'f nothing will pops up in log till tomorrow, I'll notify and we can close.

MilesTEG1 commented 6 hours ago

Already did full App cleaning and refreshing

Would you be kind and explain how you did this cleaning? It may be useful some day 😊

antst commented 6 hours ago

Already did full App cleaning and refreshing

Would you be kind and explain how you did this cleaning? It may be useful some day 😊

https://github.com/Nerivec/silabs-firmware-recovery Here you grab firmware for your device for either NVM3 cleaning or full App cleaning. It is all explained im readme.