Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
w0lf3h opened this issue Nov 11, 2022 · 18 comments
Open

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

w0lf3h opened this issue Nov 11, 2022 · 18 comments
Labels
bug Something isn't working

Comments

@w0lf3h
Copy link

w0lf3h commented Nov 11, 2022

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
Copy link

anisart commented Nov 22, 2022

Same issue with HamGeek CC2652P

@xyzroe
Copy link
Owner

xyzroe commented Nov 24, 2022

OK. I'll try to add logs somewhere.

@xyzroe xyzroe added the bug Something isn't working label Nov 24, 2022
@pilonull
Copy link

pilonull commented Dec 7, 2022

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

@xyzroe
Copy link
Owner

xyzroe commented Dec 7, 2022

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

@Alex2030S
Copy link

Alex2030S commented Dec 17, 2022

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
Copy link

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
Copy link

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

@DarkFeniXZp
Copy link

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

@urbanzz
Copy link

urbanzz commented Feb 12, 2023

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
Copy link

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
Copy link

kknishev commented May 30, 2023

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

@xyzroe
Copy link
Owner

xyzroe commented May 30, 2023

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

@kknishev
Copy link

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
Copy link
Owner

xyzroe commented May 31, 2023

@kknishev
Copy link

kknishev commented Jun 13, 2023

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
Copy link
Owner

xyzroe commented Jun 13, 2023

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

@xyzroe
Copy link
Owner

xyzroe commented Jun 13, 2023

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

@xyzroe
Copy link
Owner

xyzroe commented Dec 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests