xyzroe / ZigStarGW-MT

GUI wrapper designed for convenient service work with TI CC1352/CC2538/CC2652 based Zigbee sticks or gateways. Packed into single executable file
GNU General Public License v3.0
270 stars 19 forks source link

error: local variable 'chip' referenced before assignment #22

Closed Stadicus closed 8 months ago

Stadicus commented 9 months ago

I'm trying to flash the ZigStar UZG device (version 0.3) with the CC1352P7 chip according to their instructions: https://uzg.zig-star.com/flashing-and-updating/#multi-tool-ethernet

Flashing CC1352P7_coordinator_20230507.hex I get the following command line output on Ubuntu:

$ python ZigStarGW-MT.py
Opening port socket://192.168.1.5:6638, baud 500000
Reading data from /home/stadicus/github/ZigStarGW-MT/CC1352P7_coordinator_20230507.hex
Firmware file: Intel Hex
Connecting to target...
local variable 'chip' referenced before assignment

The progress bar immediately shows 100%, with the same error message in the status row below.

Any thoughts how to get the flashing process working?

mercenaruss commented 9 months ago

@Stadicus unfortunately the tool dont support currently CC262P7,use the addon https://github.com/mercenaruss/zigstar_addons

Stadicus commented 9 months ago

Thanks! I've tried the ZigStar Addon and had some issues, but that's not for this issue. I'll give it another shot.

olylak commented 9 months ago

I'm getting the same error when trying to flash ZigStar UZG-01 device with MT of version 0.3.8.

image

image

Could you please advise what is the problem here?

Thanks.

xyzroe commented 8 months ago

Could you try this one https://github.com/xyzroe/ZigStarGW-MT/releases/tag/v0.4.0 ?

xyzroe commented 8 months ago

v0.4.1 should fix this error