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
264 stars 18 forks source link

"unknown error!" when trying to read/erase NVRAM #14

Open w0lf3h opened 1 year ago

w0lf3h commented 1 year ago

I'm getting this "unknown error!" message when attempting to erase or read the NVRAM from my CC2652R usb. Is there a place where there would be logs or something to show why this would be happening? Thanks!

Screenshot 2022-11-11 093048

anisart commented 1 year ago

Same issue with HamGeek CC2652P

xyzroe commented 1 year ago

OK. I'll try to add logs somewhere.

pilonull commented 1 year ago

Just want to chime in and say I'm also having this issue. Happy to assist if you need anything from us.

xyzroe commented 1 year ago

just for reference: you can restart the process one more time, and it's quite possible that everything will go without errors.

Alex2030S commented 1 year ago

Hi, I have same issue with SONOFF CC2652P for several months. Please help solve the problem. And if possible, add correct operation of Auto BSL activation.

lepakabrek commented 1 year ago

For SONOFF Dongle-P: Maybe serial driver doesnt installed? Check it in device manager. 123 If no: https://sonoff.tech/product-review/sonoff-zigbee-3-0-usb-dongle-plus-tutorials/

thunderj27 commented 1 year ago

Same issue with the Olizig POE (Tested on 2 different computers)

DarkFeniXZp commented 1 year ago

Same issue with SONOFF CC2652P. But a few months ago I flashed this stick normally.

urbanzz commented 1 year ago

Hi all! Faced with same issue. Now installed Windows 11 (peviosly worked for me on notebook with Windows 10 LTSC) printscreen And after that error having screen2

aaastafyev commented 1 year ago

For SONOFF Dongle-P: Maybe serial driver doesnt installed? Check it in device manager. 123 If no: https://sonoff.tech/product-review/sonoff-zigbee-3-0-usb-dongle-plus-tutorials/

I installed the driver and selected the correct COM-port. It worked, thanks!

kknishev commented 1 year ago

"Read" still doesn't work on Win11 22H2: zigpy_znp.tools - unknown error!

xyzroe commented 1 year ago

Did you try to use zigpy_znp.tools to read eeprom?

kknishev commented 1 year ago

Did you try to use zigpy_znp.tools to read eeprom?

Not exactly, I have ZigStarGW-MT.exe only :/ point me please to this tools

Previous updates were successful: CC1352P2_CC2652P_launchpad_coordinator_20211217.hex CC1352P2_CC2652P_launchpad_coordinator_20221102.hex

xyzroe commented 1 year ago

It's easy to use google. https://github.com/zigpy/zigpy-znp/blob/dev/TOOLS.md#nvram-backup

kknishev commented 1 year ago

Did you try to use zigpy_znp.tools to read eeprom?

yep something reading

C:\SONOFF>python -m zigpy_znp.tools.nvram_read COM3 -o backup.json
2023-06-13 13:20:08.771 DELL __main__ INFO OsalNvIds.HAS_CONFIGURED_ZSTACK3 = '55'
2023-06-13 13:20:08.834 DELL __main__ INFO OsalNvIds.EXTADDR = '43be4019004b****'
2023-06-13 13:20:08.880 DELL __main__ INFO OsalNvIds.STARTUP_OPTION = '00'
2023-06-13 13:20:08.925 DELL __main__ INFO OsalNvIds.START_DELAY = '0a'
2023-06-13 13:20:08.973 DELL __main__ INFO OsalNvIds.NIB = '2105****0f33001e00000001050****00700020d1e0000000b0000000000000000000000621a0800000800000f0f040001000000010000000043be****004b1200010000000000000000000000000000000000000000000000000000000000000000000000000f050001640a010000000b090000'
2023-06-13 13:20:09.020 DELL __main__ INFO OsalNvIds.POLL_RATE_OLD16 = '0000'
2023-06-13 13:20:09.114 DELL __main__ INFO OsalNvIds.DATA_RETRIES = '02'
2023-06-13 13:20:09.160 DELL __main__ INFO OsalNvIds.POLL_FAILURE_RETRIES = '03'
2023-06-13 13:20:09.208 DELL __main__ INFO OsalNvIds.STACK_PROFILE = '02'
2023-06-13 13:20:09.254 DELL __main__ INFO OsalNvIds.INDIRECT_MSG_TIMEOUT = '07'
2023-06-13 13:20:09.300 DELL __main__ INFO OsalNvIds.ROUTE_EXPIRY_TIME = '1e'
2023-06-13 13:20:09.349 DELL __main__ INFO OsalNvIds.EXTENDED_PAN_ID = '2ff2c924004b****'
2023-06-13 13:20:09.394 DELL __main__ INFO OsalNvIds.BCAST_RETRIES = '02'
2023-06-13 13:20:09.443 DELL __main__ INFO OsalNvIds.PASSIVE_ACK_TIMEOUT = '05'
2023-06-13 13:20:09.490 DELL __main__ INFO OsalNvIds.BCAST_DELIVERY_TIME = '1e'
2023-06-13 13:20:09.551 DELL __main__ INFO OsalNvIds.CONCENTRATOR_ENABLE = '01'
2023-06-13 13:20:09.598 DELL __main__ INFO OsalNvIds.CONCENTRATOR_DISCOVERY = '64'
2023-06-13 13:20:09.645 DELL __main__ INFO OsalNvIds.CONCENTRATOR_RADIUS = '0a'
...
xyzroe commented 1 year ago

Congratulations! Now you've learned how to use zigpy_znp.tools

xyzroe commented 1 year ago

If someone would like to fix this problem - you are welcome to PR

xyzroe commented 8 months ago

I can't repeat this issue. Could someone provide more info or make more tests on current version?