ESP32S3 microSD read issue

Gheb17
Posts: 2
Joined: Wed Jan 17, 2024 3:12 pm

ESP32S3 microSD read issue

Postby Gheb17 » Thu Aug 08, 2024 8:36 am

My board: https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-1.28

I'm trying to read from an SD card. With the example code (ESP32SD), I have no issues. However, with the main code (esp32-s3-touch-lcd-1.28-demo), the board crashes. I have a file.txt containing the error message.
Attachments
code.zip
(3.94 MiB) Downloaded 88 times

ESP_adokitkat
Posts: 52
Joined: Thu Jun 22, 2023 12:50 pm

Re: ESP32S3 microSD read issue

Postby ESP_adokitkat » Thu Aug 15, 2024 11:18 pm

Hello.

It seems like a heap corruption problem (buffer overflow, underflow, etc.). Are you sure you initialize/allocate and deinitialize/deallocate everything properly?

Please see https://docs.espressif.com/projects/esp ... debug.html or an equivalent for Arduino core.

Who is online

Users browsing this forum: No registered users and 70 guests