Page 1 of 1

ESP Flash Speed

Posted: Thu Sep 26, 2024 4:14 am
by Alberk
I have the ESP32 WROVER E (Rev 3) development board and a bit confused with the the esptool commands

The sdkconfig has the following option compiled.

Code: Select all

CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
CONFIG_SPIRAM_SPEED_80M=y
What is the purpose of the esptool flash_mode ?
esptool.py write_flash --flash_mode

Re: ESP Flash Speed

Posted: Thu Sep 26, 2024 6:32 am
by MicroController
I believe the SDK config is baked into the firmware so that the bootloader can set up the flash upon boot of the firmware, while the --flash_mode is used by the esptool to (temporarily) configure the flash for esptool's purposes.

Re: ESP Flash Speed

Posted: Thu Sep 26, 2024 7:32 am
by Alberk
Thanks.
Does that mean it does not matter if I use the esptool parameter to flash the firmware ? assuming the firmware is built with the speed configurations.