Skip to content

3.1.0-RC2 Constant reboot #10589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
Arielhh opened this issue Nov 9, 2024 · 12 comments
Closed
1 task done

3.1.0-RC2 Constant reboot #10589

Arielhh opened this issue Nov 9, 2024 · 12 comments
Labels
Resolution: Duplicate Issue is a duplicate of another issue Resolution: Wontfix Arduino ESP32 team will not fix the issue

Comments

@Arielhh
Copy link

Arielhh commented Nov 9, 2024

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

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@Arielhh Arielhh added the Status: Awaiting triage Issue is waiting for triage label Nov 9, 2024
@TD-er
Copy link
Contributor

TD-er commented Nov 9, 2024

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

@Arielhh
Copy link
Author

Arielhh commented Nov 9, 2024 via email

@Jason2866
Copy link
Collaborator

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

@Jason2866 Jason2866 added Status: Awaiting Response awaiting a response from the author and removed Status: Awaiting triage Issue is waiting for triage labels Nov 9, 2024
@Arielhh
Copy link
Author

Arielhh commented Nov 9, 2024 via email

@SuGlider
Copy link
Collaborator

SuGlider commented Nov 9, 2024

@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.

@SuGlider SuGlider added Resolution: More info needed More info must be provided in this issue Resolution: Unable to reproduce With given information issue is unable to reproduce Resolution: Awaiting response Waiting for response of author and removed Status: Awaiting Response awaiting a response from the author labels Nov 9, 2024
@Arielhh
Copy link
Author

Arielhh commented Nov 9, 2024 via email

@Arielhh
Copy link
Author

Arielhh commented Nov 11, 2024 via email

@Jason2866
Copy link
Collaborator

This info does not help.

@SuGlider
Copy link
Collaborator

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

@emhave
Copy link

emhave commented Jan 8, 2025

The smallest code that gives the error:


#include "ESPAsyncWebServer.h" //

// Replace with your network credentials
const char* ssid = "NETGEAR04";
const char* password = "ancientshoe808";

void connectWiFi(void){ // Station
int Try_no = 0 ;
Serial.printf("Connecting to: \r\n", ssid);
Serial.println(ssid);
WiFi.begin(ssid, password);
while ((WiFi.status() != WL_CONNECTED) && (Try_no <= 15)) {
delay(500);
Serial.print(".");
Try_no = Try_no +1 ;
Serial.print(Try_no);
}
Serial.println("");
if (WiFi.status() == WL_CONNECTED) {
Serial.print("WiFi connected, ");
Serial.printf("IP address: \r\n", WiFi.localIP() );
Serial.println(WiFi.localIP());
}
}

// Create AsyncWebServer object on port 80
AsyncWebServer server(80);

void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
connectWiFi();

// Start server
server.begin();
}

void loop() {
// put your main code here, to run repeatedly:

}


And the output on the Serial Monitor:


22:18:45.085 -> ⸮⸮⸮ESP-ROM:esp32s3-20210327
22:18:45.085 -> Build:Mar 27 2021
22:18:45.085 -> rst:0xc (RTC_SW_CPU_RST),boot:0x2b (SPI_FAST_FLASH_BOOT)
22:18:45.085 -> Saved PC:0x4037a84a
22:18:45.085 -> SPIWP:0xee
22:18:45.085 -> mode:DIO, clock div:1
22:18:45.085 -> load:0x3fce2820,len:0x1188
22:18:45.085 -> load:0x403c8700,len:0x4
22:18:45.085 -> load:0x403c8704,len:0xbf0
22:18:45.085 -> load:0x403cb700,len:0x30e4
22:18:45.120 -> entry 0x403c88ac
22:18:45.323 -> Connecting to:
22:18:45.323 -> NETGEAR04
22:18:45.867 -> .1.2.3.4
22:18:47.369 -> WiFi connected, IP address:
22:18:47.369 -> 172.16.0.95
22:18:47.369 ->
22:18:47.402 -> assert failed: tcp_alloc /IDF/components/lwip/lwip/src/core/tcp.c:1851 (Required to lock TCPIP core functionality!)
22:18:47.402 ->
22:18:47.402 ->
22:18:47.402 -> Backtrace: 0x403764c2:0x3fca9530 0x4037cb45:0x3fca9550 0x40383539:0x3fca9570 0x4201fbc7:0x3fca96a0 0x4201fd31:0x3fca96c0 0x42007628:0x3fca96e0 0x42006b91:0x3fca9730 0x42002aad:0x3fca9750 0x4200c14b:0x3fca9780 0x4037d832:0x3fca97a0
22:18:47.436 ->
22:18:47.436 ->
22:18:47.436 ->
22:18:47.436 ->
22:18:47.436 -> ELF file SHA256: 9de3629eb
22:18:47.436 ->
22:18:47.537 -> Rebooting...
22:18:47.537 -> ⸮⸮⸮ESP-ROM:esp32s3-20210327


AFAIK the issue is the line that starts with: assert failed:

On a ESP32 WROOM DA Module i get the same error .

@lbernstone
Copy link
Contributor

#10781 (comment)

@Jason2866 Jason2866 added Resolution: Wontfix Arduino ESP32 team will not fix the issue Resolution: Duplicate Issue is a duplicate of another issue and removed Resolution: More info needed More info must be provided in this issue Resolution: Unable to reproduce With given information issue is unable to reproduce Resolution: Awaiting response Waiting for response of author labels Jan 9, 2025
@Jason2866
Copy link
Collaborator

closing, outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Duplicate Issue is a duplicate of another issue Resolution: Wontfix Arduino ESP32 team will not fix the issue
Projects
None yet
Development

No branches or pull requests

6 participants