PlatformIO Community

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
mode:DIO, clock div:2
entry 0x400805f0

My platformio.ini file:

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.