-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Modules with PSRAM take long to boot #5737
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
Comments
@mcer12 |
This seems something related IDF 3.3 But in version 2.0.0, that uses IDF 4.4, this option doesn't exist anymore in sdkconfig. What is the Arduino Core Version you are currently using? |
@SuGlider when you tried it, did you enable PSRAM in the board settings? It boots up instantaneously for me as well but only when the PSRAM is disabled. And yes, I am running the latest arduino core. |
@mcer12 Looking into Arduino Core code I found This is the place where it tests PSRAM and takes 500ms after booting. @me-no-dev, is PSRAM test mandatory for Arduino or it can be skipped? |
Any news on this? I know 500ms doesn't seem like a big deal but on battery powered devices, it can mean weeks of extra deep sleep time :) |
@mcer12 Example: BYPASS_SPIRAM_TEST(true);
void setup() {
Serial.begin(115200);
Serial.println("\n Testing SPIRAM test bypass!");
Serial.println("Check how long does it take to boot in a WROVER module.");
}
void loop() {
static uint8_t count = 0;
Serial.print("-");
delay(500);
if (++count == 32) {
count = 0;
Serial.println();
}
} |
The PR #6135 will solve your need. |
Thank you! Hope it gets approved soon. |
Seems like PSRAM is tested during boot, which can be disabled in menuconfonfig ("Run memory test on SPI RAM initialization" option). This causes ~500ms delay in boot. It would be nice to be able to disable the PSRAM test in arduino environment as well.
It is mentioned here:
https://esp32.com/viewtopic.php?t=9448
The text was updated successfully, but these errors were encountered: