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

ltchiptool.gui.base.zc is deprecated ... #31

Open
Another-Taipan opened this issue May 27, 2024 · 2 comments
Open

ltchiptool.gui.base.zc is deprecated ... #31

Another-Taipan opened this issue May 27, 2024 · 2 comments

Comments

@Another-Taipan
Copy link

When I launch v4.11.1 of Ltchiptool on Windows 10, I get this warning (in yellow text):

W: PyInstaller\loader\pyimod02_importers.py:419: UserWarning: ltchiptool.gui.base.zc is deprecated, migrate to ltchiptool.gui.mixin.zc

Is that important and what should I do to satisfy/fix the warning?

@kuba2k2
Copy link
Member

kuba2k2 commented May 27, 2024

It's not important, it just means that one of the plugins hasn't been updated to the new Zeroconf module (probably UPK2ESPHome).

@Another-Taipan
Copy link
Author

OK, but when I attempt a "Read Flash" on a BK7231T with version 4.11.1, it almost completes and then throws this error:

E: An error has occurred
E: ValueError: No response received
E: |-- File "ltchiptool\gui\work\base.py", line 24, in run
E: |-- File "ltchiptool\gui\work\flash.py", line 75, in run_impl
E: |-- File "ltchiptool\gui\work\flash.py", line 189, in _do_read
E: |-- File "ltchiptool\soc\bk72xx\flash.py", line 256, in flash_read_raw
E: |-- File "bk7231tools\serial\cmd_ll_chip.py", line 62, in read_flash_range_crc
E: |-- File "bk7231tools\serial\protocol.py", line 144, in command

The resulting dump file is 2,044 KB when it should be 2,048 KB.
I have repeated this process several times with exactly the same result.

However, if I do the same "Read Flash" with version 4.4.1, it completes without error and the dump file is the correct 2,048 KB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants