Total Noob! How to fix error 1?

Hello! I am a total newbie to this stuff, I literally don’t know anything besides opening Visual Studio Code.

I am trying to upload the following code or whatever it is into my LilyGo T-dongle 3:

It is supposedly ready to upload, but when I click on Upload, after about 20 seconds, I get the following error:

*** [.pio\build\esp32-s3-devkitc-1\src\main.cpp.o] Error 1

How can I fix this? Can you explain please step by step, where to click, what to do, without assuming I already know stuff?hehehe, please, I’m a total newbie.

Thanks in advance!

Wow, the compiler just crashes on my Windows machine when trying to compile that project. I’ve never see that before.

The only way I got this to compile is to use a forked platform that uses Arduino-ESP32 3.0.4 that contains a newer compiler.

Try and use this exact platformio.ini.

[env:esp32-s3-devkitc-1]
platform = https://github.com/pioarduino/platform-espressif32/archive/refs/tags/51.03.04.zip
board = esp32-s3-devkitc-1
board_upload.flash_size = 16MB
framework = arduino
build_flags = 
	-DARDUINO_USB_MODE=1
	-DARDUINO_USB_CDC_ON_BOOT=1
	-D USER_SETUP_LOADED
	-D ST7735_DRIVER
	-D SPI_FREQUENCY=50000000
	-D TFT_MISO=-1
	-D TFT_MOSI=3
	-D TFT_SCLK=5
	-D TFT_CS=4
	-D TFT_DC=2
	-D TFT_RST=1
	-D TFT_WIDTH=80
	-D TFT_HEIGHT=160
	-D LOAD_GLCD
	-D LOAD_FONT2
	-D LOAD_FONT4
	-D LOAD_FONT6
	-D LOAD_FONT7
	-D LOAD_FONT8
	-D LOAD_GFXFF
	-D SMOOTH_FONT
	-D ST7735_GREENTAB160x80
	-D TFT_RGB_ORDER=TFT_BGR
lib_deps = 
	bodmer/TFT_eSPI@^2.5.43
	bodmer/TJpg_Decoder@^1.1.0
	mathertel/OneButton@^2.5.0
	fastled/FastLED@^3.7.6
monitor_dtr = 0

Hello, and thanks so much for your response.

I just uploaded the sketch you shared, but got this in the end, what should I do?

Wrote 445056 bytes (252292 compressed) at 0x00010000 in 3.8 seconds (effective 926.7 kbit/s)…
Hash of data verified.

Leaving…
Hard resetting via RTS pin…
========================================= [SUCCESS] Took 12.03 seconds =========================================

  • Terminal will be reused by tasks, press any key to close it.

Thanks!

This looks like a regular, successfull firmware upload.

Does the firmware not do what it’s supposed to do?

Just FYI, the code expects that you have an SD card inserted into the LilyGO T-Dongle S3 board with the converter movie files (essentially .mjpeg files, frame by frame), as is generated by

Thanks! Indeed, I converted the test video before, but when I uploaded the sketch to the board, still nothing happens, just a black screen (lit, but black).

I thought that perhaps the USB stick was faulty, but reloaded the factory firmware and works fine, displaying the Lilygo logo and featuring the color changing LED in the back.

FYI, and just to clarify, the dongle model I’m using is this:

I also tried other sketches, even from Arduino IDE, like the Hello World! one, but all of them have the same result, a black (but lit) screen and nothing else. Is there more info around there about this specific usb stick? since most tutorials in the web are for the other bigger models. I precisely need this size of display, and if I’m not able to display videos, at least I would like to be able to display text or graphics. Am I missing something? Also tried both from Windows and Ubuntu, in both systems, with both Visual Studio Code and Arduino IDE, and is kind of driving me nuts.

Thanks!

Is there no helpful serial monitor output at all from the sketch?

Sorry, I did not look at that, nor thought about making a monitor. I know the device (at least internally) works because I did a Hello World! sketch in Arduino IDE, and when monitored, the terminal showed the message (but not the USB stick display) The sketch I used was this:

2

3

4

5

6

7

8 void setup () {

Serial.begin ( 115200 );

}

void loop () {

Serial.println ( "Hello World" );

delay ( 2000 );

}

That is why I want to know at least how to make this thing display stuff on the 0.96" screen, as with the Lilygo firmware demo, did I miss also something with the Hello World! sketch?

Thanks.

Did you try

Compiled in Arduino IDE and got the following:

Arduino: 1.8.19 (Linux), Board: “ESP32-S3-USB-OTG, USB-OTG, UART0 / Hardware CDC, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), None, Disabled”

WARNING: Category ‘Sound’ in library ESP_I2S is not valid. Setting to ‘Uncategorized’
WARNING: Category ‘Sensor’ in library ESP_NOW is not valid. Setting to ‘Uncategorized’
WARNING: Category ‘Sound’ in library ESP_SR is not valid. Setting to ‘Uncategorized’
WARNING: Category ‘’ in library ESP Insights is not valid. Setting to ‘Uncategorized’
WARNING: Category ‘’ in library ESP RainMaker is not valid. Setting to ‘Uncategorized’
WARNING: Category ‘’ in library TFLite Micro is not valid. Setting to ‘Uncategorized’
WARNING: Category ‘’ in library WiFiProv is not valid. Setting to ‘Uncategorized’
In file included from /home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.h:94,
from /home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:16:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.c: In function ‘void dc_callback(spi_transaction_t*)’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:203:22: error: ‘GPIO’ was not declared in this scope
203 | #define DC_D GPIO.out_w1ts = (1 << TFT_DC)//;GPIO.out_w1ts = (1 << TFT_DC)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.c:784:28: note: in expansion of macro ‘DC_D’
784 | if ((bool)spi_tx->user) {DC_D;}
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:202:22: error: ‘GPIO’ was not declared in this scope
202 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.c:785:9: note: in expansion of macro ‘DC_C’
785 | else {DC_C;}
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp: In member function ‘void TFT_eSPI::begin_tft_write()’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:247:22: error: ‘GPIO’ was not declared in this scope
247 | #define CS_L GPIO.out_w1tc = (1 << TFT_CS); GPIO.out_w1tc = (1 << TFT_CS)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:80:5: note: in expansion of macro ‘CS_L’
80 | CS_L;
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp: In member function ‘virtual void TFT_eSPI::begin_nin_write()’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:247:22: error: ‘GPIO’ was not declared in this scope
247 | #define CS_L GPIO.out_w1tc = (1 << TFT_CS); GPIO.out_w1tc = (1 << TFT_CS)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:92:5: note: in expansion of macro ‘CS_L’
92 | CS_L;
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp: In member function ‘void TFT_eSPI::end_tft_write()’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:248:22: error: ‘GPIO’ was not declared in this scope
248 | #define CS_H GPIO.out_w1ts = (1 << TFT_CS)//;GPIO.out_w1ts = (1 << TFT_CS)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:106:7: note: in expansion of macro ‘CS_H’
106 | CS_H;
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp: In member function ‘virtual void TFT_eSPI::end_nin_write()’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:248:22: error: ‘GPIO’ was not declared in this scope
248 | #define CS_H GPIO.out_w1ts = (1 << TFT_CS)//;GPIO.out_w1ts = (1 << TFT_CS)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:121:7: note: in expansion of macro ‘CS_H’
121 | CS_H;
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp: In member function ‘void TFT_eSPI::begin_tft_read()’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:247:22: error: ‘GPIO’ was not declared in this scope
247 | #define CS_L GPIO.out_w1tc = (1 << TFT_CS); GPIO.out_w1tc = (1 << TFT_CS)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:141:5: note: in expansion of macro ‘CS_L’
141 | CS_L;
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp: In member function ‘void TFT_eSPI::end_tft_read()’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:248:22: error: ‘GPIO’ was not declared in this scope
248 | #define CS_H GPIO.out_w1ts = (1 << TFT_CS)//;GPIO.out_w1ts = (1 << TFT_CS)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:162:7: note: in expansion of macro ‘CS_H’
162 | CS_H;
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp: In member function ‘void TFT_eSPI::writecommand(uint8_t)’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:202:22: error: ‘GPIO’ was not declared in this scope
202 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:924:3: note: in expansion of macro ‘DC_C’
924 | DC_C;
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp: In member function ‘void TFT_eSPI::writedata(uint8_t)’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:203:22: error: ‘GPIO’ was not declared in this scope
203 | #define DC_D GPIO.out_w1ts = (1 << TFT_DC)//;GPIO.out_w1ts = (1 << TFT_DC)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:972:3: note: in expansion of macro ‘DC_D’
972 | DC_D; // Play safe, but should already be in data mode
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp: In member function ‘uint8_t TFT_eSPI::readcommand8(uint8_t, uint8_t)’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:202:22: error: ‘GPIO’ was not declared in this scope
202 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:1009:3: note: in expansion of macro ‘DC_C’
1009 | DC_C; tft_Write_8(0xD9);
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp: In member function ‘virtual uint16_t TFT_eSPI::readPixel(int32_t, int32_t)’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:248:22: error: ‘GPIO’ was not declared in this scope
248 | #define CS_H GPIO.out_w1ts = (1 << TFT_CS)//;GPIO.out_w1ts = (1 << TFT_CS)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:1165:3: note: in expansion of macro ‘CS_H’
1165 | CS_H;
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp: In member function ‘void TFT_eSPI::readRectRGB(int32_t, int32_t, int32_t, int32_t, uint8_t*)’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:248:22: error: ‘GPIO’ was not declared in this scope
248 | #define CS_H GPIO.out_w1ts = (1 << TFT_CS)//;GPIO.out_w1ts = (1 << TFT_CS)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:2084:3: note: in expansion of macro ‘CS_H’
2084 | CS_H;
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp: In member function ‘virtual void TFT_eSPI::setWindow(int32_t, int32_t, int32_t, int32_t)’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:202:22: error: ‘GPIO’ was not declared in this scope
202 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:3303:5: note: in expansion of macro ‘DC_C’
3303 | DC_C; tft_Write_8(TFT_CASET);
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp: In member function ‘void TFT_eSPI::readAddrWindow(int32_t, int32_t, int32_t, int32_t)’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:202:22: error: ‘GPIO’ was not declared in this scope
202 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:3379:3: note: in expansion of macro ‘DC_C’
3379 | DC_C; tft_Write_8(TFT_CASET);
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp: In member function ‘virtual void TFT_eSPI::drawPixel(int32_t, int32_t, uint32_t)’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:202:22: error: ‘GPIO’ was not declared in this scope
202 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:3561:7: note: in expansion of macro ‘DC_C’
3561 | DC_C; tft_Write_8(TFT_CASET);
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:202:22: error: ‘GPIO’ was not declared in this scope
202 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:3568:7: note: in expansion of macro ‘DC_C’
3568 | DC_C; tft_Write_8(TFT_PASET);
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:202:22: error: ‘GPIO’ was not declared in this scope
202 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/TFT_eSPI.cpp:3574:3: note: in expansion of macro ‘DC_C’
3574 | DC_C; tft_Write_8(TFT_RAMWR);
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Extensions/Touch.cpp: In member function ‘void TFT_eSPI::begin_touch_read_write()’:
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Processors/TFT_eSPI_ESP32_S3.h:248:22: error: ‘GPIO’ was not declared in this scope
248 | #define CS_H GPIO.out_w1ts = (1 << TFT_CS)//;GPIO.out_w1ts = (1 << TFT_CS)
| ^~~~
/home/frankndem/Arduino/libraries/TFT_eSPI_ES32Lab/Extensions/Touch.cpp:20:3: note: in expansion of macro ‘CS_H’
20 | CS_H; // Just in case it has been left low
| ^~~~
exit status 1
Error compiling for board ESP32-S3-USB-OTG.

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.

That is pretty odd, and I don’t get a thing about this.

Thanks!

You should try to compile this example with the Arduino IDE because you’d need to a lot of adaptions,

  • the right Arduino-ESP32 core installed (2.0.5 referenced)
  • TFT_eSPI library same version
  • TFT_eSPI config file

Try to just download https://github.com/Xinyuan-LilyGO/T-Dongle-S3/archive/refs/heads/main.zip and open the example/TFT inside VSCode/PlatformIO.

Got some progress, less error messages in Visual Studio code:

Executing task in folder TFT: platformio run

Processing ESP32-S3-DevKitC-1 (platform: espressif32; board: esp32-s3-devkitc-1; framework: arduino)
-----------------------------------------------------------------------------------------------------------
Tool Manager: Installing git+https://github.com/espressif/arduino-esp32.git#2.0.5
UserSideException: Please install Git client from https://git-scm.com/downloads

 *  The terminal process "platformio 'run'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

I am trying to install git client and check if that fixes the issue.

You’re expected to have Git installed as one of the basic tools of a programmer. It pulls the exact Arduino-ESP32 2.0.5 via git. The link will guide you. Make sure to chose to add Git to the %PATH when going through the installation wizard.

Thanks, I was able to install git but when building I get the following thing:

Compiling .pio/build/ESP32-S3-DevKitC-1/FrameworkArduino/HWCDC.cpp.o
*** [.pio/build/ESP32-S3-DevKitC-1/FrameworkArduino/FunctionalInterrupt.cpp.o] Error 1

and in the end

========================================== [FAILED] Took 8.42 seconds ==========================================

 *  The terminal process "platformio 'run'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

It seems it asks for more stuff as more stuff is added, hahahaha, or maybe it is just me. Thanks!

Mhm. Try the platformio.ini

[platformio]
src_dir = .

[env:ESP32-S3-DevKitC-1]

platform = espressif32@6.8.1
board = esp32-s3-devkitc-1
framework = arduino

build_flags = 
    ; -DBOARD_HAS_PSRAM
    -DARDUINO_USB_MODE=1
    -DARDUINO_USB_CDC_ON_BOOT=1 
    -D USER_SETUP_LOADED
    -D ST7735_DRIVER
    -D SPI_FREQUENCY=50000000
    -D TFT_MISO=-1
    -D TFT_MOSI=3
    -D TFT_SCLK=5
    -D TFT_CS=4 
    -D TFT_DC=2 
    -D TFT_RST=1 
    -D TFT_WIDTH=80
    -D TFT_HEIGHT=160
    -D LOAD_GLCD  
    -D LOAD_FONT2 
    -D LOAD_FONT4 
    -D LOAD_FONT6 
    -D LOAD_FONT7 
    -D LOAD_FONT8 
    -D LOAD_GFXFF 
    -D SMOOTH_FONT
    -D ST7735_GREENTAB160x80
    -D TFT_RGB_ORDER=TFT_BGR


lib_deps =
  bodmer/TFT_eSPI @ ^2.4.75


board_build.partitions = huge_app.csv

Works for me

Checking size .pio\build\ESP32-S3-DevKitC-1\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [=         ]   5.8% (used 19016 bytes from 327680 bytes)
Flash: [=         ]  12.2% (used 383593 bytes from 3145728 bytes)
Building .pio\build\ESP32-S3-DevKitC-1\firmware.bin
esptool.py v4.5.1
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
==========[SUCCESS] Took 21.65 seconds ================

And FYI, it should compile in the Arduino IDE too, when you have the esp32 2.0.17 core installed (Boards sidebar → esp32) and you copy over all the libraries from the “T-Dongle-S3” repo’s lib/ folder into your C:\Users\<user>\Documents\Arduino\libraries folder.

(Right to left)

Thanks, it seemed to work fine but at least in the visual studio, got the following error:

Compiling .pio/build/ESP32-S3-DevKitC-1/src/TFT.ino.cpp.o
xtensa-esp32s3-elf-g++: error: TFT.ino.cpp: No such file or directory
xtensa-esp32s3-elf-g++: fatal error: no input files
compilation terminated.
Building .pio/build/ESP32-S3-DevKitC-1/bootloader.bin
*** [.pio/build/ESP32-S3-DevKitC-1/src/TFT.ino.cpp.o] Error 1
esptool.py v4.5.1
Creating esp32s3 image…
Merged 1 ELF section
Successfully created esp32s3 image.
========================================= [FAILED] Took 36.06 seconds =========================================

  • The terminal process “platformio ‘run’” terminated with exit code: 1.
  • Terminal will be reused by tasks, press any key to close it.

Perhaps I need something else?

Rename TFT.ino to TFT.cpp and build again.

Thanks again! The build was a success, however, when I upload the sketch into the stick, the screen is still black (backlighted) and the only thing on is the PCB LED.

In the monitor, I get this:

ELF file SHA256: f2f82a3ffbd55284

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x42025b82
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
Hello T-Dongle-S3
Guru Meditation Error: Core  1 panic'ed (StoreProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x42002940  PS      : 0x00060830  A0      : 0x82002a10  A1      : 0x3fcebd00  
A2      : 0x08000000  A3      : 0x00000000  A4      : 0x60004000  A5      : 0x00000003  
A6      : 0x000000ff  A7      : 0x3fce9ee0  A8      : 0x00000010  A9      : 0x3fcebcd0  
A10     : 0x3fc96974  A11     : 0x00000001  A12     : 0xffffffff  A13     : 0x00000002  
A14     : 0x00000000  A15     : 0x3fc93a08  SAR     : 0x00000010  EXCCAUSE: 0x0000001d  
EXCVADDR: 0x00000010  LBEG    : 0x42015744  LEND    : 0x420157a8  LCOUNT  : 0x00000000  


Backtrace: 0x4200293d:0x3fcebd00 0x42002a0d:0x3fcebd30 0x420018bc:0x3fcebd50 0x42004b26:0x3fcebd70




ELF file SHA256: f2f82a3ffbd55284

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x42025b82
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
Hello T-Dongle-S3
Guru Meditation Error: Core  1 panic'ed (StoreProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x42002940  PS      : 0x00060830  A0      : 0x82002a10  A1      : 0x3fcebd00  
A2      : 0x08000000  A3      : 0x00000000  A4      : 0x60004000  A5      : 0x00000003  
A6      : 0x000000ff  A7      : 0x3fce9ee0  A8      : 0x00000010  A9      : 0x3fcebcd0  
A10     : 0x3fc96974  A11     : 0x00000001  A12     : 0xffffffff  A13     : 0x00000002  
A14     : 0x00000000  A15     : 0x3fc93a08  SAR     : 0x00000010  EXCCAUSE: 0x0000001d  
EXCVADDR: 0x00000010  LBEG    : 0x42015744  LEND    : 0x420157a8  LCOUNT  : 0x00000000  


Backtrace: 0x4200293d:0x3fcebd00 0x42002a0d:0x3fcebd30 0x420018bc:0x3fcebd50 0x42004b26:0x3fcebd70




ELF file SHA256: f2f82a3ffbd55284

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x42025b82
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
 *  Terminal will be reused by tasks, press any key to close it. 

As I mentioned, when I use the .bat batch to upload the firmware again in to the stick, it works just fine, the screen displays stuff, etc.

This should not happen.

Add

build_type = debug
monitor_filters = esp32_exception_decoder

to the platformio.ini and upload the application again and monitor again. What is the output now?