Working with Lilygo TTGO T8 ESP32-S2?

Hello,

Previously, I successfully compiled and uploaded a new firmware to a Lilygo TTGO T-Display ESP32.

This time, I'd like to work with a TTGO T8 ESP32-S2.

After connecting it to Windows and moving the power switch from OFF to ON, I notice the red LED next to the USB port lights up, and the LED says "Lilygo - Failed to mount SD card. Now go to deepsleep". It wakes up regularly to display the same message.

Device Manager shows no new port, so I used the existing COM4. FWIW, unplugging and replugging the board removes/creates no new port.

When compiling and uploading the same source code + board I used previously, the IDE says:

Sketch uses 254430 bytes (19%) of program storage space. Maximum is 1310720 bytes.

Global variables use 14984 bytes (4%) of dynamic memory, leaving 312696 bytes for local variables. Maximum is 327680 bytes.

esptool.py v3.0-dev

Serial port COM4

Connecting........_____....._____....._____....._____....._____....._____....._____

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

Am I using the wrong board?

FWIW, I also tried appending the extra URL to that board through File > Preferences as shown in this tutorial, no to avail.

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

Copy to clipboard

Thank you.

I have seen this before. You might have to press and hold the "boot" button until the upload starts.

When those things started displaying, did you press the button?

[quote="Idahowalker, post:3, topic:1010867"]started displaying, did y
[/quote]

Thanks.

It make no difference whether Iā€¦
Keep the BOT button down and release it, or
Hit the BOT button
ā€¦ when the IDE tries to connect.

I plugged it into a brand new computer that never had the board and Arduino installed, and Windows doesn't detect anything. Hitting either BOT or RST makes no difference.

Provided the COM port works, could it have something to do with the DIP switches? Like on the picture, they are by default up-down-up-down for the one closed to the USB port, and down-up-down-up for the one further.

Found it: It was the cable that I used that works to provide juice and run the other TTGO, but won't work for sharing data.

Using a shorter, possibly shielded cable, Windows detected the device and added a new port.

It looks like Arduino 1.8.19 as-is doesn't support ESP32-2S. I might need to either add some new library or upgrade to the latest beta 2.0 RC.

Thank you.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.