-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Platformio: S3 QIO 120Mhz Flash speed not possible #9351
Comments
Hi @Jason2866, we are building the boot loader for 120MHz QIO correctly, double checked that and this is printed on build: The 120MHz boot loader is selected here in the platform.txt: Lines 117 to 121 in 4123e20
The Is there any way you figured out, that the boot loader is not running flash at 120MHz? |
But maybe according to the note from build, we should use DOUT mode instead of DIO for 120 MHz. |
@P-R-O-C-H-Y Thx for the investigation. Overlooked the entry in platform.txt. |
@Jason2866 Not sure if we can test the speed. In IDF you get only this one message from boot loader if HPM is enabled. |
@P-R-O-C-H-Y Thx again. Will enable logging (as much as possible in IDF) and build the Arduino Libs with verbose logging. |
@Jason2866 You are welcome :) Let us know the results and I think we can rename this issue to be related to PIO which can be closed if you successfully adopt the PIO build script to support 120MHz mode. |
@P-R-O-C-H-Y Yes, will come back when a solution for Pio is found. |
You could mirror the SPI clock pin to some other pin and then simply measure the frequency. |
@P-R-O-C-H-Y Opened PR #9380 |
@Jason2866 Great! Already checked and looking good. |
@P-R-O-C-H-Y Recommended in IDF 5.1 esptool to use DOUT when using 120Mhz https://github.com/espressif/esp-idf/blob/release/v5.1/components/esptool_py/project_include.cmake |
Board
every s3 board with QIO Flash capable 120Mhz
Device Description
Setting Flash speed 120Mhz for S3 not possible
Hardware Configuration
none
Version
latest master (checkout manually)
IDE Name
ArduinoIDE
Operating System
MacOS Ventura
Flash frequency
120Mhz
PSRAM enabled
yes
Upload speed
115200
Description
Using the setting 120Mhz flash speed from
boards.txt
esp32s3.menu.FlashMode.qio120.build.boot_freq=120m
This setting is nowhere used in
platform.txt
when the firmware is mergedarduino-esp32/platform.txt
Line 159 in 4123e20
nor when flashed with esptool
arduino-esp32/platform.txt
Line 278 in 4123e20
and
arduino-esp32/platform.txt
Line 286 in 4123e20
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: