ESP Flash Speed

Alberk
Posts: 55
Joined: Sat Jun 19, 2021 1:49 am

ESP Flash Speed

Postby Alberk » Thu Sep 26, 2024 4:14 am

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

MicroController
Posts: 1698
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: ESP Flash Speed

Postby MicroController » Thu Sep 26, 2024 6:32 am

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.

Alberk
Posts: 55
Joined: Sat Jun 19, 2021 1:49 am

Re: ESP Flash Speed

Postby Alberk » Thu Sep 26, 2024 7:32 am

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.

Who is online

Users browsing this forum: Google [Bot] and 304 guests