Lilygo T5 2.13": rst:0x8 (TG1WDT_SYS_RESET)

Hello everyone

I have a Lilygo T5 2.13" board that I want to program on my M1 Mac Air with Big Sur 11.6.5. I can program the board using Arduino 1.8.19, but I’m having problems using PlatformIO and VS Code.

Under VS Code, the upload is successful, but no matter what program I upload, after the upload when I connect a serial terminal, I always get the following (in a loop):


rst:0x8 (TG1WDT_SYS_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13488
load:0x40080400,len:3604
entry 0x400805f0

My platformio.ini file:

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
upload_speed = 230400
board_build.flash_mode = qio
upload_port = /dev/cu.wchusbserial54240284361
monitor_speed = 115200

Since I can program the T5 using Arduino IDE, I know the T5 is working, so it seems as if I am doing something wrong in VS Code/PlatfomIO :confused:

Can you show a screenshot of your Arduino IDE → Tools menu with which it works for your board? You might just have to equalize all options.