espefuse.py command does not work ?

Aidin77
Posts: 17
Joined: Thu Apr 19, 2018 6:56 pm

espefuse.py command does not work ?

Postby Aidin77 » Sun Jan 31, 2021 3:31 pm

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 !!
Attachments
error.png
espefuse command does not work
error.png (44.79 KiB) Viewed 6919 times

User avatar
ESP_Roland
Posts: 261
Joined: Tue Oct 09, 2018 10:28 am

Re: espefuse.py command does not work ?

Postby ESP_Roland » Mon Feb 01, 2021 8:03 am

Hi Aidin77,

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

Aidin77
Posts: 17
Joined: Thu Apr 19, 2018 6:56 pm

Re: espefuse.py command does not work ?

Postby Aidin77 » Mon Feb 01, 2021 10:28 am

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 !!
Attachments
efuse setting.jpg
version 3.3 error
efuse setting.jpg (200.95 KiB) Viewed 6849 times

User avatar
ESP_Roland
Posts: 261
Joined: Tue Oct 09, 2018 10:28 am

Re: espefuse.py command does not work ?

Postby ESP_Roland » Mon Feb 01, 2021 11:43 am

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.

Aidin77
Posts: 17
Joined: Thu Apr 19, 2018 6:56 pm

Re: espefuse.py command does not work ?

Postby Aidin77 » Mon Feb 01, 2021 11:55 am

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.

Aidin77
Posts: 17
Joined: Thu Apr 19, 2018 6:56 pm

Re: espefuse.py command does not work ?

Postby Aidin77 » Mon Feb 01, 2021 11:59 am

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

Who is online

Users browsing this forum: Gaston1980, Google [Bot] and 133 guests