espefuse ignoring command line arguments

kevscott
Posts: 3
Joined: Fri Oct 09, 2020 9:56 pm

espefuse ignoring command line arguments

Postby kevscott » Fri Aug 25, 2023 10:28 am

I have done a clean install of ESP-IDF V5.1 (release version) in VS Code and as far as code building is concerned everything works fine.
I have however unfortunately designed a PCB that has GPIO 12 (MTDI) connected to an SD card and flashing the ESP32 is unpredictable because of the VDD_SDIO voltage status that this is seeing.

I thought I could get around this by running espefuse as decribed in https://docs.espressif.com/projects/esp ... v-vdd-sdio but I am running into problems with this command.

When I start a new ESP-IDF terminal in VS Code and type any espefuse.py command it seems to execute but I get no output on the terminal. For example espefuse.py --help returns nothing. In the same way running esptool.py --help returns nothing. Also sending a non sensible argument like --kkhdjhkjdfh to either of these commands results in no response either.

However, running idf.py --help returns the expected output.

I also dont think this is the result of some side effect from another program as all of the above has been done on a new WIndows user so the user profile is as clean as it can be.

Any thoughts would be appreciated!

kevscott
Posts: 3
Joined: Fri Oct 09, 2020 9:56 pm

Re: espefuse ignoring command line arguments

Postby kevscott » Wed Aug 30, 2023 5:04 pm

After further trial and error I have managed to get espefuse.py to work. What I had to do was use the following command :

Code: Select all

python C:\Users\<your-username>\esp\esp-idf\components\esptool_py\esptool\espefuse.py --help
Just a reminder this is with release 5.1, your folder structure might be slightly different if using another release.

Who is online

Users browsing this forum: No registered users and 70 guests