mercenaruss / zigstar_addons

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

Checksum error in ZigStar TI CC2652P/P7 firmware flasher add-on? #10

Closed kylepyke closed 8 months ago

kylepyke commented 8 months ago

Here is the full log:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service banner: starting

-----------------------------------------------------------
 Add-on: ZigStar TI CC2652P/P7 FW Flasher
 ZigStar TI CC2652P/P7 firmware flasher add-on
-----------------------------------------------------------
 Add-on version: 0.3.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 11.1  (amd64 / generic-x86-64)
 Home Assistant Core: 2023.11.2
 Home Assistant Supervisor: 2023.11.3
-----------------------------------------------------------
 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
[17:33:32] INFO: Triggering Bootloader mode on 192.168.1.200
[17:33:43] INFO: Starting CC2652P flasher with socket://192.168.1.200:6638
Setting filename to /root/firmware.hex
Opening port socket://192.168.1.200:6638, baud 500000
Reading data from /root/firmware.hex
Your firmware looks like an Intel Hex file
Connecting to target...
pg_rev = 1, protocols = f, wafer_id = 0xbb77
CC135x PG1.1 (7x7mm): 704KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x000AFFD8
Primary IEEE Address: 00:12:4B:00:2A:7B:50:16
    Performing mass erase
Erasing all main bank flash sectors
    Erase done
Writing 360448 bytes starting at address 0x00000000
 Write 248 bytes at 0x00000000
 Write 248 bytes at 0x000000F8
 Write 248 bytes at 0x000001F0
 Write 248 bytes at 0x000002E8
 Write 248 bytes at 0x000003E0
 Write 248 bytes at 0x000004D8
 Write 248 bytes at 0x000005D0
 Write 248 bytes at 0x000006C8
 Write 248 bytes at 0x000007C0
 Write 248 bytes at 0x000008B8
 Write 248 bytes at 0x000009B0
 Write 248 bytes at 0x00000AA8
 Write 248 bytes at 0x00000BA0
 Write 248 bytes at 0x00000C98
 Write 248 bytes at 0x00000D90
 Write 248 bytes at 0x00000E88
 Write 248 bytes at 0x00000F80
 Write 248 bytes at 0x00001078
 Write 248 bytes at 0x00001170
 Write 248 bytes at 0x00001268
 Write 248 bytes at 0x00001360
 Write 248 bytes at 0x00001458
 Write 248 bytes at 0x00001550
 Write 248 bytes at 0x00001648
 Write 248 bytes at 0x00001740
 Write 248 bytes at 0x00001838
 Write 248 bytes at 0x00001930
 Write 248 bytes at 0x00001A28
 Write 248 bytes at 0x00001B20
 Write 248 bytes at 0x00001C18
 Write 248 bytes at 0x00001D10
 Write 248 bytes at 0x00001E08
 Write 248 bytes at 0x00001F00
 Write 248 bytes at 0x00001FF8
 Write 248 bytes at 0x000020F0
 Write 248 bytes at 0x000021E8
 Write 248 bytes at 0x000022E0
 Write 248 bytes at 0x000023D8
 Write 248 bytes at 0x000024D0
 Write 248 bytes at 0x000025C8
 Write 248 bytes at 0x000026C0
 Write 248 bytes at 0x000027B8
 Write 248 bytes at 0x000028B0
 Write 248 bytes at 0x000029A8
 Write 248 bytes at 0x00002AA0
 Write 248 bytes at 0x00002B98
 Write 248 bytes at 0x00002C90
 Write 248 bytes at 0x00002D88
 Write 248 bytes at 0x00002E80
 Write 248 bytes at 0x00002F78
 Write 248 bytes at 0x00003070
ERROR: Received packet checksum error
[17:34:10] 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 8 months ago

What exactly you flashing? and what are settings what are activated?

kylepyke commented 8 months ago
Screen Shot 2023-11-16 at 6 01 05 PM

Have tried with both Bootloader on and off

kylepyke commented 8 months ago

Apologies- this is a ZigStar UZG-01

kylepyke commented 8 months ago

Apologies. This is due to having two options checked in the add-on config. Would be better to have radio buttons than toggles, if possible to avoid confusion :)

Closed.

mercenaruss commented 8 months ago

I will try to improve the addon to be more userfriendly.Thanks for update.