Page 1 of 1

espefuse.py command does not work ?

Posted: Sun Jan 31, 2021 3:31 pm
by Aidin77
Hi,

According to esp-idf command:

If you are sure that you need to irreversibly burn eFuses, go to your ESP-IDF directory and run the following command:
components/esptool_py/esptool/espefuse.py set_flash_voltage 3.3V

But it does not work for me ?
I update esp-idf several times but it did not work. I uninstall it and install it but it did not work again !!

Re: espefuse.py command does not work ?

Posted: Mon Feb 01, 2021 8:03 am
by ESP_Roland
Hi Aidin77,

you don't have all the dependencies installed ("pyserial" in this case). Have you run the install.bat and export.bat scripts?

Re: espefuse.py command does not work ?

Posted: Mon Feb 01, 2021 10:28 am
by Aidin77
Thank you for the prompt reply.
Yes I have run the install.bat but I have not run the export.bat.
I uninstalled it and down grade to version 3.3
right now the espefuse.py set_flash_voltage 3.3V command have the attached response!!

components/esptool_py/esptool/espefuse.py set_flash_voltage 3.3V

what is wrong !!

Re: espefuse.py command does not work ?

Posted: Mon Feb 01, 2021 11:43 am
by ESP_Roland
Please try to specify the chip with the --chip argument and the port with the --port argument.

I would like to point out that you are running irreversible operations. So please read the documentation and options of esptool carefully.

The documentation is missing all the necessary arguments on purpose so one would not brick his/her device blindly by copying and running the commands.

Re: espefuse.py command does not work ?

Posted: Mon Feb 01, 2021 11:55 am
by Aidin77
Thank you again

Would you please write the correct command for this purpose ( my chip is esp32 and com3 ), I read this link carefully and several times.

https://docs.espressif.com/projects/esp ... ments.html

is there any other document that i should read it.

Re: espefuse.py command does not work ?

Posted: Mon Feb 01, 2021 11:59 am
by Aidin77
The --chip argument is optional when writing to flash, esptool will detect the type of chip when it connects to the serial port.

https://github.com/espressif/esptool