I have been trying to troubleshoot the issue regarding why the ESP32 file system is not mounting using the program from the GFX library. I have programmed the data using the ESP32 sketch data upload. The upload is only about 1.8kb in size. I keep receiving error code:
E (101) psram: PSRAM ID read error: 0xffffffff
ERROR: File System Mount Failed!
The code is posted below:
/***
Animated GIF Image Viewer
This is a simple Animated GIF image viewer exsample
I have been trying to troubleshoot the issue regarding why the ESP32 file system is not mounting using the program from the GFX library. I have programmed the data using the ESP32 sketch data upload. The upload is only about 1.8kb in size. I keep receiving error code:
E (101) psram: PSRAM ID read error: 0xffffffff ERROR: File System Mount Failed!
The code is posted below:
/***
if defined(ARDUINO_ARCH_SAMD) && defined(SEEED_GROVE_UI_WIRELESS)
define GIF_FILENAME "/Blinking.gif"
elif defined(ARDUINO_RASPBERRY_PI_PICO)
define GIF_FILENAME "/Blinking.gif"
elif defined(ESP32)
define GIF_FILENAME "/Blinking.gif"
else
define GIF_FILENAME "/Blinking.gif"
endif
/***
include
/ More dev device declaration: https://github.com/moononournation/Arduino_GFX/wiki/Dev-Device-Declaration /
if defined(DISPLAY_DEV_KIT)
Arduino_GFX *gfx = create_default_Arduino_GFX();
else / !defined(DISPLAY_DEV_KIT) /
/ More data bus class: https://github.com/moononournation/Arduino_GFX/wiki/Data-Bus-Class / Arduino_DataBus bus = new Arduino_ESP32SPI(27 / DC /, 5 / CS /, 18 / SCK /, 23 / MOSI /, -1 / MISO /, VSPI / spi_num */);
/ More display class: https://github.com/moononournation/Arduino_GFX/wiki/Display-Class / Arduino_GFX gfx = new Arduino_GC9A01(bus, 7 / RST /, 0 / rotation /, true / IPS */);
endif / !defined(DISPLAY_DEV_KIT) /
/***
/ Wio Terminal /
if defined(ARDUINO_ARCH_SAMD) && defined(SEEED_GROVE_UI_WIRELESS)
include
include <SD/Seeed_SD.h>
elif defined(ARDUINO_RASPBERRY_PI_PICO)
include
include
elif defined(ESP32)
include
// #include
include
include
elif defined(ESP8266)
include
include
else
include
endif
include "GifClass.h"
static GifClass gifClass;
void setup() { Serial.begin(115200);
// Init Display gfx->begin(); gfx->fillScreen(BLACK);
ifdef TFT_BL
pinMode(TFT_BL, OUTPUT); digitalWrite(TFT_BL, HIGH);
endif
/ Wio Terminal /
if defined(ARDUINO_ARCH_SAMD) && defined(SEEED_GROVE_UI_WIRELESS)
if (!SD.begin(SDCARD_SS_PIN, SDCARD_SPI, 4000000UL))
elif defined(ARDUINO_RASPBERRY_PI_PICO)
if (!LittleFS.begin()) // if (!SD.begin(SS))
elif defined(ESP32)
if (!FFat.begin()) // if (!LittleFS.begin()) // if (!SPIFFS.begin()) // if (!SD.begin(SS))
elif defined(ESP8266)
if (!LittleFS.begin()) // if (!SD.begin(SS))
else
if (!SD.begin())
endif
{ Serial.println(F("ERROR: File System Mount Failed!")); gfx->println(F("ERROR: File System Mount Failed!")); } else { / Wio Terminal /
if defined(ARDUINO_ARCH_SAMD) && defined(SEEED_GROVE_UI_WIRELESS)
elif defined(ARDUINO_RASPBERRY_PI_PICO)
elif defined(ESP32)
elif defined(ESP8266)
else
endif
} }
void loop() { }