Issue with ESP32-S3-N16R8 Board Resetting Continuously

dallim30
Posts: 22
Joined: Thu Apr 29, 2021 1:35 am

Issue with ESP32-S3-N16R8 Board Resetting Continuously

Postby dallim30 » Mon Sep 30, 2024 6:46 am

Hi.

I have created a simple test project using the Arduino platform on VSCode for the ESP32-S3-N16R8 Board-USBC module.
After compiling and uploading the project to the board, the ESP32-S3 is unable to start properly and keeps resetting continuously.
But, I tested the same ESP32-S3 module with Arduino IDE 2.3.3, and it worked well.”
Maybe something wrong with PIO configuration and tools?
I would appreciate your advice on how to resolve this issue.

Below is the serial output:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403cdb0a
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
:


Here is the main.cpp file:
#include <Arduino.h>

void setup() {
Serial.begin(115200);
delay(2000);
Serial.println(“Setup()”);
}

void loop() {
Serial.println(“loop”);
}

And the platformio.ini configuration:
[env:esp32-s3-devkitc-1-n16r8v]
platform = espressif32
board = esp32-s3-devkitc-1-n16r8v
framework = arduino
build_flags =
-DCORE_DEBUG_LEVEL=1
-Wl,-Map,output.map

Attached are the following files:
(a) sdkconfig from C:\Users\aaa.platformio\packages\framework-arduinoespressif32\tools\sdk\esp32s3
(b) esp32-s3-devkitc-1-n16r8v.json from C:\Users\ACEN.platformio\platforms\espressif32\boards
I cannot attach the files. If necessary to find the cause of the problem, I will upload the content.”

Thank you for your assistance.

Best regards,

sjkim

lbernstone
Posts: 828
Joined: Mon Jul 22, 2019 3:20 pm

Re: Issue with ESP32-S3-N16R8 Board Resetting Continuously

Postby lbernstone » Mon Sep 30, 2024 6:11 pm

You have not included your json file for that board, but the symptoms sound like it is not compiling with OPI memory support. Make sure your module is a esp32-s3-wroom-2, and use the following options.

Code: Select all

[env:esp32-s3-n16r8]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip
board = esp32-s3-devkitc-1
framework = arduino
board_build.arduino.memory_type = qio_opi
board_build.flash_mode = qio
board_build.prsam_type = opi
board_upload.flash_size = 16MB
board_upload.maximum_size = 16777216
board_build.extra_flags = -DBOARD_HAS_PSRAM

Who is online

Users browsing this forum: No registered users and 68 guests