espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
13.71k stars 7.43k forks source link

3.1.0-RC2 Constant reboot #10589

Open Arielhh opened 1 week ago

Arielhh commented 1 week ago

Board

lilygo t-display s3 touch esp32s3

Device Description

3.1.0-RC1 is working just fine but when moving to 3.1.0-RC2 the micro controller go into Constant reboots

lilygo display t3 touch s3 - esp32s3

Hardware Configuration

I2S max98357

Version

latest development Release Candidate (RC-X)

IDE Name

arduino ide

Operating System

windows 11

Flash frequency

40mhz

PSRAM enabled

yes

Upload speed

115200

Description

3.1.0-RC1 is working just fine but when moving to 3.1.0-RC2 the micro controller go into Constant reboots

Sketch

the sketch is very large

Debug Message

3.1.0-RC1 is working just fine but when moving to 3.1.0-RC2 the micro controller go into Constant reboots

Other Steps to Reproduce

3.1.0-RC1 is working just fine but when moving to 3.1.0-RC2 the micro controller go into Constant reboots

I have checked existing issues, online documentation and the Troubleshooting Guide

TD-er commented 1 week ago

Can the reboot be PSRAM related? So if you disable PSRAM, does it still reboot?

Arielhh commented 1 week ago

I need the psram to be enabled as I store there info which is required for my product. I cannot run the code if psram is not enabled.

On Sat, Nov 9, 2024 at 15:52 TD-er @.***> wrote:

Can the reboot be PSRAM related? So if you disable PSRAM, does it still reboot?

— Reply to this email directly, view it on GitHub https://github.com/espressif/arduino-esp32/issues/10589#issuecomment-2466246336, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABE77IB2SR5ODUHNZGLQDGDZ7YORZAVCNFSM6AAAAABRPC2GOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGI2DMMZTGY . You are receiving this because you authored the thread.Message ID: @.***>

Jason2866 commented 1 week ago

Without providing a sample sketch which fails, it is guess work. There is no general issue, I have several S3 boards with connected displays and enabled PSRAM perfectly fine with RC2

Arielhh commented 1 week ago

Is the new version larger or occupied/ requires a larger ram memory space? Maybe the issue is not enough ram space?

On Sat, Nov 9, 2024 at 16:18 Jason2866 @.***> wrote:

Without providing a sample sketch which fails, it is guess work. There is no general issue, I have several S3 boards with connected displays and enabled PSRAM perfectly fine with RC2

— Reply to this email directly, view it on GitHub https://github.com/espressif/arduino-esp32/issues/10589#issuecomment-2466254740, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABE77IF5Z4XQFQG3L7G7PCDZ7YRVHAVCNFSM6AAAAABRPC2GOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGI2TINZUGA . You are receiving this because you authored the thread.Message ID: @.***>

SuGlider commented 1 week ago

@Arielhh - As pointed by others, this issue has no information about the Guru Mediation message, neither a minimum sketch that can be used to confirm and debug the issue. If this is a memory problem, please turn the DEBUG Level to Verbose, run your sketch and check the logs.

Make sure that in your code it is testing all returned pointers from memory allocation in order to avoid NULL pointers.

Arielhh commented 1 week ago

Thanks, I will check and update.

On Sat, Nov 9, 2024 at 22:59 Rodrigo Garcia @.***> wrote:

@Arielhh https://github.com/Arielhh - As pointed by others, this issue has no information about the Guru Mediation message, neither a minimum sketch that can be used to confirm and debug the issue. If this is a memory problem, please turn the DEBUG Level to Verbose, run your sketch and check the logs.

Make sure that in your code it is testing all returned pointers from memory allocation in order to avoid NULL pointers.

— Reply to this email directly, view it on GitHub https://github.com/espressif/arduino-esp32/issues/10589#issuecomment-2466475721, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABE77IF7A2BAYDZS4VLS6ITZ72ASXAVCNFSM6AAAAABRPC2GOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGQ3TKNZSGE . You are receiving this because you were mentioned.Message ID: @.***>

Arielhh commented 1 week ago

I set the DEBUG Level to Verbose but there was no errors reported. Still when using the same code that i am using with 3.1.0-r1 and works with that version very well it fails with R2 version causing the edp32s3 to reboot

On Sat, Nov 9, 2024 at 10:59 PM Rodrigo Garcia @.***> wrote:

@Arielhh https://github.com/Arielhh - As pointed by others, this issue has no information about the Guru Mediation message, neither a minimum sketch that can be used to confirm and debug the issue. If this is a memory problem, please turn the DEBUG Level to Verbose, run your sketch and check the logs.

Make sure that in your code it is testing all returned pointers from memory allocation in order to avoid NULL pointers.

— Reply to this email directly, view it on GitHub https://github.com/espressif/arduino-esp32/issues/10589#issuecomment-2466475721, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABE77IF7A2BAYDZS4VLS6ITZ72ASXAVCNFSM6AAAAABRPC2GOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGQ3TKNZSGE . You are receiving this because you were mentioned.Message ID: @.***>

Jason2866 commented 1 week ago

This info does not help.

SuGlider commented 1 week ago

@Arielhh - Could you please provide a minimum Arduino Sketch that we can use to reproduce this issue?