Page 1 of 1

ESP32-S3 problem screen and SDCard

Posted: Sat Apr 19, 2025 10:46 am
by maggymtac
Dear,

I have two problems: 1) SD Card cannot mounted
2) Screen display blue color.

On Arduino IDE 2.3.5 with this screen: https://fr.aliexpress.com/item/1005008263739345.html
Library esp32 (v2.0.17) i use GFX library which works fine with others model of screen, here it's ST7262:
https://sourceb.in/Cg85xIg4Yy

I follow this tutorial: https://www.waveshare.com/wiki/ESP32-S3 ... #Resources

and i try demos, compilation failed , ex: project 08_DrawColorBar i get this error: /home/james/Arduino/libraries/ESP32_Display_Panel/src/drivers/lcd/esp_panel_lcd.cpp:14:10: fatal error: esp_memory_utils.h: No such file or directory
#include "esp_memory_utils.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
for this project 03_SD_Test:
https://sourceb.in/5hkw8nt0Z6

Thank you for your help

Re: ESP32-S3 problem screen and SDCard

Posted: Sat Apr 19, 2025 5:38 pm
by lbernstone
The library is written for arduino-esp32 v3.x. The header it is looking for is part of IDF5.
If you want help with the SDCard you need to provide a lot more information.

Re: ESP32-S3 problem screen and SDCard

Posted: Sat Apr 19, 2025 6:04 pm
by maggymtac
2) the screen display now

For my SDCard, its formatted with FAT32

Code: Select all

SPIClass spi2(HSPI);

  spi2.begin(12, 13, 11, 4);
  if(!SD.begin(4,spi2)){
    Serial.println("Card Mount Failed");
    return;
  }


Re: ESP32-S3 problem screen and SDCard

Posted: Sat Apr 19, 2025 8:56 pm
by lbernstone
What SPI is the display using? The default bus is typically HSPI. Try using FSPI (aka bus0) for the SD card instead.
Does the SD Card work if you run just a basic example with reassigned pins?
The SD library is not set up to use ExFAT, so you should reformat the card to FAT32 if needed.

Re: ESP32-S3 problem screen and SDCard

Posted: Sun May 04, 2025 5:59 pm
by maggymtac
SD card is formatted with FAT32. i try this link i get :

Code: Select all

19:57:36.768 -> ESP-ROM:esp32s3-20210327
19:57:36.768 -> Build:Mar 27 2021
19:57:36.768 -> rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
19:57:36.768 -> SPIWP:0xee
19:57:36.768 -> mode:DIO, clock div:1
19:57:36.768 -> load:0x3fce2820,len:0x118c
19:57:36.768 -> load:0x403c8700,len:0x4
19:57:36.768 -> load:0x403c8704,len:0xc20
19:57:36.768 -> load:0x403cb700,len:0x30e0
19:57:36.768 -> entry 0x403c88b8
19:57:36.768 -> Card Mount Failed

Re: ESP32-S3 problem screen and SDCard

Posted: Sun May 04, 2025 7:39 pm
by lbernstone
What is your hardware? Some sdcard modules may be set up as SDIO (aka SD_MMC). Some don't have pullups on the necessary pins.

Re: ESP32-S3 problem screen and SDCard

Posted: Sun May 18, 2025 12:47 am
by camperos
Hi, I think I have the same product a waveshare esp panel 7 inch, the 2 examples: "03_SD_Test" and "08_DrawColorBar" work for me, you have to use the libraries downloaded with the examples, any update no longer allows you to use the examples, including lvgl.