ZigStarGW-MT icon indicating copy to clipboard operation
ZigStarGW-MT copied to clipboard

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

Open w0lf3h opened this issue 2 years ago • 18 comments

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

w0lf3h avatar Nov 11 '22 17:11 w0lf3h

Same issue with HamGeek CC2652P

anisart avatar Nov 22 '22 10:11 anisart

OK. I'll try to add logs somewhere.

xyzroe avatar Nov 24 '22 20:11 xyzroe

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

pilonull avatar Dec 07 '22 04:12 pilonull

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

xyzroe avatar Dec 07 '22 11:12 xyzroe

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.

Alex2030S avatar Dec 17 '22 04:12 Alex2030S

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/

lepakabrek avatar Dec 20 '22 19:12 lepakabrek

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

thunderj27 avatar Jan 29 '23 18:01 thunderj27

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

DarkFeniXZp avatar Feb 11 '23 14:02 DarkFeniXZp

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

urbanzz avatar Feb 12 '23 11:02 urbanzz

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!

aaastafyev avatar Feb 19 '23 10:02 aaastafyev

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

kknishev avatar May 30 '23 14:05 kknishev

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

xyzroe avatar May 30 '23 15:05 xyzroe

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

kknishev avatar May 31 '23 06:05 kknishev

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

xyzroe avatar May 31 '23 08:05 xyzroe

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'
...

kknishev avatar Jun 13 '23 10:06 kknishev

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

xyzroe avatar Jun 13 '23 10:06 xyzroe

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

xyzroe avatar Jun 13 '23 10:06 xyzroe

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

xyzroe avatar Dec 19 '23 14:12 xyzroe