Nice! thank you for helping to clarify this. being that this breakout board has this extra SPIRAM device, this is just added to the already present :
• 448 KB of ROM for booting and core functions.
• 520 KB of on-chip SRAM for data and instructions.
• 8 KB of SRAM in RTC, which is called RTC FAST Memory and can be used for data storage; it is accessed
by the main CPU during RTC Boot from the Deep-sleep mode.
• 8 KB of SRAM in RTC, which is called RTC SLOW Memory and can be accessed by the co-processor during
the Deep-sleep mode
in the WROOM-32 module?
or are SRAM and SPIRAM two different things?
E (523) spiram: SPI RAM enabled but initialization failed. Bailing out.
Re: E (523) spiram: SPI RAM enabled but initialization failed. Bailing out.
i think i may have found my answer, on another post here asking that same question:
"The ESP32 has a few hundred KiB of internal RAM, residing on the same die as the rest of the ESP32. For some purposes, this is insufficient, and therefore the ESP32 incorporates the ability to also use up to 4MiB of external SPI RAM memory as memory. The external memory is incorporated in the memory map and is, within certain restrictions, usable in the same way internal data RAM is.
The ESP32 supports SPI (P)SRAM connected in parallel with the SPI flash chip."
so when you add external SPIRAM, it gets incorporated into the already present memory map, and it gets used just the same as the already present memory?
"The ESP32 has a few hundred KiB of internal RAM, residing on the same die as the rest of the ESP32. For some purposes, this is insufficient, and therefore the ESP32 incorporates the ability to also use up to 4MiB of external SPI RAM memory as memory. The external memory is incorporated in the memory map and is, within certain restrictions, usable in the same way internal data RAM is.
The ESP32 supports SPI (P)SRAM connected in parallel with the SPI flash chip."
so when you add external SPIRAM, it gets incorporated into the already present memory map, and it gets used just the same as the already present memory?
Re: E (523) spiram: SPI RAM enabled but initialization failed. Bailing out.
To wrap up my initial question about the warning message that pops up in the repl, when im connected to my ESP32-WROOM module:
the reason that this message was shown, was because i used the firmware for the version of ESP32 that has SPIRAM (which is external?), but the version of the board that i actually have is the WROOM module, which only has internal memory (SRAM), but it can be extended with external SPIRAM?
the reason that this message was shown, was because i used the firmware for the version of ESP32 that has SPIRAM (which is external?), but the version of the board that i actually have is the WROOM module, which only has internal memory (SRAM), but it can be extended with external SPIRAM?
Re: E (523) spiram: SPI RAM enabled but initialization failed. Bailing out.
The SPIRAM version should also work on devices without SPIRAM, but is slower than the firmware made for board without SPIRAM. Extending a WROOM module with PSRAM is possible, if you pull of the shield, have good eyes and a steady hand.
see this link: https://loboris.eu/forum/showthread.php?tid=117
But it might not be worth the effort, given the price for breakouts with PSRAM.
see this link: https://loboris.eu/forum/showthread.php?tid=117
But it might not be worth the effort, given the price for breakouts with PSRAM.
Re: E (523) spiram: SPI RAM enabled but initialization failed. Bailing out.
right on, thank you.
so it'll still work on devices that dont have SPIRAM, but it will throw that warning? or is that warning being caused by something else?
so it'll still work on devices that dont have SPIRAM, but it will throw that warning? or is that warning being caused by something else?
Re: E (523) spiram: SPI RAM enabled but initialization failed. Bailing out.
It will work, but it#s better to use the firmware version matching the board.