Page 1 of 1

Where are fuse settings in esptool command?

Posted: Wed Jan 22, 2020 4:23 am
by zliudr
I was wondering if fuse settings such as the cpu frequency etc. are separately stored from program code or with the app .bin file. Because the command that flashes firmware doesn't include anything that looks like fuse settings:

Code: Select all

python /home/user/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 --port COM32 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x10000 /home/user/esp/Projects/test/build/test.bin
I never thought about this till today :) I know now that partition table and bootloader both can be flashed if I make with flash option or just app if I do app-flash.

Thanks!

Re: Where are fuse settings in esptool command?

Posted: Sun Jan 26, 2020 9:02 pm
by chegewara

Re: Where are fuse settings in esptool command?

Posted: Sat Feb 01, 2020 4:53 pm
by zliudr
Thanks chegewara. So I read the list of commands/fuse bits and I think that the efuse has nothing to do with what I'm concerned with such as CPU speed etc.

Re: Where are fuse settings in esptool command?

Posted: Sun Feb 02, 2020 10:31 pm
by ESP_Angus
zliudr wrote:
Sat Feb 01, 2020 4:53 pm
Thanks chegewara. So I read the list of commands/fuse bits and I think that the efuse has nothing to do with what I'm concerned with such as CPU speed etc.
That's correct. Almost all the project settings are compiled into the firmware binary file which is written to flash, nothing else needs to be done. Efuses are write-once settings related to low-level chip configuration, security features, or persistent storage inside the chip.

Re: Where are fuse settings in esptool command?

Posted: Mon Feb 03, 2020 8:32 pm
by zliudr
ESP_Angus wrote:
Sun Feb 02, 2020 10:31 pm
zliudr wrote:
Sat Feb 01, 2020 4:53 pm
Thanks chegewara. So I read the list of commands/fuse bits and I think that the efuse has nothing to do with what I'm concerned with such as CPU speed etc.
That's correct. Almost all the project settings are compiled into the firmware binary file which is written to flash, nothing else needs to be done. Efuses are write-once settings related to low-level chip configuration, security features, or persistent storage inside the chip.
That clarified everything! I'll worry about efuses towards the final stage of my project then. Thanks.