mercenaruss / zigstar_addons

Home Assistant add-ons for Flashing ZigStar Devices
Apache License 2.0
55 stars 3 forks source link

UZG-01 fails to upgrade: unable to start service cc2652-flasher: command exited 1 #3

Closed ffries closed 10 months ago

ffries commented 10 months ago

Hello,

Thank you for this nice firmware tool. Unfortunately, it does not seem to work. I am using UZG-01 on HomeAssistant managed version (on Intel platform) so I don't have access to shell.

Model: UZG-01
ESP32 Firmware ver: 0.1.5 (2023-09-06 12:01:02.723464)
ESP32 version: ESP32-D0WD
ESP32 temperature: 35.78 °C
ESP32 frequency: 1 cores @ 160 MHz
ESP32 flash size: 4 Mb, external
ESP32 Free heap: 269 / 337 KiB
CC2652P version: CC2652PP1FRGZR
CC2652P flash size: 352 Kb

Here is the log file:

Add-on: ZigStar TI CC2652P FW Flasher ZigStar TI CC2652P firmware flasher add-on

Add-on version: 0.2.6 You are running the latest version of this add-on. System: Debian GNU/Linux 12 (bookworm) (amd64 / qemux86-64) Home Assistant Core: 2023.9.2 Home Assistant Supervisor: 2023.09.2

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

s6-rc: info: service banner successfully started s6-rc: info: service cc2652-flasher: starting [21:02:49] INFO: Triggering Bootloader mode on 192.168.10.238 [21:03:01] INFO: Starting CC2652P flasher with socket://192.168.10.238:6638 Setting filename to /root/firmware.hex Opening port socket://192.168.10.238:6638, baud 500000 Reading data from /root/firmware.hex Your firmware looks like an Intel Hex file Connecting to target... ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' [21:03:12] INFO: cc2652-flasher-up script exited with code 1 s6-rc: warning: unable to start service cc2652-flasher: command exited 1 s6-rc: info: service banner: stopping /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. /run/s6/basedir/scripts/rc.init: fatal: stopping the container. s6-rc: info: service banner successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped URL NOT FOUND

mercenaruss commented 10 months ago

Hi, you device already have latest Zigbee firmware,but anyway for future, this are correct settings: image

mercenaruss commented 10 months ago

@ffries is issue solved?