-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
esptool/test/test_espefuse.py: import StringIO (ESPTOOL-328) #677
Comments
Hi @cederom. Thanks. You are right that this import is Python 2 only. We will fix it. I just wanted to make sure that you've read the header of the file that this script is destructive and shouldn't be run on ESP chips. There is another file (test_espefuse_host.py) which can be run virtually (without any connected chip). |
Thanks @dobairoland :-) If the test is destructive should not be optional with warning?? :-) How exactly is it destructive? Cannot be rolled back? |
@cederom This is the warning in the beginning of the script:
efuses can be burned only once and the operation cannot be undone. They change the chip functionality. These tests would probably make the chip completely useless.
What made you think you need to run these tests? |
I was updating FreeBSD Port of Please prompt clear warning before those tests that they are destructive should not be used on real hardware and abort by default. If only one test failed and others were destructive then I have just crippled my brand new ESP32-C3-DevKitM/C :-( I have some spare ESP32-C3 WROOM and MINI modules I may be able to resolder them.. |
Full esptool.py command line as run:
Full output from esptool.py
What is the expected behaviour?
Test passes.
Do you have any other information from investigating this?
from io import StringIO
? :-)Is there any other information you can think of which will help us reproduce this problem?
from io import StringIO
? :-)The text was updated successfully, but these errors were encountered: