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
ESP32-S3 problem screen and SDCard
ESP32-S3 problem screen and SDCard
- Attachments
-
- Capture d’écran du 2025-04-15 21-04-56.png (19.62 KiB) Viewed 697 times
-
- Capture d’écran du 2025-04-15 20-59-34.png (115.76 KiB) Viewed 697 times
-
lbernstone
- Posts: 1131
- Joined: Mon Jul 22, 2019 3:20 pm
Re: ESP32-S3 problem screen and SDCard
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.
If you want help with the SDCard you need to provide a lot more information.
Re: ESP32-S3 problem screen and SDCard
2) the screen display now
For my SDCard, its formatted with FAT32
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;
}
-
lbernstone
- Posts: 1131
- Joined: Mon Jul 22, 2019 3:20 pm
Re: ESP32-S3 problem screen and SDCard
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.
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
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
-
lbernstone
- Posts: 1131
- Joined: Mon Jul 22, 2019 3:20 pm
Re: ESP32-S3 problem screen and SDCard
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
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.
Who is online
Users browsing this forum: Applebot and 3 guests